
:root {
  --bg: #07090d;
  --panel: #11151c;
  --panel-2: #171c24;
  --text: #f4f7fb;
  --muted: #a3acb9;
  --line: rgba(255,255,255,.12);
  --accent: #e8ff2f;
  --accent-dark: #a8bc00;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 32px;
  background: var(--accent);
  color: #050607;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  transform: skewX(-10deg);
}
.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .05em;
}
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a:hover { color: var(--text); }
.header-cta {
  padding: 12px 17px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
}
.menu-toggle { display: none; margin-left: auto; background: none; color: white; border: 0; font-size: 23px; }

.hero {
  min-height: 760px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 70px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -170px;
  top: 90px;
  background: radial-gradient(circle, rgba(232,255,47,.14), transparent 67%);
  filter: blur(10px);
}
.eyebrow, .section-kicker, .section-heading > span {
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--accent);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff394f;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 14px #ff394f;
}
h1, h2, h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  margin: 0;
  line-height: .94;
}
h1 { font-size: clamp(64px, 7.4vw, 108px); margin: 24px 0; letter-spacing: -.02em; }
h1 span { color: var(--accent); }
.hero-text { max-width: 640px; color: var(--muted); line-height: 1.75; font-size: 17px; }
.hero-text strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 42px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 800;
}
.btn-primary { background: var(--accent); color: #080a0d; }
.btn-primary:hover { background: white; }
.btn-secondary { border: 1px solid var(--line); }
.btn-secondary:hover { border-color: white; }
.hero-stats { display: flex; gap: 38px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Barlow Condensed"; font-size: 34px; }
.hero-stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }

.race-card-wrap { position: relative; z-index: 2; }
.race-card {
  background: linear-gradient(145deg, rgba(27,33,43,.96), rgba(11,14,19,.96));
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
  transform: rotate(1deg);
}
.race-card::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--accent);
  margin: -28px -28px 28px;
}
.race-card-top, .grid-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
}
.status-pill { color: #0b0e11; background: var(--accent); padding: 7px 9px; }
.track-label { margin-top: 50px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.race-card h2 { margin-top: 10px; font-size: clamp(46px, 5vw, 68px); }
.countdown {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 42px 0 30px;
}
.countdown div { display: flex; flex-direction: column; }
.countdown strong {
  font-family: "Barlow Condensed";
  font-size: 72px;
  line-height: .8;
}
.countdown span { color: var(--muted); font-size: 10px; letter-spacing: .15em; margin-top: 12px; }
.countdown b { font-size: 42px; color: var(--accent); margin-bottom: 18px; }
.join-command {
  border: 1px solid var(--line);
  padding: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.join-command span { color: var(--muted); font-size: 10px; letter-spacing: .11em; }
.join-command strong { color: var(--accent); font-size: 23px; }
.grid-line { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 18px; }

.ticker {
  overflow: hidden;
  background: var(--accent);
  color: #06080a;
  transform: rotate(-1.1deg) scale(1.02);
}
.ticker-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 13px 0;
  animation: ticker 24s linear infinite;
  font-family: "Barlow Condensed";
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .07em;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 650px; margin-bottom: 55px; }
.section-heading h2, .format-copy h2, .join-section h2 { font-size: clamp(48px, 6vw, 82px); margin: 14px 0 18px; }
.section-heading p, .format-copy p, .join-section p { color: var(--muted); line-height: 1.75; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.step-card {
  min-height: 270px;
  padding: 25px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(232,255,47,.4); }
.step-number { color: var(--accent); font-family: "Barlow Condensed"; font-size: 18px; }
.step-card h3 { font-size: 30px; margin: 75px 0 14px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.step-card em { color: var(--accent); font-style: normal; }

.format-section { padding-top: 20px; }
.format-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px;
  background: linear-gradient(135deg, var(--panel-2), #0c0f14);
  border: 1px solid var(--line);
}
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.format-stat {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line);
}
.format-stat strong { font-family: "Barlow Condensed"; font-size: 50px; }
.format-stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.format-stat.accent { background: var(--accent); color: #080a0d; }
.format-stat.accent span { color: #252800; }

.compact { margin-bottom: 35px; }
.rules-grid { border-top: 1px solid var(--line); }
.rule {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}
.rule span { color: var(--accent); font-family: "Barlow Condensed"; font-size: 22px; }
.rule p { font-family: "Barlow Condensed"; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); margin: 0; }

.join-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 30px auto 100px;
  padding: 70px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: radial-gradient(circle at right, rgba(232,255,47,.10), transparent 35%);
}
.join-section > div { max-width: 700px; }
.btn-large { min-width: 240px; min-height: 62px; }

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 120px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}
footer p { margin-left: auto; text-transform: uppercase; letter-spacing: .1em; }
.footer-brand { color: var(--text); }

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0d1015;
    padding: 22px;
    border: 1px solid var(--line);
  }
  .hero { grid-template-columns: 1fr; padding: 80px 0; }
  .race-card-wrap { max-width: 600px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .format-panel { grid-template-columns: 1fr; padding: 40px; }
  .join-section { flex-direction: column; align-items: flex-start; padding: 45px; }
}
@media (max-width: 560px) {
  .site-header, .hero, .section, .join-section, footer { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: 58px; }
  .hero-stats { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .format-panel, .join-section { padding: 28px; }
  .countdown strong { font-size: 58px; }
  footer { flex-wrap: wrap; padding: 28px 0; }
  footer p { margin-left: 0; width: 100%; }
}
