:root {
  --void: #06090f;
  --void-soft: #0c121b;
  --panel: rgba(11, 18, 29, 0.78);
  --ink: #f4fbff;
  --muted: #9aacbd;
  --line: rgba(190, 255, 232, 0.18);
  --green: #83ff00;
  --blue: #1d73ff;
  --aqua: #9dfcff;
  --warning: #f1ff78;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(29, 115, 255, 0.16), transparent 32%),
    radial-gradient(circle at 72% 22%, rgba(131, 255, 0, 0.18), transparent 25rem),
    radial-gradient(circle at 18% 76%, rgba(157, 252, 255, 0.12), transparent 28rem),
    var(--void);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 46%, rgba(131, 255, 0, 0.045) 46% 47%, transparent 47% 100%);
  background-size: 100% 7px;
  mix-blend-mode: screen;
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.cursor-light {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 255, 0, 0.24), transparent 64%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0.68;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px var(--shadow);
}

.brand,
.nav-links,
.actions,
.launch-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--void);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 28px rgba(131, 255, 0, 0.42);
}

.nav-links {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.launch-links a,
.ghost-action,
.primary-action {
  min-height: 42px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.launch-links a:hover,
.ghost-action:hover,
.primary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(131, 255, 0, 0.62);
  background: rgba(131, 255, 0, 0.1);
  box-shadow: 0 0 26px rgba(131, 255, 0, 0.22);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 96px minmax(0, 0.96fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  padding: 44px 0 30px;
}

.ticker-rail {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  min-height: 560px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(131, 255, 0, 0.08), rgba(29, 115, 255, 0.05));
  overflow: hidden;
}

.ticker-rail span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(244, 251, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18rem;
}

.night-copy {
  position: relative;
  padding: clamp(18px, 3vw, 34px) 0;
}

.kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.2rem, 12vw, 10.5rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  filter: drop-shadow(0 0 26px rgba(131, 255, 0, 0.32));
}

h1::after {
  content: "";
  display: block;
  width: min(420px, 78%);
  height: 10px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--green), var(--blue), transparent);
  box-shadow: 0 0 30px rgba(131, 255, 0, 0.38);
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  line-height: 1.6;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-action {
  color: var(--void);
  background: linear-gradient(135deg, var(--green), var(--aqua));
  border-color: transparent;
  box-shadow: 0 0 34px rgba(131, 255, 0, 0.26);
}

.ghost-action {
  cursor: pointer;
}

.lens {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(640px, 74vh);
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(157, 252, 255, 0.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(131, 255, 0, 0.16), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 68px rgba(157, 252, 255, 0.08), 0 30px 100px var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.lens::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(131, 255, 0, 0.28);
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
}

.lens::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 43% 45%, transparent 46%);
  animation: glassSweep 4.8s ease-in-out infinite;
}

.lens img {
  position: relative;
  z-index: 3;
  width: min(88%, 530px);
  max-height: 590px;
  object-fit: contain;
  filter: drop-shadow(0 34px 32px rgba(0, 0, 0, 0.5));
  animation: floaty 5.6s ease-in-out infinite;
}

.hud-ring {
  position: absolute;
  border: 1px solid rgba(157, 252, 255, 0.32);
  border-radius: 50%;
}

.ring-one {
  width: 82%;
  aspect-ratio: 1;
  animation: spin 20s linear infinite;
}

.ring-two {
  width: 56%;
  aspect-ratio: 1;
  border-color: rgba(131, 255, 0, 0.44);
  animation: spin 14s linear reverse infinite;
}

.beam {
  position: absolute;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(131, 255, 0, 0.75), transparent);
  opacity: 0.42;
}

.beam-a {
  transform: rotate(24deg);
}

.beam-b {
  transform: rotate(-18deg);
}

.status-readout {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  min-width: 164px;
  padding: 13px 15px;
  border: 1px solid rgba(131, 255, 0, 0.35);
  background: rgba(6, 9, 15, 0.78);
  box-shadow: 0 0 30px rgba(131, 255, 0, 0.18);
}

.status-readout span,
.status-readout strong {
  display: block;
}

.status-readout span {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-readout strong {
  margin-top: 4px;
  font-size: 1rem;
  text-transform: uppercase;
}

.wide-banner {
  margin: 10px 0 28px;
  padding: 8px;
  border: 1px solid rgba(157, 252, 255, 0.2);
  background: #020407;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

.wide-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
}

.sigma-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 16px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(131, 255, 0, 0.04));
}

.board-copy {
  padding: clamp(22px, 4vw, 38px);
}

.board-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.board-lines {
  display: grid;
  border-left: 1px solid var(--line);
}

.board-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.board-lines div:last-child {
  border-bottom: 0;
}

.board-lines span {
  color: var(--green);
  font-weight: 900;
}

.board-lines strong {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  text-align: right;
  text-transform: uppercase;
}

.final-lock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.72);
}

.final-lock > span {
  color: var(--warning);
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 950;
}

.launch-links {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  padding: 12px 18px;
  color: var(--void);
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 34px rgba(131, 255, 0, 0.24);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glassSweep {
  0%,
  100% {
    transform: translateX(-55%);
  }
  50% {
    transform: translateX(55%);
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 24px, 720px);
  }

  .topbar,
  .final-lock {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .ticker-rail {
    min-height: auto;
    flex-direction: row;
    padding: 13px;
  }

  .ticker-rail span {
    writing-mode: horizontal-tb;
    font-size: 0.76rem;
  }

  .lens {
    min-height: 480px;
    clip-path: none;
  }

  .lens::before {
    clip-path: none;
  }

  .sigma-board {
    grid-template-columns: 1fr;
  }

  .board-lines {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  .site-shell {
    width: min(100% - 18px, 460px);
    padding-top: 12px;
  }

  .topbar {
    padding: 10px;
  }

  .nav-links,
  .actions,
  .launch-links {
    width: 100%;
  }

  .nav-links a,
  .launch-links a,
  .ghost-action,
  .primary-action {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.05rem, 20vw, 5rem);
  }

  .lens {
    min-height: 390px;
  }

  .lens img {
    width: 96%;
  }

  .status-readout {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .board-lines div {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-lines strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .cursor-light {
    display: none;
  }
}
