/* WARDOGS Assistant 宣传页。和程序同一套视觉：深黑玻璃、细线、金色强调、// 标注、等宽数字 */
:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --panel: rgba(255, 255, 255, .032);
  --panel-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f5f7;
  --text-2: rgba(245, 245, 247, .68);
  --text-3: rgba(245, 245, 247, .5);
  --gold: #e9c98a;
  --gold-2: #c9a15e;
  --gold-soft: rgba(233, 201, 138, .13);
  --gold-line: rgba(233, 201, 138, .38);
  --red: #f0897b;
  --green: #7ed3a0;
  --blue: #8fb8ff;
  --radius: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", "SF Mono", Consolas, "Microsoft YaHei UI", monospace;
  --mx: 50vw;
  --my: 30vh;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(233, 201, 138, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1200px, 100% - 80px); margin: 0 auto; position: relative; }
.wrap.narrow { width: min(860px, 100% - 80px); }
.gold { color: var(--gold); }

/* 颗粒 + 跟着鼠标的一点光 */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}
.spot {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(640px circle at var(--mx) var(--my), rgba(233, 201, 138, .055), transparent 62%);
}
main, .foot, .nav { position: relative; z-index: 1; }

/* ---------------- 顶栏 ---------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 8, 10, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom-color: var(--line); }
.nav-row { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 15px; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.brand b { color: var(--text); letter-spacing: .16em; font-weight: 700; margin-right: 2px; }
.brand img { border-radius: 8px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 7px 14px; border-radius: 999px; color: var(--text-2); font-size: 14px; transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta { display: flex; gap: 10px; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.nav-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, transparent, var(--gold)); }

/* ---------------- 按钮 ---------------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transform: translate(var(--tx), var(--ty));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.975); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn-xl { height: 64px; padding: 0 36px; font-size: 17px; border-radius: 18px; min-width: 232px; }
.btn-gold {
  color: #1c1406;
  background: linear-gradient(180deg, #f6e1b4 0%, #e3c07f 55%, #cfa864 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -1px 0 rgba(0, 0, 0, .18) inset, 0 16px 40px -14px rgba(233, 201, 138, .6), 0 2px 8px rgba(0, 0, 0, .4);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0; transition: background-position .9s var(--ease);
}
.btn-gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -1px 0 rgba(0, 0, 0, .18) inset, 0 22px 50px -14px rgba(233, 201, 138, .78), 0 2px 8px rgba(0, 0, 0, .4); }
.btn-gold:hover::after { background-position: -40% 0; }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); }

/* ---------------- 标注 / 标题 ---------------- */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 12.5px/1 var(--mono); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.kicker em { font-style: normal; color: var(--text-3); letter-spacing: .08em; text-transform: none; font-family: var(--sans); font-weight: 500; font-size: 13px; }
.kicker .num { color: var(--text-3); font-weight: 500; }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233, 201, 138, .16); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(233, 201, 138, 0); } }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.14; }
h1 .line { display: block; white-space: nowrap; }
h2 { font-size: clamp(34px, 3.5vw, 54px); line-height: 1.14; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: 0; }
.lede { margin: 26px 0 0; max-width: 560px; color: var(--text-2); font-size: 17.5px; line-height: 1.8; }
.shine {
  background: linear-gradient(100deg, #fff 0%, #f1dcb2 30%, #e2bd78 48%, #fff4dc 58%, #cfa864 74%, #fff 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }

/* 出场 */
/* 出场：只有脚本在跑（html.js）才先藏起来，脚本没加载成功内容照常显示 */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; min-height: 100vh; padding: 132px 0 64px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-terrain {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 62% 45%, #000 20%, transparent 78%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
.hero-copy { position: relative; z-index: 2; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--text-3); font: 13px/1 var(--mono); letter-spacing: .04em; }
.hero-meta i, .dl-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stats li { padding: 26px 0 0 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 700 44px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 10px; color: var(--text-2); font-size: 14px; }

/* 获取激活码（首屏）：左边一句话 + 微信号，右边两个群二维码 */
.activate {
  --x: 20%; --y: 50%;
  position: relative; z-index: 2; overflow: hidden; margin-top: 36px; padding: 16px 16px 16px 30px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  border-radius: var(--radius); border: 1px solid var(--gold-line);
  background: radial-gradient(520px circle at var(--x) var(--y), rgba(233, 201, 138, .12), transparent 62%),
              linear-gradient(100deg, rgba(233, 201, 138, .09), rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .035));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(233, 201, 138, .45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.activate::before {   /* 上沿一道金光慢慢扫过 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0 35%, #f6e1b4 50%, transparent 65% 100%) 0 0 / 250% 100%;
  animation: sweep 5.5s var(--ease) infinite;
}
@keyframes sweep { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.activate .kicker { margin-bottom: 14px; }
.activate h2 { font-size: 26px; line-height: 1.3; letter-spacing: 0; }
.wx { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; color: var(--text-2); font-size: 14.5px; }
.wx-chip { display: inline-flex; align-items: center; height: 38px; padding-left: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .28); }
.wx-chip b { font: 700 16px/1 var(--mono); letter-spacing: .08em; color: var(--gold); user-select: all; }
.wx-chip button {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; margin-left: 12px; padding: 0 13px; border-left: 1px solid var(--line-2);
  border-radius: 0 11px 11px 0; font-size: 13px; color: var(--text-2); transition: color .25s, background .25s;
}
.wx-chip button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.wx-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wx-chip button.copied { color: #1c1406; background: linear-gradient(180deg, #f3dcae, #cfa864); }
.qr-list { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.qr { display: flex; align-items: center; gap: 18px; padding: 6px 22px 6px 6px; border-radius: 18px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); transition: border-color .4s; }
.qr:hover { border-color: var(--gold-line); }
.qr[hidden] { display: none; }
.qr-tile {
  position: relative; flex: none; padding: 8px; border-radius: 14px; background: #fff; cursor: zoom-in;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .5);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.qr-tile img { width: 148px; height: 148px; border-radius: 4px; }
.qr-tile:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 24px 44px -16px rgba(0, 0, 0, .95), 0 0 0 2px var(--gold), 0 0 40px -6px rgba(233, 201, 138, .55); }
.qr div { display: flex; flex-direction: column; gap: 3px; min-width: 96px; }
.qr b { font-size: 16px; }
.qr span { font-size: 13px; color: var(--text-2); }
.qr em { margin-top: 8px; font: 12px var(--mono); font-style: normal; color: var(--text-3); transition: color .3s; }
.qr em::before { content: "⤢ "; color: var(--gold); }
.qr:hover em { color: var(--gold); }
.qr-viewer {
  width: 380px; padding: 30px 30px 26px; border: 1px solid var(--gold-line); border-radius: 26px; text-align: center; color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 201, 138, .14), transparent 60%), #0e0e11;
  box-shadow: 0 60px 140px rgba(0, 0, 0, .85), 0 0 80px -30px rgba(233, 201, 138, .5);
}
.qr-viewer[open] { display: flex; flex-direction: column; align-items: center; animation: viewer-in .35s var(--ease); }
.qr-viewer::backdrop { background: rgba(4, 4, 6, .84); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.qr-big { padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }
.qr-big img { width: 280px; height: 280px; border-radius: 10px; }
.qr-viewer b { margin-top: 22px; font-size: 17px; }
.qr-viewer span { margin-top: 6px; min-height: 1.5em; font-size: 13.5px; color: var(--text-3); }
.dl-steps span a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }

/* ---------------- 章节 ---------------- */
.chapter { position: relative; padding: 116px 0; }
.chapter + .chapter::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1200px, 100% - 80px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.chapter-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; margin-bottom: 52px; }
.chapter-head .kicker { grid-column: 1 / -1; }
.chapter-head .lede { margin: 0; padding-bottom: 6px; max-width: 520px; justify-self: end; }
.chapter-head.center { display: block; max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.chapter-head.center .kicker { justify-content: center; }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 80px -40px rgba(0, 0, 0, .8);
}

/* 02 快速换弹 */
.reload-stage {
  position: relative; padding: 56px 40px 40px; border-radius: var(--radius); overflow: hidden; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(233, 201, 138, .09), transparent 60%), linear-gradient(180deg, #111114, #0a0a0c);
  border: 1px solid var(--line-2);
}
.reload-stage::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px); pointer-events: none; }
.arrows { display: flex; justify-content: center; gap: 14px; height: 92px; }
.arrows span {
  position: relative; width: 84px; height: 84px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.arrows span svg { width: 42px; height: 42px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)); }
