:root {
  --bg: #24242c;
  --bg-2: #2b2b34;
  --card: #31313b;
  --text: #f4f1ea;
  --muted: #b3aea3;
  --dim: #858077;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --gold: #cbb079;
  --gold-2: #e2cd9f;
  --gold-ink: #1a160e;
  --gold-soft: rgba(203, 176, 121, .12);
  --ok: #7fcf9b;
  --ok-soft: rgba(127, 207, 155, .12);
  --r: 14px;
  --gap: 20px;
  --sec: 56px;
  --sans: "Avenir Next", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Noto Serif SC", "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
p { margin: 0; }
em { font-style: normal; color: var(--gold); }
strong { font-weight: 600; color: var(--gold-2); }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .2s; }
.btn-pri { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 24px -10px rgba(203,176,121,.6); }
.btn-pri:hover { background: var(--gold-2); }
.btn-out { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-out:hover { border-color: rgba(203,176,121,.5); }
.btn-lg { height: 60px; padding: 0 40px; font-size: 18px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(36,36,44,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { height: 60px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: italic 700 19px var(--sans); letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-r { margin-left: auto; display: flex; gap: 8px; }

/* hero */
.hero { position: relative; padding: 56px 0 var(--sec); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(203,176,121,.13), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .14em; color: var(--muted); }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 16px 0 18px; }
.lead { font: 17px/1.8 var(--serif); color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 凭证卡片：轻微倾斜 + 缓慢浮动 + 扫光 + 落光点 */
.stage { position: relative; perspective: 1400px; padding: 24px 0; }
.receipt { position: relative; overflow: hidden; border-radius: 20px; padding: 26px; background: linear-gradient(150deg, #3a3a45 0%, #2b2b34 45%, #23232b 100%); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.07); transform: rotateY(-9deg) rotateX(5deg); animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: rotateY(-9deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-8px); }
}
.sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(226,205,159,.14) 48%, rgba(255,255,255,.06) 52%, transparent 65%); transform: translateX(-100%); animation: sheen 6s ease-in-out 1.2s infinite; }
@keyframes sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
.r-head { display: flex; justify-content: space-between; align-items: center; }
.r-brand { font: italic 700 16px var(--sans); color: var(--gold); }
.r-title { font: 600 30px/1.2 var(--serif); margin-top: 26px; }
.r-bar { height: 2px; background: var(--line); border-radius: 2px; margin: 20px 0 6px; overflow: hidden; }
.r-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); animation: fill 2.2s .4s cubic-bezier(.4,0,.2,1) forwards; }
.receipt dl { margin: 0; display: grid; }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14px; }
.receipt dl div + div { border-top: 1px dashed var(--line); }
.receipt dt { color: var(--dim); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }
.spark { position: absolute; z-index: 0; width: 1px; height: 26px; border-radius: 1px; background: linear-gradient(transparent, rgba(226,205,159,.8), transparent); opacity: 0; animation: drop 5s linear infinite; }
.s1 { left: 8%; animation-delay: 0s; }
.s2 { left: 34%; animation-delay: 1.6s; animation-duration: 6s; }
.s3 { left: 62%; animation-delay: 3.1s; }
.s4 { left: 88%; animation-delay: .8s; animation-duration: 7s; }
.s5 { left: 50%; animation-delay: 4.2s; animation-duration: 5.5s; }
@keyframes drop { 0% { top: -10%; opacity: 0; } 15% { opacity: .9; } 80% { opacity: .5; } 100% { top: 100%; opacity: 0; } }

.trust { position: relative; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.02); }
.trust li { padding: 20px 24px; display: grid; gap: 2px; transition: background .2s; cursor: default; }
.trust li:first-child { border-radius: var(--r) 0 0 var(--r); }
.trust li:last-child { border-radius: 0 var(--r) var(--r) 0; }
.trust li:hover { background: var(--gold-soft); }
.trust li:hover b { color: var(--gold-2); }
.trust b { transition: color .2s; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { font-size: 18px; font-weight: 700; }
.trust li:first-child b { font: italic 700 22px var(--sans); color: var(--gold); }
.trust li > span { font-size: 13px; color: var(--muted); }

/* sections */
.sec { padding: var(--sec) 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; padding-bottom: 96px; }
.sec-head { margin-bottom: 32px; }
.sec-no { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .14em; color: var(--gold); }
.sec-no::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.sec-head h2 { font: 600 32px/1.3 var(--serif); margin-top: 8px; }
.sec-head p { color: var(--muted); margin-top: 6px; }

/* 充值流程演示 */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tour-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tour-list li { position: relative; overflow: hidden; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 24px; border-radius: 16px; border: 1px solid transparent; cursor: pointer; transition: background .25s, border-color .25s; }
.tour-list li:hover { background: rgba(255,255,255,.03); }
.tour-list li.on { background: var(--bg-2); border-color: rgba(203,176,121,.35); box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); }
.tour-list li.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold); animation: fill var(--dur, 4s) linear forwards; }
.tour.paused .tour-list li.on::after, .tour.paused .segs i.run::before { animation-play-state: paused; }
.node { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--muted); font: 600 18px var(--mono); display: grid; place-items: center; transition: .25s; }
.tour-list li.on .node { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 20px -6px rgba(203,176,121,.6); }
.tour-list h3 { font-size: 19px; font-weight: 700; color: var(--muted); transition: color .25s; }
.tour-list li.on h3 { color: var(--text); }
.tour-list p { color: var(--dim); font-size: 14.5px; margin-top: 4px; transition: color .25s; }
.tour-list li.on p { color: var(--muted); }

