@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;700&display=swap');

:root {
  --bg: #090e17;
  --surface: rgba(17, 24, 39, 0.7);
  --surface-soft: rgba(31, 41, 55, 0.6);
  --surface-strong: rgba(3, 7, 18, 0.85);
  --ink: #f8fafc;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #00e5ff;
  --brand-deep: #0284c7;
  --accent: #ffb800;
  --good: #10b981;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --glow: 0 0 24px rgba(0, 229, 255, 0.3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 184, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

.site-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 60px;
}

/* TOPBAR */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 8px 32px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 0 12px var(--brand);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-button {
  min-width: 44px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-button:hover,
.lang-button.active {
  color: #fff;
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.18);
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--brand);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* GLASSMORPHISM PANELS */
.hero,
.metric-pill,
.feature-card,
.panel-card,
.hero-market-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.panel-card:hover, .feature-card:hover, .metric-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* HERO SECTION */
.hero {
  padding: 40px;
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

/* Add immersive background to hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('/assets/football_hero.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.2) contrast(1.2);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-home {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  align-items: center;
}

.hero-live {
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
}

.eyebrow, .section-kicker, .panel-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

h1, h2, p { margin: 0; }

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  background: linear-gradient(180deg, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-text {
  margin-top: 20px;
  max-width: 44rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions, .trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.trust-row {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* BUTTONS */
.primary-link,
.primary-button,
.ghost-button,
.ghost-link,
.text-link {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.primary-link, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #0284c7);
  color: #000;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.primary-link:hover, .primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.4);
  background: linear-gradient(135deg, #33ebff, #0284c7);
}

.ghost-button, .ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: rgba(0, 229, 255, 0.05);
  color: var(--brand);
}

.ghost-button:hover, .ghost-link:hover {
  transform: translateY(-2px);
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15);
}

.text-link {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--brand);
}

/* UI CARDS within Hero */
.hero-market-card {
  border-radius: 24px;
  padding: 24px;
  background: var(--surface-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.market-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.market-head strong {
  background: rgba(16, 185, 129, 0.15);
  color: var(--good);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-market-list, .market-stat-list {
  display: grid;
  gap: 14px;
}

.hero-market-row, .market-stat-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-market-row:last-child, .market-stat-list div:last-child {
  border-bottom: none;
}

.hero-market-row span, .market-stat-list span, .market-footer span {
  color: var(--muted);
  font-size: 14px;
}

.hero-market-row strong, .market-stat-list strong {
  display: block;
  text-align: right;
  font-weight: 600;
  color: #fff;
}

.market-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.market-footer strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

/* METRICS STRIP */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.metric-pill {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.metric-pill::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100px; height: 100px;
  background: var(--brand);
  filter: blur(60px);
  opacity: 0.1;
  border-radius: 50%;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.metric-pill strong {
  display: block;
  margin-top: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  color: #fff;
  line-height: 1;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.feature-card {
  padding: 32px 24px;
}

.feature-card p:last-child {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* PREVIEW GRID & LAYOUTS */
.preview-grid, .live-layout, .results-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.panel-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.panel-card.wide {
  grid-column: span 2;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mini-note {
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
}

/* MATCH CARDS */
.match-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.match-grid.dense {
  grid-template-columns: repeat(3, 1fr);
}

.match-card {
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-soft), rgba(15, 23, 42, 0.4));
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.match-card:hover::before {
  opacity: 1;
}

.match-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 16px;
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.2;
}

.team-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.match-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

/* CHIPS (Odds, Results, Signals etc) */
.chip-list, .plan-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chip-list.columns-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.chip {
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 16px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chip:hover {
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.chip strong {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.chip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.chip-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 4px;
}

/* PLANS */
.plan-card {
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.plan-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 80px; height: 80px;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0.15;
  border-radius: 50%;
}

.plan-price {
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  color: #fff;
  margin: 4px 0;
}

.empty-state {
  color: var(--muted);
  font-style: italic;
  padding: 20px;
  text-align: center;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.1);
}

/* COMMERCIAL HOME OVERRIDES */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 12px;
  padding: 18px 18px 22px;
  border-radius: 22px;
  background: rgba(5, 10, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-home {
  min-height: 580px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-home .hero-text {
  max-width: 38rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.proof-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.proof-card span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.proof-card strong {
  font-size: 15px;
  line-height: 1.4;
}

.league-ribbon-section {
  margin-bottom: 24px;
}

.section-head.compact {
  align-items: center;
}

.league-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.league-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.14), rgba(0, 229, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commercial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 20px;
  margin-bottom: 24px;
}

.narrative-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.12), transparent 36%),
    var(--surface);
}

.narrative-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.narrative-points article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.narrative-points strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.3;
}

.narrative-points p {
  color: var(--muted);
  line-height: 1.7;
}

.spotlight-card {
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    var(--surface-strong);
}

.spotlight-copy {
  color: var(--muted);
  line-height: 1.7;
  margin-top: -6px;
}

.spotlight-meta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.primary-link.compact,
.ghost-link.compact {
  min-height: 46px;
  padding: 0 18px;
}

.hero-market-row {
  align-items: flex-start;
}

.hero-market-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero-market-teams strong {
  text-align: left;
  line-height: 1.35;
}

.team-logo-shell {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.match-card {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(7, 12, 20, 0.3)),
    linear-gradient(145deg, var(--surface-soft), rgba(15, 23, 42, 0.4));
}

.match-card::after {
  content: '';
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.14), transparent 70%);
  pointer-events: none;
}

.plans-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plans-footer p {
  color: var(--muted);
  line-height: 1.7;
}

/* ENTRANCE ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-entrance {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .hero-home, .hero-live,
  .metrics-strip, .feature-grid,
  .preview-grid, .live-layout, .results-layout,
  .match-grid, .match-grid.dense,
  .commercial-grid,
  .hero-proof-grid,
  .narrative-points,
  .chip-list.columns-2 {
    grid-template-columns: 1fr;
  }

  .panel-card.wide {
    grid-column: span 1;
  }

  .plans-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100%, calc(100% - 24px));
    padding: 16px 0 40px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .lang-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .hero, .feature-card, .panel-card, .metric-pill {
    padding: 24px 20px;
  }

  h1 {
    font-size: clamp(38px, 10vw, 54px);
  }

  .hero-proof-grid,
  .league-ribbon {
    gap: 10px;
  }
}
