:root {
  --bg: #050505;
  --panel: rgba(18, 18, 18, 0.72);
  --panel-strong: rgba(28, 28, 28, 0.9);
  --text: #f8f8f8;
  --muted: #a7a7a7;
  --line: rgba(255, 255, 255, 0.15);
  --red: #f31624;
  --clock-red: #ff8a1c;
  --red-deep: #9f0712;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(120deg, rgba(243, 22, 36, 0.2), transparent 24%),
    linear-gradient(180deg, #111 0%, #050505 52%, #000 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 10px
    );
  mix-blend-mode: screen;
  opacity: 0.32;
}

.launch-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.ambient-grid {
  position: fixed;
  inset: auto -12vw -34vh auto;
  z-index: -1;
  width: 70vw;
  height: 70vw;
  max-width: 920px;
  max-height: 920px;
  border: 1px solid rgba(243, 22, 36, 0.18);
  transform: rotate(-18deg);
  background:
    linear-gradient(90deg, rgba(243, 22, 36, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(243, 22, 36, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
}

.ticker {
  display: flex;
  gap: 48px;
  min-width: max-content;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  animation: drift 22s linear infinite;
}

.ticker span {
  white-space: nowrap;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 38px);
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 44px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(160px, 22vw, 300px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(243, 22, 36, 0.7);
  animation: pulse 1.6s ease-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 720px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  flex: 1;
  padding: clamp(28px, 6vh, 72px) 0;
}

.copy-block {
  max-width: 850px;
}

.eyebrow,
.panel-label {
  margin: 0 0 18px;
  color: var(--red);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 900;
  text-transform: uppercase;
}

.panel-label {
  color: var(--clock-red);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.8vw, 86px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: #d1d1d1;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.5;
  font-weight: 700;
}

.countdown-panel {
  position: relative;
  width: 100%;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(243, 22, 36, 0.18), transparent 38%),
    var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.countdown-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  border-top: 3px solid var(--red);
  pointer-events: none;
}

.countdown {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: center;
  gap: clamp(3px, 0.5vw, 8px);
  padding: clamp(12px, 1.5vw, 18px);
  border: 1px solid rgba(217, 31, 43, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(0, 0, 0, 0.44);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 30px rgba(201, 42, 50, 0.1);
}

.time-box {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  min-height: 108px;
  padding: 16px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(201, 42, 50, 0.14), transparent 62%),
    var(--panel-strong);
  box-shadow: inset 0 -18px 28px rgba(0, 0, 0, 0.32);
}

.time-box strong {
  display: block;
  max-width: 100%;
  color: var(--clock-red);
  font-family: Orbitron, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(28px, 2.65vw, 42px);
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 5px rgba(201, 42, 50, 0.38),
    0 0 16px rgba(201, 42, 50, 0.14);
}

.time-box span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.clock-separator {
  color: var(--clock-red);
  font-family: Orbitron, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 5px rgba(201, 42, 50, 0.36),
    0 0 14px rgba(201, 42, 50, 0.14);
  transform: translateY(-12px);
}

.launch-note {
  margin: 20px 0 0;
  color: #c7c7c7;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.bottom-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bottom-strip div {
  min-height: 86px;
  padding: 20px 24px 16px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-strip div:last-child {
  border-right: 0;
}

.bottom-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.bottom-strip strong {
  display: block;
  font-size: clamp(15px, 1.5vw, 22px);
  line-height: 1.1;
  font-weight: 900;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 22, 36, 0.75);
  }

  100% {
    box-shadow: 0 0 0 12px rgba(243, 22, 36, 0);
  }
}

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

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

@media (max-width: 1100px) {
  .hero {
    min-height: calc(100vh - 38px);
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    flex: initial;
    padding: 36px 0 30px;
  }

  .countdown-panel {
    width: 100%;
  }

  .bottom-strip {
    grid-template-columns: 1fr;
  }

  .bottom-strip div {
    min-height: 64px;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

@media (max-width: 560px) {
  .ticker {
    gap: 28px;
  }

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

  .status-pill {
    min-height: 36px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(34px, 10.8vw, 56px);
    line-height: 1.02;
  }

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

  .time-box {
    min-height: 104px;
    padding: 14px 8px 12px;
  }

  .time-box strong {
    font-size: clamp(30px, 10vw, 44px);
  }

  .clock-separator {
    display: none;
  }
}

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