/* ===========================================================
   神迹觉醒 · 圣城曙光 官网单页
   移动优先，桌面端同样按手机版式居中显示
   =========================================================== */

:root {
  --bg: #05030c;
  --bg-2: #0b0618;
  --panel: rgba(255, 255, 255, 0.045);
  --gold: #f2d191;
  --gold-strong: #ffdf9e;
  --gold-deep: #c99b52;
  --cyan: #67e8ff;
  --violet: #a06bff;
  --text: #efebf9;
  --muted: #a79dc2;
  --line: rgba(242, 209, 145, 0.18);
  --max: 560px;
  --header-h: 54px;
  --r: 16px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "MiSans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #020106;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.lock { overflow: hidden; }

img { display: block; max-width: 100%; border: 0; }
a { color: var(--gold); text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { color: var(--gold-strong); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

::selection { background: rgba(242, 209, 145, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: #221200;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- 页面容器（手机版式） ---------- */
#page {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(120, 68, 220, 0.28), transparent 62%),
    radial-gradient(620px 420px at 100% 42%, rgba(28, 116, 168, 0.16), transparent 60%),
    radial-gradient(560px 460px at 0% 78%, rgba(150, 74, 190, 0.13), transparent 62%),
    var(--bg);
  box-shadow: 0 0 80px rgba(90, 50, 190, 0.22);
  overflow: hidden;
}

@media (min-width: 600px) {
  #page {
    border-left: 1px solid rgba(242, 209, 145, 0.12);
    border-right: 1px solid rgba(242, 209, 145, 0.12);
  }
}

.wrap { padding: 0 18px; }

section { padding-top: 46px; scroll-margin-top: 64px; }
section + section { padding-top: 42px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: 100%;
  max-width: var(--max);
  height: var(--header-h);
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 4, 16, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--text);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(242, 209, 145, 0.55);
  box-shadow: 0 0 14px rgba(242, 209, 145, 0.25);
  object-fit: cover;
  background: #12081f;
}

.brand-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-txt b {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: #fdf3dd;
  white-space: nowrap;
}
.brand-txt small {
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--gold-deep);
  margin-top: 2px;
}

.burger {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(242, 209, 145, 0.28);
  border-radius: 12px;
  background: rgba(10, 6, 22, 0.42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.burger:hover, .burger:active { border-color: rgba(242, 209, 145, 0.7); background: rgba(24, 14, 44, 0.7); }
.burger span {
  display: block;
  width: 19px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.32s ease, opacity 0.2s ease, width 0.32s ease;
}
body.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; width: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 抽屉菜单 ---------- */
.menu-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 1, 6, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
body.nav-open .menu-mask { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50vw - 280px));
  z-index: 80;
  width: min(82vw, 330px);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 18px calc(20px + env(safe-area-inset-bottom));
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(160, 107, 255, 0.22), transparent 65%),
    linear-gradient(165deg, #150c2b 0%, #0a0617 58%, #08040f 100%);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65);
  visibility: hidden;
  transform: translateX(104%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0.25, 1), visibility 0.36s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.nav-open .drawer { transform: none; visibility: visible; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand img { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(242, 209, 145, 0.4); }
.drawer-brand b { display: block; font-family: var(--serif); letter-spacing: 0.14em; font-size: 17px; color: #fdf3dd; }
.drawer-brand small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.12em; }

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(242, 209, 145, 0.3);
  background: transparent;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav { padding: 8px 0 4px; }
.drawer-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 4px 13px 2px;
  color: #e6dff5;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-bottom: 1px dashed rgba(242, 209, 145, 0.12);
  transition: color 0.2s, padding-left 0.25s;
}
.drawer-nav a::after {
  content: "›";
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s, color 0.25s;
}
.drawer-nav a:hover, .drawer-nav a:active { color: var(--gold-strong); padding-left: 7px; }
.drawer-nav a:hover::after { transform: translateX(4px); color: var(--gold); }
.drawer-nav em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(242, 209, 145, 0.45);
  margin-left: auto;
  margin-right: 8px;
}

.drawer-foot { margin-top: auto; padding-top: 20px; }
.drawer-foot .btn { height: 46px; font-size: 15px; }
.drawer-foot p {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
  overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  color: #2b1800;
  background: linear-gradient(135deg, #fff0c8 0%, #f3cf8c 38%, #e0b164 68%, #b9833c 100%);
  box-shadow: 0 8px 26px rgba(226, 178, 100, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.5s ease-in-out infinite;
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 10px 32px rgba(242, 209, 145, 0.4); }

.btn-ghost {
  color: var(--gold);
  border-color: rgba(242, 209, 145, 0.5);
  background: rgba(10, 6, 20, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(36, 22, 62, 0.6); }

.btn-block { display: flex; width: 100%; }

@keyframes sheen {
  0%, 62% { left: -60%; }
  86%, 100% { left: 135%; }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 580px;
  max-height: 840px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.12); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 2, 10, 0.66) 0%, rgba(4, 2, 10, 0.1) 24%, rgba(4, 2, 10, 0.62) 55%, rgba(5, 3, 12, 0.95) 86%, var(--bg) 100%),
    radial-gradient(120% 80% at 80% 12%, rgba(160, 107, 255, 0.22), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(103, 232, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 34%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 34%, #000 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px calc(104px + env(safe-area-inset-bottom));
}

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 223, 158, 0.85);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1 {
  margin: 8px 0 2px;
  font-family: var(--serif);
  font-size: clamp(42px, 13.5vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, #fff8e6 4%, #ffe4ac 40%, #eabd76 68%, #b9853f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(242, 209, 145, 0.3));
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(19px, 5.6vw, 26px);
  letter-spacing: 0.42em;
  color: #f6e6c6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  margin-left: 2px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 10px;
}
.tags li {
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #e9ddff;
  border: 1px solid rgba(160, 107, 255, 0.45);
  border-radius: 999px;
  background: rgba(90, 50, 160, 0.22);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #cfc6e4;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(242, 209, 145, 0.55);
}
.dot-live {
  color: #2b1800;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe6b0, #e0ae5f);
  letter-spacing: 0.12em;
}
.dot-live::before { display: none; }

.hero-desc {
  margin: 12px 0 20px;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(228, 221, 242, 0.82);
}
.hero-btns { display: flex; gap: 10px; }
.hero-btns .btn { flex: 1; min-width: 0; height: 48px; padding: 0 10px; font-size: 15px; }

/* ---------- 通用标题 ---------- */
.sec-head { text-align: center; margin-bottom: 20px; padding: 0 18px; }
.sec-head .en {
  font-size: 9px;
  letter-spacing: 0.36em;
  color: rgba(242, 209, 145, 0.55);
  text-transform: uppercase;
}
.sec-head h2 {
  position: relative;
  display: inline-block;
  margin: 6px 0 8px;
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 26px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f7e9cb;
}
.sec-head h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}
.sec-head p { color: var(--muted); font-size: 12.5px; letter-spacing: 0.04em; }

/* ---------- 游戏介绍 ---------- */
.panel {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 209, 145, 0.6), transparent);
}

