/* DacityCoin: a Leonida dusk shot in widescreen. Poster type, neon script, game HUD. */
:root {
  color-scheme: dark;
  --night: #0d0518;
  --night-2: #1c0a2e;
  --plum: #3b1056;
  --ink: #0b0414;
  --pink: #ff3d8b;
  --pink-hi: #ff8fc0;
  --pink-deep: #b21d6e;
  --orange: #ff8a3d;
  --gold: #ffc56b;
  --yellow: #ffe14d;
  --teal: #19d3c5;
  --cash: #8dffa9;
  --cream: #fff4e6;
  --muted: rgba(255, 244, 230, 0.78);
  --faint: rgba(255, 244, 230, 0.6);
  --line: rgba(255, 244, 230, 0.16);
  --display: "Big Shoulders Display", "Oswald", sans-serif;
  --neon: "Yellowtail", cursive;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-color: var(--pink) var(--ink); }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
main { overflow-x: clip; }
::selection { background: var(--pink); color: var(--ink); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: 0.92; text-transform: uppercase; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 14px; background: var(--cream); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* film grain over everything */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay; animation: grain 0.6s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* ---------- buttons: menu slabs, not pills ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 2px solid var(--cream); border-radius: 3px; background: transparent; color: var(--cream);
  font: 800 18px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s, transform 0.25s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); translate: -120% 0; transition: translate 0.6s var(--ease); }
.btn:hover::after { translate: 120% 0; }
.btn:active { transform: scale(0.97); }
.btn-hot { background: var(--pink); border-color: var(--pink); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(255, 61, 139, 0.7); }
.btn-hot:hover { background: var(--cream); border-color: var(--cream); }
.btn-line { border-color: rgba(255, 244, 230, 0.55); background: rgba(11, 4, 20, 0.5); }
.btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 21px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
.btn[aria-disabled="true"] { opacity: 0.6; box-shadow: none; }

/* ---------- loading screen ---------- */
.intro { position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; gap: 10px; background: #050208; text-align: center;
  transition: clip-path 0.9s var(--ease); clip-path: inset(0 0 0 0); }
