/* =========================================================
   紫金大魔神 · 暗黑史诗紫金主题（玄黑 / 鎏金 / 帝王紫 / 赤焰）
   与品牌徽标及魔幻传奇美术风格高度契合
   ========================================================= */
:root {
  --bg: #08060d;
  --bg2: #0f0b18;
  --bg3: #161024;
  --panel: #140f21;
  --panel2: #1c152e;

  /* 鎏金主色系 */
  --gold: #d9a441;
  --gold2: #f7db8f;
  --gold3: #8c5e18;
  --gold-line: rgba(217, 164, 65, .24);
  --gold-line2: rgba(247, 219, 143, .52);

  /* 帝王紫氛围色 */
  --violet: #9d6bff;
  --violet2: #d8c2ff;
  --violet3: #5b2bc4;
  --line: rgba(217, 164, 65, .18);
  --line2: rgba(217, 164, 65, .44);

  /* 赤焰强调色 */
  --crimson: #d93829;
  --crimson2: #ff6b4a;
  --jade: #3ed6b5;
  --jade2: #9cf5e0;

  /* 文字色阶 */
  --text: #f3ede2;
  --muted: #b3a7be;
  --dim: #7d728c;

  --header-h: 98px;
  --radius: 6px;
  --radius-sm: 4px;
  --maxw: 1240px;
  --font-title: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 暗黑紫金氛围底景：柔和紫雾 + 隐约金光 + 四角暗角 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 680px at 14% -6%, rgba(91, 43, 196, .24), transparent 62%),
    radial-gradient(960px 560px at 88% 4%, rgba(217, 164, 65, .11), transparent 58%),
    radial-gradient(900px 600px at 50% 100%, rgba(124, 58, 237, .12), transparent 65%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, transparent 45%, rgba(0, 0, 0, .58) 100%);
}

::selection { background: rgba(217, 164, 65, .35); color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #08060d; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8c5e18, #45297a);
  border-radius: 5px; border: 2px solid #08060d;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #d9a441, #7c3aed); }
html { scrollbar-color: #6b4b22 #08060d; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
canvas.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* ---------- 鎏金文字与按钮体系 ---------- */
.gold-text {
  background: linear-gradient(180deg, #fff8df 0%, #f5d382 48%, #c98d2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; font-size: 14px; font-weight: 700; letter-spacing: .12em;
  border-radius: var(--radius-sm); transition: all .28s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap; position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 65%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .28), transparent);
  transition: left .55s ease; pointer-events: none;
}
.btn:hover::after { left: 140%; }

/* 鎏金主按钮 */
.btn-gold {
  color: #1f1203;
  background: linear-gradient(180deg, #fae09b 0%, #e0a83e 52%, #b57b1b 100%);
  border-color: rgba(255, 236, 179, .65);
  box-shadow: 0 8px 24px rgba(217, 164, 65, .32), inset 0 1px 0 rgba(255, 250, 224, .75);
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 164, 65, .48), inset 0 1px 0 rgba(255, 255, 255, .85);
}

/* 赤焰战意按钮（预约/领码/PC下载） */
.btn-red {
  color: #fff8ee;
  background: linear-gradient(180deg, #ef573c 0%, #c82820 55%, #8f1414 100%);
  border-color: rgba(255, 164, 128, .48);
  box-shadow: 0 8px 24px rgba(200, 40, 32, .38), inset 0 1px 0 rgba(255, 200, 175, .4);
}
.btn-red:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 64, 46, .52), inset 0 1px 0 rgba(255, 220, 200, .55);
}

/* 暗金描边按钮 */
.btn-line {
  color: var(--gold2);
  border-color: var(--gold-line2);
  background: rgba(20, 15, 33, .62);
  backdrop-filter: blur(8px);
}
.btn-line:hover {
  border-color: var(--gold2);
  color: #fff;
  background: rgba(217, 164, 65, .16);
  box-shadow: 0 6px 22px rgba(217, 164, 65, .2);
  transform: translateY(-1px);
}

