:root {
  --bg: #05060d;
  --panel: rgba(13, 16, 27, 0.72);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #eef2f6;
  --muted: #8f9bb0;
  --gold: #f5c955;
  --cyan: #58e0f0;
  --pink: #f062c0;
  --violet: #b58cff;
  --series: #dfe6ea;
  --altered: #f0995c;
  --prototype: #58e0f0;
  --anomaly: #f062c0;
  --origin: #f5c955;
  --accent: var(--gold);
  --pixel: 'Silkscreen', monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --banner: 54px;
  --bar: 72px;
  --pager: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body { height: 100dvh; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--pixel); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: 0.01em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.scanlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.65)); }

/* Top bar */
.bar { position: fixed; top: var(--banner); left: 0; right: 0; height: var(--bar); z-index: 20; display: flex; align-items: center; gap: 20px; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 10px rgba(245, 201, 85, 0.5)); }
.brand b { display: block; font: 700 17px/1 var(--pixel); letter-spacing: 0.04em; }
.brand small { font: 400 10px var(--pixel); letter-spacing: 0.12em; color: var(--muted); }
.nav { display: flex; gap: 2px; margin: 0 auto; padding: 5px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.nav button { position: relative; border: 0; background: none; cursor: pointer; padding: 8px 13px; font: 700 11px var(--pixel); letter-spacing: 0.06em; color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.nav button:hover, .nav button.on { color: var(--text); }
.nav button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.bar-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.soon { display: inline-flex; align-items: center; gap: 8px; font: 700 10px var(--pixel); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); padding: 8px 12px; border: 1px solid rgba(245, 201, 85, 0.4); background: rgba(245, 201, 85, 0.06); }
.soon i { width: 8px; height: 8px; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); cursor: pointer; color: var(--text); transition: background 0.2s, border-color 0.2s; }
a.icon-btn { text-decoration: none; }
.btn { text-decoration: none; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
#sound .waves { opacity: 0.25; }
#sound.on .waves { opacity: 1; }
#sound.on { color: var(--gold); border-color: rgba(245, 201, 85, 0.5); }

/* Buttons & bits */
.btn { --notch: 8px; display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 14px 22px; font: 700 13px var(--pixel); letter-spacing: 0.06em; color: var(--text); background: rgba(255, 255, 255, 0.08); clip-path: polygon(var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, 0 calc(100% - var(--notch)), 0 var(--notch)); transition: transform 0.15s, background 0.2s, filter 0.2s; }
.btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn.primary { color: #1b1405; background: linear-gradient(180deg, #ffe38d, var(--gold) 55%, #d9a92e); animation: glow 2.6s ease-in-out infinite; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 10px 16px; font-size: 11px; }
@keyframes glow { 50% { filter: drop-shadow(0 0 14px rgba(245, 201, 85, 0.55)); } }
.kicker { font: 700 12px var(--pixel); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.head { text-align: center; display: grid; justify-items: center; }
.head h2 { font-size: clamp(26px, 3.6vw, 48px); }
.sub { color: var(--muted); max-width: 640px; margin: 14px auto 0; text-align: center; }

/* Stage & scenes: one screen, no scroll */
.stage { position: fixed; top: calc(var(--banner) + var(--bar)); bottom: var(--pager); left: 0; right: 0; z-index: 5; }
.scene { position: absolute; inset: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 8px 28px; visibility: hidden; opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.6s; }
.scene.on { visibility: visible; opacity: 1; transform: none; transition: opacity 0.6s ease 0.1s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s, visibility 0s; }
.scene.out-up { transform: translateY(-26px) scale(0.985); }
.fit { width: min(1200px, 100%); transform-origin: center center; }
.r { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s ease; }
.scene.on .r { opacity: 1; transform: none; filter: none; transition-delay: calc(0.25s + var(--d, 0) * 0.12s); }

/* Home */
.home { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.title { font-size: clamp(46px, 7.4vw, 112px); line-height: 0.95; text-shadow: 0 0 40px rgba(245, 201, 85, 0.25); }
.title span { display: inline-block; }
.title .q { color: var(--gold); text-shadow: 0 0 30px rgba(245, 201, 85, 0.6); animation: wobble 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-4deg); } 16% { transform: rotate(3deg); } 24% { transform: rotate(0); } }
.lead { font-size: clamp(16px, 1.45vw, 20px); color: #c9d3e0; max-width: 520px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span { font: 700 10px var(--pixel); letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); }
.chips span:first-child { color: var(--gold); border-color: rgba(245, 201, 85, 0.5); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.parade { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; max-height: 62vh; }
.parade img { width: 23%; height: auto; min-width: 0; margin: 0 -3.4%; image-rendering: pixelated; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.55)) brightness(0.82); animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.6s); position: relative; z-index: 1; transition: filter 0.3s, transform 0.3s; }
.parade img:hover { filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.55)) brightness(1.05); }
.parade img:nth-child(2), .parade img:nth-child(4) { width: 27%; z-index: 2; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.55)) brightness(0.92); }
.parade img.first { width: 35%; z-index: 3; filter: drop-shadow(0 0 34px rgba(245, 201, 85, 0.55)) drop-shadow(0 20px 20px rgba(0, 0, 0, 0.5)); }
.parade .floor { position: absolute; left: 6%; right: 6%; bottom: -8px; height: 30px; background: radial-gradient(ellipse at center, rgba(245, 201, 85, 0.35), transparent 70%); filter: blur(6px); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.first-card { position: relative; justify-self: center; display: grid; justify-items: center; gap: 4px; padding: 28px 40px 22px; background: linear-gradient(180deg, rgba(245, 201, 85, 0.12), rgba(245, 201, 85, 0.02)); border: 1px solid rgba(245, 201, 85, 0.45); box-shadow: 0 0 60px rgba(245, 201, 85, 0.12), inset 0 0 40px rgba(245, 201, 85, 0.06); }
.first-card img { height: min(44vh, 380px); width: auto; image-rendering: pixelated; position: relative; animation: bob 4s ease-in-out infinite; }
.first-card .halo { position: absolute; top: 12%; left: 50%; width: 70%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(245, 201, 85, 0.35), transparent 65%); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: 0.6; } }
.first-card b { font: 700 18px var(--pixel); color: var(--gold); letter-spacing: 0.08em; margin-top: 10px; }
.first-card em { font: 400 12px var(--pixel); font-style: normal; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.story-lines { display: grid; gap: 16px; max-width: 600px; }
.story-lines h2 { font-size: clamp(28px, 3.8vw, 52px); }
.story-lines .big { font: 700 clamp(15px, 1.6vw, 21px) var(--pixel); color: var(--gold); letter-spacing: 0.04em; }
.story-lines p:not(.kicker):not(.big):not(.whisper) { color: #c3cddb; font-size: clamp(15px, 1.2vw, 17px); }
.whisper { margin-top: 8px; font: 700 clamp(15px, 1.5vw, 20px) var(--pixel); color: #fff; letter-spacing: 0.04em; display: flex; align-items: center; gap: 14px; }
.whisper span { display: grid; place-items: center; min-width: 58px; height: 46px; padding: 0 10px; color: #1b1405; background: var(--gold); box-shadow: 0 0 26px rgba(245, 201, 85, 0.6); animation: glitch 4s steps(1) infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(2px, -1px); filter: hue-rotate(40deg); } 95% { transform: translate(-2px, 1px); } }

/* How it works */
.how { display: grid; gap: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.steps li { position: relative; }
.steps button { width: 100%; display: grid; justify-items: center; gap: 8px; padding: 12px 8px 14px; background: none; border: 1px solid transparent; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.steps .n { width: 52px; height: 52px; display: grid; place-items: center; font: 700 16px var(--pixel); background: #0b0e17; border: 2px solid var(--line-2); transition: all 0.3s; position: relative; z-index: 1; }
.steps b { font: 700 12px var(--pixel); letter-spacing: 0.06em; color: var(--muted); transition: color 0.3s; }
.steps button:hover .n { border-color: var(--tone); }
.steps button.on { background: color-mix(in srgb, var(--tone) 7%, transparent); border-color: color-mix(in srgb, var(--tone) 35%, transparent); }
.steps button.on .n { background: var(--tone); color: #0b0e17; border-color: var(--tone); box-shadow: 0 0 22px var(--tone); }
.steps button.on b { color: #fff; }
.steps .progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--tone); }
.steps button.on .progress { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.step-detail { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: center; padding: 26px 34px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(8px); min-height: 250px; position: relative; overflow: hidden; }
.step-detail::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 10% 50%, color-mix(in srgb, var(--tone, var(--gold)) 16%, transparent), transparent 60%); pointer-events: none; transition: background 0.4s; }
.step-art { position: relative; display: grid; place-items: center; height: 200px; }
.step-art img { max-height: 200px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--tone, var(--gold)) 55%, transparent)); animation: bob 3s ease-in-out infinite; }
.step-art img.swap { animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1), bob 3s ease-in-out 0.5s infinite; }
@keyframes pop { from { transform: scale(0.6) rotate(-8deg); opacity: 0; } }
.step-detail .kicker { color: var(--tone, var(--gold)); margin-bottom: 8px; }
.step-detail h3 { font-size: clamp(20px, 2.2vw, 30px); }
.step-text { color: #c9d3e0; margin-top: 12px; max-width: 640px; }
.step-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step-points li { font-size: 13px; padding: 6px 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.step-points li::before { content: "■ "; color: var(--tone, var(--gold)); font-size: 9px; vertical-align: 2px; }
.how-foot { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Rarities */
.rarities { display: grid; gap: 30px; }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: end; }
.rung { --h: 50%; position: relative; display: grid; justify-items: center; gap: 10px; }
.rung .key { height: min(26vh, 210px); width: auto; image-rendering: pixelated; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tone) 50%, transparent)); animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.5s); }
.rung .card { width: 100%; padding: 14px 12px 16px; text-align: center; background: var(--panel); border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent); box-shadow: inset 0 -3px 0 var(--tone); display: grid; gap: 6px; position: relative; overflow: hidden; }
.rung .card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(0deg, color-mix(in srgb, var(--tone) 22%, transparent), transparent); transform-origin: bottom; transform: scaleY(0); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(0.5s + var(--i) * 0.12s); }
.scene.on .rung .card::before { transform: scaleY(1); }
.rung .card > * { position: relative; }
.rung h3 { font-size: clamp(13px, 1.3vw, 17px); color: var(--tone); }
.rung .lvl { font: 700 10px var(--pixel); letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.rung .supply { font: 700 clamp(22px, 2.6vw, 34px) var(--mono); color: #fff; line-height: 1; }
.rung dl { margin: 6px 0 0; display: grid; gap: 4px; font-size: 12.5px; }
.rung dl div { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.rung dd { margin: 0; color: #fff; font-family: var(--mono); }

/* Collection */
.collection { display: grid; gap: 26px; }
.rows { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); overflow: hidden; }
.row { overflow: hidden; }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.row.reverse .track { animation-direction: reverse; animation-duration: 70s; }
.rows:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.piece { flex: none; width: min(22vh, 190px); aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; position: relative; background: #0b0e17; outline: 2px solid color-mix(in srgb, var(--tone) 55%, transparent); transition: transform 0.25s, outline-color 0.25s, box-shadow 0.25s; }
.piece img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.piece span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font: 700 10px var(--pixel); letter-spacing: 0.06em; text-align: left; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); opacity: 0; transition: opacity 0.25s; }
.piece:hover { transform: translateY(-6px) scale(1.04); outline-color: var(--tone); box-shadow: 0 0 28px color-mix(in srgb, var(--tone) 50%, transparent); z-index: 2; }
.piece:hover span { opacity: 1; }

/* Staking */
.staking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 50px; align-items: center; --accent: var(--violet); }
.stake-copy h2 { font-size: clamp(26px, 3.4vw, 46px); }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding: 14px 18px 14px 50px; position: relative; background: var(--panel); border: 1px solid var(--line); color: #c3cddb; font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 14px; height: 14px; background: var(--violet); box-shadow: 0 0 14px var(--violet); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.facts b { color: #fff; }
.stake-demo { position: relative; padding: 30px; display: grid; gap: 10px; background: linear-gradient(160deg, rgba(181, 140, 255, 0.16), rgba(13, 16, 27, 0.8) 60%); border: 1px solid rgba(181, 140, 255, 0.45); box-shadow: 0 0 60px rgba(181, 140, 255, 0.14); overflow: hidden; }
.stake-demo .kicker { margin: 0; color: var(--violet); }
.counter { font-size: clamp(40px, 5.2vw, 70px); line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(181, 140, 255, 0.7); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rate { font: 700 12px var(--pixel); letter-spacing: 0.06em; color: #d3bdff; }
.mults { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
.mults span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; background: rgba(0, 0, 0, 0.35); border: 1px solid color-mix(in srgb, var(--tone) 45%, transparent); box-shadow: inset 0 -3px 0 var(--tone); }
.mults span.lit { background: color-mix(in srgb, var(--tone) 18%, rgba(0, 0, 0, 0.35)); box-shadow: inset 0 -3px 0 var(--tone), 0 0 18px color-mix(in srgb, var(--tone) 45%, transparent); }
.mults em { font: 700 8.5px var(--pixel); font-style: normal; color: var(--tone); letter-spacing: 0.06em; text-transform: uppercase; }
.mults b { font: 700 15px var(--mono); }

/* FAQ */
.faq { display: grid; gap: 24px; width: min(920px, 100%); }
.qa { display: grid; gap: 8px; }
.qa details { background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.qa details[open] { border-color: rgba(245, 201, 85, 0.45); background: rgba(20, 18, 12, 0.72); }
.qa summary { list-style: none; cursor: pointer; padding: 15px 20px; font: 700 13px var(--pixel); letter-spacing: 0.04em; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 700 18px var(--mono); color: var(--gold); transition: transform 0.3s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p a { color: var(--gold); }
.qa details p { padding: 0 20px 16px; color: #c3cddb; font-size: 15px; animation: open 0.35s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* Free / join */
.free { position: relative; display: grid; justify-items: center; text-align: center; gap: 16px; }
.free h2 { font-size: clamp(34px, 6vw, 84px); }
.free h2 em { font-style: normal; color: var(--gold); text-shadow: 0 0 34px rgba(245, 201, 85, 0.6); }
.free .lead { margin: 0 auto; max-width: 640px; }
.crew { display: flex; align-items: flex-end; justify-content: center; margin-top: 10px; width: min(760px, 100%, 62vh); }
.crew img { width: 14%; height: auto; min-width: 0; margin: 0 -1.2%; image-rendering: pixelated; animation: bob 3s ease-in-out infinite; filter: brightness(0.85) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.5)); }
.crew img:nth-child(odd) { animation-delay: -1.5s; }
.crew img.first { width: 19%; filter: drop-shadow(0 0 26px rgba(245, 201, 85, 0.55)); }
.domain { font: 700 clamp(22px, 3vw, 40px) var(--pixel); letter-spacing: 0.04em; color: #fff; text-shadow: 0 0 24px rgba(88, 224, 240, 0.5); }
.hearts { position: absolute; inset: -10% 0; pointer-events: none; overflow: hidden; }
.hearts i { position: absolute; bottom: -20px; width: 12px; height: 11px; background: var(--gold); opacity: 0; clip-path: polygon(0 20%, 22% 0, 44% 0, 50% 14%, 56% 0, 78% 0, 100% 20%, 100% 50%, 50% 100%, 0 50%); animation: rise 7s linear infinite; }
.scene:not(.on) .hearts i { animation-play-state: paused; }
@keyframes rise { 0% { transform: translateY(0) scale(0.7); opacity: 0; } 15% { opacity: 0.8; } 100% { transform: translateY(-80vh) scale(1.2); opacity: 0; } }

/* Pager */
.pager { position: fixed; left: 0; right: 0; bottom: 0; height: var(--pager); z-index: 20; display: flex; align-items: center; justify-content: center; gap: 18px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.2); transition: width 0.3s, background 0.3s; }
.dots button.on { width: 30px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Modals */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(3, 4, 9, 0.82); backdrop-filter: blur(8px); animation: fade 0.3s ease; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; width: min(1100px, 100%); max-height: 100%; animation: rise-in 0.4s cubic-bezier(0.2, 1.2, 0.4, 1); }
@keyframes rise-in { from { transform: translateY(20px) scale(0.96); opacity: 0; } }
.modal video { width: 100%; max-height: calc(100dvh - 60px); display: block; background: #000; border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.modal .close { position: absolute; top: -48px; right: 0; font-size: 22px; }
.lightbox { width: min(560px, 100%); background: #0b0e17; border: 1px solid var(--line-2); }
.lightbox img { width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; image-rendering: pixelated; }
.lightbox p { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; }
.lightbox p span { font: 700 11px var(--pixel); letter-spacing: 0.08em; padding: 4px 8px; background: var(--tone); color: #0b0e17; text-transform: uppercase; }
.lightbox p em { font-style: normal; color: var(--muted); }

/* Tablet */
@media (max-width: 1400px) {
  .bar { gap: 14px; padding: 0 20px; }
  .nav button { padding: 8px 9px; font-size: 10px; }
}
@media (max-width: 1100px) {
  .soon { display: none; }
  .nav button { padding: 8px 9px; font-size: 10px; }
}
@media (max-width: 900px) {
  :root { --bar: 60px; --pager: 58px; }
  .bar { padding: 0 16px; gap: 12px; }
  .brand small { display: none; }
  .nav { display: none; }
  .bar-actions { margin-left: auto; }
  .bar-actions .soon { display: inline-flex; font-size: 9px; padding: 7px 9px; }
  .scene { padding: 6px 16px; }
  .home { grid-template-columns: 1fr; gap: 10px; text-align: center; justify-items: center; }
  .home-copy { display: grid; justify-items: center; }
  .lead { margin-top: 14px; }
  .chips, .cta { justify-content: center; }
  .chips { margin-top: 16px; }
  .cta { margin-top: 18px; }
  .parade { width: min(100%, 460px); }
  .story { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .first-card { padding: 16px 26px 12px; }
  .first-card img { height: 22vh; }
  .story-lines { justify-items: center; gap: 10px; }
  .whisper { justify-content: center; }
  .steps { gap: 4px; }
  .steps::before { top: 30px; }
  .steps .n { width: 40px; height: 40px; font-size: 13px; }
  .steps b { font-size: 9px; }
  .step-detail { grid-template-columns: 1fr; gap: 10px; padding: 18px; text-align: center; justify-items: center; min-height: 0; }
  .step-art { height: 120px; }
  .step-art img { max-height: 120px; }
  .step-points { justify-content: center; }
  .ladder { gap: 6px; }
  .rung .key { height: 14vh; }
  .rung .card { padding: 10px 4px 12px; }
  .rung dl { font-size: 10.5px; }
  .rung dl div { flex-direction: column; gap: 0; align-items: center; }
  .staking { grid-template-columns: 1fr; gap: 18px; }
  .stake-copy { text-align: center; }
  .facts { margin-top: 14px; gap: 8px; text-align: left; }
  .facts li { font-size: 13.5px; padding: 10px 12px 10px 40px; }
  .facts li::before { left: 14px; top: 14px; width: 12px; height: 12px; }
  .stake-demo { padding: 18px; }
}
@media (max-width: 520px) {
  .bar { gap: 8px; padding: 0 12px; }
  .brand { gap: 8px; }
  .brand b { font-size: 12px; }
  .bar-actions { gap: 6px; }
  .bar-actions .soon { font-size: 8px; padding: 6px 7px; gap: 6px; letter-spacing: 0.06em; }
  .icon-btn { width: 34px; height: 34px; }
  .whisper { flex-direction: column; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .btn { padding: 12px 16px; font-size: 11px; }
  .chips span { font-size: 9px; padding: 6px 8px; }
  .steps b { display: none; }
  .ladder { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rung h3 { font-size: 9px; }
  .rung .lvl { font-size: 8px; }
  .rung dl div:last-child { display: none; }
  .rung .supply { font-size: 16px; }
  .piece { width: 26vw; }
  .mults em { font-size: 7px; }
  .qa summary { padding: 12px 14px; font-size: 11px; }
  .qa details p { padding: 0 14px 12px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 400px) { .bar-actions .soon { display: none; } }

/* Donation banner (same as the mint site) */
.donate-banner { position: fixed; top: 0; left: 0; right: 0; height: var(--banner); z-index: 25; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(90deg, #ff2e7e, #ff6a4d 30%, #f5b53a 55%, #ff6a4d 78%, #ff2e7e); background-size: 220% 100%; box-shadow: 0 6px 28px rgba(255, 46, 126, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.18); animation: db-flow 7s linear infinite; }
.donate-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 6px); pointer-events: none; }
.donate-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); background-size: 250% 100%; animation: db-shine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes db-flow { to { background-position: -220% 0; } }
@keyframes db-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.db-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 8px 16px; background: none; border: 0; color: #fff; font-size: 16px; font-weight: 600; text-shadow: 0 2px 6px rgba(80, 0, 30, 0.45); cursor: pointer; }
.db-main b { font-weight: 800; }
.db-heart { display: grid; color: #fff; filter: drop-shadow(0 0 10px #fff); animation: beat 1s ease-in-out infinite; flex-shrink: 0; }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.22; } 30% { scale: 1; } 45% { scale: 1.14; } }
.db-cta { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; padding: 8px 15px; font: 700 12px var(--pixel); letter-spacing: 0.08em; color: #f5c955; background: #0b0e17; text-shadow: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 6px 18px rgba(0, 0, 0, 0.35); animation: db-cta 1.6s ease-in-out infinite; white-space: nowrap; }
@keyframes db-cta { 50% { transform: scale(1.06); box-shadow: 0 0 0 2px #fff, 0 0 24px rgba(255, 255, 255, 0.8); } }
.db-main:hover .db-cta { color: #fff; }
.db-hearts { position: absolute; inset: 0; pointer-events: none; }
.db-hearts i { position: absolute; bottom: -12px; width: 11px; height: 10px; background: #fff; opacity: 0; clip-path: polygon(0 20%, 22% 0, 44% 0, 50% 14%, 56% 0, 78% 0, 100% 20%, 100% 50%, 50% 100%, 0 50%); animation: db-rise 3.6s linear infinite; }
.db-hearts i:nth-child(3n) { background: #fff3b0; }
@keyframes db-rise { 0% { transform: translateY(0) scale(0.7); opacity: 0; } 20% { opacity: 0.85; } 100% { transform: translateY(-76px) scale(1.15); opacity: 0; } }

/* Donation modal */
.donate-box { width: min(680px, 100%); padding: 34px 32px 28px; display: grid; justify-items: center; gap: 12px; text-align: center; background: linear-gradient(180deg, rgba(255, 46, 126, 0.14), #0b0e17 45%); border: 1px solid rgba(255, 106, 77, 0.55); box-shadow: 0 0 60px rgba(255, 46, 126, 0.25), 0 30px 80px rgba(0, 0, 0, 0.7); }
.modal .donate-box .close { top: 12px; right: 12px; }
.donate-mascot { height: 120px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 0 24px rgba(245, 201, 85, 0.5)); animation: bob 3s ease-in-out infinite; }
.donate-box .kicker { margin: 4px 0 0; color: #ff8a6a; }
.donate-box h3 { font-size: clamp(20px, 3vw, 28px); }
.donate-text { color: #c3cddb; font-size: 14.5px; max-width: 480px; }
.donate-pay { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; width: 100%; margin-top: 8px; padding: 16px; background: rgba(0, 0, 0, 0.35); border: 1px dashed rgba(255, 255, 255, 0.2); text-align: left; }
.donate-qr { width: 150px; height: 150px; image-rendering: pixelated; background: #fff; padding: 6px; }
.donate-addr { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.donate-addr code { font-size: 13px; color: var(--gold); word-break: break-all; line-height: 1.45; }
#donate-copy.done { background: linear-gradient(180deg, #b9ffd9, #69e3a6); color: #0b2016; }
@media (max-width: 760px) {
  :root { --banner: 48px; }
  .db-long { display: none; }
  .db-main { font-size: 14px; gap: 10px; }
  .db-cta { padding: 7px 11px; font-size: 10px; }
  .donate-box { padding: 26px 18px 20px; max-height: calc(100dvh - 40px); overflow-y: auto; }
  .donate-pay { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .donate-addr { justify-items: center; }
  .donate-mascot { height: 80px; }
  .donate-qr { width: 130px; height: 130px; }
}
@media (max-width: 400px) { .db-main { font-size: 12.5px; gap: 8px; padding: 6px 10px; } .db-heart svg { width: 18px; height: 16px; } .db-cta { margin-left: 4px; } }
