:root {
  --bg: #05020f;
  --bg-soft: #09051a;
  --text: #f8f6ff;
  --muted: #aaa4c6;
  --cyan: #46ffe7;
  --cyan-2: #17c8ff;
  --violet: #9e46ff;
  --magenta: #e94dff;
  --line: rgba(255,255,255,.14);
  --panel: rgba(11,6,31,.64);
  --shadow: 0 0 50px rgba(129, 67, 255, .25);
  --shell: min(1240px, calc(100vw - 48px));
  --hero-fade: 0;
  --flight-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(48, 232, 220, .10), transparent 26%),
    radial-gradient(circle at 85% 22%, rgba(158, 70, 255, .12), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::selection { background: var(--violet); color: white; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  left: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,255,232,.10), rgba(151,69,255,.055) 38%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  transform: translate3d(var(--mx, 50vw), var(--my, 50vh), 0);
  transition: transform .09s linear;
}

.shell { width: var(--shell); margin-inline: auto; }
.panel { position: relative; min-height: 100vh; isolation: isolate; overflow: clip; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1240px)/2));
  background: linear-gradient(to bottom, rgba(5,2,15,.86), rgba(5,2,15,.18), transparent);
  backdrop-filter: blur(4px);
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { background: rgba(5,2,15,.76); border-color: rgba(255,255,255,.07); backdrop-filter: blur(16px); }
.brand-mini { display: inline-flex; align-items: baseline; font-weight: 950; letter-spacing: -.04em; width: fit-content; }
.brand-mark { font-size: 20px; }
.brand-dot { color: var(--cyan); font-size: 14px; margin-left: 3px; }
.nav { display: flex; gap: 26px; font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.nav a { opacity: .7; transition: opacity .2s ease, color .2s ease; }
.nav a:hover { opacity: 1; color: var(--cyan); }
.sound-toggle {
  justify-self: end;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,7,25,.46);
  color: white;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .14em;
  cursor: pointer;
  transition: .2s ease;
}
.sound-toggle:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(70,255,231,.18); }
.sound-toggle.on { border-color: rgba(70,255,231,.62); color: var(--cyan); }
.sound-toggle.missing { color: #e5b3ff; border-color: rgba(233,77,255,.45); }

.hero { display: flex; align-items: center; min-height: 100svh; }
.hero-video {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  z-index: -4;
  transform: scale(calc(1 + var(--hero-fade) * .04));
  filter: saturate(1.15) contrast(1.08) brightness(calc(1 - var(--hero-fade) * .38)) blur(calc(var(--hero-fade) * 4px));
  transition: filter .08s linear;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(to bottom, rgba(2,1,8,.28), rgba(3,1,13,.08) 35%, rgba(4,1,12,.28) 72%, #05020f 100%),
    radial-gradient(circle at 50% 50%, transparent 28%, rgba(3,1,12,.28) 70%, rgba(3,1,12,.78) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}
.hero-content { padding-top: 70px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .28em;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 { margin: 0; display: flex; flex-direction: column; width: fit-content; }
.hero-name {
  font-size: clamp(84px, 15vw, 220px);
  line-height: .72;
  font-weight: 1000;
  letter-spacing: -.09em;
  text-shadow: 0 0 28px rgba(255,255,255,.10), 0 0 80px rgba(120,76,255,.22);
}
.hero-ticker {
  margin-top: 24px;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: .16em;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.82);
  text-transform: uppercase;
}
.hero-copy {
  width: min(640px, 90vw);
  margin: 26px 0 30px;
  color: rgba(245,242,255,.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; width: min(900px, 100%); }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(7,4,22,.54);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 0 30px rgba(70,255,231,.16); }
.btn-hot { border-color: rgba(233,77,255,.55); background: linear-gradient(110deg, rgba(106,47,255,.35), rgba(16,219,215,.18)); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  z-index: 5;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  letter-spacing: .26em;
}
.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--cyan), transparent); animation: pulseLine 1.8s ease-in-out infinite; }
@keyframes pulseLine { 50% { opacity: .25; transform: scaleY(.7); transform-origin: top; } }