.lead { color: #ddd6ee; font-size: 14px; }
.lead p + p { margin-top: 10px; }

.feat-list { margin-top: 12px; display: grid; gap: 10px; }
.feat-list li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(160, 107, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(160, 107, 255, 0.12), rgba(103, 232, 255, 0.05));
}
.feat-list .num {
  flex: none;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
  color: rgba(242, 209, 145, 0.75);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.feat-list h3 { font-size: 14.5px; letter-spacing: 0.06em; color: #f4e8d2; margin-bottom: 3px; }
.feat-list p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

.intro-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(167, 157, 194, 0.85);
  text-align: center;
}

/* ---------- 截图横滑 ---------- */
#gallery { padding-top: 46px; }
.rail {
  display: flex;
  gap: 12px;
  padding: 4px 18px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }

.shot {
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(242, 209, 145, 0.26);
  border-radius: 14px;
  background: #0d0819;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s, transform 0.25s;
}
.shot:active { transform: scale(0.98); }
.shot:hover { border-color: rgba(242, 209, 145, 0.6); }
.shot img {
  height: 216px;
  width: auto;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.shot::after {
  content: "＋";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid rgba(242, 209, 145, 0.45);
  border-radius: 50%;
  background: rgba(6, 3, 14, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.rail-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 18px 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.rail-meta #shotNow { color: var(--gold); font-weight: 700; }
.rail-hint { margin-left: auto; letter-spacing: 0.08em; color: rgba(167, 157, 194, 0.7); }

/* ---------- 下载 ---------- */
.dl-card {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(242, 209, 145, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(320px 180px at 100% 0%, rgba(160, 107, 255, 0.25), transparent 62%),
    linear-gradient(150deg, rgba(242, 209, 145, 0.12), rgba(255, 255, 255, 0.02) 55%),
    #0d0719;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dl-top img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  border: 1px solid rgba(242, 209, 145, 0.4);
  object-fit: cover;
  background: #140a24;
}
.dl-top h3 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #fdf2da;
  line-height: 1.3;
}
.dl-top h3 span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-left: 6px;
  vertical-align: middle;
}
.dl-top p { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; }
.dl-tip {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 223, 158, 0.92);
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(242, 209, 145, 0.08);
  border: 1px dashed rgba(242, 209, 145, 0.3);
}

.warn {
  margin-top: 12px;
  padding: 16px 16px 6px;
  border: 1px solid rgba(255, 176, 92, 0.3);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 150, 70, 0.11), rgba(255, 255, 255, 0.02));
}
.warn h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #ffd7a3;
  margin-bottom: 10px;
}
.warn h3::before {
  content: "!";
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #2a1400;
  border-radius: 50%;
  background: #ffb95c;
}

