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

:root {
  --black: #141414;
  --charcoal: #1f1f1f;
  --red: #b71c1c;
  --red-bright: #e53935;
  --cream: #f3f1ef;
  --gold: #f5a623;
  --white: #ffffff;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

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

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}
.nav .brand .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
}
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav ul a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav ul a:hover, .nav ul a.active { color: var(--white); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--red) 130%);
  padding: 72px 0 96px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 rgba(229,57,53,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229,57,53,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(229,57,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}
.hero h1 {
  font-size: 56px;
  margin: 0 0 20px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

/* ---- Scorecard mock (signature element) ---- */
.scorecard {
  background: var(--black);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
}
.scorecard .team-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--white);
}
.scorecard .team-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
}
.scorecard .score {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  margin: 4px 0 2px;
}
.scorecard .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.ball-ticker {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.ball {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.ball.four { background: #2e7d32; }
.ball.six { background: var(--gold); color: var(--black); }
.ball.wicket { background: var(--red-bright); }

/* ---- Section rule (signature divider, ball-by-ball motif) ---- */
.over-rule {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
}
.over-rule span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.35;
}
.over-rule span:nth-child(4) { background: var(--gold); opacity: 1; width: 10px; height: 10px; }

/* ---- Features ---- */
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 8px; }
.section-head .kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 34px; margin: 0 0 40px; color: var(--black); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.feature-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(183,28,28,0.08);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 800;
}
.feature-card h3 {
  font-family: 'Inter', sans-serif;
  text-transform: none;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- Footer ---- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 28px;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .brand {
  color: var(--white);
  font-family: 'Anton', sans-serif;
  font-size: 16px;
}
.footer ul {
  display: flex; gap: 24px; list-style: none; padding: 0; margin: 0;
  font-size: 13px;
}
.footer ul a:hover { color: var(--white); }
.footer .copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ---- Legal / content pages ---- */
.legal-header {
  background: linear-gradient(135deg, var(--black), var(--red) 140%);
  color: var(--white);
  padding: 56px 0;
}
.legal-header h1 { font-size: 36px; margin: 0 0 8px; }
.legal-header p { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.legal-body {
  background: var(--white);
  max-width: 780px;
  margin: -32px auto 60px;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.legal-body h2 {
  font-family: 'Inter', sans-serif;
  text-transform: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  margin: 32px 0 10px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.legal-body ul { padding-left: 20px; }

/* ---- Support page ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(0,0,0,0.06);
}
.faq-item h3 {
  font-family: 'Inter', sans-serif;
  text-transform: none;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}
.faq-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.contact-card {
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 780px;
  margin: 40px auto 0;
}
.contact-card .email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--gold);
  margin-top: 10px;
  display: inline-block;
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .legal-body { padding: 28px; margin: -20px 16px 40px; }
}
