:root {
  --bg: #05020b;
  --panel: rgba(22, 10, 39, 0.72);
  --line: rgba(191, 126, 255, 0.23);
  --text: #fbf8ff;
  --muted: #bdb3c9;
  --purple: #a54cff;
  --cyan: #4bf3df;
  --ticker-height: 42px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

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

button {
  font: inherit;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -4;
}

.intro {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: calc(var(--ticker-height) + 22px) 22px 22px;
  background:
    radial-gradient(circle at 50% 35%, #281046, #05020b 65%);
  transition: 0.8s;
}

.intro.hidden {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.05);
}

.terminal {
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(160, 92, 255, 0.5);
  border-radius: 20px;
  background: rgba(5, 2, 11, 0.88);
  box-shadow: 0 0 90px rgba(155, 57, 255, 0.28);
  backdrop-filter: blur(20px);
}

.terminal-top {
  display: flex;
  height: 46px;
  padding: 0 15px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  color: #c9b8db;
  font: 600 0.7rem Orbitron;
  letter-spacing: 0.16em;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a34cff;
}

.terminal-top span:nth-child(2) {
  background: #4bf3df;
}

.terminal-top span:nth-child(3) {
  background: #f4bd53;
}

.terminal-top b {
  margin-left: 8px;
}

.terminal-body {
  padding: 45px 28px;
  text-align: center;
}

.alien-mark {
  font-size: 3rem;
}

.terminal h1 {
  margin: 15px 0 28px;
  font: 800 clamp(1.4rem, 4vw, 2.6rem) Orbitron;
}

.boot-lines {
  max-width: 470px;
  margin: auto;
  color: #bfffee;
  font-family: monospace;
  line-height: 1.7;
  text-align: left;
}

.boot-lines p {
  opacity: 0;
  animation: typeIn 0.4s forwards;
}

.boot-lines p:nth-child(2) {
  animation-delay: 0.45s;
}

.boot-lines p:nth-child(3) {
  animation-delay: 0.9s;
}

.boot-lines p:nth-child(4) {
  animation-delay: 1.35s;
}

.boot-lines p:nth-child(5) {
  animation-delay: 1.8s;
}

.loader {
  max-width: 470px;
  height: 8px;
  margin: 25px auto;
  overflow: hidden;
  border-radius: 999px;
  background: #1d1228;
}

.loader span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  animation: load 2.3s forwards;
}

.enter-button {
  cursor: pointer;
  padding: 15px 24px;
  border: 0;
  border-radius: 12px;
  opacity: 0;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), #6623d9);
  box-shadow: 0 12px 35px rgba(165, 76, 255, 0.3);
  animation: typeIn 0.5s 2.35s forwards;
}

@keyframes typeIn {
  to {
    opacity: 1;
  }
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* =========================================================
   ANNOUNCEMENT TICKER
   ========================================================= */

.announcement-bar {
  position: fixed;
  z-index: 11000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ticker-height);
  overflow: hidden;
  border-bottom: 1px solid rgba(88, 225, 255, 0.32);
  background:
    radial-gradient(
      circle at 12% 50%,
      rgba(142, 72, 255, 0.24),
      transparent 30%
    ),
    radial-gradient(
      circle at 84% 50%,
      rgba(0, 224, 255, 0.17),
      transparent 32%
    ),
    linear-gradient(
      90deg,
      rgba(5, 3, 16, 0.99),
      rgba(17, 7, 38, 0.99) 45%,
      rgba(3, 17, 30, 0.99)
    );
  box-shadow:
    0 7px 28px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(117, 74, 255, 0.17),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.announcement-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0 38%,
      rgba(255, 255, 255, 0.045) 47%,
      transparent 56% 100%
    );
  animation: tickerShimmer 8s linear infinite;
}

.announcement-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.announcement-viewport::before,
.announcement-viewport::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  width: 88px;
  height: 100%;
  pointer-events: none;
}

.announcement-viewport::before {
  left: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 3, 16, 1),
      rgba(5, 3, 16, 0)
    );
}

.announcement-viewport::after {
  right: 0;
  background:
    linear-gradient(
      270deg,
      rgba(3, 17, 30, 1),
      rgba(3, 17, 30, 0)
    );
}

.announcement-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  will-change: transform;
  animation: bobuTicker 43s linear infinite;
}

.announcement-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  white-space: nowrap;
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticker-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: tickerPulse 1.7s ease-in-out infinite;
}

.ticker-green {
  color: #67f5b4;
  text-shadow: 0 0 12px rgba(103, 245, 180, 0.52);
}

