/* ============================================================
   RCL v2 — RCL-Style Design System
   Inspired by: https://www.iplt20.com/
   ============================================================ */

/* ---- DESIGN TOKENS ----------------------------------------- */
:root {
  /* Core palette — Deep Navy + Orange (RCL signature) */
  --navy-900: #030d26;
  --navy-800: #06153c;
  --navy-700: #0c2060;
  --navy-600: #102880;
  --navy-500: #1a3a9e;
  --orange: #f55600;
  --orange-lt: #ff6b1a;
  --gold: #fbbf24;
  --white: #ffffff;
  --off-white: #f4f5f8;
  --light-blue: #e8edf8;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, .75);
  --text-muted: rgba(255, 255, 255, .55);
  --text-dark: #0c1a3e;

  /* UI surfaces */
  --surface-dark: rgba(255, 255, 255, .06);
  --surface-darker: rgba(0, 0, 0, .25);
  --border: rgba(255, 255, 255, .12);
  --border-light: rgba(255, 255, 255, .2);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .5);
  --glow-orange: 0 0 30px rgba(245, 86, 0, .3);

  /* Geometry */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-card: 10px;
  /* unified card radius */
  --wrap: 1220px;
  --gutter: 24px;
  --touch-min: 44px;

  /* Unified card tokens — dark sections */
  --card-dark-bg: rgba(255, 255, 255, .05);
  --card-dark-border: rgba(255, 255, 255, .11);
  --card-dark-shadow: 0 6px 24px rgba(0, 0, 0, .4);

  /* Unified card tokens — light sections */
  --card-light-bg: #ffffff;
  --card-light-border: rgba(12, 26, 62, .1);
  --card-light-shadow: 0 4px 16px rgba(12, 26, 62, .08);

  /* Typography */
  --font-head: 'Oswald', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;
}

/* ---- RESET -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--navy-800);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   UNIFIED CARD SYSTEM
   All section cards share the same radius, border & shadow
   pattern. Dark sections use glass-style; light sections
   use crisp-white with a soft navy border.
   ============================================================ */

/* Dark-section cards: scorecard, team-card, sponsor-card, panel on dark */
.scorecard-big,
.team-card,
.sponsor-card,
.section--dark .panel {
  border-radius: var(--r-card);
  border: 1px solid var(--card-dark-border);
  box-shadow: var(--card-dark-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

/* Light-section cards: match-card, panel on light */
.match-card,
.section--light .panel {
  border-radius: var(--r-card);
  border: 1px solid var(--card-light-border);
  box-shadow: var(--card-light-shadow);
  background: var(--card-light-bg);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

/* The colorful top gradient accent for ALL cards */
.scorecard-big::before,
.team-card::before,
.sponsor-card::before,
.section--dark .panel::before,
.match-card::before,
.section--light .panel::before,
.table-scroll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--orange));
  z-index: 10;
}


/* Shared hover lift — consistent 3px lift on all cards */
.scorecard-big:hover,
.team-card:hover,
.sponsor-card:hover,
.match-card:hover,
.section--dark .panel:hover,
.section--light .panel:hover {
  transform: translateY(-3px);
}

.scorecard-big:hover,
.team-card:hover,
.section--dark .panel:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .18);
}

/* Stats table gets the light card style — one card, no wrapper */
.table-scroll {
  border-radius: var(--r-card);
  border: 1px solid var(--card-light-border);
  box-shadow: var(--card-light-shadow);
  overflow: hidden;
  position: relative;
}


.match-card:hover,
.section--light .panel:hover {
  box-shadow: 0 10px 30px rgba(12, 26, 62, .14);
}

h4 {
  margin: 0;
}

/* ---- UTILITIES ---------------------------------------------- */
.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.muted {
  color: var(--text-muted);
}

.skip {
  position: absolute;
  left: 12px;
  top: 10px;
  transform: translateY(-120%);
  background: var(--navy-800);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--r-md);
  z-index: 9999;
  font-size: 14px;
}

