:root {
  --bg: #0f0b1f;
  --bg-2: #171030;
  --panel: #1c1438;
  --panel-2: #241a48;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f1ff;
  --muted: #a69fc8;
  --purple: #836ef9;
  --purple-2: #a593ff;
  --pink: #ff6ad5;
  --pink-2: #ff9be6;
  --yellow: #ffd23f;
  --ink: #1a1033;
  --radius: 20px;
  --f-display: "Rubik", "Inter", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-pixel: "Press Start 2P", monospace;
  --f-mono: "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ── site-wide animated backdrop ── */
.bg-aurora {
  position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(32% 28% at 12% 28%, rgba(131, 110, 249, .38), transparent 70%),
    radial-gradient(28% 26% at 88% 52%, rgba(255, 106, 213, .26), transparent 70%),
    radial-gradient(26% 24% at 62% 12%, rgba(90, 120, 255, .16), transparent 70%),
    radial-gradient(30% 26% at 30% 85%, rgba(170, 80, 255, .16), transparent 70%);
  animation: aurora 28s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(5%, -4%) rotate(10deg) scale(1.08); }
  100% { transform: translate(-4%, 5%) rotate(-8deg) scale(1.02); }
}
.bg-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
main, .footer, .nav, .topbar { position: relative; }

/* ── top marquee ── */
.topbar { background: var(--pink); color: var(--ink); overflow: hidden; white-space: nowrap; font: 10px/1 var(--f-pixel); padding: 8px 0; }
.marquee { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee span { padding-right: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px max(16px, (100% - 1200px) / 2);
  background: rgba(15, 11, 31, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { border-radius: 12px; border: 2px solid var(--ink); box-shadow: 0 0 0 2px var(--pink); }
.logo span {
  font: italic 900 26px/1 var(--f-display);
  letter-spacing: .5px;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--pink);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font: 700 13px var(--f-mono); letter-spacing: 1.5px; text-transform: uppercase;
  color: #cfc8ef; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover { color: #fff; }
.tag { font: 700 9px var(--f-mono); font-style: normal; background: var(--pink); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ── buttons ── */
.btn {
  --b: var(--purple);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 15px var(--f-display); text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 14px; border: 2px solid var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--pink); color: var(--ink); box-shadow: 0 4px 0 var(--ink), 0 0 24px rgba(255, 106, 213, .35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .18); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 6px 0 var(--ink), 0 0 34px rgba(255, 106, 213, .5); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 11px; }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn.is-soon { opacity: .55; cursor: not-allowed; }

/* ── hero ── */
.hero { padding-top: 24px; }
.hero-card {
  position: relative; overflow: hidden;
  border-radius: 28px;
  min-height: 560px;
  display: flex; align-items: center;
  border: 2px solid rgba(255, 255, 255, .08);
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: -3%; z-index: -3; overflow: hidden;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scaleX(-1); animation: heroDrift 22s ease-in-out infinite alternate; }
@keyframes heroDrift {
  from { transform: scaleX(-1) scale(1.02) translate(0, 0); }
  to { transform: scaleX(-1) scale(1.1) translate(1.5%, -1.5%); }
}
@keyframes heroDriftM {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(15, 8, 45, .92) 0%, rgba(15, 8, 45, .7) 42%, rgba(15, 8, 45, 0) 70%);
}
.hero-burst {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.4px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-content { padding: 48px clamp(20px, 5vw, 60px); max-width: 640px; }
.kicker { font: 700 12px var(--f-mono); letter-spacing: 2px; color: var(--purple-2); margin: 0 0 14px; }
.hero h1 {
  font: 900 clamp(64px, 11vw, 132px)/.9 var(--f-display);
  text-transform: uppercase; margin: 0 0 18px; letter-spacing: -1px;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 0 5px 0 var(--ink);
}
.hl { color: var(--pink); }
.h1-sub { display: block; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.1; margin-top: 10px; letter-spacing: 0; -webkit-text-stroke-width: 2px; }
.hero-lede { font-size: clamp(16px, 1.5vw, 19px); color: #e4defc; max-width: 470px; margin: 0 0 24px; text-shadow: 0 2px 12px rgba(10, 5, 30, .8); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; justify-items: start; }
.checks li {
  display: inline-flex; align-items: center; gap: 12px;
  font: 800 clamp(14px, 1.6vw, 17px) var(--f-display); text-transform: uppercase;
  background: rgba(20, 13, 44, .88); border: 2px solid var(--ink); border-radius: 12px;
  padding: 8px 16px 8px 8px; box-shadow: 0 3px 0 var(--ink);
}
.checks li::before {
  content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pink); color: #fff; font-size: 15px; border: 2px solid #fff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ca {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  background: rgba(0, 0, 0, .45); border: 1px dashed rgba(255, 255, 255, .25); border-radius: 12px;
  padding: 8px 8px 8px 14px; color: #fff; cursor: pointer; font: 500 13px var(--f-mono);
}
.ca:hover { border-color: var(--pink); }
.ca-label { color: var(--muted); font-weight: 700; letter-spacing: 1px; }
.ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-copy { background: var(--purple); color: #fff; font-weight: 700; padding: 5px 10px; border-radius: 8px; font-size: 11px; letter-spacing: 1px; }
.ca.copied .ca-copy { background: #2bd47d; }

/* ── section labels (angled badges) ── */
.section { padding: 90px 0 0; }
.label {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 900 clamp(22px, 3vw, 30px)/1 var(--f-display); text-transform: uppercase;
  color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink);
  padding: 12px 40px 12px 14px;
  background: linear-gradient(90deg, var(--purple) 0%, #5b47d6 100%);
  clip-path: polygon(0 10px, 10px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 10px 100%, 0 calc(100% - 10px));
}
.label-center { display: flex; width: fit-content; margin-inline: auto; padding: 12px 44px; clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0 50%); }
.label-ico { font-size: .85em; -webkit-text-stroke: 0; text-shadow: none; display: grid; place-items: center; width: 38px; height: 38px; background: rgba(0, 0, 0, .25); border-radius: 10px; }
.lede { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 34px; }
.lede.center { margin-inline: auto; }

/* ── lore ── */
.lore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chapter {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  position: relative;
}
.chapter::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; background: var(--pink); border-radius: 0 0 4px 4px; opacity: .8; }
.ch-num { font: 10px var(--f-pixel); color: var(--pink); }
.chapter h3 { font: 900 24px var(--f-display); margin: 12px 0 8px; text-transform: uppercase; }
.chapter p { margin: 0; color: #d3cdee; font-size: 15px; }
.chapter b { color: #fff; }
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.evi { margin: 0; }
.evi-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); background: #000; aspect-ratio: 16 / 9.4; }
.evi-frame img { width: 100%; height: 100%; object-fit: cover; }
.live-pill { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; background: #e5263f; color: #fff; font: 700 11px var(--f-mono); padding: 5px 10px; border-radius: 8px; letter-spacing: 1px; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.live-pill.alt { background: var(--purple); }
@keyframes pulse { 50% { opacity: .2; } }
.evi figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.evi figcaption b { color: #fff; }

/* ── arcade ── */
.machines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.machine {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; text-align: left;
  background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--text);
  cursor: pointer; font: inherit; transition: border-color .2s, transform .2s, background .2s;
}
.machine img { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); }
.machine:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .2); }
.machine.is-active { border-color: var(--pink); background: linear-gradient(135deg, #2c1b5c, var(--panel)); box-shadow: 0 0 0 4px rgba(255, 106, 213, .12); }
.m-tag { font: 700 10px var(--f-mono); letter-spacing: 1.5px; background: #fff; color: var(--ink); padding: 3px 8px; border-radius: 6px; }
.m-tag-alt { background: var(--yellow); }
.machine h3 { font: 900 24px/1.1 var(--f-display); margin: 8px 0 4px; text-transform: uppercase; }
.machine p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.m-meta { font: 700 11px var(--f-mono); color: var(--purple-2); letter-spacing: 1px; }
.m-meta b { color: #fff; font-size: 14px; }

.stage { background: #0a0618; border: 2px solid var(--line); border-radius: 26px; padding: 14px; }
.stage-panel[hidden] { display: none; }
.game { position: relative; border-radius: 16px; overflow: hidden; outline: none; background: #120a35; touch-action: none; user-select: none; -webkit-user-select: none; }
.game:focus-visible { box-shadow: 0 0 0 3px var(--pink); }
.game canvas { display: block; width: 100%; height: 100%; }
.game-wide { aspect-ratio: 960 / 400; }
.game-tall { aspect-ratio: 420 / 640; width: min(420px, 100%); }
.hop-layout { display: flex; gap: 24px; justify-content: center; align-items: flex-start; }
.hop-side { max-width: 280px; padding-top: 10px; color: var(--muted); font-size: 14px; }
.hop-side h4 { font: 900 20px var(--f-display); color: #fff; text-transform: uppercase; margin: 0 0 14px; }
.hop-side ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.hop-side li { display: flex; align-items: center; gap: 12px; color: #e5e0ff; }
.sw { width: 40px; height: 10px; border-radius: 3px; flex: none; }
.sw-roof { background: #24155e; border-top: 3px solid var(--purple); }
.sw-move { background: #24155e; border-top: 3px solid #ff7ae0; }
.sw-ring { width: 26px; height: 12px; margin-inline: 7px; border-radius: 50%; background: radial-gradient(ellipse, #d94fc0 30%, #ff7ae0 32%); box-shadow: 0 0 12px #ff7ae0; }
.sw-rug { background: #4a1d3a; border: 2px dashed #ff4d6d; }

.game-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 20px; gap: 6px;
  background: radial-gradient(ellipse at center, rgba(15, 8, 45, .82), rgba(15, 8, 45, .94));
  backdrop-filter: blur(2px);
}
.game-overlay[hidden] { display: none; }
.ov-kicker { font: 700 11px var(--f-mono); letter-spacing: 2px; color: var(--purple-2); margin: 0; }
.ov-title { font: 900 clamp(24px, 4vw, 42px)/1.05 var(--f-display); text-transform: uppercase; margin: 4px 0; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.ov-body { color: #d8d2f5; max-width: 520px; margin: 0; font-size: 15px; }
.ov-keys { color: var(--muted); font: 500 12px var(--f-mono); margin: 6px 0 0; }
kbd { font: 700 11px var(--f-mono); background: #2a1f55; border: 1px solid #4a3c8a; border-bottom-width: 3px; border-radius: 6px; padding: 2px 6px; color: #fff; }
.ov-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 26px; margin: 10px 0 6px; }
.ov-stats span { display: block; font: 700 10px var(--f-mono); color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.ov-stats b { font: 900 24px var(--f-display); }
.ov-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.game-tall .ov-stats { grid-template-columns: repeat(2, auto); }
.game-tall .ov-actions .btn { font-size: 13px; padding: 9px 14px; }

.official {
  margin-top: 20px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(110deg, #1a1340, #241a52); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.official h3 { font: 900 24px var(--f-display); margin: 0 0 6px; text-transform: uppercase; }
.official p { margin: 0; color: var(--muted); max-width: 560px; font-size: 15px; }
.official-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── collection carousel ── */
.cards-track { overflow: hidden; padding: 6px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cards { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.cards-track:hover .cards { animation-play-state: paused; }
.card {
  width: 220px; flex: none; background: var(--panel); border: 2px solid var(--line); border-radius: 18px; padding: 10px;
  transition: transform .2s;
}
.card:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--pink); }
.card-img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.rarity { position: absolute; top: 8px; left: 8px; font: 700 9px var(--f-mono); letter-spacing: 1px; padding: 3px 7px; border-radius: 6px; background: #fff; color: var(--ink); }
.r-rare { background: #2f9bff; color: #fff; }
.r-epic { background: var(--purple); color: #fff; }
.r-legendary { background: linear-gradient(90deg, var(--yellow), #ff9d3f); color: var(--ink); }
.card h4 { font: 800 14px/1.3 var(--f-display); text-transform: uppercase; margin: 10px 4px 4px; }
.card p { margin: 0 4px 4px; font: 700 11px var(--f-mono); color: var(--muted); }
.card p b { color: #fff; font: 900 18px var(--f-display); margin-left: 4px; }

/* ── tokenomics ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat span { font: 700 11px var(--f-mono); color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.stat b { display: block; font: 900 clamp(24px, 3vw, 32px) var(--f-display); margin-top: 8px; color: #fff; }
.stat:nth-child(odd) b { color: var(--pink-2); }
.ca-row { display: flex; justify-content: center; }
.ca-wide { font-size: 14px; padding: 10px 10px 10px 16px; }

/* ── steps ── */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step > span { font: 14px var(--f-pixel); color: var(--yellow); }
.step h3 { font: 900 20px var(--f-display); text-transform: uppercase; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── faq ── */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font: 800 18px var(--f-display); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* ── cta ── */
.cta {
  margin-top: 90px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center;
  background: linear-gradient(120deg, #5b3ff0, #8a4ff5 50%, #d14fd0); border: 2px solid var(--ink); border-radius: 28px; padding: 28px 40px;
  box-shadow: 0 8px 0 var(--ink); overflow: hidden;
}
.cta img { border-radius: 20px; border: 2px solid var(--ink); }
.cta h2 { font: 900 clamp(30px, 4.4vw, 50px)/1 var(--f-display); text-transform: uppercase; margin: 0 0 10px; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.cta p { margin: 0 0 20px; font-size: 18px; font-weight: 600; }
.cta .btn-ghost { background: rgba(0, 0, 0, .25); }

/* ── footer ── */
.footer { padding: 70px 0 40px; margin-top: 60px; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot-cols h4 { font: 700 12px var(--f-mono); color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
.foot-cols a:not(.logo) { display: block; color: #e1dcf7; text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.foot-cols a:not(.logo):hover { color: var(--pink); }
.disclaimer { margin-top: 40px; color: #7d76a0; font-size: 12.5px; max-width: 900px; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.label.reveal { transform: translateX(-40px); }
.label.reveal.in { transform: none; }
.label { position: relative; overflow: hidden; }
.label::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.cta img { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
.logo img { animation: float 5s ease-in-out infinite; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; left: -100%; width: 60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: shine 4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee, .cards, .hero-bg, .bg-aurora, .label::after, .cta img, .logo img, .btn-primary::after { animation: none; }
  .hero-media { transition: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ── */
@media (max-width: 1000px) {
  .lore-grid, .stats, .steps { grid-template-columns: 1fr 1fr; }
  .machines { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { gap: 12px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(15, 11, 31, .97); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta [data-link="chartUrl"] { display: none; }
  .hero-card { min-height: 0; display: block; background: var(--bg-2); }
  .hero-media { position: relative; inset: auto; height: clamp(220px, 60vw, 340px); transform: none; }
  .hero-bg { object-position: 24% 72%; animation-name: heroDriftM; }
  .hero-fx { inset: 0 0 auto 0; height: clamp(220px, 60vw, 340px); }
  .hero-card::before, .hero-burst { display: none; }
  .hero-content { padding: 26px 20px 30px; }
  .evidence { grid-template-columns: 1fr; }
  .hop-layout { flex-direction: column; align-items: center; }
  .hop-side { max-width: 420px; }
  .cta { grid-template-columns: 1fr; padding: 24px; text-align: center; }
  .cta img { width: 180px; margin-inline: auto; }
  .cta .hero-actions { justify-content: center; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .ov-stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  .logo span { font-size: 22px; }
  .lore-grid, .stats, .steps { grid-template-columns: 1fr; }
  .machine { grid-template-columns: 76px 1fr; }
  .machine img { width: 76px; height: 76px; }
  .m-play { display: none; }
  .stage { padding: 6px; border-radius: 18px; }
  .section { padding-top: 70px; }
  /* the wide runner gets a taller frame on phones so the overlay fits */
  .game-wide { aspect-ratio: auto; }
  .game-wide canvas { aspect-ratio: 960 / 400; height: auto; }
  .game-wide .game-overlay { position: relative; inset: auto; }
  .game-wide:has(.game-overlay:not([hidden])) canvas { display: none; }
  .ov-body { font-size: 14px; }
  .label { padding-right: 32px; }
}
