:root {
  --bg: #060e20;
  --panel: rgba(25, 37, 64, 0.4);
  --panel-solid: #192540;
  --panel-deep: #091328;
  --text-main: #dee5ff;
  --text-subtle: #a3aac4;
  --blue: #85adff;
  --blue-deep: #6c9fff;
  --purple: #c57eff;
  --purple-deep: #6a0baa;
  --danger: #ff716c;
  --radius-lg: 32px;
  --shadow-soft: 0 10px 15px -3px rgba(133, 173, 255, 0.2), 0 4px 6px -4px rgba(133, 173, 255, 0.2);
  --shadow-header: 0 4px 11.6px rgba(0, 0, 0, 0.1);
  --font-base: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-base);
}

body {
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
}

.app {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 160px, rgba(133, 173, 255, 0.12), rgba(133, 173, 255, 0) 42%),
    linear-gradient(180deg, rgba(197, 126, 255, 0.05) 0%, rgba(197, 126, 255, 0) 28%),
    var(--bg);
}

.app::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 64px;
  width: min(100vw, 360px);
  height: 500px;
  background: linear-gradient(180deg, rgba(133, 173, 255, 0.1), rgba(197, 126, 255, 0.05) 50%, rgba(197, 126, 255, 0));
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(6, 14, 32, 0.96);
  box-shadow: var(--shadow-header);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  width: min(100%, 360px);
  height: 61px;
  margin: 0 auto;
  padding: 12px 20px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand__text {
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 1px;
  color: transparent;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
}

.brand__icon {
  width: 17px;
  height: 17px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 115px;
  height: 34px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #070f22;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  white-space: nowrap;
}

.page {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0) + 146px) 13px 46px;
}

.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  padding: 7px 17px;
  border: 1px solid rgba(64, 72, 93, 0.2);
  border-radius: 999px;
  background: rgba(31, 43, 73, 0.5);
  color: var(--purple);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero__title {
  width: 100%;
  max-width: 276px;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -2.4px;
  text-align: center;
}

.hero__title span {
  color: transparent;
  background: linear-gradient(156deg, #ffffff 0%, #dee5ff 50%, rgba(133, 173, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__desc {
  margin: 20px 0 0;
  color: var(--text-subtle);
  font-size: 18px;
  line-height: 29px;
  text-align: center;
}

.hero-orbit {
  position: relative;
  width: 256px;
  height: 256px;
  margin-top: 80px;
}

.hero-orbit__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(197, 126, 255, 0.1);
  filter: blur(20px);
}

.hero-orbit__ring {
  position: absolute;
  inset: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 2px solid rgba(133, 173, 255, 0.2);
  border-radius: 50%;
}

.hero-orbit__core {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #1f2b49;
  box-shadow: 0 0 50px rgba(133, 173, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-orbit__icon {
  width: 32px;
  height: 40px;
}

.hero-orbit__label {
  margin-top: 8px;
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
}

.hero-orbit__node {
  position: absolute;
  border-radius: 50%;
}

.hero-orbit__node--purple {
  top: 16px;
  right: 6px;
  width: 16px;
  height: 16px;
  background: var(--purple);
  box-shadow: 0 0 15px rgba(197, 126, 255, 0.8);
}

.hero-orbit__node--blue {
  left: 0;
  bottom: 32px;
  width: 12px;
  height: 12px;
  background: rgba(133, 173, 255, 0.4);
}

.cards {
  display: grid;
  gap: 24px;
  margin-top: 80px;
}

.card,
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.card {
  border: 1px solid rgba(64, 72, 93, 0.1);
  background: var(--panel);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--accelerator {
  padding: 33px;
}

.card__blur {
  position: absolute;
  pointer-events: none;
}

.card__blur--blue {
  top: 1px;
  right: 1px;
  width: 128px;
  height: 128px;
  background: rgba(133, 173, 255, 0.1);
  filter: blur(32px);
}

.card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-box {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.icon-box img {
  width: auto;
  height: auto;
}

.icon-box--blue {
  width: 48px;
  height: 48px;
  background: rgba(133, 173, 255, 0.2);
}

.icon-box--purple {
  width: 80px;
  height: 80px;
  padding: 1px;
  border: 1px solid rgba(197, 126, 255, 0.2);
  border-radius: 50%;
  background: rgba(197, 126, 255, 0.1);
}

.icon-box--center {
  margin: 0 auto;
}

.card__title,
.media-card__title {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.card__title--center {
  text-align: center;
}

.card__eyebrow {
  margin: 0;
  color: var(--purple);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1.2px;
}

.feature-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-subtle);
  font-size: 16px;
  line-height: 24px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.primary-button {
  width: 100%;
  min-height: 56px;
  border-radius: 32px;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  box-shadow: var(--shadow-soft);
  color: #002c65;
  font-size: 16px;
  line-height: 24px;
}

.primary-button img {
  width: 9px;
  height: 9px;
}

.card--browser {
  min-height: 249px;
  padding: 33px 33px 37px;
  text-align: center;
}

.browser-copy {
  margin-top: 24px;
}

.chip-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--panel-solid);
  color: var(--text-subtle);
  font-size: 10px;
  line-height: 15px;
  text-align: center;
}

.media-card {
  border: 1px solid rgba(64, 72, 93, 0.05);
  background: var(--panel-deep);
}

.media-card__cover {
  position: relative;
  height: 192px;
  overflow: hidden;
  background: var(--panel-solid);
}

.media-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  border-radius: 50%;
  background: rgba(133, 173, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(133, 173, 255, 0.16) inset;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button img {
  width: 17px;
  height: 21px;
}

.media-card__body {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.media-card__title {
  font-size: 18px;
}

.media-card__desc {
  margin: 4px 0 0;
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
}

.text-link img {
  width: 4px;
  height: 7px;
}

.card--manga {
  padding: 25px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.manga-cover {
  width: 96px;
  height: 128px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel-solid);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.manga-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manga-copy {
  display: grid;
  gap: 12px;
}

.manga-copy__title {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.manga-copy__desc {
  margin: 0;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 16px;
}

.manga-copy__update {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--danger);
  font-size: 10px;
  line-height: 15px;
}

.manga-copy__dot {
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--danger);
}

.secondary-button {
  width: 80px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(158deg, var(--purple), var(--purple-deep));
  color: #340058;
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 359px) {
  .topbar__inner {
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-cta {
    min-width: auto;
    padding: 0 18px;
  }

  .page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .card--accelerator,
  .card--browser,
  .card--manga {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card--manga {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}