.skip:focus {
  transform: translateY(0);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   UTILITY BAR (top dark strip)
   ============================================================ */
.utility-bar {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 7px 0;
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.utility-bar__league {
  color: var(--gold);
  font-weight: 600;
}

.utility-bar__weather {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 500;
}

.utility-bar__weather-label {
  color: var(--text-muted);
}

.utility-bar__weather-temp {
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.utility-bar__weather-sep {
  color: rgba(255, 255, 255, .3);
}

.utility-bar__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-bar__links a {
  color: var(--text-secondary);
  transition: color .2s;
}

.utility-bar__links a:hover {
  color: var(--orange);
}

.utility-bar__sep {
  color: rgba(255, 255, 255, .25);
}

/* ============================================================
   TOPBAR / NAV
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 21, 60, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s;
}

.topbar[data-elevated="true"] {
  box-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  padding-top: max(12px, env(safe-area-inset-top));
}

.topbar__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--orange));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand__logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 92px;
  object-fit: contain;
  object-position: center;
  /* Sharper scaling on HiDPI / when downscaling a high-res PNG */
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.brand__subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .brand__logo {
    height: 56px;
    max-width: 74px;
  }

  .brand__title {
    font-size: 15px;
  }

  .brand__subtitle {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
}

/* Nav */
.nav {
  position: relative;
}

.nav__panel {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(245, 86, 0, .15);
}

.nav__link.is-active {
  color: var(--orange);
  background: rgba(245, 86, 0, .12);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  cursor: pointer;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
}

.hamburger {
  width: 20px;
  height: 2px;
  background: var(--white);
  display: block;
  position: relative;
  border-radius: 2px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 0;
  /* RCL signature: parallelogram / skewed button */
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(.95);
}

.btn--orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white);
  box-shadow: var(--glow-orange);
}

.btn--orange:hover {
  box-shadow: 0 0 40px rgba(245, 86, 0, .5);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .5);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(460px, 75vh, 680px);
  overflow: hidden;
}

.hero__slider {
  height: 100%;
}

.hero__slides {
  position: relative;
  min-height: clamp(460px, 75vh, 680px);
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  min-height: clamp(460px, 75vh, 680px);
}

.slide.is-active {
  display: block;
}

.slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(6, 21, 60, .92) 0%,
      rgba(6, 21, 60, .7) 45%,
      rgba(6, 21, 60, .3) 70%,
      rgba(6, 21, 60, .55) 100%);
}

