/* 恒风传奇官网 · 2026-11-30 */
@font-face {
  font-family: "HFTitle";
  src: url("/static/font/hf-title.woff2?v=20261130b") format("woff2");
  font-display: swap;
}

:root {
  --bg: #0b0806;
  --bg-2: #130d09;
  --bg-3: #1b130d;
  --panel: rgba(30, 21, 14, 0.82);
  --line: rgba(214, 170, 92, 0.26);
  --line-2: rgba(232, 194, 122, 0.55);
  --gold: #e8c27a;
  --gold-hi: #fbe7b3;
  --gold-lo: #a8742c;
  --red: #c3271b;
  --ember: #ff6a1f;
  --text: #eadfca;
  --muted: #a99a80;
  --dim: #7d705c;
  --radius: 6px;
  --nav-h: 64px;
  --title: "HFTitle", "STKaiti", "KaiTi", "Kaiti SC", "楷体", serif;
  --sans: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.75 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
b { color: var(--gold-hi); font-weight: 600; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tf { font-family: var(--title); font-weight: normal; letter-spacing: 0.04em; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  position: relative; overflow: hidden;
}
.btn svg { font-size: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
  color: #2b1607;
  background: linear-gradient(180deg, #fff1c4 0%, #f0c870 38%, #c98f3a 72%, #a8742c 100%);
  border-color: #ffe3a1;
  box-shadow: 0 6px 22px rgba(232, 160, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
.btn-gold:hover { box-shadow: 0 10px 32px rgba(255, 150, 50, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7); filter: brightness(1.06); }
.btn-dark {
  color: var(--gold-hi);
  background: linear-gradient(180deg, rgba(48, 32, 20, 0.95), rgba(22, 15, 10, 0.95));
  border-color: var(--line-2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.btn-dark:hover { border-color: var(--gold); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 194, 122, 0.3); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 64px; padding: 0 26px; text-align: left; }
.btn-lg svg { font-size: 26px; }
.btn-lg span { display: flex; flex-direction: column; line-height: 1.3; }
.btn-lg b { color: inherit; font-size: 18px; letter-spacing: 0.08em; }
.btn-lg small { font-size: 12px; font-weight: 500; opacity: 0.8; letter-spacing: 0.02em; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(20, 14, 10, 0.6);
  color: var(--text); font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.chip svg { font-size: 18px; stroke-width: 1.6; color: var(--gold); }
.chip b { color: var(--gold-hi); letter-spacing: 0.04em; }
.chip em { font-style: normal; font-size: 12px; color: var(--dim); border-left: 1px solid var(--line); padding-left: 8px; }
.chip:hover { border-color: var(--gold); background: rgba(40, 28, 18, 0.8); }
.chip-link { color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.85), rgba(8, 6, 4, 0.35));
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.solid { background: rgba(10, 7, 5, 0.94); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, 0.5); }
@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
  .nav.solid { background: rgba(10, 7, 5, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.nav-in { height: 100%; width: min(1280px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 110px; height: auto; filter: drop-shadow(0 0 8px rgba(255, 80, 20, 0.35)); }
.brand-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 1px 8px; border-radius: 3px; white-space: nowrap; }
.menu { display: flex; gap: 2px; margin-left: auto; }
.menu a { color: var(--text); padding: 8px 12px; font-size: 15px; border-radius: 4px; position: relative; transition: color 0.2s; }
.menu a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transition: left 0.25s, right 0.25s; }
.menu a:hover, .menu a.on { color: var(--gold-hi); }
.menu a:hover::after, .menu a.on::after { left: 12px; right: 12px; }
.nav-cta { flex: none; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; padding: 10px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 64% 42%, rgba(255, 170, 70, 0.16), transparent 70%),
    radial-gradient(40% 40% at 22% 85%, rgba(195, 39, 27, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(11, 8, 6, 0.15) 0%, rgba(11, 8, 6, 0) 40%, rgba(11, 8, 6, 0.85) 92%, var(--bg) 100%),
    url("/static/img/hero-bg.webp") center 30% / cover no-repeat,
    var(--bg);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-wind { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-wind i {
  position: absolute; left: -40%; width: 70%; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 180, 0.5), transparent);
  animation: wind 9s linear infinite;
}
.hero-wind i:nth-child(1) { top: 28%; animation-delay: 0s; }
.hero-wind i:nth-child(2) { top: 52%; animation-delay: 3.2s; width: 55%; }
.hero-wind i:nth-child(3) { top: 74%; animation-delay: 6.1s; width: 80%; }
@keyframes wind { 0% { transform: translateX(0) skewY(-2deg); opacity: 0; } 15% { opacity: 0.9; } 60% { opacity: 0.35; } 100% { transform: translateX(240%) skewY(-2deg); opacity: 0; } }

.hero-in {
  width: min(1280px, 100% - 32px); margin: 0 auto; padding-top: var(--nav-h);
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 12px;
}
.hero-figure { align-self: end; position: relative; margin-left: -40px; }
.hero-figure::before {
  content: ""; position: absolute; left: 12%; right: 8%; top: 18%; bottom: 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 140, 40, 0.28), transparent);
  filter: blur(20px);
}
.hero-figure img {
  width: 100%; max-width: 620px; max-height: calc(100vh - var(--nav-h) - 20px); object-fit: contain; object-position: bottom left;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  animation: rise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-copy { position: relative; padding: 40px 0 70px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kicker { color: var(--gold); letter-spacing: 0.32em; font-size: 14px; padding: 4px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); animation: fadeUp 0.9s 0.1s both; }
.hero-logo { margin: 10px 0 0; width: min(580px, 100%); animation: logoIn 1.1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-logo img { width: 100%; filter: drop-shadow(0 0 24px rgba(255, 70, 20, 0.45)) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6)); animation: float 6s ease-in-out 1.3s infinite; }
.slogan {
  margin-top: 4px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.2; letter-spacing: 0.18em;
  background: linear-gradient(180deg, #fff6d8 10%, #f1c76f 52%, #b8782c 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 20, 0, 0.8)) drop-shadow(0 0 18px rgba(255, 120, 30, 0.35));
  animation: fadeUp 0.9s 0.35s both;
}
.hero-sub { margin-top: 12px; color: var(--text); font-size: 16px; max-width: 34em; animation: fadeUp 0.9s 0.45s both; }
.hero-sub b { color: var(--gold-hi); }
.server-pill {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(15, 10, 7, 0.72); font-size: 15px;
  box-shadow: 0 0 0 4px rgba(232, 194, 122, 0.06); animation: fadeUp 0.9s 0.55s both;
}
.server-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 10px #ff8a1f; animation: pulse 1.8s infinite; }
.server-pill.live .dot { background: #5fe07a; box-shadow: 0 0 10px #3fd65f; }
.server-pill .sep { width: 1px; height: 16px; background: var(--line); }
.server-pill .cd { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: fadeUp 0.9s 0.65s both; }
.hero-contact { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; animation: fadeUp 0.9s 0.75s both; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes logoIn { from { opacity: 0; transform: scale(1.12); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -1px; background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 26px 10px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.stat b { display: block; font-size: 30px; line-height: 1.25; background: linear-gradient(180deg, #fff3cf, #e2ac55); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: normal; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.sec { position: relative; padding: 100px 0; }
.sec-alt { background:
  radial-gradient(70% 60% at 50% 0%, rgba(195, 39, 27, 0.09), transparent 70%),
  linear-gradient(180deg, var(--bg-2), var(--bg) 70%); }
.sec-alt::before, .sec-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.sec-alt::before { top: 0; } .sec-alt::after { bottom: 0; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head.left { text-align: left; margin-bottom: 34px; }
.sec-en { font-size: 12px; letter-spacing: 0.6em; color: var(--dim); text-indent: 0.6em; }
.sec-head.left .sec-en { text-indent: 0; }
.sec-title {
  display: inline-flex; align-items: center; gap: 22px; margin-top: 6px;
  font-size: clamp(36px, 4.4vw, 54px); line-height: 1.2; letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fff6d8 10%, #eec06a 55%, #b17a30 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-title::before, .sec-title::after {
  content: ""; width: 70px; height: 12px; flex: none;
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) right center / 12px 12px no-repeat,
    linear-gradient(90deg, transparent, var(--gold)) left center / calc(100% - 16px) 1px no-repeat;
}
.sec-title::after { transform: scaleX(-1); }
.sec-head.left .sec-title::before { display: none; }
.sec-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(42, 29, 19, 0.92), rgba(19, 13, 9, 0.95));
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card::before, .card::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); opacity: 0.65; transition: opacity 0.3s, width 0.3s, height 0.3s; }
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(232, 160, 60, 0.12); }
.card:hover::before, .card:hover::after { opacity: 1; width: 30px; height: 30px; }
.card-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(255, 190, 90, 0.22), rgba(120, 60, 20, 0.15) 60%, transparent 70%);
  border: 1px solid var(--line-2); color: var(--gold-hi);
}
.card-ico svg { font-size: 30px; stroke-width: 2; }
.card h3 { font-size: 28px; line-height: 1.25; color: var(--gold-hi); }
.card-tag { display: inline-block; margin: 6px 0 12px; font-size: 13px; color: #ffb27a; letter-spacing: 0.08em; }
.card p:last-child { color: var(--text); opacity: 0.88; font-size: 14.5px; }

/* ---------- welfare ---------- */
.welfare { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.welfare-art { position: relative; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(0, 0, 0, 0.35); }
.welfare-art::before { content: ""; position: absolute; inset: -18px; z-index: -1; background: radial-gradient(closest-side, rgba(255, 170, 60, 0.25), transparent); filter: blur(10px); }
.welfare-art img { width: 100%; border-radius: 3px; }
.road { list-style: none; margin: 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--gold-lo), var(--gold), var(--red)); opacity: 0.6; }
.road li { position: relative; display: flex; gap: 22px; padding: 12px 0; }
.road .lv {
  position: relative; z-index: 1; flex: none; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-size: 24px; color: var(--gold-hi); background: radial-gradient(circle at 50% 30%, #3b2614, #160e08 70%); border: 1px solid var(--line-2);
  box-shadow: 0 0 0 5px rgba(232, 194, 122, 0.06);
}
.road li.hot .lv { color: #fff3d6; background: radial-gradient(circle at 50% 30%, #c3271b, #4a0d07 75%); border-color: #ff9d6a; box-shadow: 0 0 24px rgba(255, 90, 30, 0.45); }
.road h4 { font-size: 18px; color: var(--gold-hi); margin: 10px 0 4px; }
.road p { color: var(--text); opacity: 0.85; font-size: 14.5px; }
.mask-path { margin-top: 26px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 13, 9, 0.7); }
.mask-path h4 { font-size: 24px; color: var(--gold-hi); }
.mask-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.mask-steps span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; background: rgba(0, 0, 0, 0.3); }
.mask-steps span.gold { color: #2b1607; border-color: #ffe3a1; background: linear-gradient(180deg, #ffeab0, #d39a45); font-weight: 600; }
.mask-steps i { width: 18px; height: 1px; background: var(--gold); position: relative; }
.mask-steps i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--gold); }
.mask-path p { font-size: 14.5px; color: var(--text); opacity: 0.88; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- classes ---------- */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; justify-items: center; }
.cls { margin: 0; width: 100%; max-width: 330px; text-align: center; }
.cls-img { position: relative; padding: 10px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(232, 194, 122, 0.35), rgba(232, 194, 122, 0.05)); transition: transform 0.35s, box-shadow 0.35s; }
.cls-img img { width: 100%; border-radius: 3px; }
.cls:hover .cls-img { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 150, 50, 0.18); }
.cls figcaption { margin-top: 18px; }
.cls h3 { font-size: 34px; color: var(--gold-hi); }
.cls p { color: var(--muted); font-size: 14.5px; }
.tiers { margin-top: 56px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 13, 9, 0.65); }
.tier-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; }
.tier-row + .tier-row { border-top: 1px dashed var(--line); }
.tier-name { width: 56px; flex: none; color: var(--dim); font-size: 13px; letter-spacing: 0.2em; }
.tier-row .t { padding: 6px 14px; border: 1px solid var(--line); border-radius: 3px; background: rgba(0, 0, 0, 0.35); font-size: 15px; }
.tier-row .t.gold { color: #2b1607; border-color: #ffe3a1; background: linear-gradient(180deg, #ffeab0, #d39a45); font-weight: 600; }
.tier-row i { width: 22px; height: 1px; background: var(--gold); position: relative; }
.tier-row i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--gold); }
.forge { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.forge span { font-size: 13px; padding: 3px 12px; border-radius: 999px; color: var(--gold); border: 1px solid var(--line); }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.timeline { position: relative; padding-left: 6px; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, var(--gold-lo), var(--red)); opacity: 0.55; }
.ev { position: relative; display: flex; gap: 34px; padding: 14px 0; }
.ev time { flex: none; width: 76px; text-align: right; font-size: 24px; line-height: 1.3; color: var(--gold-hi); }
.ev.big time { font-size: 20px; }
.ev::before { content: ""; position: absolute; left: 81px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.ev.hot::before, .ev.big::before { background: var(--ember); border-color: #ffd3a8; box-shadow: 0 0 14px var(--ember); }
.ev h4 { font-size: 17px; color: var(--gold-hi); }
.ev p { color: var(--text); opacity: 0.82; font-size: 14px; }
.boss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.boss { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(60, 18, 10, 0.55), rgba(19, 13, 9, 0.9) 60%); }
.boss b { display: block; font-size: 22px; font-weight: normal; color: #ffc98a; }
.boss p { margin-top: 4px; font-size: 13.5px; color: var(--text); opacity: 0.85; }

/* ---------- guide ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 13, 9, 0.7); }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; width: 18px; height: 18px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); opacity: 0.7; }
.steps .num { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 34px; color: #2b1607; background: linear-gradient(180deg, #ffeab0, #c98f3a); box-shadow: 0 0 0 6px rgba(232, 194, 122, 0.08), 0 8px 20px rgba(0, 0, 0, 0.5); }
.steps h4 { margin-top: 14px; font-size: 19px; color: var(--gold-hi); }
.steps p { margin-top: 6px; color: var(--text); opacity: 0.85; font-size: 14.5px; }
.tips { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tip { padding: 20px 20px 18px; border-left: 3px solid var(--gold); background: linear-gradient(90deg, rgba(232, 194, 122, 0.08), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.tip h4 { color: var(--gold-hi); font-size: 16px; margin-bottom: 4px; }
.tip p { font-size: 14px; color: var(--text); opacity: 0.85; }

/* ---------- download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.dl { position: relative; padding: 34px 34px 28px; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(42, 29, 19, 0.95), rgba(17, 12, 8, 0.97)); overflow: hidden; }
.dl.rec { border-color: #e8b462; box-shadow: 0 0 0 1px rgba(255, 200, 120, 0.18), 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 140, 40, 0.12); }
.dl::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 60, 0.16), transparent); }
.ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(45deg); width: 140px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-indent: 0.3em; color: #fff; background: linear-gradient(180deg, #e0412e, #a3180f); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); padding: 4px 0; }
.dl h3 { font-size: 38px; color: var(--gold-hi); }
.dl-size { color: var(--muted); margin: 2px 0 14px; }
.dl-size b { font-size: 22px; color: var(--gold-hi); }
.dl ul { list-style: none; margin: 0 0 22px; padding: 0; }
.dl li { position: relative; padding: 4px 0 4px 26px; font-size: 15px; }
.dl li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.dl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-btns .btn { min-width: 150px; }
.sum { margin-top: 18px; font-size: 12.5px; color: var(--dim); }
.sum summary { cursor: pointer; color: var(--muted); width: max-content; }
.sum p { margin-top: 8px; word-break: break-all; line-height: 1.6; }
.dl-notes { margin-top: 30px; display: grid; gap: 8px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--text); font-size: 14.5px; background: rgba(0, 0, 0, 0.25); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 13, 9, 0.7); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-size: 16px; color: var(--gold-hi); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s, margin-top 0.25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--text); opacity: 0.88; font-size: 14.5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 28px; justify-content: center; }
.ct { text-align: center; padding: 34px 28px 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(42, 29, 19, 0.92), rgba(17, 12, 8, 0.96)); }
.ct-ico { font-size: 46px; color: var(--gold); stroke-width: 1.4; }
.ct-label { margin-top: 10px; color: var(--muted); letter-spacing: 0.2em; }
.ct-id { margin: 6px 0 16px; font: 700 38px/1.2 Consolas, "SF Mono", Menlo, "Segoe UI", var(--sans); color: var(--gold-hi); letter-spacing: 0.08em; text-shadow: 0 0 18px rgba(255, 170, 60, 0.35); }
.ct-hint { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* ---------- sub pages (客服中心) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 60px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 50% 0%, rgba(255, 160, 60, 0.18), transparent 70%), linear-gradient(180deg, rgba(11, 8, 6, 0.2), var(--bg) 95%), url("/static/img/hero-bg.webp") center 20% / cover no-repeat, var(--bg); }
.page-hero .sec-title { font-size: clamp(40px, 5vw, 60px); }
.page-hero p.lead { margin-top: 12px; color: var(--text); font-size: 16px; }
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.help .card ol { margin: 10px 0 0; padding-left: 20px; }
.help .card li { margin: 4px 0; font-size: 14.5px; }
.help .card .warn { margin-top: 12px; font-size: 13.5px; color: #ffb27a; }
.prep { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.prep span { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(19, 13, 9, 0.8); font-size: 14.5px; }
.safe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.safe div { padding: 18px 20px 16px; border-left: 3px solid var(--red); background: linear-gradient(90deg, rgba(195, 39, 27, 0.12), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.safe h4 { color: #ffc98a; font-size: 16px; margin-bottom: 4px; }
.safe p { font-size: 14px; opacity: 0.88; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 18px; }
.back-link:hover { color: var(--gold-hi); }
@media (max-width: 960px) { .help { grid-template-columns: 1fr; } .safe { grid-template-columns: 1fr; } }

/* ---------- footer, dock, toast ---------- */
.foot { padding: 46px 0 40px; text-align: center; border-top: 1px solid var(--line); background: #080604; }
.foot-logo { width: 110px; margin: 0 auto 16px; opacity: 0.9; }
.health { font-size: 13px; color: var(--dim); line-height: 1.9; }
.copy { margin-top: 10px; font-size: 12.5px; color: #5f5446; }

.dock { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.dock.show { opacity: 1; pointer-events: auto; }
.dock a, .dock button {
  width: 62px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(16, 11, 7, 0.9); color: var(--gold-hi); font-size: 12px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.dock svg { font-size: 22px; stroke-width: 1.8; }
.dock a:hover, .dock button:hover { border-color: var(--gold); transform: translateX(-3px); }
.dock .dock-dl { color: #2b1607; border-color: #ffe3a1; background: linear-gradient(180deg, #ffeab0, #c98f3a); }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 22px; border-radius: 999px; background: rgba(20, 14, 9, 0.96); border: 1px solid var(--gold); color: var(--gold-hi); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); transition: opacity 0.25s, transform 0.25s; font-size: 15px; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu a { padding: 8px 9px; font-size: 14px; }
  .brand-tag { display: none; }
  .stats-in { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4)::before { display: none; }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .dock { display: none; }
}
@media (max-width: 960px) {
  :root { --nav-h: 58px; }
  .burger { display: flex; }
  .nav-cta { margin-left: auto; }
  .menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(10, 7, 5, 0.98); border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav.open .menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: rgba(10, 7, 5, 0.98); }
  .menu a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid rgba(214, 170, 92, 0.1); }
  .menu a::after { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-figure { position: absolute; left: -12%; bottom: 0; width: 72%; max-width: 520px; margin: 0; opacity: 0.32; z-index: -1; pointer-events: none; }
  .hero-figure img { max-height: 86vh; }
  .hero-copy { padding: 46px 0 80px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .welfare { grid-template-columns: 1fr; gap: 36px; }
  .welfare-art { max-width: 360px; margin: 0 auto; }
  .events { grid-template-columns: 1fr; }
  .classes { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -24px; transform: translateX(50%) rotate(135deg); }
  .dl-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sec { padding: 76px 0; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .kicker { letter-spacing: 0.1em; font-size: 12.5px; padding: 4px 6px; }
  .brand img { width: 92px; }
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 6px; }
  .stat b { font-size: 24px; }
  .stat::before { display: none; }
  .cards, .classes, .tips, .boss-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 22px; }
  .classes { max-width: 330px; margin: 0 auto; }
  .btn-lg { width: 100%; }
  .hero-cta { width: 100%; }
  .chip { height: 34px; font-size: 13px; }
  .sec-title::before, .sec-title::after { width: 34px; }
  .road .lv { width: 64px; height: 64px; font-size: 19px; }
  .road::before { left: 31px; }
  .timeline::before { left: 74px; }
  .ev { gap: 26px; }
  .ev time { width: 60px; font-size: 19px; }
  .ev.big time { font-size: 16px; }
  .ev::before { left: 63px; }
  .dl { padding: 28px 22px 24px; }
  .dl-btns .btn { flex: 1 1 100%; }
  .ct-id { font-size: 32px; }
  .tier-name { width: 100%; }
  .toast { bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .embers, .hero-wind { display: none; }
}
