/* ============================================================
   清杪游戏 · 新中式国风主题
   宣纸为底 · 墨色行文 · 朱砂点睛 · 鎏金缀饰
   ============================================================ */
:root {
  --paper: #f5f0e4;
  --paper-deep: #ece3cf;
  --card: #fffdf6;
  --ink: #211d18;
  --ink-soft: #5c554a;
  --ink-faint: #8a8175;
  --cinnabar: #b23a2f;
  --cinnabar-dark: #8c2b22;
  --gold: #b8902f;
  --gold-light: #d9b870;
  --jade: #2f5d50;
  --line: rgba(33, 29, 24, 0.14);
  --line-strong: rgba(33, 29, 24, 0.28);
  --shadow-sm: 0 1px 2px rgba(33, 29, 24, 0.06), 0 2px 8px rgba(33, 29, 24, 0.05);
  --shadow-md: 0 4px 14px rgba(33, 29, 24, 0.10), 0 12px 32px rgba(33, 29, 24, 0.08);
  --shadow-lg: 0 8px 28px rgba(33, 29, 24, 0.14), 0 24px 64px rgba(33, 29, 24, 0.10);
  --radius: 14px;
  --radius-sm: 9px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 80% 50% at 80% -10%, rgba(184, 144, 47, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 10% 110%, rgba(47, 93, 80, 0.07), transparent),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(33, 29, 24, 0.012) 34px 35px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(33, 29, 24, 0.012) 34px 35px);
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cinnabar); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.site-main { flex: 1 0 auto; }

/* ---------- 印章 Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.seal {
  width: 42px; height: 42px; flex: none;
  background: linear-gradient(145deg, var(--cinnabar), var(--cinnabar-dark));
  color: #fff; font-family: var(--font-serif); font-weight: 700;
  display: grid; place-items: center; font-size: 22px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35), var(--shadow-sm);
  transform: rotate(-3deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-serif); font-size: 20px; letter-spacing: 2px; }
.brand-text small { font-size: 11px; color: var(--ink-faint); letter-spacing: 1px; }

/* ---------- 公告跑马灯 ---------- */
.ticker {
  background: linear-gradient(90deg, var(--ink), #3a342b);
  color: #f0ead9; font-size: 13px;
}
.ticker-inner { display: flex; align-items: center; gap: 12px; height: 36px; }
.ticker-tag {
  background: var(--cinnabar); color: #fff; font-size: 12px;
  padding: 1px 10px; border-radius: 4px; letter-spacing: 2px; flex: none;
}
.ticker-link {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #f0ead9; opacity: 0.92;
}
.ticker-link:hover { color: var(--gold-light); opacity: 1; }
.ticker-more { flex: none; color: var(--gold-light); }
.ticker-more:hover { color: #fff; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 228, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 13px; border-radius: 8px;
  font-size: 15px; color: var(--ink-soft); letter-spacing: 1px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--cinnabar); background: rgba(178, 58, 47, 0.06); }
.main-nav a.active { color: var(--cinnabar); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--cinnabar);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 9px 8px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 10px; font-size: 15px; letter-spacing: 1px;
  border: 1px solid transparent; transition: all 0.22s; white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 14px 36px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(178, 58, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 7px 20px rgba(178, 58, 47, 0.34); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #96731f);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 144, 47, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gold:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 7px 20px rgba(184, 144, 47, 0.36); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 253, 246, 0.7); }
.btn-outline:hover { border-color: var(--cinnabar); color: var(--cinnabar); }
.btn-ghost { color: var(--ink-soft); border-color: transparent; }
.btn-ghost:hover { color: var(--cinnabar); background: rgba(178, 58, 47, 0.06); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- 闪现消息 ---------- */
.flash-wrap { margin-top: 18px; }
.flash {
  position: relative; padding: 13px 44px 13px 18px; border-radius: var(--radius-sm);
  font-size: 14.5px; border: 1px solid; animation: flashIn 0.3s;
}
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; } }
.flash-success { background: #eef6ef; border-color: #b7d5bc; color: #245c32; }
.flash-error   { background: #fdefec; border-color: #ecc4bc; color: #8c2b22; }
.flash-info    { background: #f0f4f8; border-color: #c6d2dd; color: #2f4a63; }
.flash-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 20px; color: inherit; opacity: 0.55;
}
.flash-close:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(ellipse 55% 60% at 78% 20%, rgba(178, 58, 47, 0.10), transparent 65%),
    radial-gradient(ellipse 45% 55% at 12% 85%, rgba(47, 93, 80, 0.09), transparent 65%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
}
.hero::before { width: 420px; height: 420px; right: -120px; top: -120px; background: rgba(184, 144, 47, 0.18); }
.hero::after { width: 360px; height: 360px; left: -100px; bottom: -140px; background: rgba(47, 93, 80, 0.14); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 3px; color: var(--jade);
  border: 1px solid rgba(47, 93, 80, 0.35); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 22px; background: rgba(47, 93, 80, 0.05);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.28; letter-spacing: 3px; font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--cinnabar) 20%, var(--gold) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 16.5px; color: var(--ink-soft); max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--cinnabar); letter-spacing: 1px; }