.slide__bg--one {
  background-image:
    url("../assets/hero-1.svg"),
    radial-gradient(ellipse at 60% 0%, rgba(245, 86, 0, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.slide__bg--two {
  background-image:
    url("../assets/hero-2.svg"),
    radial-gradient(ellipse at 70% 50%, rgba(30, 58, 158, .5), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}

.slide__bg--three {
  background-image:
    url("../assets/hero-3.svg"),
    radial-gradient(ellipse at 50% 80%, rgba(245, 86, 0, .25), transparent 55%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
}

.slide__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: clamp(460px, 75vh, 680px);
  flex-wrap: wrap;
}

.slide__text {
  flex: 1;
  min-width: 280px;
  max-width: 560px;
}

.slide__widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  min-width: 260px;
  max-width: 520px;
  align-content: start;
}

/* Centered variant for video slide */
.slide--video .slide__content {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 40px;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}

.h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.h1__accent {
  color: var(--orange);
  position: relative;
}

.h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

.h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slide__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

/* Hero controls */
.hero__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  z-index: 2;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

.slider-btn:hover {
  border-color: var(--orange);
  background: rgba(245, 86, 0, .2);
  color: var(--orange);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dotbtn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  border: none;
  cursor: pointer;
  transition: background .2s, width .3s;
}

.dotbtn[aria-current="true"] {
  width: 28px;
  border-radius: 5px;
  background: var(--orange);
}

/* ============================================================
   WIDGETS (inside hero slide)
   ============================================================ */
.widget {
  background: rgba(6, 21, 60, .75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.widget__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time {
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: center;
  min-width: 52px;
}

.time span {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .02em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.time small {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.time__sep {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
}

/* Mini Scorecard */
.widget--score .widget__label {
  text-align: center;
}

.mini-score__venue {
  font-size: 12px;
  margin-bottom: 10px;
  text-align: center;
}

.mini-score__teams {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-score__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #aaa;
}

.mini-name {
  flex: 1;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .04em;
  font-size: 16px;
}

.mini-runs {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--gold);
}

.mini-score__vs {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: .14em;
}

.mini-score__status {
  font-size: 12px;
  margin-top: 10px;
}

.mini-score__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
}

.mini-score__link:hover {
  text-decoration: underline;
}

/* ============================================================
   TEAM STRIP — shared base
   ============================================================ */
.team-strip {
  background: linear-gradient(180deg, rgba(2, 10, 35, .95), var(--navy-900));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 2px solid rgba(245, 86, 0, .35);
  overflow: hidden;
}

/* Variant label shown while both are visible — remove once you pick one */
.strip-variant-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 0 4px;
  color: var(--orange);
  opacity: .75;
}

.strip-variant-label em {
  font-style: normal;
  color: rgba(255, 255, 255, .5);
}

.team-strip__scroll {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}


.team-strip__scroll::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   VARIANT B — Pill Cards (the chosen design)
   ============================================================ */
.team-strip--pills {
  padding: 0 0 20px;
}

.team-strip--pills .team-strip__scroll {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 4px 20px 8px;
}

.chip-b {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
  /* Fixed uniform size — all pills equal width */
  width: 180px;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.chip-b::before {
  /* left colour bar */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px 0 0 999px;
  /*background: var(--chip-color, var(--orange));*/
}

.chip-b:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.chip-b__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

.chip-b__icon {
  font-size: 15px;
}

.chip-b__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.chip-b__abbr {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--white);
  white-space: nowrap;
}

.chip-b__full {
  font-size: 10px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* Mobile — pills scroll horizontally */
@media (max-width: 720px) {
  .team-strip--pills .team-strip__scroll {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 12px 8px;
  }

  .chip-b {
    width: 160px;
    padding: 8px 12px 8px 8px;
  }

  .chip-b__full {
    display: none;
  }

  .chip-b__icon-wrap {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 64px 0;
}

.section--dark {
  background: var(--navy-800);
}

.section--light {
  background: var(--off-white);
  color: var(--text-dark);
}

.section--light .muted {
  color: rgba(12, 26, 62, .6);
}

.section--light .h2 {
  color: var(--navy-800);
}

.section--light .h3 {
  color: var(--navy-800);
}

.section__head {
  margin-bottom: 32px;
}

.section__title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.section__tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(245, 86, 0, .15);
  color: var(--orange);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.section--light .section__tag {
  background: rgba(245, 86, 0, .1);
}

.section__tag--orange {
  background: rgba(245, 86, 0, .15);
}

/* ============================================================
   LIVE CENTER
   ============================================================ */
.live-single {
  width: 100%;
}

.scorecard-big {
  background:
    radial-gradient(800px 300px at 10% 10%, rgba(245, 86, 0, .12), transparent 50%),
    radial-gradient(700px 250px at 90% 80%, rgba(26, 58, 158, .3), transparent 55%),
    linear-gradient(175deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  backdrop-filter: blur(12px);
}


.scorecard-big__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  background: rgba(239, 68, 68, .15);
  border: 1px solid rgba(239, 68, 68, .4);
  color: #ef4444;
}

.live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, .5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
  }
}

.scorecard-big__teams {
  padding: 20px;
  display: grid;
  gap: 4px;
}

.teamrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s;
}

.teamrow__id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crest,
.crest--lg {
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}

.crest {
  width: 36px;
  height: 36px;
}

.crest--lg {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.teamrow__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
}

.teamrow__overs {
  font-size: 12px;
  margin-top: 2px;
}

.teamrow__score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.runs-big {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: .02em;
  color: var(--gold);
}

.rr-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

.vs-bar {
  text-align: center;
  padding: 6px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: .14em;
}

.scorecard-big__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}

.status-text {
  font-size: 13px;
}

.card-actions {
  display: flex;
  gap: 10px;
}

/* Info panel */
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  padding: 20px;
}

.panel--info {}

.info-callout {
  margin: 14px 0;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  padding: 14px;
}

.info-callout__title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
}