.lore { min-height: 120vh; display: flex; align-items: center; padding: 120px 0 100px; background: #05020f; }
.cosmic-wash {
  position: absolute;
  inset: -10%;
  z-index: -4;
  background:
    linear-gradient(90deg, #05020f 0%, rgba(5,2,15,.96) 30%, rgba(5,2,15,.60) 60%, rgba(5,2,15,.90) 100%),
    url('images/14.png') center/cover no-repeat;
  filter: saturate(.85) contrast(1.15) brightness(.65);
}
.lore::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to bottom, #05020f 0%, transparent 14%, transparent 80%, #070319 100%);
}
.lore-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.section-copy { max-width: 600px; }
h2 {
  margin: 0;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: .9;
  letter-spacing: -.06em;
  font-weight: 1000;
  text-wrap: balance;
}
.section-copy .lead { margin-top: 30px; font-size: clamp(20px, 2vw, 27px); color: white; line-height: 1.45; }
.section-copy p:not(.eyebrow):not(.lead) { color: var(--muted); font-size: 16px; line-height: 1.75; }
.lore-tagline {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  color: #dffefa;
  background: linear-gradient(90deg, rgba(70,255,231,.11), transparent);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 900;
}
.flight-stage { position: relative; height: min(78vh, 760px); min-height: 560px; }
.flight-orbit {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  right: 2%;
  top: 10%;
  border-radius: 50%;
  border: 1px solid rgba(111,246,238,.22);
  box-shadow: inset 0 0 70px rgba(123,67,255,.12), 0 0 80px rgba(70,255,231,.07);
}
.flight-orbit::before, .flight-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  border: 1px dashed rgba(181,99,255,.22);
}
.flight-orbit::after { inset: 31%; border-style: solid; border-color: rgba(70,255,231,.12); }
.flying-art {
  position: absolute;
  width: clamp(280px, 42vw, 560px);
  aspect-ratio: 1;
  object-fit: cover;
  left: -48vw;
  top: 50%;
  transform: translate3d(calc(var(--flight-progress) * 124vw), calc(-50% + var(--flight-y, 0px)), 0) rotate(calc(-8deg + var(--flight-progress) * 20deg));
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 80px rgba(106,59,255,.35), 0 0 120px rgba(31,226,219,.15);
  filter: saturate(1.16) contrast(1.04);
  will-change: transform;
}
.flight-label { position: absolute; font-size: 9px; letter-spacing: .23em; color: rgba(255,255,255,.42); }
.flight-label-a { left: 0; bottom: 13%; }
.flight-label-b { right: 4%; top: 12%; color: rgba(70,255,231,.58); }

.roadmap { padding: 118px 0 110px; background: #070319; }
.roadmap-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .34;
  background: linear-gradient(to bottom, rgba(7,3,25,.82), rgba(7,3,25,.95)), url('images/15.png') center/cover fixed;
}
.roadmap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 30%, rgba(82,236,226,.13), transparent 34%), radial-gradient(circle at 80% 55%, rgba(139,63,255,.16), transparent 34%);
}
.section-stack { display: grid; gap: 54px; }
.section-head { display: grid; grid-template-columns: 1fr minmax(240px, 390px); gap: 40px; align-items: end; }
.section-note { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.roadmap-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.road-card { min-height: 310px; padding: 30px 24px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); position: relative; overflow: hidden; }
.road-card:last-child { border-right: 0; }
.road-card::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width .4s ease; }
.road-card:hover::before { width: 100%; }
.road-num { display: block; margin-bottom: 66px; color: var(--cyan); font-weight: 950; font-size: 11px; letter-spacing: .2em; }
.road-card h3 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.03em; }
.road-card p { margin: 0; color: #aaa3c2; line-height: 1.6; font-size: 14px; }
.road-status { position: absolute; left: 24px; bottom: 24px; color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .18em; font-weight: 900; }
.chart-wrap { border: 1px solid rgba(255,255,255,.14); background: rgba(5,2,15,.74); box-shadow: var(--shadow); }
.chart-head { min-height: 68px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.chart-head > div { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .12em; }
.chart-head > div span:last-child { color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; } }
.chart-head a { font-size: 10px; letter-spacing: .14em; color: var(--cyan); font-weight: 800; }
.chart-frame { width: 100%; height: 620px; background: #08050f; }
.chart-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.gallery { padding: 118px 0 120px; background: #05020f; }
.gallery::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 14% 28%, rgba(42,255,223,.12), transparent 24%), radial-gradient(circle at 85% 65%, rgba(170,65,255,.13), transparent 28%); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 92px; gap: 16px; }
.gallery-card { position: relative; padding: 0; border: 1px solid rgba(255,255,255,.12); background: #08041a; cursor: pointer; overflow: hidden; box-shadow: 0 16px 70px rgba(0,0,0,.25); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .3s ease; }
.gallery-card:hover img { transform: scale(1.04); filter: saturate(1.2) contrast(1.05); }
.gallery-card span { position: absolute; left: 15px; bottom: 14px; font-size: 9px; letter-spacing: .2em; font-weight: 900; color: white; background: rgba(5,2,15,.62); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); padding: 8px 10px; }
.gallery-card-a { grid-column: 1 / span 7; grid-row: 1 / span 6; }
.gallery-card-b { grid-column: 8 / span 5; grid-row: 1 / span 4; }
.gallery-card-c { grid-column: 1 / span 5; grid-row: 7 / span 4; }
.gallery-card-d { grid-column: 6 / span 7; grid-row: 5 / span 6; }

.outro { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 54px; background: #04010b; }
.outro-bg { position: absolute; inset: 0; z-index: -3; background: linear-gradient(to bottom, rgba(4,1,11,.58), rgba(4,1,11,.88)), url('images/18.png') center/cover no-repeat; filter: saturate(1.18); }
.outro::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 42%, transparent 0, rgba(2,0,10,.20) 30%, rgba(2,0,10,.76) 78%); }
.outro-inner { display: grid; gap: 38px; width: var(--shell); }
.outro-main h2 { font-size: clamp(82px, 15vw, 210px); line-height: .78; text-shadow: 0 0 60px rgba(114,55,255,.28); }
.outro-main h2 span { font-size: .23em; color: var(--cyan); letter-spacing: .06em; margin-left: 10px; }
.outro-main > p:last-child { margin: 32px 0 0; color: rgba(255,255,255,.78); font-size: clamp(16px, 2vw, 24px); letter-spacing: .12em; }
.final-links { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-links a { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border-right: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.final-links a:last-child { border-right: 0; }
.final-links a:hover { background: rgba(70,255,231,.07); }
.final-links span { font-size: 11px; letter-spacing: .13em; font-weight: 900; }
.final-links b { margin-top: 8px; font-size: 9px; letter-spacing: .16em; color: var(--cyan); }
.disclaimer { padding: 22px 0; display: grid; grid-template-columns: 140px 1fr; gap: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.disclaimer strong { font-size: 10px; letter-spacing: .18em; color: var(--magenta); }
.disclaimer p { margin: 0; max-width: 980px; color: rgba(215,209,234,.64); font-size: 12px; line-height: 1.7; }
.footer-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.42); font-size: 9px; letter-spacing: .18em; }
.footer-line a { color: white; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 0;
  margin: 0;
  padding: 40px;
  background: rgba(3,1,12,.92);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.7); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(88vw, 1080px); max-height: 86vh; object-fit: contain; box-shadow: 0 0 90px rgba(117,61,255,.25); }
