/* 动动星球官网 · 软陶星夜（Clay Night）
   令牌、组件与样机沿用 docs/previews/1012/ui-style，图片由 scripts/website/build_assets.py 生成。 */

@font-face {
  font-family: "FangYuan";
  src: url("assets/fonts/fangyuan-subset.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --night-950: #071226;
  --night-900: #0b1a33;
  --night-800: #12264a;
  --night-700: #1c3560;

  --cream: #fff8ec;
  --cream-300: #eadcc4;
  --ink: #142433;
  --ink-2: #4f6370;
  --ink-3: #8a9aa3;
  --muted: #9fb2c9;
  --soft: #c7d4e6;

  --go: #1fa463;
  --go-lip: #12774a;
  --energy: #ffcc33;
  --energy-lip: #e0960f;
  --energy-ink: #8f5f0a;
  --teal: #2ec4b6;
  --teal-lip: #13897e;
  --rocket: #ff8a1f;
  --fragment: #9c7bf2;
  --fragment-ink: #523aa8;
  --sky: #b6d3f2;

  --mist: #f3f6f8;
  --mist-line: rgba(20, 36, 51, .09);
  --form-blue: #1f6fd1;

  --r-xl: 32px;
  --lip-card: 0 6px 0 rgba(4, 12, 30, .38);
  --hi: inset 0 2px 0 rgba(255, 255, 255, .55);

  --display: "FangYuan", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --nav-h: 76px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { background: var(--night-950); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 星空固定在视口，滚动时没有平铺接缝 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(46, 196, 182, .18), transparent 60%),
    radial-gradient(900px 600px at -5% 60%, rgba(156, 123, 242, .14), transparent 60%),
    url("assets/img/starfield-far.webp") center / cover no-repeat,
    var(--night-950);
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding-top: clamp(80px, 10vw, 128px); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2, .video-copy h2, .dd-copy h2, .parent-copy h2 { font: 800 clamp(30px, 3.6vw, 44px)/1.15 var(--display); letter-spacing: .5px; }
.dd-copy > p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.num { display: inline-block; font: 700 14px/1 var(--display); color: var(--energy); letter-spacing: 3px; margin-bottom: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 14px/1 var(--display); letter-spacing: 3px; color: var(--teal); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--teal); }

.clay-panel {
  background: var(--cream); color: var(--ink);
  border-radius: var(--r-xl);
  box-shadow: var(--lip-card), var(--hi);
  padding: 28px;
}

/* ---------- 组件 ---------- */
.btn {
  --bg: var(--go); --lip: var(--go-lip); --fg: #fff;
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 700 18px/1 var(--display); letter-spacing: 1px; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  box-shadow: 0 6px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -4px 0 rgba(0, 0, 0, .08);
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .35); }
.btn.energy { --bg: var(--energy); --lip: var(--energy-lip); --fg: #5a3a00; }
.btn.ghost { background: rgba(255, 248, 236, .06); color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255, 248, 236, .4); }
.btn.ghost:active { transform: none; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; box-shadow: 0 4px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .35); }
.btn.block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.disabled-look { cursor: default; }
.btn.disabled-look:active { transform: none; box-shadow: 0 6px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .35); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font: 700 13px/1 var(--display); }
.chip.adult { background: #ffe6dc; color: #a43c12; }
.chip.night { height: 34px; padding: 0 14px; background: rgba(255, 248, 236, .08); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255, 248, 236, .22); font-size: 14px; }

.meter { position: relative; height: 18px; border-radius: 999px; background: rgba(4, 12, 30, .45); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .25); overflow: hidden; }
.meter i {
  position: absolute; inset: 3px auto 3px 3px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe27a, var(--energy) 55%, var(--energy-lip));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55);
}
.meter i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .7) 45%, transparent 60%);
  background-size: 220% 100%; animation: shimmer 2.6s ease-in-out infinite;
}
.bubble {
  position: relative; display: inline-block;
  background: var(--cream); color: var(--ink);
  font: 700 15px/1.45 var(--display);
  padding: 12px 18px; border-radius: 22px 22px 22px 8px;
  box-shadow: 0 4px 0 var(--cream-300);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 8px; border-radius: 8px; background: var(--cream-300); }
.dots i.on { background: var(--go); }