.ticker-purple {
  color: #ca8cff;
  text-shadow: 0 0 12px rgba(202, 140, 255, 0.54);
}

.ticker-blue {
  color: #7ba8ff;
  text-shadow: 0 0 12px rgba(123, 168, 255, 0.54);
}

.ticker-cyan {
  color: #64efff;
  text-shadow: 0 0 12px rgba(100, 239, 255, 0.54);
}

.ticker-gold {
  color: #ffd86a;
  text-shadow: 0 0 12px rgba(255, 216, 106, 0.5);
}

.announcement-separator {
  color: rgba(255, 255, 255, 0.28);
  font-size: 9px;
  text-shadow: 0 0 8px rgba(136, 103, 255, 0.52);
}

.announcement-feature,
.announcement-launch {
  display: inline-flex;
  align-items: center;
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.announcement-feature {
  color: #f5f2ff;
  background:
    linear-gradient(
      90deg,
      #f6f3ff,
      #c9a7ff 36%,
      #68eaff 72%,
      #f6f3ff
    );
  background-size: 220% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tickerGradient 5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(129, 205, 255, 0.34));
}

.announcement-launch {
  color: #ff9ff3;
  text-shadow:
    0 0 8px rgba(255, 159, 243, 0.65),
    0 0 18px rgba(173, 82, 255, 0.3);
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

@keyframes bobuTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes tickerPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.78);
  }

  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes tickerGradient {
  to {
    background-position: 220% center;
  }
}

@keyframes tickerShimmer {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(110%);
  }
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: fixed;
  z-index: 30;
  top: var(--ticker-height);
  left: 0;
  right: 0;
  display: flex;
  height: var(--header-height);
  padding: 0 clamp(20px, 5vw, 75px);
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 2, 11, 0.94),
      rgba(5, 2, 11, 0.38),
      transparent
    );
  backdrop-filter: blur(9px);
}

.brand {
  display: flex;
  gap: 10px;
  font: 900 1.2rem Orbitron;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #ddd4e8;
  font-size: 0.9rem;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(165, 76, 255, 0.12);
}

.menu {
  display: none;
  border: 0;
  color: white;
  font-size: 1.5rem;
  background: none;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  padding:
    calc(var(--ticker-height) + var(--header-height) + 50px)
    clamp(24px, 7vw, 110px)
    75px;
  overflow: hidden;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(5, 2, 11, 0.96),
      rgba(5, 2, 11, 0.62) 52%,
      rgba(5, 2, 11, 0.16)
    ),
    linear-gradient(
      0deg,
      var(--bg),
      transparent 30%
    ),
    url("hero-poster.png") center / cover;
}

.nebula {
  position: absolute;
  z-index: -2;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  opacity: 0.22;
  filter: blur(100px);
}

.nebula-a {
  top: 5%;
  right: -100px;
  background: #9b31ff;
}

.nebula-b {
  left: 25%;
  bottom: -300px;
  background: #24e8ce;
}

.eyebrow,
.label,
.section-head > span {
  color: #d4b2ff;
  font: 700 0.72rem Orbitron;
  letter-spacing: 0.2em;
}

.hero h1,
.section h2 {
  font-family: Orbitron;
  letter-spacing: -0.05em;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
  line-height: 0.99;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #ad6bff, #55f7e5);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead,
.section-head p,
.copy p,
.pdf-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
}

.buttons {
  display: flex;
  margin: 31px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 15px 21px;
  border-radius: 12px;
  font-weight: 800;
}

