/* ============================================================
   $ZUCKASAURUS — styles
   Palette and type pulled straight from the brand art:
   deep navy night sky, sky-blue headlines with ink outline,
   rounded heavy Nunito everywhere.
   ============================================================ */

:root {
  --navy-950: #061231;
  --navy-900: #0A1C46;
  --navy-800: #0E2A63;
  --navy-700: #15397F;
  --sky: #6EC3FF;
  --sky-soft: #9FD6FF;
  --dino: #3B93EC;
  --dino-light: #5DAEF6;
  --dino-dark: #2F7FD0;
  --ink: #0A1A3D;
  --white: #FFFFFF;
  --muted: #A9B8D6;
  --red: #F45B6C;
  --orange: #F7A043;

  --font: "Nunito", "Arial Rounded MT Bold", "Varela Round", ui-rounded, system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 72px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
  background: var(--navy-900);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
strong { color: var(--sky); font-weight: 900; }
.sky { color: var(--sky); }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Type ---------- */
.display, .display-2, .title {
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0;
  paint-order: stroke fill;
  -webkit-text-stroke: .09em var(--ink);
}
.display { font-size: clamp(2.2rem, 5.6vw, 5.4rem); }
.display .line { display: block; overflow: hidden; padding: .06em .08em .04em; margin: -.06em -.08em -.04em; }
.display .line > span { display: inline-block; }
.display-2 { font-size: clamp(2.6rem, 7vw, 6rem); }
.display-2 > span { display: block; }
.title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  color: var(--sky-soft);
  margin: .6em 0 1.4em;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 34em;
  margin: 1.6rem 0 2rem;
}
.lede, .about-copy p:not(.subtitle) { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white);
  --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--bg);
  color: var(--fg);
  font-weight: 900;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn-sky { --bg: var(--sky); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: var(--sky); box-shadow: 0 6px 0 rgba(110,195,255,.25); }