.arrows span.show { animation: pop .35s var(--ease); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.arrows span.hit { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 30px -6px rgba(233, 201, 138, .6); }
.arrows span.hit svg { stroke: var(--gold); filter: drop-shadow(0 0 10px rgba(233, 201, 138, .7)); }
.arrows span.miss { animation: shake .4s; border-color: var(--red); background: rgba(240, 137, 123, .12); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.reload-msg { min-height: 26px; margin: 26px 0 26px; color: var(--text-2); font-size: 15px; }
.reload-msg b { color: var(--gold); font-family: var(--mono); }
.keys { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.keys div { display: flex; gap: 8px; }
kbd {
  display: grid; place-items: center; width: 58px; height: 54px; border-radius: 12px; font: 700 17px var(--mono); color: var(--text-2);
  background: linear-gradient(180deg, #2a2a2f, #19191c); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 4px 0 #0b0b0c, 0 6px 14px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .08) inset;
  transition: transform .08s, box-shadow .08s, color .15s, background .15s;
}
kbd.down { transform: translateY(3px); color: #1c1406; background: linear-gradient(180deg, #f3dcae, #d6b16f); box-shadow: 0 1px 0 #6e5424, 0 2px 8px rgba(233, 201, 138, .5); }
.reload-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.reload-side { display: flex; flex-direction: column; gap: 18px; }
.duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.duel span { display: block; font-size: 13px; color: var(--text-3); }
.duel b { font: 700 34px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.duel div:last-child { text-align: right; }
.vs { font: 700 12px var(--mono); color: var(--text-3); letter-spacing: .2em; }
.timeline { position: relative; height: 62px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); overflow: hidden; }
.timeline i { position: absolute; top: 30px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, #f3dcae, #cfa864); box-shadow: 0 0 14px -2px rgba(233, 201, 138, .5); transform-origin: 0 50%; animation: grow .3s var(--ease) both; }
.timeline i.wait { background: rgba(255, 255, 255, .12); box-shadow: none; top: 36px; height: 4px; }
.timeline { padding: 0 12px; }
.timeline em { position: absolute; left: 14px; top: 8px; font: 11px var(--mono); font-style: normal; color: var(--text-3); }
.timeline em.empty { inset: 0; display: grid; place-items: center; font: 12.5px var(--sans); }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------------- 程序真实录屏：窗口框 ---------------- */
.win {
  position: relative; border-radius: 14px; overflow: hidden; background: #0c0c0e;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(233, 201, 138, .25);
}
.win::after {   /* 玻璃上沿一道高光 */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 18%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.win { cursor: zoom-in; }
.win::before {   /* 鼠标移上去：提示可以放大 */
  content: "⤢ 放大看"; position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 9px;
  background: rgba(8, 8, 10, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line-2);
  font-size: 12px; color: var(--text); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.win:hover::before { opacity: 1; transform: none; }
.win video, .win img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #111114; }
.win.small video { aspect-ratio: 300 / 340; }
.shot { margin: 0; }
.viewer { width: min(1400px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #0b0b0d; color: var(--text); overflow: hidden;
  box-shadow: 0 60px 140px rgba(0, 0, 0, .8); }
.viewer::backdrop { background: rgba(4, 4, 6, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.viewer[open] { animation: viewer-in .35s var(--ease); }
@keyframes viewer-in { from { opacity: 0; transform: scale(.96); } }
.viewer video { display: block; width: 100%; height: auto; max-height: 84vh; background: #000; }
.viewer p { margin: 0; padding: 12px 18px 14px; font-size: 13.5px; color: var(--text-2); }
.viewer-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(8, 8, 10, .72);
  border: 1px solid var(--line-2); color: #fff; font-size: 22px; line-height: 36px; padding: 0; }
.viewer-close:hover { background: rgba(255, 255, 255, .12); }
.shot figcaption, .hero-shot figcaption { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.shot figcaption::before, .hero-shot figcaption::before { content: "▶ "; color: var(--gold); font-size: 10px; vertical-align: 1px; }

.hero-shot { margin: 0; position: relative; perspective: 1600px; }
.hero-shot::before { content: ""; position: absolute; inset: 8% -6% -10% 6%; background: radial-gradient(closest-side, rgba(233, 201, 138, .22), transparent); filter: blur(30px); z-index: -1; }
.tilt { transform: rotateY(-9deg) rotateX(4deg) rotateZ(.4deg); transform-origin: 60% 50%; transition: transform 1.1s var(--ease); }
.hero-shot:hover .tilt { transform: none; }

/* 左右排：文字 / 步骤 + 录屏 */
.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: center; }
.split.flip { grid-template-columns: 1.18fr .82fr; }
.flow-steps { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flow-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0 22px; }
.flow-steps li + li { border-top: 1px solid var(--line); }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 52px; bottom: -18px; width: 1px; background: linear-gradient(var(--gold-line), transparent); }
.flow-steps i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 13px var(--mono); font-style: normal; color: #1c1406; background: linear-gradient(180deg, #f3dcae, #cfa864); box-shadow: 0 0 0 5px rgba(233, 201, 138, .12); }
.flow-steps b { display: block; font-size: 17px; margin: 4px 0 4px; }
.flow-steps span { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

/* 快速换弹 */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); font-size: 14px; line-height: 1.6; }
.facts b { display: block; margin-bottom: 4px; color: var(--gold); font: 700 15px var(--mono); }
.reload { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; margin-top: 56px; }
.mini-tag { position: relative; margin: -24px 0 26px; font: 600 12px var(--mono); letter-spacing: .14em; color: var(--text-3); }
.note { margin: 2px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.7; }

/* 炮兵：地图录屏上浮着一块游戏里的瞄准镜 */
.arty-stage { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 24px; align-items: end; }
.overlay-shot { margin: 0; }
.overlay-shot .win { box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 40px 80px -20px rgba(0, 0, 0, .95), 0 0 60px -10px rgba(233, 201, 138, .35); }
.spec { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 0; padding: 0; }
.spec li { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.spec b { display: block; font-size: 16px; margin-bottom: 6px; }
.spec span { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.shot.wide .win { border-radius: 16px; }

/* 更多：每张卡片一段录屏 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .6s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--x) var(--y), rgba(233, 201, 138, .1), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 0; }
.card p { margin: 10px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.75; }
.card p em { font-style: normal; color: var(--text-3); }
.media-card { display: flex; flex-direction: column; gap: 22px; }
.media-card .win { margin-top: auto; border-radius: 12px; }
.c-wide { grid-column: span 2; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 28px; }
.c-wide .win { margin-top: 0; }
.list-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.list-card li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; line-height: 1.7; }
.list-card li b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* 05 它怎么做到的 */
.trust-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.flow { position: relative; margin-top: 56px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel);
  display: grid; grid-template-columns: 1fr 28px 1.15fr 28px 1fr; align-items: center; }
.flow .node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 16px 8px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.flow .node svg, .flow .node img { width: 34px; height: 34px; margin-bottom: 6px; fill: none; stroke: var(--text-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow .node b { font-size: 14px; }
.flow .node span { font-size: 11.5px; color: var(--text-3); }
.flow .core { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(233, 201, 138, .1), rgba(233, 201, 138, .02)); box-shadow: 0 0 40px -12px rgba(233, 201, 138, .4); }
.flow .core img { width: 40px; height: 40px; }
.flow .wire { position: relative; height: 2px; background: linear-gradient(90deg, rgba(233, 201, 138, .15), rgba(233, 201, 138, .6)); overflow: hidden; }
.flow .wire::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, #fff, transparent); animation: flow 1.8s linear infinite; }
@keyframes flow { to { left: 100%; } }
.flow .fence { grid-column: 1 / -1; margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(240, 137, 123, .35); background: rgba(240, 137, 123, .04); }
.flow .fence b { font-size: 13.5px; color: var(--text-2); }
.flow .fence span { padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--text-3); border: 1px solid var(--line); text-decoration: line-through; text-decoration-color: rgba(240, 137, 123, .6); }
.flow .fence em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13px; color: var(--red); letter-spacing: .1em; }
.trust-list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trust-list li { counter-increment: t; display: grid; grid-template-columns: 52px 150px 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.trust-list li:last-child { border-bottom: 1px solid var(--line); }
.trust-list li::before { content: "0" counter(t); font: 600 13px var(--mono); color: var(--gold); letter-spacing: .1em; }
.trust-list b { font-size: 18px; }
.trust-list span { color: var(--text-2); font-size: 15px; line-height: 1.75; }

/* 下载 */
.dl { position: relative; overflow: hidden; padding: 56px 56px 40px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(ellipse at 20% 0%, rgba(233, 201, 138, .12), transparent 55%), linear-gradient(180deg, #121215, #0b0b0d);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 255, 255, .06) inset; }
.dl-glow { position: absolute; width: 520px; height: 520px; left: var(--gx, 30%); top: var(--gy, 20%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(233, 201, 138, .16), transparent 65%); pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease); }
.dl-main { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.dl-tile { width: 112px; height: 112px; border-radius: 30px; transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .8)); }
.dl-tile img { width: 100%; height: 100%; }
.dl-title .kicker { margin-bottom: 12px; }
.dl-meta { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; color: var(--text-3); font: 13.5px var(--mono); }
.dl-action { text-align: center; }
.dl-alt { margin: 14px 0 0; font-size: 13px; color: var(--text-3); }
.dl-alt a { color: var(--text-2); border-bottom: 1px solid var(--line-2); transition: color .25s, border-color .25s; }
.dl-alt a:hover { color: var(--gold); border-color: var(--gold-line); }
.dl-label, .dl-done { display: inline-flex; align-items: center; gap: 10px; transition: transform .5s var(--ease), opacity .4s; }
.dl-done { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(14px); }
.dl-done svg { stroke-width: 2.6; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s .2s var(--ease); }
.btn.started .dl-label { opacity: 0; transform: translateY(-14px); }
.btn.started .dl-done { opacity: 1; transform: none; }
.btn.started .dl-done svg { stroke-dashoffset: 0; }
.dl-steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 48px 0 0; padding: 0; }
.dl-steps li { position: relative; padding: 20px 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .5s, background .5s, transform .6s var(--ease); }
.dl-steps i { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 14px; border-radius: 50%; border: 1px solid var(--line-2); font: 600 12px var(--mono); font-style: normal; color: var(--text-2); transition: all .5s var(--ease); }
.dl-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.dl-steps span { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.dl-steps.go li { border-color: var(--gold-line); background: rgba(233, 201, 138, .05); transform: translateY(-4px); }
.dl-steps.go i { background: var(--gold); border-color: var(--gold); color: #1c1406; }
.dl-steps.go li:nth-child(2), .dl-steps.go li:nth-child(2) i { transition-delay: .15s; }
.dl-steps.go li:nth-child(3), .dl-steps.go li:nth-child(3) i { transition-delay: .3s; }
.dl-steps.go li:nth-child(4), .dl-steps.go li:nth-child(4) i { transition-delay: .45s; }
.dl-foot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; }
.req dt { font-size: 12px; color: var(--text-3); letter-spacing: .08em; }
.req dd { margin: 2px 0 0; font-size: 15px; }
.req a { color: var(--gold); border-bottom: 1px solid var(--gold-line); }
.notes-head { margin: 0 0 10px; font-size: 12px; color: var(--text-3); letter-spacing: .08em; }
.notes ul { margin: 0; padding: 0; list-style: none; max-height: 140px; overflow: auto; }
.notes li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.notes li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* 常见问题 */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: 18px; font-weight: 600; transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; color: var(--text-3); transition: transform .4s var(--ease), color .25s; }
.faq-list details[open] summary::after { transform: rotate(135deg); color: var(--gold); }
.faq-list summary:hover { color: var(--gold); }
.faq-list details > div { overflow: hidden; }
.faq-list details p { margin: 0; padding: 0 4px 26px; color: var(--text-2); font-size: 15.5px; line-height: 1.85; max-width: 720px; }

/* 页脚 */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 28px; }
.foot p { margin: 0 auto 0 0; color: var(--text-3); font-size: 13px; }

/* 窄一点的桌面窗口：两栏排不下就叠起来 */
@media (max-width: 1080px) {
  .hero-grid, .split, .split.flip, .reload, .trust-grid, .dl-foot, .chapter-head, .c-wide { grid-template-columns: 1fr; }
  .chapter-head .lede { justify-self: start; margin-top: 22px; }
  .tilt { transform: none; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .activate { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .arty-stage { grid-template-columns: 1fr; }
  .overlay-shot { width: 260px; justify-self: end; }
  .spec { grid-template-columns: 1fr 1fr; }
  .dl-main { grid-template-columns: auto 1fr; }
  .dl-action { grid-column: 1 / -1; }
  .dl-steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* 浏览器窗口矮一点（笔记本、缩放 125%/150%）：首屏收紧，激活码那一栏尽量整条在第一屏里 */
@media (max-height: 820px) {
  .hero { padding-top: 100px; }
  .hero .kicker { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(40px, 3.9vw, 58px); }
  .hero .lede { margin-top: 18px; font-size: 16.5px; line-height: 1.75; }
  .hero-cta { margin-top: 28px; }
  .hero-meta { margin-top: 16px; }
  .activate { margin-top: 26px; }
}
@media (max-height: 680px) {
  .hero { padding-top: 88px; }
  .hero .kicker { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(36px, 3.4vw, 48px); }
  .hero .lede { margin-top: 14px; font-size: 15.5px; line-height: 1.7; }
  /* 「看它能做什么」让位（顶栏有同样的入口），版本信息挪到下载按钮右边同一行 */
  .hero-cta { display: inline-flex; vertical-align: middle; margin-top: 22px; }
  .hero-cta .btn-lg { height: 48px; }
  .hero-cta .btn-ghost { display: none; }
  .hero-meta { display: inline-flex; vertical-align: middle; margin: 22px 0 0 20px; }
  .activate { margin-top: 20px; padding-top: 10px; padding-bottom: 10px; }
  /* 右边的录屏也缩小，别把激活码一栏顶下去 */
  .hero-shot { width: min(100%, 470px); justify-self: end; }
  .hero-shot figcaption { display: none; }
}
@media (max-height: 610px) {
  .hero { padding-top: 80px; }
  .hero .lede { font-size: 15px; }
  .activate { margin-top: 14px; }
}

@media (max-width: 720px) {
  h1 .line { white-space: normal; }
  .wrap, .wrap.narrow { width: calc(100% - 40px); }
}

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