.lightbox-close { position: fixed; top: 24px; right: 24px; z-index: 2; border: 1px solid rgba(255,255,255,.2); background: #0a0618; color: white; padding: 11px 14px; cursor: pointer; font-size: 10px; letter-spacing: .16em; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .topbar { padding: 0 18px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .lore-grid { grid-template-columns: 1fr; }
  .flight-stage { height: 560px; min-height: 0; }
  .flying-art { width: min(65vw, 500px); }
  .roadmap-track { grid-template-columns: repeat(2, 1fr); }
  .road-card:nth-child(2) { border-right: 0; }
  .road-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; }
  .chart-frame { height: 560px; }
  .final-links { grid-template-columns: repeat(2, 1fr); }
  .final-links a { border-bottom: 1px solid var(--line); }
  .final-links a:nth-child(2n) { border-right: 0; }
  .final-links a:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .gallery-grid { grid-auto-rows: 70px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 26px); }
  .topbar { height: 64px; }
  .sound-toggle { padding: 9px 10px; font-size: 9px; }
  .hero-content { padding-top: 30px; }
  .hero-name { font-size: clamp(76px, 27vw, 122px); }
  .hero-ticker { margin-top: 20px; font-size: 24px; }
  .hero-copy { margin-top: 22px; font-size: 15px; }
  .btn { min-height: 42px; padding-inline: 14px; font-size: 9px; }
  .scroll-cue { bottom: 20px; }
  .lore, .roadmap, .gallery, .outro { padding-top: 94px; }
  h2 { font-size: clamp(44px, 15vw, 68px); }
  .section-copy .lead { font-size: 18px; }
  .flight-stage { height: 460px; }
  .flight-orbit { width: 92%; right: -4%; top: 7%; }
  .flying-art { width: 72vw; left: -72vw; transform: translate3d(calc(var(--flight-progress) * 172vw), calc(-50% + var(--flight-y, 0px)), 0) rotate(calc(-8deg + var(--flight-progress) * 20deg)); }
  .roadmap-track { grid-template-columns: 1fr; }
  .road-card { min-height: 250px; border-right: 0; border-bottom: 1px solid var(--line); }
  .road-card:last-child { border-bottom: 0; }
  .road-num { margin-bottom: 44px; }
  .chart-head { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .chart-frame { height: 500px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .gallery-card-a, .gallery-card-b, .gallery-card-c, .gallery-card-d { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .gallery-card span { left: 8px; bottom: 8px; padding: 6px 8px; }
  .outro-main h2 { font-size: 28vw; }
  .outro-main h2 span { display: block; margin: 22px 0 0; font-size: .18em; }
  .final-links { grid-template-columns: 1fr; }
  .final-links a, .final-links a:nth-child(2n), .final-links a:last-child { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .final-links a:last-child { border-bottom: 0; }
  .disclaimer { grid-template-columns: 1fr; gap: 12px; }
  .footer-line { align-items: flex-start; flex-direction: column; }
  .lightbox { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .flying-art { transform: translate3d(35vw, -50%, 0); }
  .cursor-glow { display: none; }
}