/* ---------- 导航 ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--nav-h); transition: background .25s ease, box-shadow .25s ease; }
.nav.scrolled { background: rgba(7, 18, 38, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(182, 211, 242, .12); }
.nav-inner { max-width: 1240px; height: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); display: flex; align-items: center; gap: 28px; }
.brand img { width: 132px; height: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45)); }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { padding: 10px 14px; border-radius: 999px; font: 700 15px/1 var(--display); color: var(--soft); transition: color .2s, background .2s; }
.links a:hover { color: var(--cream); background: rgba(255, 248, 236, .08); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(16px, 3vw, 40px)); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.hero h1 { font: 800 clamp(44px, 6.2vw, 84px)/1.08 var(--display); letter-spacing: 1px; text-shadow: 0 5px 0 rgba(0, 0, 0, .3); }
.hero h1 em { font-style: normal; color: var(--energy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-visual { position: relative; z-index: 2; height: 700px; --mx: 0; --my: 0; }
/* 视差层：JS 写入 --mx/--my（-1~1），每层按 --depth 位移 */
.hero-visual .layer { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.hero-visual .orbit { position: absolute; left: 50%; top: 46%; width: 580px; height: 580px; margin: -290px 0 0 -290px; border: 3px dashed rgba(255, 248, 236, .22); border-radius: 50%; transform: rotateX(70deg); animation: fade-in 1s ease .4s both; }
.hero-planet { position: absolute; width: 300px; left: -4%; top: 4%; animation: pop-in .8s var(--spring) .5s both, spin 70s linear infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); opacity: .95; }
.hero-rocket { position: absolute; width: 120px; right: 0; top: 2%; transform: rotate(18deg); animation: pop-in .6s var(--spring) .7s both, bob 4s ease-in-out infinite; }
.hero-buddy { position: absolute; width: 180px; right: -2%; bottom: 8%; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: pop-in .7s var(--spring) .85s both, bob 3.2s ease-in-out infinite .4s; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .4)); }
.hero-buddy img { transform-origin: 50% 90%; }
.hero-buddy img.squish { animation: squish .55s cubic-bezier(.3, 1.4, .5, 1); }
.poke-hint { position: absolute; right: 12%; bottom: calc(8% + 178px); font-size: 14px; padding: 8px 14px; border-radius: 18px 18px 6px 18px; animation: pop-in .5s var(--spring) 2s both, bob 2.6s ease-in-out 2.5s infinite; }
.hero-visual.poked .poke-hint { animation: pop-out .3s ease both; }
/* 手机：从下方带旋转弹入，冲过头后回落到 -3° */
.hero-phone { position: absolute; left: 50%; top: 20px; margin-left: -180px; transform: rotate(-3deg); zoom: .86; animation: phone-in 1s cubic-bezier(.25, .8, .3, 1) .15s both; }
.spark { position: absolute; width: 26px; animation: pop-in .5s var(--spring) .8s both, twinkle 2s ease-in-out 1.3s infinite; }
.spark.s1 { left: 6%; top: 52%; }
.spark.s2 { right: 10%; top: 34%; width: 20px; animation-delay: .95s, 2s; }
.spark.s3 { left: 22%; bottom: 6%; width: 18px; animation-delay: 1.05s, 2.6s; }
.dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--sky); opacity: .55; animation: pop-in .5s var(--spring) .75s both, drift 5s ease-in-out 1.3s infinite alternate; }
.dot.o1 { left: 16%; top: 14%; }
.dot.o2 { right: 4%; top: 58%; width: 18px; height: 18px; background: var(--teal); animation-delay: .9s, 1.6s; }
.dot.o3 { left: 12%; bottom: 18%; width: 10px; height: 10px; background: var(--energy); animation-delay: 1s, 2.1s; }
.dot.o4 { right: 30%; bottom: 1%; width: 12px; height: 12px; animation-delay: 1.1s, 1.8s; }

/* 入场：文案依次浮现，标题逐行遮罩上滑 */
.js .intro { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.5s + var(--i) * .1s); }
.hero h1 .line { display: block; overflow: hidden; padding: .1em .06em .16em; margin: -.1em -.06em -.16em; }
.hero h1 .line > * { display: inline-block; }
.js .hero h1 .line > * { animation: line-up .9s cubic-bezier(.2, 1.1, .3, 1) both; animation-delay: calc(.5s + var(--i) * .1s); }
.hero-cta .btn { position: relative; }
.cta-sticker { position: absolute; right: -16px; top: -26px; width: 50px; rotate: 14deg; transform-origin: 30% 90%; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); animation: pop-in .6s var(--spring) 1.5s both, wave 4.5s ease-in-out 2.6s infinite; }

/* 点击点点 / 演示按钮时飞出的星星和能量球 */
.burst-layer { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.particle { position: absolute; width: var(--w); margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2); animation: fly var(--t, .95s) cubic-bezier(.2, .8, .3, 1) forwards; }