.primary {
  background: linear-gradient(135deg, var(--purple), #6825de);
  box-shadow: 0 15px 40px rgba(165, 76, 255, 0.28);
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.metrics {
  display: grid;
  max-width: 680px;
  margin-top: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.metrics div {
  padding: 17px;
  background: rgba(7, 3, 13, 0.68);
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-character img {
  display: block;
  width: min(560px, 100%);
  margin: auto;
  border-radius: 26px;
  filter: drop-shadow(0 35px 70px rgba(91, 28, 151, 0.45));
}

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  color: #b9adc7;
  font: 600 0.64rem Orbitron;
  letter-spacing: 0.17em;
  transform: translateX(-50%);
}

/* =========================================================
   CONTENT
   ========================================================= */

.section {
  max-width: 1280px;
  margin: auto;
  padding: 110px clamp(24px, 5vw, 70px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 50px;
}

.section h2 {
  margin: 14px 0;
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.phase,
.litepaper-card,
.channel,
.security {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(35, 17, 59, 0.72),
      rgba(9, 5, 16, 0.62)
    );
  backdrop-filter: blur(18px);
}

.card {
  min-height: 230px;
  padding: 34px;
  transition: 0.3s;
}

.card:hover,
.channel:hover {
  border-color: rgba(165, 76, 255, 0.7);
  transform: translateY(-7px);
}

.card b {
  font-size: 2rem;
}

.card h3,
.phase h3 {
  margin: 24px 0 11px;
  font-family: Orbitron;
}

.card p,
.phase p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 70px;
}

.visual img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 38px 90px rgba(91, 28, 151, 0.25);
}

.progress {
  margin-top: 25px;
}

.progress div {
  display: flex;
  margin-bottom: 9px;
  justify-content: space-between;
}

.progress i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #21162c;
}

.progress u {
  display: block;
  height: 100%;
  text-decoration: none;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.contract {
  margin-top: 25px;
  padding: 15px;
  border-left: 3px solid var(--purple);
  background: rgba(165, 76, 255, 0.09);
}

.galaxy-road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.flight-line {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.45;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.flight-line span {
  position: absolute;
  top: -19px;
  left: 0;
  font-size: 2rem;
  transition: 0.15s linear;
}

.phase {
  min-height: 205px;
  padding: 28px;
}

.phase b {
  color: #c494ff;
  font: 800 1.5rem Orbitron;
}

.litepaper-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.78fr 1.22fr;
}

.pdf-cover {
  position: relative;
  display: flex;
  min-height: 500px;
  padding: 32px;
  flex-direction: column;
  justify-content: flex-end;
  background: #0a0512;
}

.pdf-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  object-fit: cover;
}

.pdf-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #08040e 5%, transparent 70%);
}

.pdf-cover > *:not(img) {
  position: relative;
  z-index: 1;
}

.pdf-cover span {
  color: #d7bbff;
  font: 700 0.65rem Orbitron;
  letter-spacing: 0.17em;
}

.pdf-cover h3 {
  margin: 10px 0;
  font: 800 2rem Orbitron;
}

.pdf-copy {
  display: flex;
  padding: clamp(35px, 6vw, 80px);
  flex-direction: column;
  justify-content: center;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.channel {
  display: flex;
  padding: 30px;
  align-items: center;
  gap: 14px;
  transition: 0.3s;
}

.channel b {
  font-size: 1.5rem;
}

.channel span {
  font-weight: 800;
}

.security {
  padding: 30px;
  border-color: rgba(255, 190, 85, 0.35);
}

.security b {
  color: #ffd28b;
  font-family: Orbitron;
}

.security p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-player-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(35, 17, 59, 0.78),
      rgba(9, 5, 16, 0.72)
    );
  box-shadow: 0 35px 90px rgba(91, 28, 151, 0.24);
}

.video-frame {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.video-info {
  display: flex;
  padding: 26px 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.video-info h3 {
  margin: 8px 0 0;
  font: 800 clamp(1.35rem, 3vw, 2.1rem) Orbitron;
}

footer {
  display: flex;
  padding: 48px 25px;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

footer strong {
  color: white;
  font: 900 1.5rem Orbitron;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.75s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .menu {
    display: block;
  }

  .header nav {
    position: absolute;
    top: calc(var(--header-height) - 6px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 25px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0d0717;
  }

  .header nav.open {
    display: flex;
  }

  .hero {
    padding-top:
      calc(var(--ticker-height) + var(--header-height) + 38px);
    grid-template-columns: 1fr;
  }

  .hero-character {
    margin-top: 45px;
  }

  .hero-bg {
    background:
      linear-gradient(0deg, var(--bg), rgba(5, 2, 11, 0.2)),
      linear-gradient(90deg, rgba(5, 2, 11, 0.94), rgba(5, 2, 11, 0.4)),
      url("hero-poster.png") center / cover;
  }

  .cards,
  .galaxy-road,
  .split,
  .litepaper-card {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flight-line {
    display: none;
  }

  .visual {
    order: 2;
  }

  .pdf-cover {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  :root {
    --ticker-height: 38px;
  }

  .announcement-track {
    animation-duration: 31s;
  }

  .announcement-group {
    gap: 13px;
    padding-right: 13px;
  }

  .announcement-item {
    font-size: 9px;
    letter-spacing: 0.055em;
  }

  .announcement-separator {
    font-size: 9px;
  }

  .announcement-viewport::before,
  .announcement-viewport::after {
    width: 48px;
  }

  .video-info {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .terminal-body {
    padding: 35px 18px;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .boot-lines p,
  .loader span,
  .enter-button {
    opacity: 1;
    animation: none;
  }

  .loader span {
    width: 100%;
  }

  .announcement-track {
    transform: none;
    animation: none;
  }
}
