* { box-sizing: border-box; }

:root {
  --bg: #0b0d0f;
  --panel: #111418;
  --panel-2: #15191e;
  --text: #f4f1ea;
  --muted: #969da6;
  --border: #252a31;
  --accent: #b7f36b;
  --accent-2: #d8ff9d;
  --danger: #ff786f;
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(183, 243, 107, .08), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, a { font: inherit; }

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

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  width: 100%;
  min-height: 74px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 15, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(183, 243, 107, .55);
  background: rgba(183, 243, 107, .08);
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover { color: var(--text); }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 56px;
  align-items: center;
  padding: 76px 0 66px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.section-kicker,
.countdown-label,
.timeline-type {
  margin: 0;
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
  max-width: 820px;
  margin: 18px 0 24px;
}

.accent { color: var(--accent); }

.hero-lede {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.4;
  max-width: 750px;
  margin: 0;
}

.hero-note {
  color: var(--muted);
  max-width: 690px;
  margin: 18px 0 0;
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.button-ghost:hover { border-color: #434a55; }

.countdown-card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
}

.countdown {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.countdown div {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0d1013;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.countdown span {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(46px, 6vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.08em;
}

.countdown small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.deadline {
  color: var(--muted);
  font-size: 13px;
  margin-top: 15px;
}

.progress-panel {
  margin: 34px 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 42px);
}

.progress-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.progress-heading h2 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 10px 0 0;
}

.muted { color: #6f7781; font-weight: 500; }

.progress-percent {
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  color: var(--accent);
}

.progress-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #080a0c;
  margin: 28px 0 30px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: inherit;
  transition: width .6s ease;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.stat-card {
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -.035em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}

.section-heading h2,
.about-section h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 10px 0 16px;
}

.section-heading > p:last-child,
.timeline-heading > p,
.channel-card p,
.timeline-card p,
.about-copy,
.rules-grid p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 62px;
}

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

.channel-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.channel-card h3,
.timeline-card h3,
.rules-grid h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}

.channel-card p { margin: 0; font-size: 14px; }

.channel-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 30px 0 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.channel-card dl div {
  padding: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.channel-card dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.channel-card dd {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 18px;
}

.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.timeline-heading > p {
  max-width: 480px;
  margin: 0 0 16px;
}

.timeline {
  margin-top: 44px;
  max-width: 920px;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 16px 132px minmax(0, 1fr);
  gap: 22px;
  position: relative;
  padding-bottom: 28px;
}

.timeline-entry::before {
  content: "";
  width: 1px;
  background: var(--border);
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: -8px;
}

.timeline-entry:last-child::before { display: none; }

.timeline-marker {
  width: 15px;
  height: 15px;
  margin-top: 7px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  z-index: 1;
}

.timeline-date {
  color: var(--muted);
  padding-top: 3px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.timeline-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.timeline-card h3 {
  font-size: 24px;
  margin-top: 8px;
}

.timeline-card p { margin-bottom: 18px; }

.metric-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.metric-chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: #c5c9cf;
  background: #0c0f12;
}

.watch-button {
  margin-top: 18px;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  cursor: pointer;
  font-weight: 800;
}

.watch-button span { margin-left: 6px; }

.about-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.about-copy {
  font-size: 18px;
  max-width: 720px;
}

.about-copy p:first-child { margin-top: 0; }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.rules-grid article {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 230px;
}

.rules-grid article > span {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 12px;
}

.rules-grid h3 { margin-top: 38px; }

.rules-grid p { font-size: 14px; margin-bottom: 0; }

footer {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--text); }

.video-modal {
  width: min(960px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  overflow: auto;
  padding: 0;
  border: 1px solid #343a42;
  background: #0f1215;
  color: var(--text);
  border-radius: 18px;
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  margin: 12px 12px -52px 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,14,16,.88);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

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

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.modal-copy { padding: 26px; }
.modal-copy h2 { margin: 9px 0 8px; letter-spacing: -.035em; }
.modal-copy p:last-child { color: var(--muted); margin-bottom: 0; }

@media (max-width: 960px) {
  .hero,
  .split-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    padding-top: 54px;
  }

  .countdown-card { max-width: 620px; }

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

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

  .topbar,
  .topbar-inner { min-height: 64px; }

  .topbar-inner {
    width: min(calc(100% - 22px), var(--max));
  }

  .nav-links { display: none; }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero h1 { font-size: clamp(44px, 14vw, 66px); }

  .countdown-card { padding: 18px; }
  .countdown div { min-height: 100px; padding: 14px; }

  .progress-panel { margin: 22px 0; border-radius: 16px; }
  .progress-heading { align-items: start; }
  .progress-heading h2 { font-size: 38px; }
  .progress-percent { padding-top: 18px; }

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

  .section { padding: 64px 0; }
  .channel-grid,
  .rules-grid { grid-template-columns: 1fr; }

  .timeline-heading { display: block; }

  .timeline-entry {
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline-date {
    grid-column: 2;
    padding: 0 0 2px;
  }

  .timeline-card {
    grid-column: 2;
    padding: 20px;
  }

  .timeline-marker {
    grid-row: 1 / span 2;
  }

  .timeline-entry::before { left: 6px; }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}