.btn-sm { padding: 7px 16px; font-size: 12.5px; letter-spacing: .06em; }
.btn-lg { padding: 14px 38px; font-size: 15.5px; letter-spacing: .16em; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: grayscale(.5); }
.btn-ico { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; flex-shrink: 0; }
.btn-ico svg { width: 100%; height: 100%; }

/* ---------- 顶部导航栏 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(10, 7, 17, .92), rgba(10, 7, 17, .76));
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--gold-line);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet3), var(--gold), var(--violet3), transparent);
  opacity: .75;
}
.site-header.scrolled {
  background: rgba(9, 6, 15, .96);
  border-bottom-color: rgba(217, 164, 65, .32);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .65);
}

.topbar {
  height: 30px;
  border-bottom: 1px solid rgba(217, 164, 65, .1);
  background: rgba(5, 3, 9, .55);
  font-size: 11.5px; color: var(--dim); letter-spacing: .1em;
}
.topbar .container { height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tb-left, .tb-right { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-left b, .tb-right b { color: #d6c8b2; font-weight: 500; }
.tb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold2); box-shadow: 0 0 8px var(--gold); flex-shrink: 0;
}

.header-inner { max-width: 1380px; height: 68px; display: flex; align-items: center; gap: 22px; }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet3), var(--gold), var(--gold2));
  box-shadow: 0 0 10px rgba(217, 164, 65, .75);
}

.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; position: relative; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.logo:hover { transform: translateY(-1px) scale(1.03); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 28%, #6d34d9, #2b1259 66%, #110724);
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 22px rgba(217, 164, 65, .4);
  font-family: var(--font-title); font-size: 19px; color: var(--gold2); font-weight: 800;
}
.logo-emblem {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  isolation: isolate;
}
.logo-emblem-icon {
  width: 54px; height: 54px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .75)) drop-shadow(0 0 12px rgba(217, 164, 65, .36));
}
/* 大气动态主 LOGO（书法鎏金 + 呼吸光晕 + 精准遮罩扫光 + 火星微粒） */
.logo-emblem-wordmark {
  height: 64px;
  padding: 2px 4px;
  animation: logoFloat 5.2s ease-in-out infinite;
}
.logo-aura {
  position: absolute; inset: -6px -14px; z-index: -1; pointer-events: none; border-radius: 50%;
  background:
    radial-gradient(ellipse 64% 58% at 50% 48%, rgba(139, 76, 255, .38), transparent 72%),
    radial-gradient(ellipse 52% 46% at 50% 42%, rgba(247, 219, 143, .28), transparent 68%);
  filter: blur(10px);
  animation: logoAuraPulse 3.6s ease-in-out infinite;
}
.logo:hover .logo-aura { opacity: 1; filter: blur(12px) brightness(1.35); }
.logo-img {
  display: block; height: 56px; width: auto; max-width: 260px; object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .82)) drop-shadow(0 0 14px rgba(217, 164, 65, .35));
  transition: filter .3s ease;
}
.logo-img.logo-img-wordmark {
  height: 60px; max-width: 270px;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .88)) drop-shadow(0 0 22px rgba(247, 219, 143, .62));
}
.logo-img.logo-img-icon {
  width: 100%; height: 100%; max-width: none; object-fit: contain; filter: none;
}
/* 精准贴合 LOGO 轮廓的动态流光扫过 */
.logo-sheen {
  position: absolute; inset: 2px 4px; pointer-events: none; z-index: 2;
  -webkit-mask-image: var(--logo-src);
  mask-image: var(--logo-src);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  overflow: hidden;
}
.logo-sheen::before {
  content: ""; position: absolute; top: -25%; bottom: -25%; left: -70%; width: 55%;
  background: linear-gradient(108deg, transparent 15%, rgba(255, 248, 214, .88) 48%, rgba(255, 255, 255, .95) 52%, rgba(217, 164, 65, .45) 62%, transparent 82%);
  filter: blur(1.5px);
  animation: logoSweep 3.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
.logo:hover .logo-sheen::before { animation-duration: 1.9s; }
/* 环绕 LOGO 上升的鎏金 / 紫晶星火粒子 */
.logo-sparks { position: absolute; inset: -6px -4px; pointer-events: none; z-index: 3; overflow: visible; }
.logo-sparks i {
  position: absolute; bottom: 6px; width: 3.5px; height: 3.5px; border-radius: 50%;
  background: #fff3c4; box-shadow: 0 0 8px #f7db8f, 0 0 14px #d9a441;
  opacity: 0; animation: logoSpark 3.2s ease-out infinite;
}
.logo-sparks i:nth-child(1) { left: 16%; animation-delay: 0s; animation-duration: 2.9s; }
.logo-sparks i:nth-child(2) { left: 36%; animation-delay: .8s; animation-duration: 3.4s; width: 3px; height: 3px; background: #e3c2ff; box-shadow: 0 0 8px #a78bfa; }
.logo-sparks i:nth-child(3) { left: 51%; animation-delay: 1.4s; animation-duration: 2.7s; width: 4px; height: 4px; }
.logo-sparks i:nth-child(4) { left: 70%; animation-delay: 2.1s; animation-duration: 3.3s; width: 3px; height: 3px; }
.logo-sparks i:nth-child(5) { left: 86%; animation-delay: .4s; animation-duration: 3.1s; background: #e3c2ff; box-shadow: 0 0 8px #a78bfa; }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}
@keyframes logoAuraPulse {
  0%, 100% { opacity: .65; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes logoSweep {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: .95; }
  46% { transform: translateX(460%); opacity: .95; }
  54%, 100% { transform: translateX(460%); opacity: 0; }
}
@keyframes logoSpark {
  0% { transform: translate(0, 4px) scale(.4); opacity: 0; }
  20% { opacity: 1; }
  85% { opacity: .65; }
  100% { transform: translate(6px, -38px) scale(0); opacity: 0; }
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-title); font-size: 25px; font-weight: 900; letter-spacing: 3.5px; line-height: 1.06;
  filter: drop-shadow(0 2px 0 rgba(18, 9, 28, .95)) drop-shadow(0 0 14px rgba(217, 164, 65, .28));
}
.logo-text small {
  display: block; font-size: 9px; letter-spacing: 2.8px; color: rgba(247, 219, 143, .72);
  font-family: var(--font-mono); margin-top: 5px; font-weight: 500;
}

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 13px; font-size: 14px; font-weight: 500; color: #cbc1d6; border-radius: var(--radius-sm);
  position: relative; transition: color .22s, background .22s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active {
  color: var(--gold2);
  background: rgba(217, 164, 65, .1);
}
.nav a.active::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--gold2); transition: .3s;
}
.menu-toggle::before { top: 12px; } .menu-toggle span { top: 19px; } .menu-toggle::after { top: 26px; }
.menu-open .menu-toggle::before { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle::after { top: 19px; transform: rotate(-45deg); }
.menu-open .menu-toggle span { opacity: 0; }

/* ---------- 区块与东方史诗标题 ---------- */
.section { padding: 92px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(960px 420px at 50% 0%, rgba(107, 52, 217, .14), transparent 72%),
    linear-gradient(180deg, rgba(17, 12, 29, .92), rgba(9, 7, 16, .65));
}
.section-alt::before, .section-alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .36), rgba(157, 107, 255, .3), rgba(217, 164, 65, .36), transparent);
}
.section-alt::before { top: 0; } .section-alt::after { bottom: 0; }