.info-callout ol {
  padding-left: 18px;
}

.info-callout li {
  margin: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

code {
  background: rgba(255, 255, 255, .1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .85em;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.kv-item {
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.kv-item span {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.kv-item strong {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ============================================================
   FIXTURES
   ============================================================ */
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
}

.seg {
  display: flex;
  gap: 4px;
  align-items: center;
}

.seg__btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(12, 26, 62, .25);
  border-radius: 999px;
  cursor: pointer;
  color: rgba(12, 26, 62, .65);
  transition: background .2s, color .2s, border-color .2s;
}

.section--light .seg__btn {
  color: rgba(12, 26, 62, .65);
  border-color: rgba(12, 26, 62, .2);
}

.seg__btn.is-active {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.section--dark .seg__btn {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, .2);
}

.section--dark .seg__btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.search-box__icon {
  position: absolute;
  left: 12px;
  font-size: 14px;
}

.search-box input {
  padding: 10px 14px 10px 36px;
  border-radius: 999px;
  border: 1px solid rgba(12, 26, 62, .2);
  background: white;
  color: var(--text-dark);
  font-size: 14px;
  min-width: 260px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 86, 0, .12);
}

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

.match-card {
  color: var(--text-dark);
}


.match-card__accent {
  height: 4px;
}

.match-card__body {
  padding: 16px;
}

.match-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.match-card__meta .muted {
  font-size: 12px;
}

.match-card__teams {
  display: grid;
  gap: 8px;
}

.match-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-card__row strong {
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .04em;
  font-size: 16px;
}

.match-card__row .score {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy-800);
}

.match-card__row .small {
  font-size: 12px;
  color: rgba(12, 26, 62, .5);
}

.match-card__vs {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
}

.match-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(12, 26, 62, .08);
  background: var(--off-white);
}

.tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.tag--upcoming {
  background: rgba(245, 86, 0, .1);
  color: var(--orange);
  border: 1px solid rgba(245, 86, 0, .2);
}

.tag--result {
  background: rgba(16, 185, 129, .1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, .2);
}

.countdown-pill {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 26, 62, .06);
  border: 1px solid rgba(12, 26, 62, .1);
  color: rgba(12, 26, 62, .65);
}

/* ============================================================
   TEAMS GRID
   ============================================================ */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.team-card {
  background:
    radial-gradient(600px 280px at 20% 10%, rgba(255, 255, 255, .08), transparent 50%),
    rgba(255, 255, 255, .04);
  padding: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, .25);
}

.team-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.team-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .04em;
  color: white;
  border: 2px solid rgba(255, 255, 255, .25);
  flex-shrink: 0;
}

.team-card__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.team-card__meta {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.meta-pair {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 8px;
  align-items: start;
}

.meta-pair span {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 1px;
}

.meta-pair strong {
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
  min-width: 0;
}

/* ============================================================
   STATS TABLE
   ============================================================ */
.stats-layout {}

.stats-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.section--light .stats-controls .seg__btn {
  color: rgba(12, 26, 62, .65);
  border-color: rgba(12, 26, 62, .2);
}

.section--light .seg__btn.is-active {
  background: var(--navy-800);
  color: white;
  border-color: var(--navy-800);
}

.pill--updated {
  margin-left: auto;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(12, 26, 62, .08);
  color: rgba(12, 26, 62, .5);
  border: 1px solid rgba(12, 26, 62, .1);
}

.table-scroll {
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: white;
}

.stats-table th,
.stats-table td {
  padding: 14px 16px;
  text-align: left;
}

.stats-table th {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(12, 26, 62, .5);
  background: var(--off-white);
  border-bottom: 2px solid rgba(12, 26, 62, .08);
}

.stats-table td {
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(12, 26, 62, .06);
}

.stats-table tbody tr:hover {
  background: rgba(245, 86, 0, .03);
}

.stats-table tbody tr:last-child td {
  border-bottom: none;
}

.stats-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.sponsor-card {
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(255, 255, 255, .07), transparent 70%),
    rgba(255, 255, 255, .05);
  padding: 28px 24px;
  text-align: center;
}

