@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-italic.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/inter-800.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #06110d;
  --ink: #f7f0de;
  --muted: #c6d2c7;
  --green: #9ad7ae;
  --green-deep: #1e8d61;
  --cyan: #84f7ff;
  --gold: #ffe08a;
  --hot: #ff7ab8;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.105);
  --shadow: 0 42px 130px rgba(0, 0, 0, 0.42);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(140deg, rgba(132, 247, 255, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
}

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

.shell {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.backdrop {
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.backdrop::before {
  background:
    radial-gradient(circle at 22% 12%, rgba(132, 247, 255, 0.18), transparent 27%),
    radial-gradient(circle at 75% 20%, rgba(255, 224, 138, 0.16), transparent 26%),
    radial-gradient(circle at 54% 84%, rgba(255, 122, 184, 0.09), transparent 30%),
    linear-gradient(135deg, #06110d 0%, #0a1f19 38%, #020605 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.grid {
  background-image:
    linear-gradient(rgba(132, 247, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 240, 222, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  inset: -20%;
  opacity: 0.18;
  position: absolute;
  transform: rotate(-7deg);
  animation: gridDrift 18s linear infinite;
}

.beam {
  height: 0.16rem;
  left: -25%;
  position: absolute;
  width: 150%;
  transform: rotate(-15deg);
  transform-origin: center;
}

.beam::before {
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 24px rgba(132, 247, 255, 0.54);
  content: "";
  display: block;
  height: 100%;
  opacity: 0.72;
  transform: translateX(-70%);
  animation: beamRush 4.8s ease-in-out infinite;
}

.beam-a {
  top: 31%;
}

.beam-b {
  top: 64%;
}

.beam-b::before {
  animation-delay: 1.4s;
  opacity: 0.45;
}

.spark-field {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.spark-field span {
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 14px currentColor;
  height: 0.24rem;
  left: var(--x);
  opacity: 0;
  position: absolute;
  top: var(--y);
  width: 0.24rem;
  animation: spark 5.5s ease-in-out infinite;
  animation-delay: var(--delay);
}

.spark-field span:nth-child(1) { --x: 8%; --y: 24%; --delay: 0.1s; color: var(--cyan); }
.spark-field span:nth-child(2) { --x: 17%; --y: 72%; --delay: 2.4s; color: var(--gold); }
.spark-field span:nth-child(3) { --x: 26%; --y: 12%; --delay: 1.1s; color: var(--green); }
.spark-field span:nth-child(4) { --x: 35%; --y: 54%; --delay: 3.6s; color: var(--cyan); }
.spark-field span:nth-child(5) { --x: 45%; --y: 82%; --delay: 0.9s; color: var(--hot); }
.spark-field span:nth-child(6) { --x: 56%; --y: 20%; --delay: 2.9s; color: var(--gold); }
.spark-field span:nth-child(7) { --x: 63%; --y: 62%; --delay: 1.7s; color: var(--cyan); }
.spark-field span:nth-child(8) { --x: 74%; --y: 34%; --delay: 4.2s; color: var(--green); }
.spark-field span:nth-child(9) { --x: 83%; --y: 76%; --delay: 0.4s; color: var(--cyan); }
.spark-field span:nth-child(10) { --x: 91%; --y: 16%; --delay: 3.1s; color: var(--gold); }
.spark-field span:nth-child(11) { --x: 70%; --y: 8%; --delay: 5s; color: var(--hot); }
.spark-field span:nth-child(12) { --x: 12%; --y: 46%; --delay: 4.7s; color: var(--green); }
}

.glow {
  border-radius: 999px;
  filter: blur(70px);
  position: absolute;
}

.glow-a {
  background: rgba(30, 141, 97, 0.28);
  bottom: -18rem;
  height: 40rem;
  left: 50%;
  --glow-x: -50%;
  transform: translateX(-50%);
  width: 72rem;
  animation: glowPulse 6s ease-in-out infinite;
}

.glow-b {
  background: rgba(132, 247, 255, 0.12);
  height: 22rem;
  right: -10rem;
  top: 12rem;
  --glow-x: 0%;
  width: 22rem;
  animation: glowPulse 7.5s ease-in-out infinite reverse;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 82rem;
  padding: 1.35rem clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
  animation: dropIn 650ms ease-out both;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.8rem;
  position: relative;
}

.mark {
  border: 0;
  display: block;
  flex: 0 0 auto;
  height: 2.55rem;
  object-fit: contain;
  width: 2.55rem;
  filter:
    drop-shadow(0 0 16px rgba(132, 247, 255, 0.35))
    drop-shadow(0 10px 12px rgba(0, 0, 0, 0.2));
  animation: logoPulse 3.4s ease-in-out infinite;
}

.brand-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 0.9;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1.08fr 0.92fr;
  margin: 0 auto;
  max-width: 82rem;
  min-height: calc(100svh - 5.5rem);
  padding: clamp(2.25rem, 5vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: riseIn 820ms ease-out 120ms both;
  position: relative;
}

.launch-kicker {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  margin: 0 0 1rem;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(132, 247, 255, 0.42);
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(4.3rem, 11vw, 9rem);
  line-height: 0.82;
  max-width: 65rem;
  text-wrap: balance;
  text-shadow:
    0 0 30px rgba(132, 247, 255, 0.16),
    0 18px 70px rgba(0, 0, 0, 0.45);
}

h1 span {
  background: linear-gradient(100deg, var(--ink), var(--cyan), var(--gold), var(--ink));
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-style: italic;
  animation: headlineShine 3.2s ease-in-out infinite;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.5;
  margin: 2rem 0 0;
  max-width: 44rem;
  text-wrap: pretty;
}

.countdown {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.3rem;
  max-width: 46rem;
  perspective: 900px;
}

.time-card {
  background:
    linear-gradient(145deg, rgba(132, 247, 255, 0.13), rgba(255, 224, 138, 0.05)),
    var(--glass);
  border: 1px solid rgba(132, 247, 255, 0.22);
  border-radius: 0.5rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 18px 50px rgba(0, 0, 0, 0.24),
    0 0 40px rgba(132, 247, 255, 0.08);
  overflow: hidden;
  padding: 1rem;
  position: relative;
  text-align: center;
  backdrop-filter: blur(18px);
  animation: cardLift 700ms ease-out both;
}

.time-card:nth-child(2) {
  animation-delay: 90ms;
}

.time-card:nth-child(3) {
  animation-delay: 180ms;
}

.time-card:nth-child(4) {
  animation-delay: 270ms;
}

.time-card::before {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-130%);
  animation: cardSweep 3.8s ease-in-out infinite;
}

.time-card::after {
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold));
  bottom: 0;
  content: "";
  height: 0.16rem;
  left: 0;
  position: absolute;
  width: 100%;
  animation: energyBar 2.6s ease-in-out infinite;
}

.time-card strong {
  display: block;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.9;
  position: relative;
  text-shadow: 0 0 22px rgba(132, 247, 255, 0.22);
  z-index: 1;
}

.time-card.is-ticking strong {
  animation: numberPop 320ms ease-out;
}

.time-card span {
  color: var(--green);
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin-top: 0.65rem;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.date-line {
  color: #dbe9dc;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0.75rem 0 0;
  text-align: center;
  text-transform: uppercase;
  max-width: 46rem;
}

.launch-room {
  position: relative;
  animation: riseIn 860ms ease-out 260ms both;
}

.launch-room::before {
  background:
    linear-gradient(135deg, rgba(132, 247, 255, 0.2), transparent 45%),
    linear-gradient(315deg, rgba(255, 224, 138, 0.15), transparent 48%);
  border-radius: 1.5rem;
  content: "";
  filter: blur(2.3rem);
  inset: -1.4rem;
  position: absolute;
  animation: panelAura 4.8s ease-in-out infinite;
}

.orbit {
  inset: -2.2rem;
  pointer-events: none;
  position: absolute;
}

.orbit span {
  border: 1px solid rgba(132, 247, 255, 0.22);
  border-bottom-color: rgba(255, 224, 138, 0.54);
  border-left-color: transparent;
  border-radius: 45%;
  inset: var(--inset);
  position: absolute;
  transform: rotate(var(--angle));
  animation: orbitSpin var(--speed) linear infinite;
}

.orbit span:nth-child(1) {
  --angle: 7deg;
  --inset: 0.2rem;
  --speed: 14s;
}

.orbit span:nth-child(2) {
  --angle: -18deg;
  --inset: 1rem;
  --speed: 18s;
}

.orbit span:nth-child(3) {
  --angle: 31deg;
  --inset: 1.8rem;
  --speed: 22s;
}

.panel {
  background:
    linear-gradient(145deg, rgba(132, 247, 255, 0.1), rgba(255, 122, 184, 0.06)),
    rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(132, 247, 255, 0.2);
  border-radius: 0.8rem;
  box-shadow:
    var(--shadow),
    0 0 70px rgba(132, 247, 255, 0.1);
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
  backdrop-filter: blur(24px);
}

.panel::before {
  background:
    linear-gradient(90deg, transparent, rgba(132, 247, 255, 0.26), transparent),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  position: absolute;
  transform: translateY(-100%);
  animation: panelScan 4.4s ease-in-out infinite;
}

.panel > * {
  background: rgba(7, 18, 14, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.panel-head {
  align-items: center;
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 1.35rem;
}

.panel-head p,
.bottom-note p {
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(132, 247, 255, 0.35);
}

.panel-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 0.45rem;
  text-wrap: balance;
}

.cards {
  border-bottom: 0;
  border-top: 0;
  display: grid;
  gap: 0.75rem;
  padding: 0 1.35rem 1.35rem;
}

article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(132, 247, 255, 0.035));
  border: 1px solid rgba(132, 247, 255, 0.14);
  border-radius: 0.5rem;
  padding: 1rem;
  position: relative;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

article::before {
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  content: "";
  height: calc(100% - 1.4rem);
  left: 0;
  opacity: 0.65;
  position: absolute;
  top: 0.7rem;
  width: 0.16rem;
}

article:hover {
  border-color: rgba(255, 224, 138, 0.36);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  transform: translateY(-0.18rem);
}

article span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

article h3 {
  font-size: 1rem;
  margin: 0.45rem 0 0;
}

article p {
  color: #b8c5ba;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0.45rem 0 0;
}

.bottom-note {
  background:
    linear-gradient(115deg, rgba(132, 247, 255, 0.14), rgba(255, 224, 138, 0.1));
  border-color: rgba(255, 224, 138, 0.22);
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1.2rem 1.35rem;
}

.bottom-note strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.5;
  margin-top: 0.55rem;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 54px 54px;
  }
}

@keyframes beamRush {
  0%,
  20% {
    transform: translateX(-75%);
  }

  58%,
  100% {
    transform: translateX(75%);
  }
}

@keyframes spark {
  0%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.6);
  }

  18% {
    opacity: 0.95;
  }

  48% {
    opacity: 0.45;
    transform: translate3d(1.8rem, -2.4rem, 0) scale(1.35);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateX(var(--glow-x)) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(var(--glow-x)) scale(1.08);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-0.08rem) scale(1.04);
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineShine {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes cardLift {
  from {
    opacity: 0;
    transform: rotateX(10deg) translateY(1rem);
  }

  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

@keyframes numberPop {
  0% {
    transform: scale(1);
  }

  42% {
    color: var(--cyan);
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cardSweep {
  0%,
  44% {
    transform: translateX(-130%);
  }

  76%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes energyBar {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(0.32);
    transform-origin: left;
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes panelAura {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(1);
  }

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

@keyframes orbitSpin {
  from {
    transform: rotate(var(--angle));
  }

  to {
    transform: rotate(calc(var(--angle) + 360deg));
  }
}

@keyframes panelScan {
  0%,
  42% {
    transform: translateY(-100%);
  }

  72%,
  100% {
    transform: translateY(100%);
  }
}

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

  .launch-room {
    max-width: 42rem;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-top: 1rem;
  }

  .hero {
    gap: 2.25rem;
    padding-top: 1.4rem;
  }

  .launch-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

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

  .orbit {
    display: none;
  }

  .panel {
    border-radius: 0.8rem;
    padding: 0.75rem;
  }
}

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