@charset "UTF-8";

:root {
  --brand: #6D28D9;
  --brand-deep: #5B21B6;
  --accent: #A78BFA;
  --paper: #F5F3FF;
  --surface: #FFFFFF;
  --ink: #241B4A;
  --muted: #625B87;
  --line: #E4DDFF;
  --radius: 22px;
  --radius-sm: 14px;
  --shell: 1180px;
  --header-height: 74px;
  --shadow: 0 24px 48px rgba(91, 33, 182, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: 0.01em;
}

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

a,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before {
  background-image: url("../icons/download.svg");
}

.icon-menu::before {
  background-image: url("../icons/menu.svg");
}

.icon-close::before {
  background-image: url("../icons/close.svg");
}

.icon-plus::before {
  background-image: url("../icons/plus.svg");
}

.icon-globe::before {
  background-image: url("../icons/globe.svg");
}

.icon-download,
.icon-plus,
.icon-globe {
  filter: invert(22%) sepia(69%) saturate(4200%) hue-rotate(255deg) brightness(92%) contrast(101%);
}

/* ===== 顶栏：白底 + 胶囊导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  margin: 0;
  list-style: none;
  border-radius: 999px;
  background: #F1EDFF;
}

.primary-nav a {
  display: block;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #fff;
  color: var(--brand-deep);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-download {
  min-width: 136px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(109, 40, 217, 0.28);
}

.nav-download .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* ===== 英雄区：角色卡画廊 + 剧情分支线 ===== */
.hero {
  position: relative;
  padding: 62px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(680px 380px at 88% 4%, #E6DBFF 0%, rgba(245, 243, 255, 0) 68%),
    linear-gradient(180deg, #F8F6FF 0%, #F5F3FF 100%);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(52px, 6.4vw, 78px);
  font-weight: 800;
  letter-spacing: -2.4px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 18px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.6px;
}

.hero-summary {
  max-width: 480px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15.5px;
}

.button {
  min-width: 178px;
  padding: 0 26px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand) 0%, #8B5CF6 100%);
  border: 0;
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.3);
}

.button-primary .icon {
  filter: brightness(0) invert(1);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(109, 40, 217, 0.36);
}

.roleGallery {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.rgHead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  background: linear-gradient(120deg, #5B21B6 0%, #7C3AED 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.rgHead b {
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.02em;
}

.rgNew {
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.rgTrack {
  display: flex;
  gap: 10px;
  padding: 16px 16px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.rgCard {
  display: grid;
  flex: 0 0 128px;
  gap: 9px;
  padding: 12px;
  background: #FAF9FF;
  border: 1px solid #EDE9FE;
  border-radius: 18px;
  scroll-snap-align: start;
}

.rgCard.is-on {
  background: #F3EEFF;
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(109, 40, 217, 0.14);
}

.rgAva {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  background: #DDD6FE;
}

.rgAva.rgPlain {
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #F3EEFF, #DDD6FE);
}

.rgInfo b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.rgInfo small {
  display: block;
  margin-top: 2px;
  color: #6B6494;
  font-size: 10.5px;
  line-height: 1.4;
}

.rgTag {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  background: #EDE9FE;
  color: var(--brand-deep);
  font-size: 10px;
  font-weight: 700;
}

.rgCard.is-on .rgTag {
  background: var(--brand);
  color: #fff;
}

.rgPlot {
  padding: 14px 17px 20px;
  background: #FCFBFF;
  border-top: 1px dashed var(--line);
}

.rgPlotTitle {
  margin: 0 0 14px;
  color: #8B5CF6;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.plotLine {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding-top: 15px;
}

.plotLine::before {
  position: absolute;
  top: 20px;
  right: 9%;
  left: 9%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 38%, #E4DDFF 38%, #E4DDFF 100%);
}

.plotNode {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #9A94BF;
  font-size: 10px;
}

.plotNode::before {
  width: 11px;
  height: 11px;
  content: "";
  background: #fff;
  border: 2px solid #DDD6FE;
  border-radius: 50%;
}

.plotNode.done {
  color: var(--brand-deep);
  font-weight: 700;
}

.plotNode.done::before {
  background: var(--brand);
  border-color: var(--brand);
}

.plotNode.now {
  color: var(--brand);
  font-weight: 800;
}

.plotNode.now::before {
  background: var(--accent);
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(167, 139, 250, 0.24);
}

/* ===== 通用标题 ===== */
.section-heading {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(29px, 3.3vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
}

.section-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ===== 核心特色：2×2 描边卡 ===== */
.routes {
  padding: 76px 0 80px;
  background: var(--surface);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.fours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.four {
  position: relative;
  padding: 26px 26px 24px 78px;
  background: #FBFAFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.four:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.four .n {
  position: absolute;
  top: 26px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.four p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

/* ===== 界面展示 ===== */
.screens {
  padding: 74px 0 82px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  padding: 10px 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.covers figure:nth-child(even) {
  margin-top: 22px;
}

.covers img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  background: var(--paper);
}

.covers b {
  display: block;
  margin: 11px 2px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.covers small {
  display: block;
  margin: 3px 2px 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  padding: 74px 0 40px;
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #FBFAFF;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-item summary .icon {
  flex: none;
  transition: transform 180ms ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ===== 官方入口 ===== */
.official {
  padding: 20px 0 78px;
  background: #fff;
}

.official h2 {
  font-size: 30px;
}

.official-fold {
  overflow: hidden;
  background: linear-gradient(120deg, #FBFAFF 0%, #F1EDFF 100%);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
  content: "+";
}

.official-fold[open] summary::after {
  content: "–";
}

.official-link {
  padding: 4px 22px 18px;
  border-top: 1px dashed var(--line);
}

.official-link p {
  margin: 12px 0 0;
  font-size: 14px;
}

.official-link a {
  color: var(--brand);
  font-weight: 700;
  word-break: break-all;
}

/* ===== 用户评价：深紫底 ===== */
.reviews {
  padding: 78px 0 86px;
  color: #EDE9FE;
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(139, 92, 246, 0.32), rgba(46, 16, 101, 0) 70%),
    #2E1065;
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.reviews .eyebrow {
  color: var(--accent);
}

.reviews .section-heading h2 {
  color: #fff;
}

.reviews .section-heading > p:last-child {
  color: #C4B5FD;
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(196, 181, 253, 0.24);
  border-radius: var(--radius-sm);
}

.review-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card header b {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: #A99BD6;
  font-size: 11px;
  white-space: nowrap;
}

.review-card > p {
  margin: 14px 0 0;
  color: #DCD3FF;
  font-size: 13.5px;
  line-height: 1.8;
}

.rv-site {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
}

/* ===== 下载模块 ===== */
.download-cta {
  padding: 78px 0 84px;
  background: var(--paper);
}

.download-cta .page-shell {
  padding: 44px 46px;
  background: linear-gradient(125deg, #4C1D95 0%, #6D28D9 58%, #8B5CF6 100%);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.download-cta .eyebrow {
  color: #DDD6FE;
}

.download-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.22;
}

.download-cta .section-heading {
  max-width: none;
  margin-bottom: 24px;
}

.download-cta .section-heading > p:last-child {
  color: #E9E3FF;
}

.download-cta .button-primary {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 16px 30px rgba(30, 27, 75, 0.24);
}

.download-cta .button-primary .icon {
  filter: invert(22%) sepia(69%) saturate(4200%) hue-rotate(255deg) brightness(92%) contrast(101%);
}

.disclaimer {
  margin: 22px 0 0;
  color: #DDD6FE;
  font-size: 12.5px;
}

.site-footer {
  padding: 34px 0 20px;
  color: #B7AEDA;
  background: #1E1B4B;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 12.5px;
}

.site-footer a {
  color: #DCD3FF;
}

.site-footer a:hover {
  color: #fff;
}

.icp a {
  color: #A99BD6;
  font-size: 12px;
}

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(46, 16, 101, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .roleGallery {
    max-width: 540px;
    margin: 0 auto;
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .covers figure:nth-child(even) {
    margin-top: 0;
  }

  .rgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-height);
    min-height: var(--header-height);
    column-gap: 10px;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    gap: 7px;
    font-size: 17px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -16px;
    padding: 0 16px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 0 0;
    border-radius: 0;
    background: transparent;
  }

  .primary-nav a {
    padding: 10px 12px;
    background: #FBFAFF;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-width: auto;
    min-height: 36px;
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-download .icon {
    width: 15px;
    height: 15px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 40px 0 46px;
  }

  .hero-grid {
    gap: 26px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-title {
    font-size: 25px;
  }

  .hero-summary {
    font-size: 14.5px;
  }

  .roleGallery {
    max-width: 100%;
  }

  .routes,
  .screens,
  .reviews,
  .download-cta {
    padding: 52px 0;
  }

  .fours {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .four {
    padding: 22px 20px 20px 68px;
  }

  .four .n {
    top: 22px;
    left: 18px;
    width: 34px;
    height: 34px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .covers {
    gap: 12px;
  }

  .faq {
    padding: 52px 0 30px;
  }

  .official {
    padding: 14px 0 52px;
  }

  .rgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-card {
    min-height: auto;
  }

  .download-cta .page-shell {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .download-cta .button-primary {
    width: 100%;
  }

  .to-top {
    right: 16px;
    bottom: 136px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 15px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 36px;
    padding: 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .primary-nav ul {
    grid-template-columns: 1fr;
  }
}