.sponsor-card:hover {
  border-color: var(--orange);
  background: rgba(245, 86, 0, .07);
}

.sponsor-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin-bottom: 12px;
}

.sponsor-card__logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-card__fallback {
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
}

.sponsor-card__fallback.is-visible {
  display: block;
}

.sponsor-card__name {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   RCL COMMITTEE
   ============================================================ */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.committee-card {
  text-align: center;
  padding: 24px 20px;
}

.committee-card__photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
  background: var(--surface-dark);
  border: 2px solid var(--card-dark-border);
}

.committee-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.committee-card__role {
  font-size: 14px;
  line-height: 1.4;
}

/* ============================================================
   GALLERY (slideshow)
   ============================================================ */
.gallery-slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-slideshow__track {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-dark);
  border: 1px solid var(--card-dark-border);
  box-shadow: var(--card-dark-shadow);
}

.gallery-slideshow__slides {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--navy-900);
}

.gallery-slide {
  display: none;
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.gallery-slide.is-active {
  display: block;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.gallery-slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gallery-slideshow__btn {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  flex-shrink: 0;
}

.gallery-slideshow__btn:hover {
  border-color: var(--orange);
  background: rgba(245, 86, 0, .2);
  color: var(--white);
}

.gallery-slideshow__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.gallery-slideshow__dot:hover:not(:disabled) {
  background: rgba(255, 255, 255, .5);
}

.gallery-slideshow__dot.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

.gallery-slideshow__dot:disabled {
  cursor: default;
}

.gallery-slideshow__caption {
  text-align: center;
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 1.4em;
}

.gallery-path,
.gallery-empty code {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
}

.gallery-empty {
  margin-top: 16px;
}

/* Gallery lightbox */
.gallery-lightbox {
  padding: 0;
  border: none;
  border-radius: var(--r-md);
  max-width: 95vw;
  max-height: 95vh;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(3, 13, 38, .9);
  backdrop-filter: blur(8px);
}

.gallery-lightbox__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 16px;
}

.gallery-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease;
}

.gallery-lightbox__close:hover {
  background: var(--orange);
}

.gallery-lightbox__img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  padding: 20px;
}

.news-card__date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.news-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.news-card__body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.news-card__body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 10px;
}

.news-card__body p:last-child {
  margin-bottom: 0;
}

.news-card__link {
  color: var(--accent, #f59e0b);
  font-weight: 600;
  text-underline-offset: 3px;
}

.news-card__link:hover {
  text-decoration: underline;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.section--light .panel {
  background: white;
  border: 1px solid rgba(12, 26, 62, .1);
  box-shadow: var(--shadow-sm);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(12, 26, 62, .8);
}

.feat-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.api-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.api-list li code {
  background: rgba(12, 26, 62, .07);
  color: var(--navy-800);
  word-break: break-all;
  font-size: 12px;
}

/* ============================================================
   SPONSOR TICKER
   ============================================================ */
.sponsor-ticker {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 12px 0;
  overflow: hidden;
}

/* Below main nav — sits above hero */
.sponsor-ticker--top {
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sponsor-ticker__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sponsor-ticker__label {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--orange);
  text-transform: uppercase;
}

.sponsor-ticker__track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* Fade only the trailing edge — left fade was clipping the first partner name */
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.sponsor-ticker__scroll {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 68s linear infinite;
}

.sponsor-ticker__scroll:hover {
  animation-play-state: paused;
}

.sponsor-ticker__set {
  display: flex;
  align-items: center;
  gap: 1.5em;
  white-space: nowrap;
  /* Match gap between partners when one set meets the duplicate (◆ … Elevenology) */
  padding-inline-end: 1.5em;
}

.sponsor-ticker__set span:not(.sep) {
  color: var(--text-secondary);
  font-size: 14px;
}

.sep {
  color: var(--orange);
  font-size: .7em;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  border-top: 3px solid var(--orange);
  padding: 32px 0 max(44px, env(safe-area-inset-bottom));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  padding: 0;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.footer__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .04em;
}

.footer__tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color .2s;
}

.footer__nav a:hover {
  color: var(--orange);
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer__right .muted {
  font-size: 13px;
}

.back-top {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--orange);
  transition: color .2s;
}

.back-top:hover {
  color: var(--gold);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  width: min(960px, calc(100% - 24px));
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .15);
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  padding: 0;
}