.intro.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro-neon { font: 400 clamp(84px, 16vw, 190px)/1 var(--neon); color: #ffe3f0; text-shadow: 0 0 6px #fff, 0 0 18px var(--pink), 0 0 42px var(--pink), 0 0 90px var(--pink-deep); animation: flicker 1.4s steps(1) both; }
.intro-sub { font: 800 18px/1 var(--display); letter-spacing: 0.4em; text-transform: uppercase; color: var(--teal); margin-left: 0.4em; }
.intro-bar { width: min(320px, 70vw); height: 3px; margin-top: 26px; background: rgba(255, 244, 230, 0.12); }
.intro-bar i { display: block; height: 100%; background: var(--pink); animation: load 1.5s var(--ease) forwards; transform-origin: left; transform: scaleX(0); }
@keyframes load { to { transform: scaleX(1); } }
.intro-tip { margin-top: 10px; font-size: 14px; color: var(--faint); }
@keyframes flicker { 0% { opacity: 0; } 8% { opacity: 1; } 12% { opacity: 0.2; } 18% { opacity: 1; } 24% { opacity: 0.4; } 30%, 100% { opacity: 1; } }
.intro { display: none; }
body.is-loading .intro, .intro.is-out { display: grid; }
body.is-loading { overflow: hidden; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(13, 5, 24, 0.94); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand-neon { font: 400 30px/1 var(--neon); color: #ffe3f0; text-shadow: 0 0 10px var(--pink), 0 0 24px rgba(255, 61, 139, 0.6); margin-top: -4px; }
.brand-coin { font: 900 20px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.hud-cash { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font: 900 26px/1 var(--display); color: var(--cash); text-shadow: 0 2px 0 #0b3a1a, 0 0 18px rgba(141, 255, 169, 0.35); font-variant-numeric: tabular-nums; }
.hud-cash span { font-size: 20px; }
.hud-cash.is-tick { animation: cash 0.6s var(--ease); }
@keyframes cash { 30% { transform: scale(1.18); color: #fff; } }
.btn-buy { min-height: 42px; }
.menu { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 3px; background: transparent; position: relative; cursor: pointer; }
.menu i, .menu i::before, .menu i::after { position: absolute; left: 12px; width: 22px; height: 2px; background: var(--cream); content: ""; transition: transform 0.25s var(--ease); }
.menu i { top: 22px; }
.menu i::before { left: 0; top: -7px; } .menu i::after { left: 0; top: 7px; }
.menu[aria-expanded="true"] i { background: transparent; }
.menu[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero: the widescreen dusk ---------- */
.hero { position: relative; min-height: max(640px, calc(100svh - 66px)); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--night); }
.scene { position: absolute; inset: 0; z-index: -1; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .layer { transition: transform 0.4s linear; will-change: transform; }
.neon-sign { filter: drop-shadow(0 0 6px #ff3d8b) drop-shadow(0 0 16px #ff3d8b); animation: neon-buzz 6s steps(1) infinite 2s; }
@keyframes neon-buzz { 0%, 41%, 43%, 45%, 100% { opacity: 1; } 42% { opacity: 0.35; } 44% { opacity: 0.5; } }
.glints rect { animation: glint 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.glints rect:nth-child(2n) { animation-delay: -1.2s; } .glints rect:nth-child(3n) { animation-delay: -2.1s; }
@keyframes glint { 50% { transform: scaleX(0.55); opacity: 0.45; } }
.clouds { animation: clouds 60s linear infinite alternate; }
@keyframes clouds { to { translate: -60px 0; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(13, 5, 24, 0.55) 72%, rgba(13, 5, 24, 0.95)); pointer-events: none; }
.letterbox { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 2; }
.lb-top { top: 0; transform-origin: top; } .lb-bot { bottom: 0; transform-origin: bottom; }

.flight { position: absolute; top: calc(9vh + 18px); left: 0; z-index: 1; display: flex; align-items: center; animation: fly 24s linear infinite; will-change: transform; }
@keyframes fly { from { transform: translateX(-120%) translateY(0); } 50% { transform: translateX(40vw) translateY(14px); } to { transform: translateX(110vw) translateY(0); } }
.tow { display: flex; align-items: center; }
.banner { padding: 10px 26px 10px 34px; background: var(--cream); color: var(--ink); font: 900 clamp(18px, 2.2vw, 28px)/1 var(--display); letter-spacing: 0.06em; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); animation: flutter 0.8s ease-in-out infinite alternate; transform-origin: right center; }
@keyframes flutter { from { transform: skewY(-2deg) scaleY(0.98); } to { transform: skewY(2deg); } }
.rope { width: 70px; height: 2px; background: rgba(255, 244, 230, 0.8); }
.plane-btn { border: 0; background: none; padding: 0; cursor: pointer; }
.plane { width: clamp(150px, 16vw, 220px); height: auto; aspect-ratio: 2; filter: drop-shadow(0 14px 16px rgba(13, 5, 24, 0.5)); }
.plane .prop { animation: spin 0.07s linear infinite alternate; transform-origin: 214px 57px; }
@keyframes spin { to { transform: scaleY(0.15); } }
.flight.is-loop .plane { animation: loop 1.1s var(--ease); }
@keyframes loop { 0% { transform: rotate(0); } 45% { transform: translateY(-70px) rotate(-200deg); } 100% { transform: rotate(-360deg); } }
.smoke { position: absolute; right: 100%; top: 50%; width: 70vw; height: 30px; translate: 0 -50%; background: linear-gradient(90deg, transparent, rgba(255, 143, 192, 0.55)); filter: blur(12px); }
.flare { position: fixed; z-index: 70; width: 10px; height: 10px; border-radius: 50%; background: var(--pink-hi); box-shadow: 0 0 16px var(--pink); pointer-events: none; }

.hero-copy { position: relative; z-index: 3; padding: 0 0 clamp(70px, 13vh, 130px); display: grid; gap: 22px; justify-items: start; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(25, 211, 197, 0.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(25, 211, 197, 0); } }
.hero h1 { display: grid; gap: 0; }
.h1-line { font-size: clamp(56px, 10.5vw, 150px); line-height: 0.86; color: var(--cream); text-shadow: 0 6px 30px rgba(13, 5, 24, 0.55); }
.h1-neon { font: 400 clamp(76px, 15vw, 210px)/0.8 var(--neon); text-transform: none; color: #ffe3f0; margin: -0.02em 0 0 0.06em; padding-bottom: 0.12em;
  text-shadow: 0 0 6px #fff, 0 0 16px var(--pink), 0 0 40px var(--pink), 0 0 80px var(--pink-deep); rotate: -4deg; transform-origin: left; }
body.is-ready .h1-neon { animation: flicker 1.6s steps(1) both 0.2s; }
.lede { max-width: 52ch; font-size: clamp(17px, 1.7vw, 20px); color: var(--cream); text-shadow: 0 2px 2px rgba(13, 5, 24, 0.9), 0 2px 18px rgba(13, 5, 24, 0.9); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: rgba(11, 4, 20, 0.78); max-width: 100%; }
.ca-label { font: 800 15px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.ca code { font: 600 14px/1.3 ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.scroll-cue { position: absolute; right: 24px; bottom: calc(9vh + 18px); z-index: 3; font: 800 14px/1 var(--display); letter-spacing: 0.3em; text-transform: uppercase; writing-mode: vertical-rl; color: var(--faint); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 50px; margin: 10px auto 0; background: linear-gradient(var(--cream), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: 0.4; } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 4; overflow: hidden; background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); margin: -26px -20px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.ticker-track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker span { padding: 14px 22px; font: 900 24px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 44px; background: var(--pink); transform: rotate(45deg) translateY(-2px); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- section titles: big, left, no labels ---------- */
.sec { padding-block: clamp(80px, 11vw, 150px); }
.title { font-size: clamp(46px, 7vw, 104px); line-height: 0.88; max-width: 14ch; }
.title em { font: 400 1.04em/0.9 var(--neon); text-transform: none; color: var(--pink-hi); text-shadow: 0 0 22px rgba(255, 61, 139, 0.55); }
.sub { margin-top: 18px; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 58ch; }
.fine { font-size: 13.5px; color: var(--faint); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.js .reveal { clip-path: inset(0 0 100% 0); transform: translateY(40px); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { clip-path: inset(-20% -20% -20% -20%); transform: none; }

/* ---------- countdown as a HUD bar ---------- */
.countdown { position: relative; background: #050208; border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 84px) clamp(36px, 5vw, 56px); }
.cd-row { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 10px 40px; }
.cd-row h2 { font-size: clamp(34px, 4.6vw, 64px); color: var(--pink-hi); max-width: 7ch; }
.cd { display: flex; align-items: flex-start; justify-content: flex-end; gap: clamp(6px, 1.4vw, 18px); }
.cd span { display: grid; justify-items: center; }
.cd b { font: 900 clamp(64px, 10vw, 150px)/0.85 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.cd small { font: 800 14px/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.cd i { font: 900 clamp(48px, 7vw, 110px)/0.85 var(--display); font-style: normal; color: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.cd-note { grid-column: 1 / -1; color: var(--faint); font-size: 14px; }

/* ---------- banner studio ---------- */
.sec-studio { background: radial-gradient(70% 80% at 85% 20%, rgba(255, 61, 139, 0.16), transparent 70%), var(--night-2); }
.studio { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.studio-stage { position: relative; background: #000; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); transform: rotate(-1deg); }
.studio-stage canvas { width: 100%; height: auto; }
.studio-controls { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font: 800 15px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 0; margin-bottom: 8px; }
.field input { min-height: 56px; padding: 0 16px; border: 0; border-bottom: 3px solid var(--pink); border-radius: 0; background: rgba(0, 0, 0, 0.35); color: var(--cream); font: 900 26px/1 var(--display); letter-spacing: 0.04em; width: 100%; }
.field input:focus { outline: none; background: rgba(0, 0, 0, 0.55); border-bottom-color: var(--yellow); }
.field small { font-size: 12.5px; color: var(--faint); justify-self: end; }
.swatches { display: flex; gap: 12px; }
.swatches button { width: 46px; height: 46px; border: 0; background: var(--c); cursor: pointer; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color 0.2s; }
.swatches button[aria-pressed="true"] { outline-color: var(--pink); }
.segs { display: flex; flex-wrap: wrap; gap: 6px; }
.segs button { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: 3px; background: transparent; color: var(--cream); font: 800 16px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.segs button[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- game ---------- */
.game { position: relative; margin-top: 40px; background: #000; padding: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.game canvas { width: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; transition: filter 0.6s var(--ease); }
.game.is-wasted canvas { filter: grayscale(1) contrast(1.1) brightness(0.7); }
.game-card { position: absolute; inset: 10px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; background: linear-gradient(180deg, rgba(13, 5, 24, 0.2), rgba(13, 5, 24, 0.78)); }
.game-card[hidden] { display: none; }
.game-title { font: 900 clamp(34px, 5vw, 64px)/0.9 var(--display); text-transform: uppercase; }
.game-line { color: var(--muted); }
.game-line b { color: var(--cash); }
.hud { position: absolute; right: 24px; top: 20px; display: grid; justify-items: end; gap: 2px; pointer-events: none; font: 900 30px/1 var(--display); text-shadow: 0 2px 0 #000; text-transform: uppercase; }
.hud span:first-child { color: var(--cash); }
.hud b { font-variant-numeric: tabular-nums; }
.game-card:not([hidden]) ~ .hud { visibility: hidden; }
.wasted { position: absolute; left: 50%; top: 42%; translate: -50% -50%; margin: 0; font: 900 clamp(64px, 12vw, 160px)/1 var(--display); text-transform: uppercase; color: #d51b2b; letter-spacing: 0.04em;
  text-shadow: 0 4px 0 #000, 0 0 30px rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; }
.game.is-wasted .wasted { animation: wasted 2s var(--ease) forwards; }
@keyframes wasted { 0% { opacity: 0; transform: scale(1.5); } 15% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- wanted level ---------- */
.wanted { margin-top: 44px; display: flex; flex-wrap: wrap; gap: clamp(8px, 2vw, 22px); }
.w-star { display: grid; justify-items: center; gap: 8px; border: 0; background: none; color: var(--faint); cursor: pointer; padding: 6px; font: 800 16px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.w-star svg { width: clamp(64px, 10vw, 120px); height: auto; aspect-ratio: 1; fill: transparent; stroke: rgba(255, 244, 230, 0.55); stroke-width: 2.2; transition: transform 0.4s var(--ease), fill 0.3s; }
.w-star.is-earned svg { fill: var(--cream); stroke: var(--cream); filter: drop-shadow(0 0 14px rgba(255, 244, 230, 0.45)); }
.w-star:not(.is-earned) svg { animation: siren 1.6s steps(1) infinite; }
.w-star:nth-child(3) svg { animation-delay: 0.4s; } .w-star:nth-child(4) svg { animation-delay: 0.8s; } .w-star:nth-child(5) svg { animation-delay: 1.2s; }
@keyframes siren { 0% { stroke: #ff4a5c; } 50% { stroke: #4a7dff; } }
.w-star:hover svg, .w-star[aria-selected="true"] svg { transform: scale(1.12) rotate(-6deg); }
.w-star[aria-selected="true"] { color: var(--cream); }
.wanted-panel { margin-top: 26px; max-width: 640px; padding: 22px 0 0; border-top: 2px solid var(--line); display: grid; gap: 10px; }
.wp-state { font: 800 15px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.wanted-panel h3 { font-size: clamp(34px, 4vw, 52px); }
.wanted-panel p:last-child { color: var(--muted); }
.wanted-panel.is-swap { animation: swap 0.5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(-14px); } }

/* ---------- mission log ---------- */
.missions { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; max-width: 860px; }
.missions label { display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: rgba(0, 0, 0, 0.35); cursor: pointer; transition: background 0.25s; }
.missions label:hover { background: rgba(255, 61, 139, 0.1); }
.missions input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-box { width: 26px; height: 26px; border: 2px solid var(--cream); position: relative; margin-top: 2px; }
.m-box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 14px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s var(--ease); }
.missions input:checked + .m-box { background: var(--cash); border-color: var(--cash); }
.missions input:checked + .m-box::after { transform: rotate(45deg) scale(1); }
.missions input:focus-visible + .m-box { outline: 3px solid var(--yellow); outline-offset: 3px; }
.m-text { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.4; }
.m-text b { color: var(--yellow); font-weight: 700; }
.missions input:checked ~ .m-text { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--pink); }
.missions input:checked ~ .m-text b { color: var(--faint); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- faq ---------- */
.faq { margin-top: 40px; max-width: 900px; border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 900 clamp(22px, 2.6vw, 32px)/1 var(--display); text-transform: uppercase; transition: color 0.2s; }
.faq summary:hover { color: var(--pink-hi); }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; border-right: 3px solid var(--pink); border-bottom: 3px solid var(--pink); transform: rotate(45deg) translateY(-4px); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-4px); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 65ch; }

/* ---------- footer: the end credits ---------- */
.foot { position: relative; background: #050208; overflow: hidden; isolation: isolate; }
.foot-sky { position: relative; height: clamp(180px, 26vw, 360px); }
.foot-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot-sky::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, #050208); }
.foot-flight { position: absolute; top: 18%; left: 0; display: flex; align-items: center; gap: 0; animation: foot-fly 22s linear infinite; will-change: transform; }
.foot-plane { width: clamp(90px, 11vw, 150px); height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.foot-banner { order: -1; margin-right: -6px; padding: 6px 16px 6px 12px; background: var(--cream); color: var(--ink); font: 900 clamp(14px, 1.6vw, 20px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); }
@keyframes foot-fly { from { transform: translateX(-60vw) translateY(10px); } 50% { transform: translateX(45vw) translateY(-8px); } to { transform: translateX(130vw) translateY(10px); } }
.foot-body { position: relative; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-neon { font: 400 clamp(96px, 22vw, 320px)/0.9 var(--neon); color: #ffe3f0; text-shadow: 0 0 10px var(--pink), 0 0 40px var(--pink), 0 0 90px var(--pink-deep); margin: -0.35em 0 0 -0.04em; padding-bottom: 0.16em; animation: foot-flicker 7s steps(1) infinite; }
@keyframes foot-flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: 0.55; } 94% { opacity: 1; } 96% { opacity: 0.7; } }
.foot-tag { margin: 0 0 clamp(32px, 5vw, 56px); max-width: 46ch; font: 800 clamp(18px, 2vw, 24px)/1.25 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 40px) 0; border-block: 1px solid var(--line); }
.foot-col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.foot-col h3 { margin: 0 0 10px; font: 400 clamp(30px, 3vw, 38px)/1 var(--neon); text-transform: none; color: var(--pink); text-shadow: 0 0 14px rgba(255, 61, 139, 0.5); }
.foot-col > a { display: flex; align-items: center; min-height: 40px; color: var(--cream); text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s, transform 0.25s var(--ease); }
.foot-col > a:hover, .foot-col > a:focus-visible { color: var(--yellow); transform: translateX(6px); }
.foot-facts { margin: 0; display: grid; gap: 0; }
.foot-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 244, 230, 0.14); }
.foot-facts dt { color: var(--faint); font: 800 14px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.foot-facts dd { margin: 0; text-align: right; font: 900 18px/1.2 var(--display); text-transform: uppercase; color: var(--cash); }
.foot-credit { margin: 0; padding: 8px 0; display: grid; gap: 2px; font: 900 22px/1.1 var(--display); text-transform: uppercase; }
.foot-credit span { font: 800 13px/1 var(--display); letter-spacing: 0.16em; color: var(--faint); }
.foot-col .socials { margin-top: 14px; }
.foot-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-top: 28px; }
.foot .legal { margin: 0; max-width: 92ch; font-size: 13px; line-height: 1.55; color: var(--faint); }
.foot-top { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--cream); color: var(--cream); text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.foot-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.foot-top:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 920px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-cols > nav { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .foot-cols > nav h3 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot-bottom { grid-template-columns: minmax(0, 1fr); }
  .foot-top { justify-content: center; }
  .foot-neon { margin-top: -0.25em; }
}
@media (prefers-reduced-motion: reduce) {
  .foot-flight { animation: none; transform: translateX(30vw); }
  .foot-neon { animation: none; }
}

/* ---------- overlays ---------- */
.mission { position: fixed; left: 0; right: 0; top: 34%; z-index: 120; display: grid; justify-items: center; gap: 6px; padding: 18px 16px 22px; text-align: center; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.78) 22%, rgba(0, 0, 0, 0.78) 78%, transparent); opacity: 0; visibility: hidden; }
.mission.is-in { visibility: visible; animation: mission 2.8s var(--ease) forwards; }
.mission-head { font: 900 clamp(46px, 7vw, 88px)/1 var(--display); text-transform: uppercase; color: var(--gold); letter-spacing: 0.02em; text-shadow: 0 3px 0 #000; }
.mission-sub { font: 800 clamp(18px, 2vw, 24px)/1.1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
.mission.is-in .mission-head { animation: track 2.8s var(--ease) forwards; }
@keyframes mission { 0% { opacity: 0; } 10%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes track { from { letter-spacing: 0.3em; filter: blur(6px); } 25% { letter-spacing: 0.02em; filter: blur(0); } }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 110; translate: -50% 160%; padding: 14px 20px; background: var(--cream); color: var(--ink); font: 800 17px/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  transition: translate 0.35s var(--ease), visibility 0s linear 0.35s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.is-in { translate: -50% 0; visibility: visible; transition-delay: 0s; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 8px; font-size: 16px; }
  .studio { grid-template-columns: minmax(0, 1fr); }
  .cd-row { grid-template-columns: minmax(0, 1fr); }
  .cd { justify-content: flex-start; }
}
@media (max-width: 920px) {
  .menu { display: inline-block; }
  .hud-cash { margin-left: auto; }
  .nav { position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 16px 18px; margin: 0; background: #0d0518; border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s var(--ease), visibility 0s linear 0.45s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav a { padding: 16px 4px; font-size: 30px; border-bottom: 1px solid var(--line); color: var(--cream); }
  .nav a::after { display: none; }
}
@media (max-width: 600px) {
  .top-row { gap: 10px; }
  .btn-buy { display: none; }
  .brand-coin { display: none; }
  .cta .btn, .buy-row .btn { width: 100%; }
  .flight { top: calc(9vh + 8px); }
  .rope { width: 34px; }
  .banner { padding: 8px 16px 8px 24px; }
  .scroll-cue { display: none; }
  .letterbox { height: 4vh; }
  .flight { top: calc(4vh + 6px); }
  .lede { font-size: 16px; }
  .cd b { font-size: 17vw; }
  .cd i { font-size: 12vw; }
  .cd small { letter-spacing: 0.12em; font-size: 12px; }
  .hud { font-size: 22px; right: 18px; top: 16px; }
  .studio-stage { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .flight { animation: none; transform: translateX(8vw); }
  .grain { display: none; }
}

/* ---------- the GTA 6 Countdown post ---------- */
.intel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.intel-meta { margin-top: 18px; font: 800 16px/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.intel-meta b { color: var(--pink); font-size: 22px; }
.tweet { margin: 0; position: relative; min-width: 0; }
.tweet-card { margin: 0; padding: 22px 22px 18px; background: #12081f; border: 2px solid rgba(255, 244, 230, 0.14); border-left: 6px solid var(--pink); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); transform: rotate(0.8deg); }
.tweet-card p { margin: 0 0 12px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; color: var(--cream); }
.tweet-card p:first-of-type { font: 900 clamp(26px, 3vw, 34px)/1.05 var(--display); text-transform: uppercase; }
.tweet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tweet-avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink), #ff8a3d); color: #fff; font: 900 24px/1 var(--display); }
.tweet-who { display: grid; gap: 2px; min-width: 0; }
.tweet-who b { font-weight: 700; font-size: 16px; }
.tweet-who small { color: var(--faint); font-size: 14px; }
.tweet-x { width: 22px; height: 22px; margin-left: auto; fill: var(--cream); }
.tweet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 244, 230, 0.12); }
.tweet-foot time { color: var(--faint); font-size: 14px; }
.tweet-open { min-height: 44px; font-size: 15px; }
.tweet-embed { display: flex; justify-content: center; min-width: 0; }
.tweet-embed .twitter-tweet { margin: 0 auto !important; }
.tweet.has-embed .tweet-card { display: none; }
.tweet-embed.is-loading { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
@media (max-width: 920px) {
  .intel { grid-template-columns: minmax(0, 1fr); }
  .tweet-card { transform: none; }
}
@media (max-width: 600px) {
  .tweet-card { padding: 18px 16px 14px; }
  .tweet-foot .btn { width: 100%; }
}
.tweet-embed iframe { color-scheme: normal; border-radius: 14px; }


/* ---------- touch: fast taps never zoom the page ---------- */
html { touch-action: manipulation; }
button, a, [role="tab"], [role="button"], .phone, .phone * { -webkit-tap-highlight-color: transparent; }
button, [role="tab"], .phone button { -webkit-user-select: none; user-select: none; }

/* ---------- wanted stars: all five in one row on phones ---------- */
@media (max-width: 600px) {
  .wanted { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .w-star { padding: 4px 0; gap: 6px; font-size: 11px; letter-spacing: 0.04em; min-width: 0; text-align: center; line-height: 1.1; }
  .w-star svg { width: 100%; max-width: 64px; }
  .w-star span { overflow-wrap: anywhere; }
}

/* ---------- mobile fixes from the audit ---------- */
.plane-btn { flex: none; }
.flight { width: max-content; }
.hud-cash { min-height: 44px; align-items: center; padding: 0 4px; }
.intro-neon { padding-bottom: 0.18em; }
@media (max-width: 920px) {
  .nav { max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 920px) and (max-height: 500px) {
  .nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .nav a { padding: 10px 4px; font-size: 22px; }
}
@media (max-width: 600px) {
  .sec-tweet { padding-top: 56px; }
  .cd small { font-size: 13px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .scroll-cue { display: none; }
}