.stat .num small { font-size: 14px; color: var(--ink-faint); font-weight: 400; margin-left: 2px; }
.stat .label { font-size: 13px; color: var(--ink-faint); letter-spacing: 1px; }

.hero-visual { position: relative; }
.hero-scroll {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, #2f3a46, #171d26 60%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 24px;
  color: #ece5d3;
}
.hero-scroll::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(184, 144, 47, 0.22), transparent 70%);
}
.hero-scroll .rod {
  position: absolute; top: -8px; bottom: -8px; width: 10px; border-radius: 6px;
  background: linear-gradient(180deg, var(--gold-light), #8a6420);
}
.hero-scroll .rod.left { left: 10px; }
.hero-scroll .rod.right { right: 10px; }
.hero-scroll-inner { position: relative; }
.hero-scroll h3 { font-family: var(--font-serif); font-size: 21px; letter-spacing: 4px; margin-bottom: 4px; color: #f3ead2; }
.hero-scroll .hs-sub { font-size: 12.5px; opacity: 0.65; letter-spacing: 2px; margin-bottom: 18px; }
.hero-scroll .hs-line { height: 1px; background: linear-gradient(90deg, rgba(217, 184, 112, 0.5), transparent); margin-bottom: 18px; }
.hs-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; border-bottom: 1px dashed rgba(236, 229, 211, 0.14); font-size: 13.5px; }
.hs-item:last-child { border-bottom: none; }
.hs-item .t { opacity: 0.85; }
.hs-item .p { color: var(--gold-light); font-weight: 600; font-family: var(--font-serif); }
.hs-item .hot { font-size: 11px; background: var(--cinnabar); padding: 0 7px; border-radius: 4px; margin-right: 7px; }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-title { display: flex; flex-direction: column; gap: 6px; }
.section-title .en { font-size: 11.5px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }
.section-title h2 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 32px); letter-spacing: 3px; display: flex; align-items: center; gap: 12px; }
.section-title h2::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, var(--cinnabar), var(--gold)); }
.section-more { color: var(--ink-soft); font-size: 14px; letter-spacing: 1px; }
.section-more:hover { color: var(--cinnabar); }