.modal::backdrop {
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
}

.modal__frame {
  margin: 0;
  padding: 0;
  position: relative;
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  transition: background .2s;
}

.modal__close:hover {
  background: rgba(245, 86, 0, .25);
  border-color: var(--orange);
}

.modal__body {
  padding: 22px;
}

/* Embed for video iframe */
.embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  max-width: 720px;
  width: 100%;
}

.embed--16x9 {
  aspect-ratio: 16 / 9;
  position: relative;
}

.embed--16x9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .teams-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .fixture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .live-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .utility-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .utility-bar__league {
    width: 100%;
    order: 1;
  }

  .utility-bar__weather {
    order: 2;
  }

  .utility-bar__links {
    order: 3;
  }

  .topbar__inner {
    padding: 10px 0;
  }

  .brand__logo {
    height: 52px;
    max-width: 68px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    width: min(280px, calc(100vw - 24px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(6, 21, 60, .97);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
  }

  .nav__panel.is-open {
    display: flex;
  }

  .nav__link {
    border-radius: var(--r-sm);
    padding: 12px 16px;
    min-height: var(--touch-min);
    display: flex;
    align-items: center;
  }

  .h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .slide__content {
    flex-direction: column;
    padding-top: 40px;
  }

  .slide__widgets {
    max-width: 100%;
    min-width: unset;
    grid-template-columns: 1fr;
  }

  .widget--countdown .countdown {
    flex-wrap: wrap;
    justify-content: center;
  }

  .widget--countdown .time {
    min-width: 44px;
    padding: 8px 10px;
  }

  .widget--countdown .time span {
    font-size: 22px;
  }

  .widget--countdown .time__sep {
    font-size: 18px;
  }

  .hero {
    min-height: 580px;
  }

  .hero__slides {
    min-height: 580px;
  }

  .slide {
    min-height: 580px;
  }

  .cta-row {
    gap: 10px;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fixture-grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box input {
    min-width: unset;
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__right {
    align-items: flex-start;
  }

  .embed--16x9 {
    border-radius: var(--r-md);
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 12px;
  }

  .widget--countdown .time {
    min-width: 40px;
    padding: 6px 8px;
  }

  .widget--countdown .time span {
    font-size: 18px;
  }

  .widget--countdown .time small {
    font-size: 9px;
  }

  .widget--countdown .time__sep {
    font-size: 16px;
  }

  .teams-grid {
    grid-template-columns: 1fr 1fr;
  }

  .h1 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .section {
    padding: 44px 0;
  }

  .news-card {
    padding: 12px;
  }

  .news-card__title {
    font-size: 16px;
  }

  .news-card__excerpt,
  .news-card__body p {
    font-size: 13px;
  }

  .scorecard-big__header {
    flex-wrap: wrap;
  }

  .teamrow {
    flex-wrap: wrap;
    gap: 10px;
  }

  .kv-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .topbar__accent,
  .sponsor-ticker__scroll {
    animation: none;
  }

  .btn:hover,
  .team-card:hover,
  .sponsor-card:hover {
    transform: none;
  }

  .live-pill::before {
    animation: none;
  }
}