/* === BASE === */
:root {
  --bg: #0B0D10;
  --bg-alt: #111318;
  --bg-card: #181B21;
  --fg: #F2F2F2;
  --fg-muted: #8A8F98;
  --accent: #00E87A;
  --accent-dim: rgba(0, 232, 122, 0.12);
  --accent-border: rgba(0, 232, 122, 0.3);
  --negative: #FF4D6A;
  --neutral: #8A8F98;
  --positive: #00E87A;
  --border: rgba(255,255,255,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  position: relative;
  padding: 100px 40px 90px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.meta-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.hero-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* === LIVE SCORE === */
.livescore {
  padding: 0 40px 80px;
}
.livescore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  max-width: 1000px;
}
.livescore-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.livescore-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--accent); }
}
.livescore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-width: 1000px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.game-card--live {
  border-color: rgba(0, 232, 122, 0.2);
}
.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.game-team {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  min-width: 32px;
}
.game-score {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-muted);
  letter-spacing: -0.02em;
}
.game-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-quarter {
  font-size: 12px;
  color: var(--fg-muted);
}
.game-pts {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 13px;
}
.shift-positive { color: var(--accent); }
.shift-negative { color: var(--negative); }
.shift-neutral { color: var(--fg-muted); }

/* === PROVIDERS === */
.providers {
  padding: 0 40px 80px;
  max-width: 1000px;
}
.providers-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}
.providers-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.provider-logo {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s;
}
.provider-logo:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}

/* === FEATURES === */
.features {
  padding: 80px 40px;
  background: var(--bg-alt);
}
.features-header {
  margin-bottom: 56px;
  max-width: 1000px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 32px;
  transition: border-color 0.25s;
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.12);
}
.feature-card--wide {
  grid-column: span 2;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 80px 40px;
}
.hiw-inner {
  max-width: 1000px;
}
.hiw-header {
  margin-bottom: 56px;
}
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.hiw-step {
  flex: 1;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  opacity: 0.6;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.hiw-connector {
  width: 40px;
  flex-shrink: 0;
  height: 1px;
  align-self: center;
  background: linear-gradient(90deg, var(--accent-border), var(--border));
  margin: 0 4px;
}

/* === CLOSING === */
.closing {
  padding: 100px 40px;
  background: var(--bg-alt);
  text-align: center;
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}
.closing-headline {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 48px;
}
.closing-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.closing-meta {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav, .hero, .livescore, .providers, .features, .howitworks, .closing, .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .hero-headline { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .hero-meta { gap: 16px; }
  .hero-meta-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }
  .hiw-steps { flex-direction: column; gap: 12px; }
  .hiw-connector { width: 32px; height: 1px; margin: 0; }
  .livescore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .livescore-grid { grid-template-columns: 1fr 1fr; }
}