/* 居中对称史诗栏目标题（含定制东方金纹徽饰） */
.section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding-bottom: 22px; margin-bottom: 46px; position: relative;
}
.section-head::before {
  content: ""; width: 128px; height: 18px; margin-bottom: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 18'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d9a441' stop-opacity='0'/%3E%3Cstop offset='35%25' stop-color='%23f7db8f'/%3E%3Cstop offset='50%25' stop-color='%23fff6d4'/%3E%3Cstop offset='65%25' stop-color='%23f7db8f'/%3E%3Cstop offset='100%25' stop-color='%23d9a441' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 9h46M80 9h46' stroke='url(%23g)' stroke-width='1.2'/%3E%3Cpath d='M52 9l12-7 12 7-12 7z' fill='%23d9a441' fill-opacity='.25' stroke='%23f7db8f' stroke-width='1.2'/%3E%3Cpath d='M60 9l4-3.5 4 3.5-4 3.5z' fill='%23fff4c4'/%3E%3Ccircle cx='44' cy='9' r='1.8' fill='%23f7db8f'/%3E%3Ccircle cx='84' cy='9' r='1.8' fill='%23f7db8f'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(217, 164, 65, .55));
}
.section-head::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(320px, 68%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head h2 {
  font-family: var(--font-title); font-size: 36px; font-weight: 900; letter-spacing: .12em; line-height: 1.18;
  filter: drop-shadow(0 3px 0 rgba(20, 10, 35, .9)) drop-shadow(0 0 24px rgba(217, 164, 65, .28));
}
.section-head p {
  color: rgba(217, 164, 65, .72); letter-spacing: .38em; font-size: 11px; text-transform: uppercase;
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 14px;
}
.section-head p::before, .section-head p::after {
  content: ""; width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .55));
}
.section-head p::after { background: linear-gradient(90deg, rgba(217, 164, 65, .55), transparent); }