.btn-ghost:hover { --bg: rgba(110,195,255,.12); box-shadow: 0 9px 0 rgba(110,195,255,.25); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; box-shadow: 0 4px 0 var(--ink); }
.btn-sm:hover { box-shadow: 0 6px 0 var(--ink); }
.btn-lg { font-size: 1.15rem; padding: 1.05em 1.9em; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  pointer-events: none;
}
.progress span {
  display: block; height: 100%;
  background: var(--sky);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(20px, calc((100% - 1160px) / 2)) 0;
  display: flex; align-items: center; gap: 28px;
  transition: background .35s, box-shadow .35s, height .35s;
}
.nav.scrolled {
  background: rgba(8, 22, 58, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(110,195,255,.18);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.brand-dino { width: 38px; height: 42px; display: inline-block; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 800; color: var(--muted);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.burger { display: none; }

/* ---------- Stars ---------- */
.stars {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.stars i {
  position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: #CFE4FF; opacity: .6;
  animation: twinkle var(--t, 3s) ease-in-out infinite var(--dl, 0s);
}
@keyframes twinkle { 50% { opacity: .1; transform: scale(.6); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 20px;
  padding: calc(var(--nav-h) + 30px) max(20px, calc((100% - 1160px) / 2)) 80px;
  background:
    radial-gradient(60% 60% at 70% 55%, rgba(59,147,236,.35), transparent 70%),
    radial-gradient(80% 70% at 50% 40%, var(--navy-700), var(--navy-900) 70%);
  overflow: hidden;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; }

/* Page-load sequence */
.display .line > span { transform: translateY(110%); animation: rise 1s var(--ease-out) forwards; }
.display .line:nth-child(2) > span { animation-delay: .12s; }
.display .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease-out) forwards var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ca {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 100%;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(10, 26, 61, .65);
  border: 2px solid rgba(110,195,255,.35);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ca:hover { border-color: var(--sky); background: rgba(10,26,61,.85); }
.ca-label { background: var(--sky); color: var(--ink); font-weight: 900; font-size: .8rem; border-radius: 8px; padding: 4px 8px; }
.ca-value { font-weight: 800; color: var(--sky-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-icon { color: var(--sky); display: grid; place-items: center; }

.hero-stage {
  position: relative; z-index: 1;
  aspect-ratio: 1 / 1.02;
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.hero-dino {
  position: absolute; left: 50%; bottom: 14%;
  width: 66%;
  translate: -50% 0;
  opacity: 0;
  animation: dinoDrop 1.2s var(--ease-spring) .35s forwards;
}
.hero-dino svg { animation: bob 4.2s ease-in-out 1.6s infinite; transform-origin: 50% 100%; overflow: visible; }
@keyframes dinoDrop {
  0% { opacity: 0; transform: translateY(-60px) scale(.85); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.2deg); } }

.planet {
  position: absolute; top: 2%; left: 0; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #5BC98A 0 11%, transparent 12%),
    radial-gradient(circle at 30% 62%, #5BC98A 0 8%, transparent 9%),
    radial-gradient(circle at 72% 64%, #2A6CC4 0 52%, #3B8BE8 53%);
  box-shadow: inset -14px -10px 0 rgba(10,26,61,.25);
  opacity: 0; animation: pop .8s var(--ease-spring) 1s forwards;
}

.coin {
  position: absolute;
  display: grid; place-items: center;
  width: 92px; aspect-ratio: 1; border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-weight: 900; font-size: .95rem;
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 7px var(--ink), 0 8px 20px rgba(0,0,0,.25);
}
.hero .coin { opacity: 0; animation: pop .7s var(--ease-spring) forwards, spinY 6s ease-in-out infinite; }
.coin-a { top: 34%; right: 0%; animation-delay: 1.1s, 1.8s !important; }
.coin-b { top: 46%; left: -2%; width: 74px; font-size: .8rem; animation-delay: 1.25s, 2.2s !important; }
.coin-c { top: 2%; right: 46%; width: 60px; font-size: .68rem; animation-delay: 1.4s, 2.6s !important; }
@keyframes pop { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes spinY { 0%, 70%, 100% { transform: rotateY(0) translateY(0); } 85% { transform: rotateY(180deg) translateY(-6px); } }

.coin-stack {
  position: absolute; left: 50%; bottom: 2%; translate: -50% 0;
  display: flex; width: 86%;
}
.coin-stack span {
  flex: 1; aspect-ratio: 1; margin-left: -4%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white); color: var(--ink); font-weight: 900; font-size: clamp(.7rem, 1.4vw, 1rem);
  border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 7px var(--ink);
  opacity: 0;
  animation: stackIn .6s var(--ease-spring) forwards;
}
.coin-stack span:first-child { margin-left: 0; }
.coin-stack span:nth-child(1) { animation-delay: .9s; }
.coin-stack span:nth-child(2) { animation-delay: 1s; translate: 0 12%; }
.coin-stack span:nth-child(3) { animation-delay: 1.1s; }
.coin-stack span:nth-child(4) { animation-delay: 1.2s; translate: 0 6%; }
@keyframes stackIn { from { opacity: 0; transform: translateY(40px) rotate(-20deg); } to { opacity: 1; transform: none; } }

.bubble {
  position: absolute;
  background: var(--white); color: var(--ink);
  font-weight: 900; font-size: clamp(1rem, 2vw, 1.5rem);
  padding: .45em .9em;
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  white-space: nowrap;
}
.bubble-roar {
  top: 10%; right: 14%;
  opacity: 0; transform-origin: 0% 100%;
  animation: bubbleIn .6s var(--ease-spring) 1.7s forwards;
}
.bubble-roar::after {
  content: ""; position: absolute; left: 22%; bottom: -14px;
  border: 10px solid transparent; border-top: 14px solid var(--white);
  border-bottom: 0; filter: drop-shadow(0 3px 0 var(--ink));
}
@keyframes bubbleIn { from { opacity: 0; transform: scale(.4) rotate(-8deg); } to { opacity: 1; transform: rotate(-3deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 28px; height: 44px; border: 3px solid var(--sky); border-radius: 20px;
  opacity: 0; animation: fadeUp .8s 1.8s forwards;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 5px; height: 9px; margin-left: -2.5px;
  border-radius: 4px; background: var(--sky);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Dino SVG parts */
.dino-svg { width: 100%; height: auto; overflow: visible; }
.dino-svg .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.dino-svg .pupils { transition: transform .25s var(--ease-out); }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
.dino-svg .arm { transform-box: fill-box; transform-origin: 0% 100%; }
.hero-dino .arm, .moon-dino .arm { animation: wave 2.4s ease-in-out infinite 2s; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 80% { transform: rotate(6deg); } 90% { transform: rotate(-10deg); } }
.dino-svg .tail { transform-box: fill-box; transform-origin: 100% 50%; animation: tail 3s ease-in-out infinite; }
@keyframes tail { 50% { transform: rotate(-6deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--sky);
  color: var(--ink);
  border-block: 4px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.6deg);
  margin: -26px -10px 0;
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 16px 0;
  font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  animation: marquee 32s linear infinite;
}
.marquee-track i { font-style: normal; color: var(--white); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.about { background: linear-gradient(var(--navy-900), var(--navy-800)); }
.how { background: var(--navy-800); }
.species { background: radial-gradient(70% 60% at 50% 40%, var(--navy-700), var(--navy-900)); }
.buy { background: linear-gradient(var(--navy-900), var(--navy-800)); }
.dna { background: var(--navy-800); }
.memes { background: linear-gradient(var(--navy-800), var(--navy-900)); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    transform .9s var(--ease-out) var(--d, 0s),
    filter .9s var(--ease-out) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-copy p:not(.subtitle) { color: var(--muted); font-size: 1.12rem; max-width: 32em; }
.pair-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.pill {
  padding: .7em 1.3em; border-radius: 999px; font-weight: 900;
  border: 3px solid var(--ink); color: var(--ink);
}
.pill-sky { background: var(--sky); }
.pill-white { background: var(--white); }
.pair-x { font-weight: 900; font-size: 1.6rem; color: var(--sky); }

.chart-card {
  position: relative;
  border-radius: 34px;
  background: radial-gradient(90% 80% at 60% 30%, var(--navy-700), var(--navy-950));
  border: 3px solid rgba(110,195,255,.35);
  padding: 24px 24px 0;
  overflow: hidden;
  aspect-ratio: 1 / .92;
}
.candles { width: 100%; height: auto; }
.candles .c {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleY(0); opacity: 0;
  transition: transform .6s var(--ease-spring), opacity .3s;
}
.chart-card.in .candles .c { transform: scaleY(1); opacity: 1; }
.chart-dino {
  position: absolute; width: 36%; left: 8%; bottom: -4%;
  transform: translateY(40%); transition: transform 1s var(--ease-spring) .9s;
}
.chart-card.in .chart-dino { transform: none; }
.coin-chart { right: 10%; bottom: 14%; width: 76px; font-size: .8rem; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(6deg); } }

/* How it works */
.steps {
  list-style: none; padding: 0; margin: 50px auto 0;
  display: grid; gap: 18px; max-width: 760px;
}
.step {
  display: flex; align-items: center; gap: 22px;
  padding: 22px 26px;
  border-radius: 24px;
  border: 3px solid var(--sky);
  background: rgba(6, 18, 49, .55);
  box-shadow: 0 0 0 0 rgba(110,195,255,0);
  transition: box-shadow .35s, translate .35s var(--ease-out), opacity .9s var(--ease-out) var(--d,0s), transform .9s var(--ease-out) var(--d,0s), filter .9s var(--ease-out) var(--d,0s);
}
.step.in:hover { translate: 8px 0; box-shadow: 0 0 34px rgba(110,195,255,.28); }
.step-num {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky); color: var(--white);
  font-size: 2rem; font-weight: 900;
  border: 4px solid var(--white);
  -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
}
.step h3 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 900; color: var(--white); line-height: 1.1; }
.step:nth-child(n+2) h3 { color: var(--sky-soft); }
.step p { margin: .25em 0 0; color: var(--muted); }

/* Species */
.species-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  margin: 56px auto 0; max-width: 900px;
}
.species-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 26px 30px;
  border-radius: 28px;
  cursor: pointer;
  transition: translate .4s var(--ease-out), border-color .3s, box-shadow .4s, opacity .9s var(--ease-out) var(--d,0s), transform .9s var(--ease-out) var(--d,0s), filter .9s var(--ease-out) var(--d,0s);
}
.species-card h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 900; margin: 0 0 18px; line-height: 1.05; align-self: flex-start; text-align: left; }
.species-card p { font-weight: 800; margin: 18px 0 16px; }
.paper { background: var(--navy-950); border: 3px solid #2B3A63; color: var(--muted); }
.paper h3 { color: #B9C3D8; }
.diamond { background: var(--navy-800); border: 3px solid var(--sky); }
.diamond h3 { color: var(--sky); }
.paper-face { width: 52%; transition: transform .6s var(--ease-out), opacity .6s; }
.species-dino { width: 52%; }
.status {
  padding: .55em 1.2em; border-radius: 999px; font-weight: 900; color: var(--ink);
}
.status-red { background: var(--red); }
.status-sky { background: var(--sky); }
.species-card.in:hover { translate: 0 -8px; }
.diamond.in:hover, .diamond[aria-pressed="true"] { box-shadow: 0 0 60px rgba(110,195,255,.35); }
.paper[aria-pressed="true"] .paper-face { animation: crumple .9s var(--ease-out) forwards; }
@keyframes crumple {
  30% { transform: rotate(-12deg) scale(.9); }
  60% { transform: rotate(10deg) scale(.7); }
  100% { transform: translateY(40px) rotate(180deg) scale(.25); opacity: 0; }
}
.diamond[aria-pressed="true"] .species-dino svg { animation: hop .6s var(--ease-spring) 2; }
@keyframes hop { 50% { transform: translateY(-22px); } }
.species-card[aria-pressed="false"].dim { opacity: .45 !important; }
.species-verdict { text-align: center; font-weight: 900; font-size: 1.25rem; min-height: 1.6em; margin-top: 28px; color: var(--sky-soft); }

/* Meteor (scroll-driven) */
.meteor-scene { position: relative; height: 220vh; background: radial-gradient(70% 50% at 50% 50%, var(--navy-700), var(--navy-950)); }
.meteor-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 10px) 20px 40px;
}
.meteor-stage { position: relative; width: min(440px, 76vw); aspect-ratio: 1; margin: 10px 0; }
.meteor-dino { position: absolute; inset: 8% 14% 0; }
.meteor-dino svg { transform-origin: 50% 100%; }
.meteor-dino.hit svg { animation: wobble .7s var(--ease-out); }
@keyframes wobble { 20% { transform: rotate(-6deg) scaleY(.94); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } }
.meteor {
  position: absolute; left: 50%; top: 50%;
  width: 110px; height: 110px;
  will-change: transform;
  transform: translate(var(--mx, 300%), var(--my, -320%)) rotate(var(--mr, 0deg));
}
.meteor svg { position: relative; z-index: 1; }
.meteor .trail {
  position: absolute; left: 70%; bottom: 70%; width: 90%; height: 90%;
  transition: opacity .2s;
}
.meteor.after .trail { opacity: 0; }
.bubble-bonk {
  top: 6%; right: -4%; transform: scale(0) rotate(-8deg); transition: transform .45s var(--ease-spring);
}
.bubble-bonk.show { transform: scale(1) rotate(-6deg); }
.meteor-caption {
  font-weight: 900; text-align: center; margin: 0;
  font-size: clamp(1.3rem, 3vw, 2.1rem); line-height: 1.2;
}

/* Buy */
.buy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.dip-dino { position: relative; width: clamp(150px, 20vw, 220px); flex: none; }
.bubble-nom { position: absolute; top: -18%; left: -55%; font-size: 1.05rem; transform: rotate(-4deg); }
.buy-steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: none;
}
.buy-step {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: rgba(6, 18, 49, .6);
  border: 2px solid rgba(110,195,255,.28);
}
.buy-step:last-child { border-color: var(--sky); background: rgba(21, 57, 127, .5); }
.buy-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--white); color: var(--ink); font-weight: 900; font-size: 1.3rem;
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  margin-bottom: 18px;
}
.buy-step:last-child .buy-num { background: var(--sky); }
.buy-step h3 { margin: 0 0 .4em; font-size: 1.2rem; font-weight: 900; line-height: 1.2; }
.buy-step p { color: var(--muted); font-size: .98rem; margin: 0; }
.mini-ca {
  margin-top: 14px; background: none; border: 2px solid var(--sky); color: var(--sky);
  border-radius: 999px; padding: .4em .9em; font-weight: 800; cursor: pointer; font-size: .88rem;
}
.mini-ca:hover { background: rgba(110,195,255,.12); }
.buy-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 48px; }

/* DNA */
.dna-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 48px 0 0;
}
.dna-item {
  margin: 0; padding: 26px 24px;
  border-radius: 22px;
  background: var(--navy-900);
  border: 2px solid rgba(110,195,255,.2);
  transition: border-color .3s, opacity .9s var(--ease-out) var(--d,0s), transform .9s var(--ease-out) var(--d,0s), filter .9s var(--ease-out) var(--d,0s);
}
.dna-item:hover { border-color: var(--sky); }
.dna-item dt { color: var(--muted); font-weight: 800; font-size: .95rem; }
.dna-item dd { margin: 4px 0 0; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 900; overflow-wrap: anywhere; line-height: 1.15; }
.dna-links { display: flex; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Memes */
.meme-grid {
  margin-top: 46px;
  columns: 3 260px;
  column-gap: 18px;
}
.meme {
  break-inside: avoid;
  display: block; width: 100%;
  margin: 0 0 18px; padding: 0;
  border: 3px solid rgba(110,195,255,.25);
  border-radius: 22px; overflow: hidden;
  background: var(--navy-950);
  cursor: zoom-in;
  transition: border-color .3s, box-shadow .4s, opacity .9s var(--ease-out) var(--d,0s), transform .9s var(--ease-out) var(--d,0s), filter .9s var(--ease-out) var(--d,0s);
}
.meme img { width: 100%; height: auto; transition: transform .7s var(--ease-out); }
.meme:hover { border-color: var(--sky); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.meme:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent;
  width: min(92vw, 820px); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(4, 10, 28, .88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .4s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 20px; border: 3px solid var(--sky); background: var(--navy-950); }
.lb-close, .lb-nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  font-size: 1.8rem; line-height: 1; font-weight: 900; cursor: pointer;
  display: grid; place-items: center;
}
.lb-close { top: -18px; right: -14px; }
.lb-nav { top: calc(50% - 44px); }
.lb-prev { left: -22px; }
.lb-next { right: -22px; }
.lb-dl { margin: 18px auto 0; display: flex; width: max-content; }

/* Moon */
.moon-scene {
  position: relative; overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 20px 0;
  background: radial-gradient(70% 60% at 50% 30%, var(--navy-700), var(--navy-900));
  text-align: center;
}
.moon-stage { position: relative; height: clamp(340px, 46vw, 540px); margin-top: clamp(50px, 7vw, 90px); }
.moon-dino {
  position: absolute; left: 50%; bottom: 64%;
  width: clamp(200px, 26vw, 300px);
  translate: -42% 0;
  z-index: 2;
}
.moon-scene.in .moon-dino { animation: land 1.2s var(--ease-spring) both; }
@keyframes land { from { transform: translateY(-160px); opacity: 0; } to { transform: none; opacity: 1; } }
.moon-surface {
  position: absolute; left: 50%; top: 34%;
  width: max(160%, 900px); aspect-ratio: 2.2; translate: -50% 0;
  border-radius: 50%;
  background: #EAF3FF;
  box-shadow: inset 0 22px 0 #fff;
}
.moon-surface i { position: absolute; border-radius: 50%; background: #C8D8EE; }
.moon-surface i:nth-child(1) { width: 7%; height: 5%; left: 34%; top: 9%; }
.moon-surface i:nth-child(2) { width: 5%; height: 3.6%; left: 61%; top: 10%; }
.moon-surface i:nth-child(3) { width: 9%; height: 6%; left: 46%; top: 22%; }
.moon-pill {
  position: relative; z-index: 3;
  display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center;
  padding: 18px 34px;
  margin: -110px auto 70px;
  border-radius: 999px;
  background: var(--ink); font-weight: 900; font-size: clamp(1.05rem, 2.4vw, 1.6rem);
}
.moon-pill b { color: var(--muted); }

/* Footer */
.footer { background: var(--ink); padding: 50px 0 40px; border-top: 3px solid var(--navy-700); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 22px 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.2rem; }
.socials { display: flex; gap: 10px; }
.social {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); color: var(--sky);
  transition: background .2s, color .2s, transform .2s var(--ease-spring);
}
.social:hover { background: var(--sky); color: var(--ink); transform: translateY(-3px); }
.disclaimer { grid-column: 1 / -1; color: #7D8DB0; font-size: .9rem; font-weight: 600; max-width: 62em; margin: 6px 0 0; }
.copyright { grid-column: 1 / -1; color: #5D6E94; font-size: .85rem; margin: 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  z-index: 80;
  background: var(--sky); color: var(--ink); font-weight: 900;
  padding: 12px 20px; border-radius: 999px;
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  transform: translateY(140%); opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .3s;
  pointer-events: none;
}
.toast.show { transform: none; opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 90px; }
  .hero-copy { order: 2; }
  .hero-stage { order: 1; max-width: 420px; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .buy-steps { grid-template-columns: 1fr 1fr; }
  .dna-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav { gap: 12px; }
  .nav .btn-sm { margin-left: auto; }
  .burger {
    display: grid; gap: 6px; place-content: center;
    width: 46px; height: 46px; border-radius: 14px;
    background: rgba(110,195,255,.12); border: 2px solid rgba(110,195,255,.4); cursor: pointer;
  }
  .burger span { width: 20px; height: 3px; border-radius: 3px; background: var(--white); transition: transform .3s var(--ease-out); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav-links {
    position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px);
    flex-direction: column; gap: 4px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(8, 22, 58, .97);
    border: 2px solid rgba(110,195,255,.3);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease-out);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 1.1rem; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(110,195,255,.1); }
  .brand-name { display: none; }

  .species-grid { grid-template-columns: 1fr; max-width: 420px; }
  .buy-head { flex-direction: column; align-items: flex-start; }
  .dip-dino { align-self: flex-end; margin-top: 10px; }
  .buy-steps { grid-template-columns: 1fr; }
  .step { padding: 18px; gap: 16px; }
  .step-num { width: 52px; height: 52px; font-size: 1.6rem; }
  .coin { width: 70px; font-size: .75rem; }
  .coin-b { width: 58px; font-size: .64rem; }
  .coin-c { width: 48px; font-size: .55rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; } .lb-close { right: 4px; }
  .moon-pill { margin-top: -80px; padding: 14px 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .meteor-scene { height: auto; }
  .meteor-sticky { position: relative; height: auto; padding-block: 100px; }
}