/* ---------- 首屏演示样机 ---------- */
.s-demo { background: var(--night-900); }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; scale: 1.05; transition: opacity .4s ease, scale .5s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .5s; }
.scene.on { opacity: 1; visibility: visible; scale: 1; transition-delay: 0s; }
[data-energy-bar] { transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.btn.pressing { animation: tap .45s ease both; }
[data-start] { position: relative; }
.tap-ring { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .55); pointer-events: none; animation: ring .6s ease-out forwards; }
.task .task-check { display: none; }
.task.open.is-done { flex-wrap: nowrap; padding: 10px 12px; background: #e7f5ee; box-shadow: 0 4px 0 #cbe6d7; }
.task.is-done h5 { color: var(--go-lip); }
.task.is-done [data-start] { display: none; }
.task.is-done .task-check { display: grid; animation: pop-in .5s var(--spring) .3s both; }

.s-play { background: radial-gradient(360px 300px at 50% 46%, rgba(46, 196, 182, .26), transparent 70%), url("assets/img/starfield-near.webp") center / cover, url("assets/img/starfield-far.webp") center / cover, var(--night-900); color: var(--cream); }
.play-top { position: absolute; top: 58px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; }
.play-top .circle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(255, 248, 236, .12); }
.play-top b { font: 800 20px/1 var(--display); }
.play-top .chip { margin-left: auto; height: 28px; font-size: 12px; }
.play-stage { position: absolute; top: 120px; left: 0; right: 0; height: 380px; }
.floor { position: absolute; left: 22px; right: 22px; bottom: 16px; height: 120px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 248, 236, .18), rgba(255, 248, 236, .04) 70%); box-shadow: inset 0 0 0 2px rgba(255, 248, 236, .12); }
.floor .tape { position: absolute; left: 50%; top: 8%; bottom: 8%; width: 10px; margin-left: -5px; border-radius: 5px; background: repeating-linear-gradient(180deg, var(--energy) 0 12px, var(--rocket) 12px 24px); }
.hopper { position: absolute; left: 50%; bottom: 64px; width: 150px; height: 160px; margin-left: -75px; translate: -66px 0; }
.hopper img { position: relative; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 100%; }
.hopper .shadow { position: absolute; left: 24%; right: 24%; bottom: -6px; height: 16px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.countdown { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.countdown b { grid-area: 1 / 1; opacity: 0; font: 800 132px/1 var(--display); color: var(--energy); text-shadow: 0 8px 0 rgba(0, 0, 0, .35); }
.countdown b.go { font-size: 60px; color: var(--cream); }
.s-play.go .countdown b { animation: count-pop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.s-play.go .countdown b:nth-child(2) { animation-delay: .5s; }
.s-play.go .countdown b:nth-child(3) { animation-delay: 1s; }
.s-play.go .countdown b:nth-child(4) { animation-delay: 1.5s; animation-duration: .6s; }
/* 横移交替往返、纵向每次一跳；两者同周期，每 .6s 正好跨过标志线一次 */
.s-play.go .hopper { animation: skip-x .6s ease-in-out 2s infinite alternate; }
.s-play.go .hopper img { animation: skip-y .6s 2s infinite; }
.s-play.go .hopper .shadow { animation: skip-shadow .6s 2s infinite; }
.play-hud { position: absolute; left: 20px; right: 20px; bottom: 34px; text-align: center; }
.play-hud p { font: 700 14px/1 var(--display); color: var(--soft); }
.play-hud .count-card { width: 190px; margin: 14px auto 18px; }
.play-hud .meter i { width: 0; }
.s-play.go .play-hud .meter i { animation: fill 4.2s linear 2s both; }

.s-reward .confetti { position: absolute; inset: 0; z-index: 5; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; left: 50%; top: 32%; width: 8px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0; animation: confetti 1.8s cubic-bezier(.2, .6, .4, 1) var(--d) forwards; }
.confetti i.round { width: 10px; height: 10px; border-radius: 50%; }
.s-reward.go .burst .art { animation: pop .9s cubic-bezier(.2, 1.6, .4, 1) both .1s; }
.s-reward.go .reward-copy { animation: rise .6s cubic-bezier(.2, .8, .2, 1) .35s both; }
.s-reward.go .tile { animation: pop-in .55s var(--spring) .55s both; }
.s-reward.go .tile.f { animation-delay: .68s; }
.s-reward .unlock .meter i { width: 80%; }
.s-reward.go .unlock .meter i { animation: grow-energy 1s cubic-bezier(.2, .8, .2, 1) 1s both; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.facts li { padding: 24px 26px; }
.facts b { display: block; font: 800 44px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.facts b small { font-size: 18px; margin-left: 4px; color: var(--ink-2); }
.facts span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.facts li:nth-child(1) b { color: var(--teal-lip); }
.facts li:nth-child(2) b { color: var(--go-lip); }
.facts li:nth-child(3) b { color: var(--fragment-ink); }
.facts li:nth-child(4) b { color: var(--energy-ink); }

/* ---------- 怎么玩 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 30px 34px; }
.step-no { position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); color: #fff; background: var(--go); box-shadow: 0 4px 0 var(--go-lip); }
.step-art { height: 150px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 16px; }
.step-art img { height: 150px; width: auto; }
.step-art.icons img { height: 92px; margin-right: -10px; filter: drop-shadow(0 6px 8px rgba(20, 36, 51, .15)); }
.step-art.icons img:nth-child(2) { translate: 0 -18px; }
.step h3 { font: 800 24px/1.3 var(--display); margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* ---------- 宣传片 ---------- */
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chapters li { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px; background: rgba(18, 38, 74, .8); box-shadow: inset 0 0 0 1.5px rgba(182, 211, 242, .16); font: 700 15px/1 var(--display); }
.chapters img { width: 30px; height: 30px; object-fit: contain; }
.video-frame { width: min(380px, 86vw); padding: 12px; border-radius: 48px; background: linear-gradient(145deg, #2b3a52, #0d1626); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 38px; background: var(--night-900); object-fit: cover; }

/* ---------- 玩法亮点 ---------- */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 2px dashed rgba(182, 211, 242, .1); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h3 { font: 800 clamp(26px, 2.8vw, 34px)/1.3 var(--display); margin: 16px 0 14px; }
.tag { display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; font: 700 14px/1 var(--display); letter-spacing: 1px; }
.tag.teal { background: rgba(46, 196, 182, .16); color: #7fe6dc; }
.tag.energy { background: rgba(255, 204, 51, .16); color: var(--energy); }
.tag.fragment { background: rgba(156, 123, 242, .2); color: #c9b8ff; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.6; color: var(--cream); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--display); color: #fff; background: var(--go); box-shadow: 0 3px 0 var(--go-lip); }

.feature-art { position: relative; min-height: 440px; border-radius: 40px; background: rgba(18, 38, 74, .55); box-shadow: inset 0 0 0 1.5px rgba(182, 211, 242, .12); }

/* 星球旅程 */
.planets-art { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 40px 24px; }
.planets-art .route { position: absolute; inset: 22% 6% 28%; width: 88%; height: 50%; z-index: 0; }
.planets-art .route path { fill: none; stroke: rgba(255, 248, 236, .3); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pl { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pl > img { width: 82%; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45)); }
.pl b { margin-top: 14px; font: 800 19px/1 var(--display); }
.pl span { margin-top: 8px; font: 700 12px/1 var(--display); padding: 6px 10px; border-radius: 999px; }
.pl.visited span { background: rgba(255, 204, 51, .16); color: var(--energy); }
.pl.current > img { width: 100%; animation: spin 60s linear infinite; }
.pl.current span { background: rgba(46, 196, 182, .18); color: #7fe6dc; }
.pl.current .meter { width: 80%; height: 12px; margin-top: 12px; }
.pl.current .meter i { inset: 2px auto 2px 2px; }
.pl.next > img { filter: grayscale(.85) brightness(.55) drop-shadow(0 18px 26px rgba(0, 0, 0, .45)); }
.pl.next span { background: rgba(182, 211, 242, .12); color: var(--soft); }
.pl .signal { position: absolute; width: 46%; top: -14%; right: -6%; animation: bob 3s ease-in-out infinite; }

/* 跳绳 */
.jump-art { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 40px 28px; flex-wrap: wrap; }
.jump-ring {
  --p: 1;
  position: relative; width: 300px; height: 300px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--energy) calc(var(--p) * 360deg), rgba(182, 211, 242, .14) 0);
  display: grid; place-items: center;
}
.jump-ring::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1f4f8f, var(--night-900) 72%); }
/* 绳子、点点、手柄同在 .jump-buddy 里一起跳；坐标对应 diandian-jump.webp 的双手位置（13% / 87%，67%） */
.jump-buddy { position: relative; width: 190px; height: 190px; perspective: 520px; animation: hop .42s ease-in-out infinite; }
.jump-buddy .dd { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.jump-buddy .rope { position: absolute; left: 13%; width: 74%; top: 67%; height: 64%; transform-origin: 50% 0; animation: rope .42s linear infinite; }
.jump-buddy .grip { position: absolute; z-index: 3; top: 67%; width: 6%; height: 13%; margin: -6.5% 0 0 -3%; border-radius: 99px; background: var(--teal); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.jump-buddy .grip.l { left: 13%; }
.jump-buddy .grip.r { left: 87%; }
.jump-art.done .jump-buddy, .jump-art.done .rope { animation-play-state: paused; }
.jump-count { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.jump-count > img { width: 110px; }
.count-card { min-width: 190px; padding: 14px 24px; border-radius: 28px; background: var(--cream); color: var(--energy-ink); box-shadow: 0 6px 0 var(--cream-300); text-align: center; }
.count-card b { font: 800 60px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--rocket); }
.count-card small { font: 700 18px/1 var(--display); color: var(--ink-2); margin-left: 6px; }
.jump-count .left { font: 700 15px/1 var(--display); color: var(--soft); }
.jump-count .left b { color: var(--cream); font-variant-numeric: tabular-nums; }

/* 结算与换装 */
.reward-art { min-height: 640px; display: grid; place-items: center; overflow: hidden; }
.posters img { position: absolute; width: 210px; border-radius: 22px; border: 6px solid var(--cream); box-shadow: 0 6px 0 var(--cream-300), 0 24px 40px rgba(0, 0, 0, .4); }
.posters .p1 { left: 4%; top: 12%; rotate: -12deg; }
.posters .p2 { right: 4%; top: 8%; rotate: 10deg; }
.posters .p3 { right: 8%; bottom: 8%; rotate: -6deg; width: 180px; }
.reward-phone { zoom: .8; }

/* ---------- 手机样机 ---------- */
.phone { position: relative; width: 360px; height: 760px; border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #2b3a52, #0d1626); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; color: var(--ink); }
.island { position: absolute; z-index: 20; top: 11px; left: 50%; width: 112px; height: 32px; margin-left: -56px; background: #000; border-radius: 20px; }
.status { position: absolute; z-index: 19; top: 0; left: 0; right: 0; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 34px; font: 600 15px/1 -apple-system, var(--body); }
.status svg { height: 12px; }

.s-home { background: url("assets/img/starfield-near.webp") center / cover, url("assets/img/starfield-far.webp") center / cover, var(--night-900); color: var(--cream); }
.home-top { position: absolute; top: 58px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 10px; z-index: 5; }
.planet-pill { padding: 9px 14px 9px 12px; border-radius: 20px; background: rgba(7, 18, 38, .55); box-shadow: inset 0 0 0 1.5px rgba(255, 248, 236, .18); text-align: left; }
.planet-pill b { display: flex; align-items: center; gap: 4px; font: 800 20px/1.1 var(--display); }
.planet-pill b::after { content: "›"; font-size: 20px; color: var(--muted); margin-left: 2px; }
.planet-pill span { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--teal); margin-top: 3px; }
.planet-pill span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.energy-pill { width: 150px; padding: 8px 12px 10px 10px; border-radius: 20px; background: rgba(7, 18, 38, .55); box-shadow: inset 0 0 0 1.5px rgba(255, 204, 51, .35); }
.energy-pill .row { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.energy-pill img { width: 22px; height: 22px; animation: pulse 2.4s ease-in-out infinite; }
.energy-pill b { font: 800 15px/1 var(--display); color: var(--energy); }
.energy-pill small { font: 600 11px/1 var(--display); color: var(--muted); margin-left: auto; }
.energy-pill .meter { height: 10px; }
.energy-pill .meter i { inset: 2px auto 2px 2px; }
.stage { position: absolute; top: 120px; left: 0; right: 0; height: 250px; }
.stage .ring { position: absolute; left: 50%; top: 50%; width: 270px; height: 82px; margin: -32px 0 0 -135px; border-radius: 50%; border: 2.5px dashed rgba(255, 248, 236, .4); }
.stage .planet { position: absolute; left: 50%; top: 4px; width: 210px; margin-left: -105px; animation: spin 80s linear infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
.stage .rocket { position: absolute; left: 24px; top: 70px; width: 70px; transform: rotate(-18deg); animation: bob 4s ease-in-out infinite; }
.stage .buddy { position: absolute; right: 8px; bottom: -18px; width: 104px; animation: bob 3s ease-in-out infinite .5s; }
.stage .bubble { position: absolute; left: 22px; bottom: -6px; font-size: 13.5px; padding: 9px 14px; }
.drawer { position: absolute; left: 0; right: 0; bottom: 0; height: 404px; background: var(--cream); border-radius: 34px 34px 0 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .35), inset 0 2px 0 #fff; padding: 10px 14px 96px; }
.grabber { width: 40px; height: 5px; border-radius: 5px; background: var(--cream-300); margin: 0 auto 12px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; }
.drawer-head h4 { font: 800 21px/1 var(--display); }
.drawer-head p { font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.drawer-head .prog { display: flex; align-items: center; gap: 8px; font: 800 15px/1 var(--display); color: var(--go-lip); }
.task { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 22px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 4px 0 var(--cream-300); text-align: left; }
.task img { width: 50px; height: 50px; flex: none; }
.task h5 { font: 700 16px/1.2 var(--display); margin: 0 0 4px; }
.task .meta { font-size: 11px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.task .meta .e { color: var(--energy-ink); font-weight: 700; }
.task .end { margin-left: auto; }
.task.open { flex-wrap: wrap; padding: 12px 12px 16px; box-shadow: 0 4px 0 var(--cream-300), inset 0 0 0 2.5px var(--go); }
.task.open .btn { margin-top: 10px; min-height: 50px; font-size: 18px; }
.task.done { background: #e7f5ee; box-shadow: 0 4px 0 #cbe6d7; }
.task.done h5 { color: var(--go-lip); }
.check { width: 30px; height: 30px; border-radius: 50%; background: var(--go); color: #fff; display: grid; place-items: center; box-shadow: 0 3px 0 var(--go-lip); font: 800 16px/1 var(--display); }
.tabbar { position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 12px; height: 70px; background: #fff; border-radius: 30px; display: flex; align-items: center; justify-content: space-around; padding: 0 8px; box-shadow: 0 6px 0 var(--cream-300), 0 10px 26px rgba(0, 0, 0, .18); }
.tab { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 22px; font: 800 15px/1 var(--display); color: var(--ink); }
.tab img { width: 34px; height: 34px; }
.tab.on { background: #e2f6ee; padding: 8px 16px 8px 10px; box-shadow: inset 0 -3px 0 #c6ebdc; }

.s-reward { background: radial-gradient(420px 360px at 50% 30%, rgba(255, 204, 51, .32), transparent 70%), radial-gradient(500px 400px at 50% 110%, rgba(46, 196, 182, .3), transparent 70%), url("assets/img/starfield-far.webp") center / cover, var(--night-900); color: var(--cream); text-align: center; }
.burst { position: absolute; top: 64px; left: 50%; width: 300px; margin-left: -150px; }
.burst .art { width: 100%; }
.reveal.in .burst .art, .no-reveal .burst .art { animation: pop .9s cubic-bezier(.2, 1.6, .4, 1) both .3s; }
.sparkle { position: absolute; width: 22px; animation: twinkle 1.8s ease-in-out infinite; }
.reward-copy { position: absolute; top: 340px; left: 24px; right: 24px; }
.reward-copy h4 { font: 800 34px/1.1 var(--display); text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.reward-copy p { margin-top: 8px; font-size: 13.5px; color: var(--soft); }
.reward-tiles { position: absolute; top: 432px; left: 20px; right: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { border-radius: 24px; padding: 14px 10px 12px; background: var(--cream); color: var(--ink); box-shadow: 0 6px 0 var(--cream-300); }
.tile img { width: 54px; height: 54px; margin: 0 auto 6px; }
.tile b { display: block; font: 800 28px/1 var(--display); }
.tile span { font-size: 12px; color: var(--ink-2); }
.tile.e b { color: var(--energy-ink); }
.tile.f b { color: var(--fragment-ink); }
.unlock { position: absolute; top: 584px; left: 20px; right: 20px; text-align: left; }
.unlock .row { display: flex; justify-content: space-between; font: 700 13px/1 var(--display); margin-bottom: 8px; }
.unlock .row em { font-style: normal; color: var(--energy); }
.unlock p { font-size: 12px; line-height: 1.4; color: var(--soft); margin-top: 8px; }
.s-reward .cta { position: absolute; left: 20px; right: 20px; bottom: 26px; width: auto; }

.s-parent { background: var(--mist); color: var(--ink); }
.p-nav { position: absolute; top: 52px; left: 0; right: 0; height: 52px; display: flex; align-items: center; justify-content: center; font: 600 17px/1 var(--body); }
.p-nav .circle { position: absolute; top: 6px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 36, 51, .12); display: grid; place-items: center; font-size: 20px; }
.p-nav .circle.l { left: 16px; }
.p-nav .circle.r { right: 16px; font-size: 16px; }
.p-body { position: absolute; top: 112px; left: 18px; right: 18px; bottom: 0; }
.p-card { background: #fff; border-radius: 20px; padding: 16px; box-shadow: inset 0 0 0 1px var(--mist-line); margin-bottom: 12px; }
.p-card.rows { padding: 4px 16px; }
.kid { display: flex; align-items: center; gap: 12px; }
.kid .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); overflow: hidden; flex: none; }
.kid .avatar img { width: 120%; max-width: none; margin: 2px 0 0 -10%; }
.kid b { font: 700 18px/1.2 var(--display); display: block; }
.kid span { font-size: 12px; color: var(--ink-2); }
.kid .planet-mini { width: 40px; margin-left: auto; }
.p-label { font-size: 12px; color: var(--ink-3); margin: 18px 4px 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stats b { display: block; font: 800 24px/1 var(--display); }
.stats b small { font-size: 12px; color: var(--ink-2); font-weight: 600; margin-left: 2px; }
.stats span { font-size: 11px; color: var(--ink-3); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; text-align: center; }
.week div { font-size: 10.5px; color: var(--ink-3); }
.week i { display: block; height: 30px; border-radius: 10px; margin-top: 5px; background: #eef2f5; }
.week i.y { background: #d8f1e5; box-shadow: inset 0 0 0 1.5px #9fd9bd; }
.week i.y::after { content: "✓"; display: block; line-height: 30px; font-size: 12px; color: var(--go-lip); font-weight: 800; font-style: normal; }
.week i.t { background: #fff; box-shadow: inset 0 0 0 2px var(--form-blue); }
.rows .r { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--mist-line); font-size: 14.5px; }
.rows .r:last-child { border-bottom: 0; }
.rows .r i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.rows .r span { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.rows .r span::after { content: "  ›"; }
.p-cta { position: absolute; left: 18px; right: 18px; bottom: 30px; height: 52px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/52px var(--body); text-align: center; }

/* ---------- 点点 ---------- */
.dd-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dd-hero { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.dd-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 204, 51, .38), rgba(255, 204, 51, 0) 68%); animation: pulse 4s ease-in-out infinite; }
.dd-main { position: absolute; inset: 14%; width: 72%; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.dd-hero .bubble { position: absolute; font-size: 18px; }
.dd-hero .b1 { left: 0; top: 10%; }
.dd-hero .b2 { right: 0; bottom: 12%; border-radius: 22px 22px 8px 22px; }
.stickers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.stickers img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; border-radius: 24px; background: var(--cream); box-shadow: 0 5px 0 var(--cream-300); transition: transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.stickers img:hover { transform: translateY(-6px) rotate(-4deg) scale(1.06); }

/* ---------- 给家长（晨雾） ---------- */
.mist { margin-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(72px, 9vw, 112px); background: var(--mist); color: var(--ink); border-radius: 56px 56px 0 0; }
.mist + .section { background: linear-gradient(var(--mist), var(--mist)) top / 100% 56px no-repeat; }
.mist + .section > .wrap { position: relative; }
.mist .num { color: var(--go-lip); }
.parent-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.trust li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--mist-line); }
.trust img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.trust b { display: block; font: 700 17px/1.3 var(--display); margin-bottom: 4px; }
.trust span { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.parent-art .phone { box-shadow: 0 30px 60px rgba(20, 36, 51, .22), inset 0 0 0 2px rgba(255, 255, 255, .08); }

/* ---------- 常见问题 ---------- */
.faq-wrap { max-width: 860px; }
.mist + #faq { padding-top: 0; }
#faq { position: relative; }
#faq::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56px; background: var(--night-950); border-radius: 56px 56px 0 0; }
#faq > .wrap { padding-top: clamp(72px, 9vw, 112px); }
.faq { display: grid; gap: 14px; }
.faq details { border-radius: 24px; background: rgba(18, 38, 74, .7); box-shadow: inset 0 0 0 1.5px rgba(182, 211, 242, .14); }
.faq details.on, html:not(.js) .faq details[open] { background: var(--cream); color: var(--ink); box-shadow: 0 5px 0 var(--cream-300); }
/* 保留 .reveal 的入场过渡，再叠加展开时的配色过渡 */
.js .faq details { transition: opacity .7s cubic-bezier(.2, .8, .2, 1), translate .7s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, color .22s ease, box-shadow .3s ease; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font: 700 18px/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 var(--display); background: rgba(255, 248, 236, .1); transition: rotate .4s cubic-bezier(.3, 1.5, .5, 1), background-color .3s ease, color .3s ease; }
.faq details.on summary::after, html:not(.js) .faq details[open] summary::after { rotate: 135deg; background: var(--go); color: #fff; }
.faq details p { padding: 0 26px 24px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }

/* ---------- 下载 ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 80px) 24px; border-radius: 48px; background: radial-gradient(600px 380px at 50% 0%, rgba(255, 204, 51, .26), transparent 70%), radial-gradient(500px 360px at 100% 100%, rgba(46, 196, 182, .28), transparent 70%), var(--night-800); box-shadow: var(--lip-card), inset 0 0 0 1.5px rgba(182, 211, 242, .14); }
.cta-band h2 { position: relative; font: 800 clamp(28px, 3.6vw, 44px)/1.2 var(--display); margin-top: 22px; }
.cta-band p { position: relative; max-width: 520px; margin: 14px auto 30px; color: var(--soft); font-size: 16px; line-height: 1.8; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .android-download { margin: 16px auto 0; }
.cta-band .android-download[hidden] { display: none; }
.cta-logo { position: relative; width: 240px; margin: 0 auto; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .45)); }
.cta-planet { position: absolute; width: 280px; left: -60px; bottom: -80px; opacity: .9; animation: spin 80s linear infinite; }
.cta-buddy { position: absolute; width: 150px; right: 4%; top: 12%; animation: bob 3.2s ease-in-out infinite; }

/* ---------- 页脚 ---------- */
.footer { margin-top: clamp(72px, 9vw, 112px); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(182, 211, 242, .12); }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { width: 108px; }
.foot-brand p { font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.foot-links a { font-size: 14px; color: var(--soft); }
.foot-links a:hover { color: var(--cream); }
.foot-legal { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.7; color: #7286a0; }

/* ---------- 动效 ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s cubic-bezier(.2, .8, .2, 1), translate .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.d1 { transition-delay: .08s !important; } .d2 { transition-delay: .16s !important; } .d3 { transition-delay: .24s !important; } .d4 { transition-delay: .32s !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
/* 头顶 → 身前 → 脚下（与 hop 最高点同步）→ 身后 → 头顶；身前半圈压在点点上面，身后半圈藏到后面 */
@keyframes rope {
  0%     { transform: rotateX(180deg); height: 64%; z-index: 2; }
  25%    { transform: rotateX(90deg); height: 46%; z-index: 2; }
  49.9%  { z-index: 2; }
  50%    { transform: rotateX(0deg); height: 30%; z-index: 0; }
  75%    { transform: rotateX(-90deg); height: 46%; z-index: 0; }
  100%   { transform: rotateX(-180deg); height: 64%; z-index: 0; }
}
@keyframes pulse { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
@keyframes shimmer { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes twinkle { 0%, 100% { opacity: .2; scale: .7; } 50% { opacity: 1; scale: 1.1; } }
/* 只写起始帧，结束帧落回元素自身样式（含 rotate / opacity），减弱动效时直接显示最终状态 */
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in { from { opacity: 0; scale: 0; } }
@keyframes pop-out { to { opacity: 0; scale: .5; } }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes line-up { from { translate: 0 115%; rotate: 3deg; } }
@keyframes phone-in {
  0%   { transform: translateY(78vh) rotate(16deg); }
  48%  { transform: translateY(-26px) rotate(-8deg); }
  72%  { transform: translateY(8px) rotate(-1.5deg); }
  100% { transform: translateY(0) rotate(-3deg); }
}
@keyframes drift { to { translate: 6px -14px; } }
@keyframes wave { 0%, 70%, 100% { rotate: 14deg; } 76% { rotate: -8deg; } 82% { rotate: 22deg; } 88% { rotate: -2deg; } 94% { rotate: 16deg; } }
@keyframes squish { 30% { scale: 1.18 .82; } 60% { scale: .92 1.1; } }
@keyframes fly {
  0%   { translate: 0 0; scale: 0; rotate: 0deg; }
  25%  { scale: var(--s, 1); }
  60%  { translate: var(--x) var(--y); opacity: 1; }
  100% { translate: calc(var(--x) * 1.1) calc(var(--y) - 36px); scale: calc(var(--s, 1) * .7); rotate: var(--r); opacity: 0; }
}
@keyframes tap { 40% { transform: translateY(5px); box-shadow: 0 1px 0 var(--lip), inset 0 2px 0 rgba(255, 255, 255, .35); } }
@keyframes ring { from { scale: 0; opacity: .8; } to { scale: 2.6; opacity: 0; } }
@keyframes count-pop { 0% { opacity: 0; scale: .3; } 30% { opacity: 1; scale: 1.1; } 70% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 1.35; } }
@keyframes skip-x { from { translate: -66px 0; } to { translate: 66px 0; } }
@keyframes skip-y {
  0%, 100% { translate: 0 0; scale: 1.08 .9; animation-timing-function: cubic-bezier(.3, .7, .5, 1); }
  15%      { scale: 1; }
  50%      { translate: 0 -74px; scale: 1; animation-timing-function: cubic-bezier(.5, 0, .7, .3); }
  88%      { scale: 1; }
}
@keyframes skip-shadow { 50% { scale: .5; opacity: .4; } }
@keyframes fill { from { width: 0; } to { width: calc(100% - 6px); } }
@keyframes grow-energy { from { width: 60%; } }
@keyframes confetti {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(.4); }
  30%  { opacity: 1; transform: translate(calc(var(--x) * .8), var(--y)) rotate(calc(var(--r) * .4)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 460px)) rotate(var(--r)) scale(1); }
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-cta, .hero-tags { justify-content: center; }
  .hero-visual { width: 100%; max-width: 620px; margin: 0 auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .video-grid, .dd-grid, .parent-grid { grid-template-columns: 1fr; }
  .video-frame, .parent-art { justify-self: center; }
  .dd-hero { max-width: 420px; }
}
@media (max-width: 860px) {
  .links {
    position: fixed; top: var(--nav-h); left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 24px; background: #0b1a33; box-shadow: 0 20px 40px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(182, 211, 242, .14);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .2s, translate .2s, visibility .2s;
  }
  .links.open { opacity: 1; visibility: visible; translate: 0 0; }
  .links a { padding: 16px; font-size: 17px; }
  .nav-cta { margin-left: auto; }
  .menu { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: rgba(255, 248, 236, .1); cursor: pointer; }
  .menu i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--cream); transition: rotate .2s, translate .2s, opacity .2s; }
  .menu[aria-expanded="true"] i:nth-child(1) { translate: 0 7.5px; rotate: 45deg; }
  .menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] i:nth-child(3) { translate: 0 -7.5px; rotate: -45deg; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .brand img { width: 108px; }
  .nav-inner { gap: 12px; }
  .hero-visual { height: 640px; }
  .hero-phone { zoom: .78; top: 20px; }
  .hero-visual .orbit { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .hero-planet { width: 180px; left: -8%; }
  .hero-rocket { width: 80px; }
  .hero-buddy { width: 120px; right: -4%; bottom: 4%; }
  .poke-hint { right: 4%; bottom: calc(4% + 122px); font-size: 13px; }
  .cta-sticker { right: -4px; }
  .hero-cta .btn { width: 100%; }
  .facts { gap: 12px; }
  .facts li { padding: 18px; }
  .facts b { font-size: 34px; }
  .facts b small { font-size: 15px; }
  .step-art { height: 120px; }
  .step-art img { height: 120px; }
  .feature { padding: 40px 0; }
  .feature-art { border-radius: 30px; }
  .planets-art { padding: 28px 8px; min-height: 0; }
  .pl b { font-size: 15px; }
  .jump-art { min-height: 0; }
  .jump-ring { width: 240px; height: 240px; }
  .jump-buddy { width: 150px; height: 150px; }
  .reward-art { min-height: 560px; }
  .reward-phone { zoom: .7; }
  .posters img { width: 140px; }
  .posters .p3 { width: 120px; }
  .stickers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parent-art .phone { zoom: .86; }
  .mist { border-radius: 36px 36px 0 0; }
  .faq summary { padding: 18px 20px; font-size: 16px; }
  .faq details p { padding: 0 20px 20px; font-size: 15px; }
  .cta-buddy { width: 90px; top: 4%; right: 2%; }
  .cta-planet { width: 150px; left: -70px; bottom: -70px; }
  .cta-logo { width: 190px; }
}