/* ---------- 暗金面板 ---------- */
.panel {
  background: linear-gradient(160deg, rgba(28, 20, 46, .92) 0%, rgba(17, 12, 29, .95) 58%, rgba(12, 9, 20, .98) 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(247, 219, 143, .08);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.panel::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(247, 219, 143, .45), transparent);
}
.panel:hover {
  border-color: var(--gold-line2);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .58), 0 0 28px rgba(217, 164, 65, .12), inset 0 1px 0 rgba(247, 219, 143, .16);
}

/* ---------- 占位图 ---------- */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(243, 237, 226, .68); font-size: 13px; letter-spacing: .1em;
  background-color: #161026;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(247, 219, 143, .035) 0 1px, transparent 1px 14px);
}
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 115%, transparent, rgba(0, 0, 0, .55) 82%); }
.ph > span {
  position: relative; z-index: 1; padding: 6px 14px;
  border: 1px dashed rgba(247, 219, 143, .35); border-radius: var(--radius-sm);
  background: rgba(8, 6, 13, .42);
}
.ph-0 { background-image: radial-gradient(ellipse at 30% 70%, #b85c24 0%, #4d1d12 44%, #14080d 82%); }
.ph-1 { background-image: radial-gradient(ellipse at 70% 30%, #7d45d9 0%, #37186d 44%, #110721 82%); }
.ph-2 { background-image: radial-gradient(ellipse at 50% 40%, #3a8fd9 0%, #133b69 44%, #06101f 82%); }
.ph-3 { background-image: radial-gradient(ellipse at 40% 60%, #36a87d 0%, #104d3d 44%, #061712 82%); }
.ph-4 { background-image: radial-gradient(ellipse at 60% 50%, #d9a441 0%, #6b4510 44%, #1a1005 82%); }
.ph-5 { background-image: radial-gradient(ellipse at 50% 80%, #c9384a 0%, #5c1222 44%, #17040a 82%); }
.media-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 标签页 ---------- */
.tabs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab {
  padding: 9px 22px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: .08em;
  position: relative; background: rgba(20, 15, 33, .72);
  border: 1px solid var(--gold-line); border-radius: var(--radius-sm);
  transition: all .24s ease;
}
.tab:hover { color: #fff; border-color: var(--gold-line2); background: rgba(217, 164, 65, .1); }
.tab.active {
  color: #1f1203; font-weight: 700;
  background: linear-gradient(180deg, #fae09b 0%, #d9a441 100%);
  border-color: var(--gold2);
  box-shadow: 0 6px 20px rgba(217, 164, 65, .32);
}

/* ---------- 徽标 ---------- */
.badge { display: inline-block; padding: 2px 10px; font-size: 11.5px; border-radius: 3px; line-height: 1.7; white-space: nowrap; letter-spacing: .05em; font-weight: 600; backdrop-filter: blur(6px); }
.badge-hot { background: linear-gradient(90deg, #ef573c, #b81d18); color: #fff; box-shadow: 0 2px 10px rgba(217, 56, 41, .35); }
.badge-new { background: rgba(16, 11, 26, .82); color: var(--gold2); border: 1px solid rgba(247, 219, 143, .55); }
.badge-open { background: rgba(10, 20, 22, .82); color: var(--jade2); border: 1px solid rgba(62, 214, 181, .48); }
.badge-wait { background: rgba(18, 12, 34, .84); color: var(--violet2); border: 1px solid rgba(157, 107, 255, .55); }
.badge-gray { background: rgba(16, 12, 24, .8); color: var(--muted); border: 1px solid rgba(255, 255, 255, .16); }

/* ---------- 弹窗与表单 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 1000; background: rgba(4, 2, 8, .84);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s;
}
.modal {
  width: 100%; max-width: 480px; max-height: 90vh; overflow: auto;
  background: linear-gradient(160deg, #201634, #100b1c);
  border: 1px solid var(--gold-line2);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .75), 0 0 50px rgba(217, 164, 65, .16);
  position: relative; animation: popIn .25s;
}
.modal-lg { max-width: 960px; }
.modal-head {
  padding: 18px 24px; border-bottom: 1px solid var(--gold-line);
  font-family: var(--font-title); font-size: 21px; font-weight: 700; color: var(--gold2); letter-spacing: .08em;
}
.modal-body { padding: 24px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; font-size: 24px; color: var(--muted); line-height: 1; z-index: 2; border-radius: 50%; transition: .2s; }
.modal-close:hover { color: var(--gold2); background: rgba(217, 164, 65, .12); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.95) translateY(10px); } }

#phoneVerifyForm { display: flex; flex-direction: column; gap: 12px; }
#phoneVerifyForm label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
#phoneVerifyForm #refreshCaptcha { border: 1px solid var(--gold-line); border-radius: var(--radius-sm); overflow: hidden; display: inline-block; }
#phoneVerifyForm #phoneMessage { font-size: 13px; color: var(--gold2); min-height: 1.4em; }

.toast {
  position: fixed; top: 104px; left: 50%; transform: translateX(-50%); z-index: 2000;
  padding: 12px 26px; background: rgba(22, 16, 36, .97); border: 1px solid var(--gold-line2); color: var(--gold2);
  border-radius: var(--radius-sm); box-shadow: 0 12px 36px rgba(0, 0, 0, .65); animation: popIn .25s; max-width: 90vw; text-align: center;
}
.toast.error { border-color: rgba(239, 87, 60, .7); color: #ffb3a6; }

.input {
  width: 100%; padding: 11px 14px; background: rgba(6, 4, 11, .6); border: 1px solid var(--gold-line);
  color: var(--text); border-radius: var(--radius-sm); font-size: 14.5px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 65, .16); }

/* ---------- 右侧悬浮栏 ---------- */
.side-float { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.side-float a, .side-float button {
  width: 48px; height: 48px; padding: 4px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(160deg, rgba(28, 20, 46, .92), rgba(13, 9, 22, .94));
  border: 1px solid var(--gold-line2); color: var(--gold2); font-size: 10.5px; border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45); transition: all .24s;
}
.side-float a:hover, .side-float button:hover {
  background: linear-gradient(180deg, #fae09b, #c98d2a); color: #1f1203; border-color: var(--gold2);
  transform: translateX(-3px); box-shadow: 0 8px 24px rgba(217, 164, 65, .42);
}
.side-float svg { width: 18px; height: 18px; }
.side-float .to-top { opacity: 0; pointer-events: none; }
.side-float .to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 子页面头图 ---------- */
.page-banner {
  min-height: 290px; margin-top: var(--header-h); position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(91, 43, 196, .28), rgba(8, 6, 13, .82) 72%),
    linear-gradient(180deg, rgba(8, 6, 13, .52), rgba(8, 6, 13, .28) 45%, var(--bg) 100%),
    url(/img/hero-1.jpg) center 38% / cover no-repeat,
    #140f21;
  border-bottom: 1px solid var(--gold-line);
  overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-banner > div { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 24px; animation: up .85s cubic-bezier(.2, .8, .2, 1) both; }
.page-banner h1 {
  font-family: var(--font-title); font-size: 46px; font-weight: 900; letter-spacing: .14em; line-height: 1.2;
  filter: drop-shadow(0 4px 0 rgba(18, 9, 28, .9)) drop-shadow(0 0 28px rgba(217, 164, 65, .38));
}
.page-banner p { color: rgba(247, 219, 143, .8); letter-spacing: .38em; font-size: 11px; margin-top: 10px; font-family: var(--font-mono); text-transform: uppercase; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.breadcrumb { padding: 20px 0 16px; color: var(--dim); font-size: 12.5px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--gold2); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative; margin-top: 24px; color: var(--dim); font-size: 13px;
  background:
    radial-gradient(960px 380px at 50% 0%, rgba(91, 43, 196, .18), transparent 68%),
    #06040a;
  border-top: 1px solid var(--gold-line);
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--gold2), var(--violet), transparent); opacity: .75;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 54px 0 42px; }
.f-brand .logo { margin-bottom: 18px; }
.f-brand .logo-text strong { font-size: 23px; }
.f-brand .logo-emblem-wordmark { height: 70px; }
.f-brand .logo-img.logo-img-wordmark { height: 66px; max-width: 290px; }
.f-brand p { font-size: 12.5px; line-height: 1.9; color: var(--dim); max-width: 360px; }
.f-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .28em; color: var(--gold);
  margin-bottom: 18px; text-transform: uppercase; display: flex; align-items: center; gap: 8px;
}
.f-title::before { content: "◆"; font-size: 8px; color: var(--gold2); }
.f-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.f-links a { font-size: 13px; color: #b5a9c2; transition: color .2s, transform .2s; }
.f-links a:hover { color: var(--gold2); transform: translateX(3px); }
.f-contact { display: grid; gap: 10px; font-size: 13px; color: #b5a9c2; }
.f-contact b { color: var(--gold2); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(217, 164, 65, .14); padding: 18px 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--dim); letter-spacing: .04em;
}
.footer-logo { justify-content: flex-start; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 42px; flex-wrap: wrap; }
.pager button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--gold-line);
  background: rgba(20, 15, 33, .85); color: var(--muted); border-radius: var(--radius-sm); transition: .2s;
}
.pager button:hover:not(:disabled) { border-color: var(--gold2); color: #fff; }
.pager button.active {
  background: linear-gradient(180deg, #fae09b, #d9a441); color: #1f1203; border-color: var(--gold2); font-weight: 700;
}
.pager button:disabled { opacity: .35; cursor: default; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 16+ 适龄提示 ---------- */
.age-reminder-float {
  position: fixed; left: 14px; bottom: 16px; z-index: 95; cursor: pointer; transition: opacity .3s, transform .3s;
  width: clamp(48px, 7.2vh, 72px); height: clamp(48px, 7.2vh, 72px);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .75));
}
.age-reminder-float:hover { opacity: .9; transform: translateY(-2px) scale(1.03); }
.age-reminder-float img { width: 100%; height: 100%; object-fit: contain; display: block; }
.age-reminder-float span { display: none; }
.age-modal .modal { max-width: 800px; }
.age-modal .modal-head { text-align: center; font-size: 26px; padding: 22px 28px; border-bottom: 1px solid var(--gold-line2); }
.age-modal .modal-body { padding: 34px 32px; line-height: 2; }
.age-modal .age-content { max-height: 65vh; overflow-y: auto; padding-right: 12px; }
.age-modal .age-logo { text-align: center; margin-bottom: 26px; }
.age-modal .age-logo img { display: inline-block; width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 4px 16px rgba(217, 164, 65, .4)); }
.age-modal .age-section { margin-bottom: 24px; }
.age-modal .age-section p { text-indent: 2em; margin-bottom: 12px; color: #cbc1d6; font-size: 15px; }
.age-modal .age-section strong { color: var(--gold2); }
.age-modal .age-footer { text-align: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--gold-line); }
.age-modal .btn-understand { min-width: 180px; }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; animation: revealUp .75s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .nav a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .site-header { backdrop-filter: none; background: rgba(9, 6, 15, .98); }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100vh - var(--header-h)); flex-direction: column; gap: 0;
    background: rgba(11, 8, 19, .99); padding: 10px 18px 14px; overflow: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--gold-line2); box-shadow: 0 24px 50px rgba(0, 0, 0, .75);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .32s ease, visibility 0s linear .32s;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .32s ease; }
  .menu-open::after { content: ""; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99; background: rgba(0, 0, 0, .62); }
  .nav a { padding: 13px 10px; border-bottom: 1px solid rgba(217, 164, 65, .12); font-size: 15px; }
  .nav a::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .container { padding: 0 16px; }
  .header-inner { height: 62px; gap: 12px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; padding-bottom: 16px; }
  .section-head h2 { font-size: 27px; letter-spacing: .08em; }
  .section-head p { font-size: 9.5px; letter-spacing: .24em; }
  .section-head p::before, .section-head p::after { width: 18px; }
  .logo-mark { width: 34px; height: 34px; font-size: 15px; }
  .logo-text strong { font-size: 20px; letter-spacing: 2px; }
  .logo-text small { font-size: 7.5px; letter-spacing: 1.8px; }
  .logo-emblem-icon { width: 40px; height: 40px; }
  .logo-emblem-wordmark { height: 46px; }
  .logo-img, .logo-img.logo-img-wordmark { height: 44px; max-width: 185px; }
  .page-banner { min-height: 200px; }
  .page-banner h1 { font-size: 32px; letter-spacing: .08em; }
  .page-banner p { font-size: 9.5px; letter-spacing: .22em; }
  .side-float { right: 8px; top: auto; bottom: 14px; transform: none; gap: 6px; }
  .side-float a, .side-float button { width: 46px; height: 46px; font-size: 10px; border-radius: 8px; }
  .side-float svg { width: 16px; height: 16px; }
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
  .nav a { padding: 10px 0; text-align: center; font-size: 13px; border: 1px solid var(--gold-line); border-radius: var(--radius-sm); }
  .nav a.active { border-color: var(--gold2); }
  .tab { padding: 7px 14px; font-size: 13px; }
  .tabs { gap: 8px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .age-reminder-float { left: 10px; bottom: 12px; width: clamp(48px, 9.5vmin, 82px); height: clamp(48px, 9.5vmin, 82px); }
  .age-modal .modal { max-width: 95%; }
  .age-modal .modal-body { padding: 24px 20px; font-size: 14px; line-height: 1.8; }
}
