@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-pitch: #0d1b2e;
  --bg-pitch-deep: #081320;
  --bg-card: #142943;
  --bg-card-alt: #102339;
  --line: #24405f;
  --grass: #1f9d5c;
  --grass-deep: #156b3f;
  --gold: #f0a83a;
  --chalk: #f4f6f3;
  --sky: #8ba3bd;
  --sky-dim: #5d7794;
  --red: #e35454;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-pitch);
  color: var(--chalk);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

.section-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 27, 46, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.3px; }
.nav-logo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav-brand em { color: var(--gold); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a:not(.nav-cta) { color: var(--sky); transition: color 0.15s; }
.nav-links a:not(.nav-cta):hover { color: var(--chalk); }
.nav-cta {
  background: var(--grass); color: #fff !important;
  padding: 9px 18px; border-radius: 999px;
}
.nav-cta:hover { background: var(--grass-deep); }

/* ---------- Hero ---------- */
.hero { padding: 64px 24px 80px; overflow: hidden; }
.hero-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }
h1 {
  font-family: var(--font-display);
  font-size: 54px; line-height: 1.05; letter-spacing: -0.5px;
  margin: 0 0 20px; font-weight: 700;
}
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--sky); max-width: 480px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: #1a1305; }
.btn-primary:hover { background: #ffb94d; }
.btn-ghost { border-color: var(--line); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--sky-dim); }

/* ---------- Hero demo (signature element) ---------- */
.hero-demo {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 22px;
}
.demo-label { font-size: 12px; color: var(--sky-dim); text-align: center; margin: 0 0 18px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.demo-match { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.demo-team { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.demo-team-away { flex-direction: row-reverse; }
.demo-flag { width: 28px; height: 28px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.demo-time { font-size: 12px; color: var(--sky-dim); font-family: var(--font-body); }
.demo-picks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.demo-pick {
  background: var(--bg-card-alt); border: 1.5px solid var(--line); color: var(--sky);
  border-radius: 10px; padding: 14px 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  transition: all 0.12s;
}
.demo-pick span { font-family: var(--font-display); font-size: 22px; color: var(--chalk); }
.demo-pick:hover { border-color: var(--sky-dim); }
.demo-pick.active[data-pick="H"] { background: rgba(31,157,92,0.18); border-color: var(--grass); }
.demo-pick.active[data-pick="D"] { background: rgba(240,168,58,0.15); border-color: var(--gold); }
.demo-pick.active[data-pick="A"] { background: rgba(227,84,84,0.15); border-color: var(--red); }
.demo-pick.active span { color: inherit; }
.demo-hint { text-align: center; font-size: 12px; color: var(--sky-dim); margin: 14px 0 0; }

/* ---------- Closed banner ---------- */
.closed-banner {
  background: rgba(227,84,84,0.12);
  border-top: 1px solid rgba(227,84,84,0.3);
  border-bottom: 1px solid rgba(227,84,84,0.3);
  color: #f5a3a3;
  text-align: center;
  font-size: 14px; font-weight: 600;
  padding: 14px 20px;
}

/* ---------- Section shared ---------- */
.section-title {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  margin: 0 0 50px; letter-spacing: -0.3px;
}
.section-title.center { text-align: center; }
.how { padding: 90px 24px; background: var(--bg-pitch-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { padding: 0; }
.step-mark { font-family: var(--font-display); font-size: 15px; color: var(--gold); letter-spacing: 1px; }
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 10px 0 10px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--sky); margin: 0; }

/* ---------- Scoring ---------- */
.scoring { padding: 90px 24px; }
.scoring-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 720px; margin: 0 auto 24px; }
.score-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 20px; text-align: center;
}
.score-card-correct { border-color: rgba(31,157,92,0.4); background: rgba(31,157,92,0.08); }
.score-card-none { border-color: rgba(227,84,84,0.3); background: rgba(227,84,84,0.06); }
.score-value { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 6px; }
.score-card-correct .score-value { color: var(--grass); }
.score-card-none .score-value { color: var(--red); }
.score-label { font-size: 13px; color: var(--sky); text-transform: uppercase; letter-spacing: 0.5px; }
.scoring-note { text-align: center; color: var(--sky-dim); font-size: 14px; max-width: 480px; margin: 0 auto; }

/* ---------- CTA ---------- */
/* ---------- Payment status ---------- */
.payments { padding: 90px 24px; background: var(--bg-pitch-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.payments-sub { text-align: center; color: var(--sky); font-size: 14px; margin: 0 0 36px; }
.payments-table-wrap {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 8px; max-width: 720px; margin: 0 auto;
}
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.payments-table { width: 100%; min-width: 380px; border-collapse: collapse; }
.payments-scroll-hint { display: none; }
.payments-table th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--sky-dim); padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.payments-table th:nth-child(2), .payments-table th:nth-child(3) { text-align: center; }
.payments-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.payments-table td:nth-child(2), .payments-table td:nth-child(3) { text-align: center; }
.payments-table tr:last-child td { border-bottom: none; }
.payments-empty { text-align: center !important; color: var(--sky-dim); padding: 30px 18px !important; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.pay-badge.paid { background: rgba(31,157,92,0.15); color: var(--grass); }
.pay-badge.unpaid { background: rgba(227,84,84,0.13); color: var(--red); }

.cta { padding: 100px 24px; background: linear-gradient(180deg, var(--bg-pitch-deep), var(--bg-pitch)); border-top: 1px solid var(--line); }
.cta-inner { text-align: center; }
.cta h2 { font-family: var(--font-display); font-size: 34px; margin: 0 0 14px; }
.cta p { color: var(--sky); font-size: 16px; max-width: 480px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer { padding: 28px 24px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--sky-dim); flex-wrap: wrap; text-align: center; }
.footer-sep { opacity: 0.5; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 14px; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .scoring-grid { grid-template-columns: 1fr; max-width: 280px; }
  h1 { font-size: 34px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .demo-match { flex-wrap: wrap; gap: 10px 0; justify-content: center; }
  .demo-team, .demo-team-away { font-size: 15px; }
  .demo-time { display: block; width: 100%; text-align: center; order: 3; margin-top: 2px; }
  .payments-scroll-hint {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--sky-dim);
    margin: -10px 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