/* ---------- 游戏封面（原创 CSS 艺术字封面）---------- */
.cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display: grid; place-items: center; border-radius: var(--radius) var(--radius) 0 0;
}
.cover-glyph {
  font-family: var(--font-serif); font-size: clamp(52px, 7vw, 76px); font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  writing-mode: vertical-rl; letter-spacing: 6px;
}
.cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 90%, rgba(0, 0, 0, 0.28), transparent 65%);
}
.cover::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 14px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.cover .corner {
  position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.55); z-index: 2;
}
.cover .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.cover .corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.cover .corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.cover .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.theme-ink      { background: linear-gradient(140deg, #37485c, #131a23); }
.theme-cinnabar { background: linear-gradient(140deg, #c4513a, #7c2b1e); }
.theme-jade     { background: linear-gradient(140deg, #3d8168, #1d4636); }
.theme-gold     { background: linear-gradient(140deg, #cba44e, #856020); }
.theme-violet   { background: linear-gradient(140deg, #7f6db4, #443a75); }
.theme-teal     { background: linear-gradient(140deg, #42949b, #1d5860); }
.theme-rose     { background: linear-gradient(140deg, #c7808e, #8b4a5b); }
.theme-indigo   { background: linear-gradient(140deg, #4d5da3, #28305f); }

/* ---------- 游戏卡片 ---------- */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.game-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
  display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(178, 58, 47, 0.35); }
.game-card .cover { border-radius: 0; }
.game-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark));
  color: #fff; font-size: 11px; letter-spacing: 1px;
  padding: 2px 9px; border-radius: 4px; box-shadow: var(--shadow-sm);
}
.game-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.game-body h3 { font-family: var(--font-serif); font-size: 18px; letter-spacing: 1px; }
.game-body .g-sub { font-size: 12.5px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.game-tags .tag {
  font-size: 11px; color: var(--jade); border: 1px solid rgba(47, 93, 80, 0.3);
  background: rgba(47, 93, 80, 0.06); padding: 1px 8px; border-radius: 4px;
}
.game-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.price-from { font-size: 12.5px; color: var(--ink-faint); }
.price-from b { color: var(--cinnabar); font-family: var(--font-serif); font-size: 19px; }
.game-foot .go { font-size: 13px; color: var(--cinnabar); font-weight: 600; }

/* ---------- 分类穿梭 ---------- */
.cat-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; font-size: 14px; letter-spacing: 1px;
  border: 1px solid var(--line-strong); color: var(--ink-soft); background: rgba(255, 253, 246, 0.7);
  transition: all 0.2s;
}
.cat-chip:hover, .cat-chip.on { border-color: var(--cinnabar); color: var(--cinnabar); background: rgba(178, 58, 47, 0.06); }
.cat-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* ---------- 限时特惠 ---------- */
.flash { background: linear-gradient(150deg, #2b2118, #191410); border-radius: 20px; padding: 44px 40px; color: #ece5d3; position: relative; overflow: hidden; }
.flash::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 85% 15%, rgba(184, 144, 47, 0.2), transparent 65%); }
.flash-head { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.flash-head h2 { font-family: var(--font-serif); font-size: 28px; letter-spacing: 3px; color: #f3ead2; }
.flash-head .countdown { display: flex; align-items: center; gap: 8px; font-size: 13.5px; opacity: 0.85; }
.countdown .cd-box {
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(217, 184, 112, 0.35);
  border-radius: 8px; padding: 4px 10px; font-family: var(--font-serif);
  font-size: 18px; color: var(--gold-light); min-width: 44px; text-align: center;
}
.flash-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flash-card {
  background: rgba(255, 253, 246, 0.06); border: 1px solid rgba(236, 229, 211, 0.14);
  border-radius: 14px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px;
  transition: all 0.25s; backdrop-filter: blur(4px);
}
.flash-card:hover { border-color: rgba(217, 184, 112, 0.5); transform: translateY(-3px); background: rgba(255, 253, 246, 0.09); }
.flash-card .fc-game { font-size: 12px; opacity: 0.7; }
.flash-card .fc-name { font-size: 15.5px; font-weight: 600; color: #f3ead2; }
.flash-card .fc-price { display: flex; align-items: baseline; gap: 8px; }
.flash-card .now { font-family: var(--font-serif); font-size: 26px; color: #ff8d7e; font-weight: 700; }
.flash-card .now::before { content: "¥"; font-size: 15px; margin-right: 1px; }
.flash-card .old { font-size: 12.5px; opacity: 0.55; text-decoration: line-through; }
.flash-card .save { font-size: 11.5px; color: #ffd591; border: 1px solid rgba(255, 213, 145, 0.4); border-radius: 4px; padding: 0 7px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: -18px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(178, 58, 47, 0.35);
  counter-increment: step;
}
.step-card h4 { font-family: var(--font-serif); font-size: 18px; letter-spacing: 2px; margin: 6px 0 8px; }
.step-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 图文优势 ---------- */
.feature-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card {
  display: flex; gap: 18px; padding: 26px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  flex: none; width: 54px; height: 54px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-serif);
  font-size: 24px; color: #fff;
  background: linear-gradient(135deg, var(--gold), #96731f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--shadow-sm);
}
.feature-card h4 { font-family: var(--font-serif); font-size: 18px; letter-spacing: 1.5px; margin-bottom: 6px; }
.feature-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ 折叠 ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 17px 20px; background: none; border: none; text-align: left;
  font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0.5px;
}
.faq-q .fx { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 14px; color: var(--cinnabar); transition: transform 0.25s; }
.faq-item.open .faq-q .fx { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--cinnabar-dark), var(--cinnabar) 55%, #a8432f);
  border-radius: 20px; padding: 52px 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 90% 20%, rgba(255, 255, 255, 0.14), transparent 60%); }
.cta-banner h2 { position: relative; font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 3px; margin-bottom: 10px; }
.cta-banner p { position: relative; opacity: 0.88; font-size: 14.5px; }
.cta-banner .btn { position: relative; background: #fff; color: var(--cinnabar-dark); font-weight: 600; }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); color: var(--cinnabar-dark); }

/* ---------- 页面头图（二级页）---------- */
.page-hero {
  position: relative; padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(178, 58, 47, 0.08), transparent 65%),
    linear-gradient(180deg, var(--paper-deep), var(--paper));
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: 1px; }
.breadcrumb a:hover { color: var(--cinnabar); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 40px); letter-spacing: 4px; }
.page-hero .ph-sub { color: var(--ink-soft); margin-top: 10px; max-width: 46em; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); max-width: 520px; margin: 0 auto;
}
.form-card.wide { max-width: 760px; }
.form-title { font-family: var(--font-serif); font-size: 24px; letter-spacing: 3px; text-align: center; margin-bottom: 6px; }
.form-sub { text-align: center; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; letter-spacing: 1px; }
.form-label .req { color: var(--cinnabar); margin-left: 3px; }
.form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-size: 15px;
}
.form-control:focus { outline: none; border-color: var(--cinnabar); background: #fff; box-shadow: 0 0 0 3px rgba(178, 58, 47, 0.12); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c554a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.form-error { font-size: 12.5px; color: var(--cinnabar); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }
.form-foot a { color: var(--cinnabar); font-weight: 600; }

/* ---------- 数据表 ---------- */
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.table-toolbar h3 { font-family: var(--font-serif); font-size: 17px; letter-spacing: 1.5px; }
.table-scroll { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th {
  text-align: left; padding: 12px 16px; background: rgba(236, 227, 207, 0.55);
  font-size: 13px; letter-spacing: 1px; color: var(--ink-soft); font-weight: 600; white-space: nowrap;
}
table.tbl td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.tbl tr:hover td { background: rgba(184, 144, 47, 0.045); }
.tbl .mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12.5px; color: var(--ink-soft); }
.tbl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.link-btn { background: none; border: none; color: var(--cinnabar); font-size: 13.5px; padding: 0; }
.link-btn:hover { text-decoration: underline; }
.link-btn.jade { color: var(--jade); }
.link-btn.danger { color: #a83232; }

.badge {
  display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px;
  border: 1px solid; letter-spacing: 1px; white-space: nowrap;
}
.badge-hot { color: var(--cinnabar); border-color: rgba(178, 58, 47, 0.4); background: rgba(178, 58, 47, 0.07); }
.badge-jade { color: var(--jade); border-color: rgba(47, 93, 80, 0.4); background: rgba(47, 93, 80, 0.07); }
.badge-gold { color: #96731f; border-color: rgba(184, 144, 47, 0.45); background: rgba(184, 144, 47, 0.08); }
.badge-gray { color: var(--ink-faint); border-color: var(--line-strong); background: rgba(33, 29, 24, 0.04); }

.st-pending { color: #96731f; border-color: rgba(184, 144, 47, 0.45); background: rgba(184, 144, 47, 0.09); }
.st-paid    { color: #2f4a63; border-color: rgba(47, 74, 99, 0.35); background: rgba(47, 74, 99, 0.07); }
.st-doing   { color: #6a4d9e; border-color: rgba(106, 77, 158, 0.35); background: rgba(106, 77, 158, 0.07); }
.st-done    { color: var(--jade); border-color: rgba(47, 93, 80, 0.4); background: rgba(47, 93, 80, 0.08); }
.st-closed  { color: #8a8175; border-color: var(--line-strong); background: rgba(33, 29, 24, 0.05); }

/* ---------- 游戏详情页 ---------- */
.game-detail { display: grid; grid-template-columns: 400px 1fr; gap: 34px; align-items: start; }
.gd-cover { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.gd-cover .cover { aspect-ratio: 1 / 1; border-radius: 0; }
.gd-info { display: flex; flex-direction: column; gap: 18px; }
.gd-title { font-family: var(--font-serif); font-size: 32px; letter-spacing: 3px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gd-sub { color: var(--ink-soft); }
.gd-desc { color: var(--ink-soft); font-size: 14.5px; }
.gd-meta { display: flex; gap: 22px; flex-wrap: wrap; padding: 14px 18px; background: rgba(236, 227, 207, 0.5); border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink-soft); }
.gd-meta b { color: var(--cinnabar); font-family: var(--font-serif); font-size: 17px; }

.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px; cursor: pointer;
  transition: all 0.22s; display: flex; flex-direction: column; gap: 8px;
}
.product-card:hover { border-color: var(--cinnabar); box-shadow: var(--shadow-sm); }
.product-card.selected { border-color: var(--cinnabar); box-shadow: 0 0 0 3px rgba(178, 58, 47, 0.12); }
.product-card .p-name { font-weight: 600; font-size: 15px; }
.product-card .p-spec { font-size: 12.5px; color: var(--ink-faint); }
.product-card .p-price { font-family: var(--font-serif); font-size: 24px; color: var(--cinnabar); font-weight: 700; }
.product-card .p-price::before { content: "¥"; font-size: 14px; margin-right: 1px; }
.product-card .p-old { font-size: 12px; color: var(--ink-faint); text-decoration: line-through; margin-left: 8px; }
.product-card .p-badge { position: absolute; top: 10px; right: 10px; }
.product-card input { position: absolute; opacity: 0; }

/* ---------- 充值中心 ---------- */
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amount-card {
  position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--card); padding: 20px 12px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.amount-card:hover { border-color: var(--cinnabar); }
.amount-card.selected { border-color: var(--cinnabar); box-shadow: 0 0 0 3px rgba(178, 58, 47, 0.12); }
.amount-card .a-num { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--cinnabar); }
.amount-card .a-num::before { content: "¥"; font-size: 15px; }
.amount-card .a-gift { font-size: 12px; color: var(--gold); margin-top: 2px; }
.amount-card input { position: absolute; opacity: 0; }

.pay-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.pay-summary {
  background: linear-gradient(160deg, #2f3a46, #1a212b); color: #ece5d3;
  border-radius: var(--radius); padding: 26px; position: sticky; top: calc(var(--header-h) + 16px);
  box-shadow: var(--shadow-md);
}
.pay-summary h3 { font-family: var(--font-serif); letter-spacing: 2px; font-size: 18px; color: #f3ead2; margin-bottom: 16px; }
.pay-summary .row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 0; border-bottom: 1px dashed rgba(236, 229, 211, 0.14); }
.pay-summary .row.total { border-bottom: none; padding-top: 14px; }
.pay-summary .row.total .v { font-family: var(--font-serif); font-size: 26px; color: #ff8d7e; font-weight: 700; }
.pay-summary .row .k { opacity: 0.7; }
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid rgba(236, 229, 211, 0.18); border-radius: 10px; font-size: 14px;
}
.pay-method.on { border-color: var(--gold-light); background: rgba(184, 144, 47, 0.12); }
.pay-method .pm-logo {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #1677ff, #0e5fd6); color: #fff; font-weight: 700; font-size: 16px;
}
.pay-method .pm-desc { font-size: 12px; opacity: 0.65; }

/* ---------- 用户中心 ---------- */
.uc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }
.uc-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 16px); }
.uc-user { padding: 22px 20px; background: linear-gradient(150deg, var(--cinnabar-dark), var(--cinnabar)); color: #fff; }
.uc-user .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 21px; margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.uc-user .un { font-weight: 600; letter-spacing: 1px; }
.uc-user .ub { font-size: 12.5px; opacity: 0.85; }
.uc-menu { padding: 10px; }
.uc-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); transition: all 0.2s; }
.uc-menu a:hover { background: rgba(178, 58, 47, 0.06); color: var(--cinnabar); }
.uc-menu a.on { background: rgba(178, 58, 47, 0.09); color: var(--cinnabar); font-weight: 600; }
.uc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.uc-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.uc-stat .v { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--cinnabar); }
.uc-stat .k { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 1px; }

/* ---------- 关联信息 / 其他 ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-family: var(--font-serif); font-size: 19px; letter-spacing: 2px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card h3::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--cinnabar), var(--gold)); }
.kv-list { display: flex; flex-direction: column; }
.kv-list .kv { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv-list .kv:last-child { border-bottom: none; }
.kv-list .k { flex: none; width: 82px; color: var(--ink-faint); letter-spacing: 1px; }
.kv-list .v { color: var(--ink); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--cinnabar), var(--gold)); border-radius: 2px; }
.timeline .tl-item { position: relative; padding: 0 0 26px 12px; }
.timeline .tl-item:last-child { padding-bottom: 0; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -25px; top: 7px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--card); border: 3px solid var(--cinnabar);
}
.timeline .tl-year { font-family: var(--font-serif); color: var(--cinnabar); font-weight: 700; letter-spacing: 1px; }
.timeline .tl-title { font-weight: 600; margin: 2px 0; }
.timeline .tl-desc { font-size: 13.5px; color: var(--ink-soft); }

.text-prose { font-size: 14.5px; color: var(--ink-soft); }
.text-prose p { margin-bottom: 14px; }
.text-prose h3 { font-family: var(--font-serif); color: var(--ink); font-size: 18px; letter-spacing: 1.5px; margin: 22px 0 10px; }
.text-prose ul.dot { list-style: none; }
.text-prose ul.dot li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.text-prose ul.dot li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar); opacity: 0.7; }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-faint); }
.empty .ez { font-size: 40px; opacity: 0.5; margin-bottom: 8px; }
.empty .et { font-size: 14.5px; }
.empty .eb { margin-top: 14px; }

/* 帮助中心 tab */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tabs a { padding: 10px 20px; font-size: 14.5px; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -2px; letter-spacing: 1px; transition: all 0.2s; }
.tabs a:hover { color: var(--cinnabar); }
.tabs a.on { color: var(--cinnabar); border-bottom-color: var(--cinnabar); font-weight: 600; }

/* 回到顶部 */
.back-top {
  position: fixed; right: 22px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--ink-soft); font-size: 19px;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: all 0.3s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { color: var(--cinnabar); border-color: var(--cinnabar); transform: translateY(-2px); }

/* 装饰：云纹分隔 */
.ink-divider { height: 5px; background: linear-gradient(90deg, transparent, var(--cinnabar) 30%, var(--gold) 70%, transparent); opacity: 0.55; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .game-detail { grid-template-columns: 320px 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .main-nav.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h);
    left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .main-nav.mobile-open a { padding: 12px 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step-card:last-child { grid-column: span 2; }
  .feature-rows { grid-template-columns: 1fr; }
  .game-detail { grid-template-columns: 1fr; }
  .gd-cover { max-width: 420px; }
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .uc-layout { grid-template-columns: 1fr; }
  .uc-side { position: static; }
  .uc-cards { grid-template-columns: 1fr; }
  .pay-box { grid-template-columns: 1fr; }
  .pay-summary { position: static; }
  .cta-banner { padding: 40px 28px; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flash-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps .step-card:last-child { grid-column: span 1; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .section { padding: 44px 0; }
  .hero { padding: 56px 0 52px; }
  .hero-stats { gap: 22px; }
  .stat .num { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cover-glyph { font-size: 56px; }
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 48px 0 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; max-width: 30em; }
.footer-icp { font-size: 12.5px; color: var(--ink-faint); }
.footer-col h4 { font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; color: var(--ink); }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: var(--ink-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--cinnabar); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 26px; font-size: 12.5px; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* 沙箱提示条 */
.sandbox-tip { background: #fff7e6; border-bottom: 1px solid #f0d9a0; color: #8a6420; font-size: 13px; text-align: center; padding: 8px 16px; letter-spacing: 1px; }

/* 销量/评价高亮（2026-10-20） */
.sold-pill{display:inline-flex;align-items:center;font-size:10.5px;font-weight:700;color:var(--cinnabar);border:1px solid rgba(178,58,47,.4);background:rgba(178,58,47,.07);border-radius:999px;padding:2px 8px;margin:6px 0 0;white-space:nowrap}
.gd-sold{margin:8px 0 0;font-size:13px;color:var(--ink-soft)}
.gd-sold b{color:var(--cinnabar);font-weight:800}