:root {
  --ink: #f7fbff;
  --muted: #a8b8db;
  --night: #030b24;
  --navy: #071a4d;
  --blue: #144ca0;
  --sky: #76ceff;
  --red: #ef3046;
  --yellow: #ffd447;
  --line: rgba(168, 211, 255, .24);
  --panel: rgba(7, 23, 66, .78);
  --radius: 28px;
  --display: "Arial Black", "Trebuchet MS", sans-serif;
  --body: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 10%, rgba(28, 83, 176, .3), transparent 28rem),
    linear-gradient(180deg, #061842, #030a21 50%, #071942);
  font-family: var(--body);
  min-width: 320px;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #031039; background: var(--sky); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  transform: translateY(-180%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
}
.skip-link:focus { transform: translateY(0); }

.cursor-glow {
  position: fixed;
  z-index: 3;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(86, 188, 255, .15), transparent 65%);
  mix-blend-mode: screen;
  transition: width .3s ease;
}
.star-field, .star-field::before, .star-field::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 10% 20%, white 0 1px, transparent 2px),
    radial-gradient(circle at 73% 13%, #76ceff 0 1px, transparent 2px),
    radial-gradient(circle at 38% 82%, white 0 1px, transparent 2px),
    radial-gradient(circle at 88% 65%, #ffd447 0 1px, transparent 2px);
  background-size: 240px 260px, 310px 210px, 370px 330px, 280px 350px;
  opacity: .45;
}
.star-field::before { transform: scale(1.3) rotate(7deg); opacity: .25; }
.star-field::after { transform: scale(.8) rotate(-4deg); opacity: .18; }

.topbar {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 30px));
  min-height: 66px;
  padding: 9px 10px 9px 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(170, 218, 255, .28);
  border-radius: 20px;
  background: rgba(4, 14, 43, .72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  width: 44px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 14px 14px 18px 18px;
  background: var(--red);
  box-shadow: 0 4px 0 #8e122a;
  font: 900 .86rem/1 var(--display);
  transform: rotate(-4deg);
}
.brand-copy { font: 900 .78rem/1 var(--display); letter-spacing: .07em; }
.brand-copy small { display: block; margin-top: 5px; color: var(--sky); font-size: .55rem; letter-spacing: .15em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a:not(.button) { padding: 13px 12px; color: #c6d4ee; font-size: .88rem; font-weight: 800; }
.nav-links > a:not(.button):hover { color: #fff; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  font: 900 .76rem/1 var(--display);
  letter-spacing: .07em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-buy {
  border-color: #ff6372;
  background: var(--red);
  box-shadow: 0 5px 0 #99152a, 0 12px 28px rgba(239, 48, 70, .28);
}
.button-buy:hover { box-shadow: 0 7px 0 #99152a, 0 16px 34px rgba(239, 48, 70, .38); }
.button-ghost { background: rgba(255,255,255,.06); }
.button-large { min-height: 56px; padding: 0 25px; border-radius: 18px; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, .9fr) minmax(420px, .75fr);
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
  padding: 130px max(5vw, calc((100vw - 1180px) / 2)) 85px;
  isolation: isolate;
  overflow: hidden;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 35%;
  content: "";
  background: linear-gradient(transparent, #06143b);
}
.hero-world {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(3, 10, 34, .68) 0%, rgba(3, 10, 34, .15) 48%, rgba(3, 10, 34, .45)), url("world-background.png");
  background-position: center;
  background-size: cover;
  animation: world-breathe 14s ease-in-out infinite alternate;
}
.hero-world::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 70% 48%, transparent 0 24%, rgba(4, 12, 42, .26) 55%, rgba(2, 8, 28, .75));
}
@keyframes world-breathe { to { transform: scale(1.045); filter: saturate(1.12) brightness(1.05); } }
.hero-copy { position: relative; z-index: 3; max-width: 690px; }
.eyebrow { margin: 0 0 18px; color: #b4dfff; font-size: .76rem; font-weight: 900; letter-spacing: .18em; }
.signal-dot {
  display: inline-block;
  width: 9px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(239, 48, 70, .14), 0 0 20px var(--red);
  animation: blink 1.4s ease infinite;
}
@keyframes blink { 50% { opacity: .4; transform: scale(.7); } }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 900; line-height: .78; letter-spacing: -.085em; }
.hero h1 span { display: block; }
.hero h1 span:first-child {
  width: max-content;
  margin-left: 8px;
  color: var(--sky);
  font-size: clamp(3rem, 7.8vw, 7rem);
  text-shadow: 0 5px 0 #123777, 0 14px 35px rgba(0,0,0,.4);
  transform: rotate(-3deg);
}
.hero h1 span:last-child {
  margin-top: 10px;
  color: #fff;
  font-size: clamp(3.7rem, 8.9vw, 8.7rem);
  text-shadow: 0 7px 0 #183d84, 0 16px 40px rgba(0,0,0,.5);
}
.hero-intro { max-width: 540px; margin: 30px 0; color: #d8e7ff; font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-signal { min-height: 56px; background: rgba(5, 23, 67, .7); backdrop-filter: blur(9px); }
.button-signal span { margin-right: 8px; color: var(--sky); text-shadow: 0 0 12px var(--sky); }
.secret-note { margin: 22px 0 0 5px; color: #9dafd2; font-size: .76rem; letter-spacing: .08em; }
kbd { display: inline-grid; min-width: 22px; height: 22px; margin: 0 2px; place-items: center; border: 1px solid #7299cd; border-bottom-width: 3px; border-radius: 6px; background: #0d2d66; color: #fff; font: 700 .66rem/1 monospace; }

.hero-character { position: relative; z-index: 2; width: min(42vw, 570px); justify-self: end; perspective: 1000px; }
.character-frame {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(174, 223, 255, .65);
  border-radius: 46% 46% 32px 32px;
  background: linear-gradient(145deg, rgba(115, 204, 255, .32), rgba(255,255,255,.06));
  box-shadow: 0 35px 80px rgba(0,0,0,.45), inset 0 0 35px rgba(126,206,255,.18);
  backdrop-filter: blur(10px);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform .25s ease;
}
.character-frame img { width: 100%; aspect-ratio: 1; border-radius: calc(46% - 8px) calc(46% - 8px) 24px 24px; object-fit: cover; }
.character-frame figcaption {
  position: absolute;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  background: rgba(4, 15, 46, .75);
  font: 900 .68rem/1 var(--display);
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}
.character-frame figcaption span { color: var(--sky); }
.orbit { position: absolute; z-index: 1; inset: -8%; border: 1px solid rgba(123, 211, 255, .3); border-radius: 50%; animation: spin 20s linear infinite; }
.orbit span { position: absolute; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #0a245d; color: var(--sky); font: 800 .65rem/1 var(--display); }
.orbit span:nth-child(1) { top: 9%; left: 15%; }
.orbit span:nth-child(2) { top: 42%; right: -2%; }
.orbit span:nth-child(3) { bottom: 5%; left: 27%; }
.orbit-two { inset: -16%; border-style: dashed; animation-direction: reverse; animation-duration: 33s; }
.orbit-two span:nth-child(1) { top: 28%; left: -3%; }
.orbit-two span:nth-child(2) { top: 5%; right: 18%; }
.orbit-two span:nth-child(3) { right: 5%; bottom: 12%; }
@keyframes spin { to { transform: rotate(360deg); } }
.paw-trigger {
  position: absolute;
  z-index: 7;
  right: -12px;
  bottom: 12%;
  display: grid;
  width: 62px;
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 7px 0 #99152a, 0 14px 35px rgba(0,0,0,.4);
  cursor: pointer;
  font: 900 1.6rem/1 var(--display);
}
.paw-trigger:hover { transform: scale(1.08) rotate(8deg); }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; display: flex; align-items: center; gap: 14px; transform: translateX(-50%); color: #98b0d8; font-size: .62rem; font-weight: 900; letter-spacing: .2em; }
.scroll-cue i { display: block; width: 48px; height: 1px; overflow: hidden; background: rgba(255,255,255,.18); }
.scroll-cue i::after { display: block; width: 18px; height: 1px; content: ""; background: #fff; animation: sweep 1.7s ease infinite; }
@keyframes sweep { from { transform: translateX(-20px); } to { transform: translateX(55px); } }

.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.24); background: var(--red); transform: rotate(-1deg) scale(1.02); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 30px; padding: 17px 0; color: #fff; animation: ticker 24s linear infinite; font: 900 .84rem/1 var(--display); letter-spacing: .13em; }
.ticker-track i { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { position: relative; width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(90px, 11vw, 155px); }
.section-label { display: inline-flex; align-items: center; gap: 10px; color: #8fb0dd; font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.section-label span { display: grid; width: 31px; aspect-ratio: 1; place-items: center; border: 1px solid #4775ae; border-radius: 50%; color: var(--sky); }
h2 { margin: 0; font: 900 clamp(2.55rem, 5vw, 5.3rem)/.94 var(--display); letter-spacing: -.055em; }
h3 { font-family: var(--display); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.story-layout { display: grid; grid-template-columns: .86fr 1.1fr; gap: clamp(50px, 8vw, 110px); align-items: center; margin-top: 60px; }
.story-heading h2 { max-width: 610px; }
.story-heading > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.story-controls { display: flex; align-items: center; gap: 16px; margin-top: 35px; }
.story-controls button { display: grid; width: 50px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #0a245b; cursor: pointer; font-size: 1.15rem; }
.story-controls button:hover { background: var(--blue); }
.story-controls span { min-width: 60px; text-align: center; color: var(--sky); font: 900 .72rem/1 var(--display); }
.story-deck { position: relative; min-height: 465px; outline: none; }
.story-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: clamp(28px, 5vw, 55px);
  overflow: hidden;
  border: 1px solid rgba(143, 206, 255, .28);
  border-radius: 38px 38px 80px 38px;
  background:
    radial-gradient(circle at 85% 10%, rgba(118,206,255,.24), transparent 30%),
    linear-gradient(145deg, rgba(10,37,94,.98), rgba(5,16,49,.98));
  box-shadow: 0 35px 80px rgba(0,0,0,.32);
  opacity: 0;
  transform: translate(60px, 20px) rotate(4deg) scale(.93);
  pointer-events: none;
  transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}
.story-card::before { position: absolute; top: -90px; right: -70px; width: 230px; aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.story-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.chapter { color: var(--sky); font-size: .69rem; font-weight: 900; letter-spacing: .16em; }
.story-card h3 { max-width: 470px; margin: 16px 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.03; }
.story-card p { margin: 0; color: #c4d3ef; font-size: 1rem; line-height: 1.65; }
.story-card strong { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: #fff; line-height: 1.5; }

.powers { width: min(1280px, calc(100% - 40px)); }
.powers-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 45px auto 50px; max-width: 1180px; }
.powers-header p { color: var(--muted); font-size: 1.05rem; }
.control-console { position: relative; padding: clamp(22px, 4vw, 48px); border: 1px solid rgba(147,207,255,.34); border-radius: 42px; background: linear-gradient(145deg, #0d3476, #06163f 55%, #05112e); box-shadow: inset 0 0 0 8px rgba(4,12,37,.35), 0 45px 100px rgba(0,0,0,.4); }
.console-screen { position: relative; min-height: 230px; margin-bottom: 24px; padding: 35px; overflow: hidden; border: 1px solid rgba(118,206,255,.35); border-radius: 26px; background: #03122c; box-shadow: inset 0 0 40px rgba(45,148,255,.14); }
.console-screen::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(116,206,255,.035) 4px); }
.screen-label { color: var(--sky); font-size: .66rem; font-weight: 900; letter-spacing: .17em; }
.console-screen > p { max-width: 660px; margin: 70px 0 0; font: 900 clamp(1.25rem, 2.7vw, 2.5rem)/1.1 var(--display); letter-spacing: -.03em; }
.moon-meter { position: absolute; top: 28px; right: 35px; width: 116px; height: 12px; overflow: hidden; border: 1px solid #356699; border-radius: 999px; }
.moon-meter span { display: block; width: 28%; height: 100%; border-radius: inherit; background: var(--sky); box-shadow: 0 0 18px var(--sky); transition: width .5s ease; }
.waveform { position: absolute; right: 38px; bottom: 35px; display: flex; align-items: end; gap: 4px; height: 60px; }
.waveform i { display: block; width: 5px; height: 10px; border-radius: 9px; background: var(--sky); opacity: .7; }
.control-console.is-live .waveform i { animation: wave .7s ease-in-out infinite alternate; }
.waveform i:nth-child(2n) { animation-delay: -.3s !important; }.waveform i:nth-child(3n) { animation-delay: -.55s !important; }
@keyframes wave { to { height: 58px; } }
.power-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.power-card { position: relative; min-height: 205px; padding: 24px; border: 1px solid rgba(162,211,255,.22); border-radius: 24px; background: rgba(8,28,72,.78); text-align: left; cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.power-card:hover, .power-card.is-active { transform: translateY(-8px); border-color: var(--sky); background: #144590; }
.power-number { position: absolute; top: 18px; right: 18px; color: #6f8dbb; font-size: .65rem; font-weight: 900; }
.power-icon { display: grid; width: 68px; aspect-ratio: 1; margin-bottom: 28px; place-items: center; border-radius: 22px; background: #77ceff; color: #06214f; box-shadow: 0 8px 0 #2469ad; font: 900 1.8rem/1 var(--display); }
.power-card strong { display: block; font: 900 .93rem/1 var(--display); letter-spacing: .06em; }
.power-card small { display: block; margin-top: 9px; color: #aec1e1; font-size: .78rem; }

.orbit-section { width: min(1260px, calc(100% - 40px)); }
.orbit-intro { display: grid; grid-template-columns: 1fr .55fr; gap: 40px; align-items: end; margin: 45px 0 55px; }
.orbit-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.orbit-intro p:last-child { max-width: 400px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.roadmap-shell { display: grid; grid-template-columns: 1.15fr .72fr; gap: clamp(35px, 6vw, 85px); align-items: center; min-height: 720px; }
.roadmap-visual { --orbit-spin: 0deg; position: relative; width: min(650px, 90vw); aspect-ratio: 1; justify-self: center; touch-action: none; cursor: grab; }
.roadmap-visual:active { cursor: grabbing; }
.roadmap-rings, .roadmap-rings i { position: absolute; inset: 5%; border: 1px solid rgba(119,206,255,.26); border-radius: 50%; }
.roadmap-rings { transform: rotate(var(--orbit-spin)); transition: transform .75s cubic-bezier(.2,.8,.2,1); }
.roadmap-rings::before, .roadmap-rings::after { position: absolute; content: ""; border-radius: 50%; }
.roadmap-rings::before { inset: 9%; border: 1px dashed rgba(255,255,255,.22); }
.roadmap-rings::after { inset: 28%; border: 1px solid rgba(239,48,70,.35); box-shadow: 0 0 70px rgba(66,159,255,.15); }
.roadmap-rings i:nth-child(1) { inset: -3%; border-top-color: var(--red); transform: rotate(30deg); }
.roadmap-rings i:nth-child(2) { inset: 17%; border-style: dashed; }
.roadmap-rings i:nth-child(3) { inset: 39%; border-color: var(--sky); box-shadow: 0 0 35px rgba(118,206,255,.16); }
.roadmap-core { position: absolute; z-index: 4; inset: 33%; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #19529c, #06143a 70%); text-align: center; box-shadow: 0 0 0 18px rgba(11,54,119,.2), 0 25px 70px rgba(0,0,0,.35); }
.roadmap-core span { color: var(--sky); font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.roadmap-core strong { margin-top: 10px; font: 900 clamp(.9rem, 1.5vw, 1.3rem)/1.12 var(--display); }
.road-node { position: absolute; z-index: 6; display: grid; width: 94px; aspect-ratio: 1; place-items: center; border: 1px solid #659ad5; border-radius: 50%; background: #071c4c; box-shadow: 0 12px 30px rgba(0,0,0,.35); cursor: pointer; transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.road-node span { display: grid; width: 28px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: rgba(118,206,255,.16); color: var(--sky); font: 900 .66rem/1 var(--display); }
.road-node b { font: 900 .52rem/1 var(--display); letter-spacing: .08em; }
.road-node:hover, .road-node.is-active { transform: scale(1.16); border-color: #fff; background: var(--red); box-shadow: 0 0 0 8px rgba(239,48,70,.16), 0 16px 40px rgba(0,0,0,.4); }
.road-node.is-active span { color: #fff; background: rgba(255,255,255,.18); }
.node-1 { top: 0; left: 50%; margin-left: -47px; }
.node-2 { top: 27%; right: 0; }
.node-3 { right: 12%; bottom: 6%; }
.node-4 { bottom: 6%; left: 12%; }
.node-5 { top: 27%; left: 0; }
.roadmap-copy { position: relative; padding: 40px 0 40px 35px; border-left: 1px solid var(--line); }
.roadmap-copy > span { color: var(--sky); font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.roadmap-copy h3 { margin: 18px 0; font-size: clamp(2rem, 4vw, 4rem); line-height: .98; }
.roadmap-copy p { color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.orbit-progress { height: 5px; margin: 35px 0 20px; overflow: hidden; border-radius: 99px; background: #122d60; }
.orbit-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--red)); transition: width .6s ease; }
.roadmap-copy small { color: #7791bc; font-size: .65rem; font-weight: 900; letter-spacing: .15em; }

.locker { padding-top: 60px; }
.locker-card { padding: clamp(35px, 6vw, 75px); border: 1px solid rgba(153,211,255,.3); border-radius: 40px; background: linear-gradient(135deg, rgba(17,57,127,.82), rgba(5,18,52,.95)), url("world-background.png") center/cover; box-shadow: 0 35px 85px rgba(0,0,0,.32); }
.locker-card > div:first-child { display: grid; grid-template-columns: .5fr 1fr; align-items: end; gap: 30px; }
.locker-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 55px; }
.locker-items button { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(4,15,45,.72); text-align: left; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.locker-items button:hover, .locker-items button.is-active { transform: translateY(-6px); background: var(--red); }
.locker-items span { color: var(--sky); font-size: .65rem; font-weight: 900; }
.locker-items button.is-active span { color: #fff; }
.locker-items strong { font: 900 .8rem/1.1 var(--display); letter-spacing: .05em; }
.locker-note { min-height: 30px; margin: 28px 0 0; color: #cfddf5; font-size: 1rem; }

.finale { display: grid; min-height: 780px; grid-template-columns: .8fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.finale-art { position: relative; display: grid; width: min(480px, 85vw); aspect-ratio: 1; place-items: center; justify-self: center; border: 1px solid rgba(118,206,255,.34); border-radius: 50%; background: radial-gradient(circle, rgba(30,103,194,.55), rgba(5,19,53,.5) 52%, transparent 53%), url("baby-super-inu.jpg") center/cover; box-shadow: 0 0 90px rgba(47,149,255,.24); }
.finale-art::after { position: absolute; inset: -7%; border: 1px dashed rgba(255,255,255,.25); border-radius: 50%; content: ""; animation: spin 20s linear infinite; }
.finale-art span { position: absolute; bottom: -8px; padding: 13px 22px; border-radius: 16px; background: var(--red); box-shadow: 0 7px 0 #97162a; font: 900 1.4rem/1 var(--display); }
.finale-copy p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.finale-copy .hero-actions { margin-top: 35px; }

footer { display: flex; width: min(1180px, calc(100% - 40px)); min-height: 150px; margin: auto; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: #8ea3c8; font-size: .78rem; }
footer > a:last-child { color: #fff; font-weight: 900; letter-spacing: .07em; }

.toast { position: fixed; z-index: 180; right: 20px; bottom: 20px; max-width: 360px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 17px; background: rgba(7,27,72,.95); box-shadow: 0 20px 50px rgba(0,0,0,.4); opacity: 0; transform: translateY(25px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.secret-modal { position: fixed; z-index: 300; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(2,7,24,.82); backdrop-filter: blur(18px); }
.secret-modal[hidden] { display: none; }
.secret-card { position: relative; width: min(570px, 100%); padding: clamp(34px, 6vw, 65px); border: 1px solid #73cfff; border-radius: 38px; background: radial-gradient(circle at 100% 0, rgba(118,206,255,.25), transparent 30%), #071c4a; box-shadow: 0 0 0 10px rgba(118,206,255,.08), 0 40px 120px #000; text-align: center; }
.secret-close { position: absolute; top: 16px; right: 16px; display: grid; width: 40px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #0b2a66; cursor: pointer; font-size: 1.5rem; }
.secret-badge { color: var(--sky); font-size: .66rem; font-weight: 900; letter-spacing: .15em; }
.secret-card h2 { margin: 25px 0; font-size: clamp(2.2rem, 5vw, 4.3rem); }
.secret-card p { color: var(--muted); line-height: 1.6; }
.secret-card blockquote { margin: 25px 0 35px; color: var(--yellow); font: 900 1.25rem/1.4 var(--display); }
.spark { position: fixed; z-index: 500; width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--sky); box-shadow: 0 0 16px var(--sky); pointer-events: none; animation: pop .7s ease-out forwards; }
@keyframes pop { to { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); } }

body.power-hush .hero-world { filter: saturate(.65) hue-rotate(12deg); }
body.power-hush .star-field { opacity: .8; }
body.power-cape .hero-world { animation-duration: 2.4s; }
body.power-scan .cursor-glow { width: 42rem; background: radial-gradient(circle, rgba(255,212,71,.22), transparent 65%); }
body.power-snack .star-field { filter: hue-rotate(145deg); }

@media (max-width: 980px) {
  .topbar { top: 10px; }
  .menu-toggle { display: inline-grid; min-height: 42px; padding: 0 16px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #0c2a65; cursor: pointer; font: 900 .7rem/1 var(--display); letter-spacing: .08em; }
  .nav-links { position: fixed; top: 75px; right: 15px; left: 15px; display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(4,14,43,.97); opacity: 0; transform: translateY(-20px); pointer-events: none; transition: .25s ease; }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links > a:not(.button) { padding: 15px; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr 440px; padding-inline: 30px; }
  .power-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-shell { grid-template-columns: 1fr; }
  .roadmap-copy { width: min(620px, 100%); margin-inline: auto; }
  .locker-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .brand-copy { display: none; }
  .hero { display: flex; min-height: auto; flex-direction: column; padding: 125px 20px 80px; }
  .hero-copy { text-align: center; }
  .hero h1 span:first-child { margin-inline: auto; }
  .hero h1 span:last-child { font-size: clamp(3.1rem, 17vw, 5.6rem); }
  .hero-intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-character { order: -1; width: min(82vw, 430px); margin: 25px auto 22px; }
  .orbit-two { inset: -10%; }
  .scroll-cue { display: none; }
  .section { width: min(100% - 28px, 620px); padding-block: 90px; }
  .story-layout { grid-template-columns: 1fr; margin-top: 45px; }
  .story-deck { min-height: 560px; }
  .story-card { min-height: 530px; }
  .powers-header { display: block; }
  .console-screen { min-height: 270px; padding: 25px; }
  .console-screen > p { margin-top: 65px; }
  .moon-meter { top: 24px; right: 25px; width: 80px; }
  .waveform { right: 25px; bottom: 22px; }
  .power-grid { grid-template-columns: 1fr 1fr; }
  .power-card { min-height: 185px; padding: 18px; }
  .power-icon { width: 55px; margin-bottom: 24px; }
  .orbit-intro { display: block; }
  .orbit-intro p:last-child { margin-top: 25px; }
  .roadmap-shell { min-height: 0; }
  .roadmap-visual { transform: scale(.92); }
  .road-node { width: 76px; }
  .node-1 { margin-left: -38px; }
  .roadmap-copy { padding-left: 24px; }
  .locker-card { padding: 34px 22px; }
  .locker-card > div:first-child { grid-template-columns: 1fr; }
  .locker-items { grid-template-columns: 1fr 1fr; margin-top: 35px; }
  .locker-items button { min-height: 130px; }
  .finale { display: flex; min-height: 0; flex-direction: column; }
  .finale-art { width: min(76vw, 420px); }
  .finale-copy { text-align: center; }
  footer { flex-direction: column; padding: 40px 0; text-align: center; }
  .toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

@media (max-width: 480px) {
  .hero h1 span:first-child { font-size: 3rem; }
  .hero h1 span:last-child { font-size: 3.45rem; }
  .button-large { min-height: 52px; padding-inline: 18px; }
  .secret-note { display: none; }
  h2 { font-size: 2.55rem; }
  .story-deck { min-height: 625px; }
  .story-card { min-height: 595px; padding: 30px 24px; border-radius: 28px 28px 60px 28px; }
  .story-card h3 { font-size: 1.75rem; }
  .power-grid { grid-template-columns: 1fr; }
  .power-card { min-height: 150px; }
  .power-icon { width: 50px; margin-bottom: 20px; }
  .roadmap-visual { width: 108vw; margin-left: -11vw; transform: scale(.86); }
  .road-node { width: 72px; }
  .roadmap-core { inset: 31%; }
  .locker-items { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