.win { border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -36px rgba(0,0,0,.7); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-url { flex: 1; margin-left: 10px; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.05); font: 12.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { padding: 26px 30px 30px; display: grid; }
.win-brand { text-align: center; display: grid; gap: 2px; }
.win-brand b { font: italic 700 20px var(--sans); color: var(--gold); }
.win-brand span { font-size: 13px; color: var(--muted); }
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 22px; }
.segs i { position: relative; height: 4px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.segs i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 2px; }
.segs i.done::before { width: 100%; }
.segs i.run::before { animation: fill var(--dur, 4s) linear forwards; }
.pane { display: none; text-align: center; }
.pane.on { display: grid; justify-items: center; gap: 0; animation: paneIn .35s ease both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } }
.p-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 24px -8px rgba(203,176,121,.6); }
.p-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pane h4 { margin: 16px 0 4px; font-size: 20px; font-weight: 700; }
.pane > p { color: var(--muted); font-size: 14.5px; }
.p-box { width: 100%; margin-top: 18px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); text-align: left; display: grid; gap: 8px; }
.p-box small { font-size: 12px; color: var(--dim); padding: 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.p-row b { font-size: 15px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-tag { flex: none; font-size: 12px; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.p-tag.ok { color: var(--ok); border-color: rgba(127,207,155,.35); }
.p-json { font: 12px/1.6 var(--mono); padding: 10px 12px; border-radius: 10px; background: rgba(90,140,255,.2); color: #dfe7ff; word-break: break-all; }
.p-in { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.p-tip { width: 100%; margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-2); font-size: 13.5px; font-weight: 600; }
.p-btn { width: 100%; height: 50px; margin-top: 12px; border-radius: 12px; font-size: 16px; }
.p-btn.done { background: var(--ok); }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.note { margin-top: 32px; padding: 14px 18px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.video { margin-top: 32px; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video video { display: block; width: 100%; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.card { padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card + .card { border-left: 1px solid var(--line); }
.card svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.card h3 { font: 650 18px/1.4 var(--sans); }
.card p { color: var(--muted); font-size: 14px; }
.card.warn { background: var(--gold-soft); }
.card.warn h3 { color: var(--gold-2); }
.badge { align-self: flex-start; font: 500 11px/1 var(--mono); letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--line); }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--gold); color: var(--gold-ink); border-color: transparent; }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .15s; }
.faq summary:hover { color: var(--gold-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 18px; color: var(--muted); }

/* 客服 */
.kf { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.kf-btn { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 20px 0 16px; border-radius: 24px; border: 0; background: var(--gold); color: var(--gold-ink); font: 600 15px var(--sans); cursor: pointer; box-shadow: 0 12px 28px -10px rgba(203,176,121,.6); }
.kf-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kf-pop { width: 240px; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 24px 48px -16px rgba(0,0,0,.7); display: grid; gap: 12px; }
.kf-h { font-weight: 700; }
.kf-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.04); }
.kf-row span { font-size: 13px; color: var(--muted); }
.kf-row b { font-size: 16px; color: var(--gold-2); }
.kf-copy { width: 100%; }
.kf-t { font-size: 12px; color: var(--muted); text-align: center; }

.mbar { display: none; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .stage { max-width: 440px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3) { border-left: 0; }
  .card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tour { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  :root { --sec: 40px; --gap: 12px; }
  .wrap { padding: 0 16px; }
  .nav-r .btn-out { display: none; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 16px; }
  .cta .btn { flex: 1 1 100%; height: 54px; font-size: 17px; }
  .tour-list li { padding: 14px 16px; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .node { width: 40px; height: 40px; font-size: 16px; }
  .tour-list h3 { font-size: 17px; }
  .win-body { padding: 20px; }
  .trust li:first-child, .trust li:last-child { border-radius: 0; }
  .receipt { transform: none; animation: float-m 7s ease-in-out infinite; }
  @keyframes float-m { 50% { transform: translateY(-6px); } }
  .trust { margin-top: 28px; }
  .trust li { padding: 16px; }
  .trust b { font-size: 16px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 26px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px 20px; }
  .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .faq summary { padding: 16px 18px; font-size: 15px; }
  .faq details p { padding: 0 18px 16px; }
  .sec:last-of-type { padding-bottom: 120px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(36,36,44,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .kf { right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .kf-btn { height: 44px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .r-bar i { width: 100%; }
}