.pick { display: grid; gap: 7px; margin-bottom: 12px; }
.pick div {
  display: grid;
  grid-template-columns: 17px 1fr;
  align-items: center;
  column-gap: 9px;
  row-gap: 1px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.pick b { font-size: 12.5px; font-weight: 600; }
.pick span { color: var(--muted); font-size: 11px; }
.pick div::before {
  grid-row: 1 / span 2;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.pick .bad { border-color: rgba(255, 120, 120, 0.28); }
.pick .bad::before { content: "✕"; color: #ffb3b3; background: rgba(255, 90, 90, 0.16); }
.pick .bad b { color: #ffc2c2; }
.pick .good { border-color: rgba(120, 224, 168, 0.4); background: rgba(70, 190, 130, 0.1); }
.pick .good::before { content: "✓"; color: #b6f3d0; background: rgba(80, 200, 140, 0.2); }
.pick .good b { color: #b9f5d4; }

.steps { counter-reset: s; display: grid; gap: 11px; padding-bottom: 8px; }
.steps li {
  position: relative;
  counter-increment: s;
  padding-left: 30px;
  font-size: 13px;
  line-height: 1.6;
  color: #e6dcf4;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #2a1400;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe6b0, #e0ae5f);
}
.steps b { display: block; color: #fff1d5; font-size: 13.5px; letter-spacing: 0.04em; }
.steps span { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }

.sub-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #f3e4c6;
}
.sub-title::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.acc-item {
  margin-bottom: 9px;
  border: 1px solid rgba(242, 209, 145, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  overflow: hidden;
}
.acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e9e0f7;
  cursor: pointer;
  list-style: none;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "＋";
  flex: none;
  color: var(--gold);
  font-size: 15px;
  font-weight: 400;
  transition: transform 0.25s;
}
.acc-item[open] summary { color: var(--gold-strong); }
.acc-item[open] summary::after { content: "－"; }
.acc-body {
  padding: 11px 15px 13px;
  border-top: 1px dashed rgba(242, 209, 145, 0.16);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}
.acc-body ol { counter-reset: a; display: grid; gap: 6px; }
.acc-body ol li { counter-increment: a; padding-left: 20px; position: relative; }
.acc-body ol li::before {
  content: counter(a) ".";
  position: absolute;
  left: 0;
  color: rgba(242, 209, 145, 0.8);
  font-variant-numeric: tabular-nums;
}
.acc-body p + p { margin-top: 6px; }
.acc-body strong { color: #ffe3b0; }

.ios-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(103, 232, 255, 0.24);
  background: rgba(103, 232, 255, 0.06);
  font-size: 12px;
  line-height: 1.7;
  color: #c9e9f5;
}

/* ---------- 成长礼包 ---------- */
.gift + .gift { margin-top: 12px; }
.gift-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(242, 209, 145, 0.2);
}
.gift-head h3 { font-family: var(--serif); font-size: 16px; letter-spacing: 0.08em; color: #f8ecd4; }
.badge {
  margin-left: auto;
  flex: none;
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(242, 209, 145, 0.4);
  border-radius: 999px;
  background: rgba(242, 209, 145, 0.08);
}
.gift-rows { display: grid; gap: 7px; }
.gift-row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  align-items: start;
  padding: 4px 0;
}
.gift-row + .gift-row { border-top: 1px dashed rgba(255, 255, 255, 0.07); padding-top: 8px; }
.gift-row .lv {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.gift-row .rw { font-size: 12.5px; line-height: 1.6; color: #d9d2ea; }

.fine {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(167, 157, 194, 0.8);
  text-align: center;
}

/* ---------- 开服活动 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.chips span {
  padding: 4px 10px;
  font-size: 11.5px;
  color: #e7dcff;
  border: 1px solid rgba(160, 107, 255, 0.4);
  border-radius: 6px;
  background: rgba(120, 70, 200, 0.16);
}
.rank-list { display: grid; gap: 8px; }
.rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.rank {
  flex: none;
  width: 42px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 0;
  border-radius: 5px;
  color: #2a1600;
}
.r1 { background: linear-gradient(135deg, #fff0c4, #e6b45f); }
.r2 { background: linear-gradient(135deg, #e7eaf5, #a7b0c8); }
.r3 { background: linear-gradient(135deg, #f3cba8, #c07a48); }
.rank-list li > span:last-child { color: #ddd5ec; }

/* ---------- 礼包码 ---------- */
.code-list { display: grid; gap: 8px; }
.code-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(242, 209, 145, 0.18);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(242, 209, 145, 0.07), rgba(255, 255, 255, 0.015));
  transition: border-color 0.25s, background 0.25s;
}
.code-item:active { background: rgba(242, 209, 145, 0.12); }
.code-txt { min-width: 0; flex: 1; }
.code-txt code {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-strong);
  line-height: 1.4;
}
.code-txt p { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 1px; }
.copy {
  flex: none;
  min-width: 60px;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(242, 209, 145, 0.42);
  border-radius: 999px;
  background: rgba(10, 6, 20, 0.5);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.copy:hover { border-color: var(--gold); background: rgba(242, 209, 145, 0.12); }
.copy.done { color: #2a1600; background: var(--gold); border-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px dashed rgba(242, 209, 145, 0.16);
  padding: 2px 0;
}
.faq-item summary {
  position: relative;
  padding: 13px 26px 13px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #eae2f8;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s, border-color 0.25s;
}
.faq-item[open] summary { color: var(--gold-strong); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--gold); }
.faq-body { padding: 0 6px 13px 0; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.faq-body a { border-bottom: 1px solid rgba(242, 209, 145, 0.35); }

/* ---------- 联系方式 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card {
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}
.contact-card .ic {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
  border: 1px solid rgba(242, 209, 145, 0.4);
  border-radius: 10px;
  background: rgba(242, 209, 145, 0.08);
}
.contact-card h3 { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }
.contact-card p {
  margin: 2px 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f6ead2;
  word-break: break-all;
}
.contact-card .copy, .contact-card .btn {
  width: 100%;
  min-width: 0;
  height: 34px;
  font-size: 12px;
  padding: 0 8px;
  border-radius: 999px;
}
.contact-card .btn { color: #2b1800; background: linear-gradient(135deg, #ffe6b0, #e0ae5f); border: 0; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 44px;
  padding: 30px 18px calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.28));
  text-align: center;
}
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(242, 209, 145, 0.35); }
.foot-brand b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: 0.18em; color: #f7e9cb; text-align: left; }
.foot-brand small { display: block; font-size: 9px; letter-spacing: 0.28em; color: var(--gold-deep); text-align: left; }

.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px;
  padding: 8px 14px;
  max-width: 300px;
  border: 1px solid rgba(102, 200, 120, 0.35);
  border-radius: 10px;
  background: rgba(60, 150, 80, 0.1);
  text-align: left;
}
.age-badge b {
  flex: none;
  font-family: var(--serif);
  font-size: 19px;
  color: #8fe09f;
  letter-spacing: 0.02em;
}
.age-badge span { font-size: 10.5px; line-height: 1.5; color: #a9d9b4; }

.lic { display: grid; gap: 7px; font-size: 11px; line-height: 1.6; }
.lic > div { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.lic dt { color: rgba(167, 157, 194, 0.85); flex: none; }
.lic dt::after { content: "："; }
.lic dd { color: #cfc6e2; margin: 0; text-align: left; }
.lic a { color: #cfc6e2; border-bottom: 1px solid rgba(242, 209, 145, 0.25); }

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 16px 0 2px;
  font-size: 11px;
  line-height: 1.6;
}
.foot-nav a {
  color: rgba(167, 157, 194, 0.78);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.foot-nav a:hover { color: var(--gold); border-bottom-color: rgba(242, 209, 145, 0.4); }

.health {
  margin: 18px 0 10px;
  padding: 10px 12px;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(167, 157, 194, 0.72);
  border-top: 1px dashed rgba(242, 209, 145, 0.14);
  border-bottom: 1px dashed rgba(242, 209, 145, 0.14);
}
.copyright { font-size: 10px; color: rgba(167, 157, 194, 0.62); letter-spacing: 0.03em; }

/* ---------- 底部固定下载条 ---------- */
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 55;
  width: 100%;
  max-width: var(--max);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(8, 4, 18, 0.9);
  border-top: 1px solid rgba(242, 209, 145, 0.22);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s ease;
}
.bb-brand { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; color: var(--text); }
.bb-brand img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(242, 209, 145, 0.35); }
.bb-brand b { display: block; font-size: 12.5px; line-height: 1.3; color: #f6ead2; font-weight: 600; }
.bb-brand small { display: block; font-size: 9.5px; color: var(--muted); line-height: 1.3; }
.bottom-bar .btn {
  flex: none;
  height: 40px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  border-radius: 999px;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: max(14px, calc(50vw - 280px + 14px));
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 56;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(242, 209, 145, 0.4);
  border-radius: 50%;
  background: rgba(10, 6, 22, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, border-color 0.25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); }
.to-top svg { width: 18px; height: 18px; stroke: var(--gold); }

/* ---------- 图片放大预览 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(3, 2, 8, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  cursor: zoom-out;
  overscroll-behavior: contain;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  max-height: 80svh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  animation: lbIn 0.3s ease both;
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { color: #f3d08a; background: none; filter: none; }
}
.lb-cap { font-size: 12px; color: var(--gold); letter-spacing: 0.12em; }
.lb-hint { font-size: 10.5px; color: rgba(167, 157, 194, 0.75); letter-spacing: 0.06em; }
.lb-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 209, 145, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 120;
  transform: translate(-50%, 12px);
  padding: 9px 18px;
  font-size: 13px;
  color: #2b1800;
  background: linear-gradient(135deg, #ffe6b0, #e2b268);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: 86vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
