/* ══════════════════════════════════════════════
   TCL 2026 — Champions Cricket League
   style.css  |  Modern Dark Edition
   ══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg:             #070c1a;
  --bg2:            #0d1428;
  --surface:        rgba(255,255,255,0.04);
  --surface-solid:  #111827;
  --surface2:       rgba(255,255,255,0.07);
  --glass:          rgba(255,255,255,0.06);
  --glass-border:   rgba(255,255,255,0.10);
  --text:           #e8edf8;
  --text-dim:       #8b9ab8;
  --primary:        #3b6beb;
  --primary-glow:   rgba(59,107,235,0.35);
  --accent:         #e8334d;
  --accent-glow:    rgba(232,51,77,0.35);
  --gold:           #f7c948;
  --gold-glow:      rgba(247,201,72,0.35);
  --green:          #22d98a;
  /* ── Knockout stage colours ── */
  --pq-color:       #00e5ff;   /* Pre-Quarters  – electric cyan   */
  --pq-glow:        rgba(0,229,255,0.40);
  --qf-color:       #ff7b00;   /* Quarter Finals – neon orange    */
  --qf-glow:        rgba(255,123,0,0.40);
  --sf-color:       #ff0080;   /* Semi Finals    – hot magenta     */
  --sf-glow:        rgba(255,0,128,0.40);
  --border:         rgba(255,255,255,0.08);
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.4);
  --shadow:         0 6px 28px rgba(0,0,0,0.55);
  --shadow-lg:      0 16px 56px rgba(0,0,0,0.70);
  --nav-h:          68px;
  --radius:         18px;
  --radius-sm:      10px;
  --radius-pill:    999px;
  --transition:     0.25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: var(--nav-h);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ════════════════════════════════════════
   ANIMATED BACKGROUND MESH
   ════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(59,107,235,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(232,51,77,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(247,201,72,0.05) 0%, transparent 70%),
    linear-gradient(160deg, #070c1a 0%, #0a0f1f 40%, #0d0d1e 100%);
  animation: meshDrift 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes meshDrift {
  0%   { filter: hue-rotate(0deg);  }
  100% { filter: hue-rotate(25deg); }
}

/* Subtle grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ════════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -300% center; }
  100% { background-position:  300% center; }
}
@keyframes pulse {
  0%,100% { transform: scale(1);    }
  50%      { transform: scale(1.04); }
}
@keyframes borderGlow {
  0%,100% { border-color: rgba(59,107,235,0.3);  }
  33%      { border-color: rgba(232,51,77,0.3);   }
  66%      { border-color: rgba(247,201,72,0.3);  }
}
@keyframes electricPulse {
  0%,100% { opacity: 1;   }
  50%      { opacity: 0.6; }
}
@keyframes pqGlow {
  0%,100% { box-shadow: 0 0 18px rgba(0,229,255,0.55), 0 4px 20px rgba(0,229,255,0.35); }
  50%      { box-shadow: 0 0 38px rgba(0,229,255,0.90), 0 4px 28px rgba(0,229,255,0.60); }
}
@keyframes qfGlow {
  0%,100% { box-shadow: 0 0 18px rgba(255,123,0,0.55), 0 4px 20px rgba(255,123,0,0.35); }
  50%      { box-shadow: 0 0 38px rgba(255,123,0,0.90), 0 4px 28px rgba(255,123,0,0.60); }
}
@keyframes sfGlow {
  0%,100% { box-shadow: 0 0 18px rgba(255,0,128,0.60), 0 4px 20px rgba(255,0,128,0.40); }
  50%      { box-shadow: 0 0 44px rgba(255,0,128,1.00), 0 4px 32px rgba(255,0,128,0.70), 0 0 80px rgba(255,0,128,0.30); }
}
@keyframes finalGlow {
  0%,100% {
    box-shadow:
      0 0 24px rgba(232,51,77,0.70),
      0 4px 24px rgba(232,51,77,0.50),
      0 0 0 1px rgba(247,201,72,0.40);
  }
  33% {
    box-shadow:
      0 0 60px rgba(232,51,77,1.00),
      0 4px 40px rgba(247,201,72,0.70),
      0 0 120px rgba(232,51,77,0.45),
      0 0 0 2px rgba(247,201,72,0.70);
  }
  66% {
    box-shadow:
      0 0 50px rgba(247,201,72,0.90),
      0 4px 36px rgba(232,51,77,0.65),
      0 0 100px rgba(247,201,72,0.40),
      0 0 0 2px rgba(232,51,77,0.60);
  }
}
@keyframes float {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-8px); }
}
@keyframes lightningFlash {
  0%   { opacity: 0; }
  8%   { opacity: 0.85; }
  16%  { opacity: 0.1; }
  24%  { opacity: 0.75; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes koGradientShift {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}
@keyframes koBorderArc {
  0%,100% { border-color: var(--ko-color-a, rgba(255,255,255,0.18)); }
  50%      { border-color: var(--ko-color-b, rgba(255,255,255,0.35)); }
}
@keyframes countFlip {
  0%   { transform: rotateX(90deg); opacity: 0; }
  100% { transform: rotateX(0deg);  opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0);    }
}

/* ── Knockout Lightning Overlay ── */
.knockout-lightning {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 30%,
    rgba(255,255,255,0.82) 0%,
    rgba(200,230,255,0.55) 18%,
    rgba(180,210,255,0.20) 40%,
    transparent 70%);
  animation: none;
}
.knockout-lightning.flash {
  animation: lightningFlash 0.45s ease-out forwards;
}
/* Animated background-size gradient for KO cards */
.match-card.ko-gradient {
  background-size: 220% 220% !important;
  animation: koGradientShift 6s ease infinite, koBorderArc 3s ease-in-out infinite;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(7,12,26,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 32px rgba(0,0,0,0.5);
  transition: background var(--transition);
  overflow: visible;
}
.navbar.scrolled {
  background: rgba(5,8,18,0.97);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.5px;
}
.navbar-brand img {
  height: 42px; width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(247,201,72,0.5);
  box-shadow: 0 0 18px rgba(247,201,72,0.25);
  transition: box-shadow var(--transition);
}
.navbar-brand:hover img { box-shadow: 0 0 28px rgba(247,201,72,0.5); }
.brand-text { line-height: 1.2; }
.brand-text span {
  display: block;
  font-size: 0.6em;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875em;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover {
  background: var(--surface2);
  color: var(--text);
}
.nav-links a.active {
  background: linear-gradient(135deg, var(--primary), #5b8af0);
  color: #fff;
  box-shadow: 0 3px 16px var(--primary-glow);
}

/* ── Teams Dropdown ── */
.nav-teams-item {
  position: relative;
}
.nav-teams-link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-chevron {
  font-size: 0.75em;
  transition: transform var(--transition);
}
.nav-teams-item:hover .nav-chevron {
  transform: rotate(180deg);
}
.teams-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  min-width: 260px;
  z-index: 2000;
  padding-top: 12px;
  animation: fadeIn 0.18s ease both;
}
.nav-teams-item:hover .teams-dropdown,
.nav-teams-item:focus-within .teams-dropdown {
  display: block;
}
.teams-dropdown-inner {
  background: rgba(10,14,30,0.97);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px 14px 12px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59,107,235,0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-height: min(420px, calc(100vh - var(--nav-h) - 20px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(59,107,235,0.4) transparent;
}
.teams-dropdown-inner::-webkit-scrollbar {
  width: 5px;
}
.teams-dropdown-inner::-webkit-scrollbar-track {
  background: transparent;
}
.teams-dropdown-inner::-webkit-scrollbar-thumb {
  background: rgba(59,107,235,0.4);
  border-radius: 99px;
}
.teams-dropdown-title {
  font-size: 0.67em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.teams-dropdown-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.teams-dropdown-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  cursor: default;
}
.teams-dropdown-list li:hover {
  background: var(--surface2);
  color: var(--text);
}
.teams-dropdown-list li i {
  color: var(--primary);
  font-size: 0.85em;
}
.teams-dropdown-roster {
  display: block;
  text-align: center;
  font-size: 0.8em;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  background: rgba(247,201,72,0.08);
  border: 1px solid rgba(247,201,72,0.2);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  transition: background var(--transition), border-color var(--transition);
}
.teams-dropdown-roster:hover {
  background: rgba(247,201,72,0.16);
  border-color: rgba(247,201,72,0.4);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,8,18,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 20px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.mobile-menu.open { display: flex; animation: fadeIn 0.2s ease; }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: var(--surface2); color: var(--text); }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(59,107,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  animation: fadeUp 0.5s ease both;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.hero-title {
  font-size: clamp(2.2em, 6vw, 4em);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 10px;
  background: linear-gradient(120deg, #fff 0%, var(--gold) 35%, #fff 65%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.6s ease both 0.1s, shimmer 5s linear infinite 0.8s;
}

.hero-subtitle {
  font-size: clamp(0.9em, 2vw, 1.1em);
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeUp 0.65s ease both 0.2s;
  letter-spacing: 0.5px;
}

.hero-poster {
  width: min(320px, 75vw);
  border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(247,201,72,0.18), 0 0 80px rgba(59,107,235,0.15);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both 0.3s, float 5s ease-in-out infinite 1.5s;
  transition: box-shadow var(--transition);
}
.hero-poster:hover {
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(247,201,72,0.4), 0 0 100px rgba(59,107,235,0.25);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both 0.4s;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-badge:hover {
  background: var(--surface2);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.hero-badge i { color: var(--accent); }

/* ── Parking badges row ── */
.hero-badges-parking {
  margin-top: 10px;
}
.hero-badge-parking {
  background: rgba(34,217,138,0.12);
  border-color: rgba(34,217,138,0.35);
  color: var(--text);
  box-shadow: var(--shadow-sm), 0 0 14px rgba(34,217,138,0.12);
}
.hero-badge-parking:hover {
  background: rgba(34,217,138,0.22);
  border-color: rgba(34,217,138,0.6);
  box-shadow: var(--shadow), 0 0 20px rgba(34,217,138,0.22);
}
.hero-badge-parking i { color: var(--green); }

/* ── Hero "22 Teams" hover popover ── */
.hero-badge-teams-wrap {
  position: relative;
  display: inline-flex;
}
.hero-badge-teams {
  cursor: default;
}
.teams-hover-popover {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
  min-width: 200px;
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(59,107,235,0.4) transparent;
  z-index: 3000;
  background: rgba(10,14,30,0.97);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 12px 12px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59,107,235,0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: fadeIn 0.18s ease both;
}
.teams-hover-popover::-webkit-scrollbar { width: 4px; }
.teams-hover-popover::-webkit-scrollbar-track { background: transparent; }
.teams-hover-popover::-webkit-scrollbar-thumb { background: rgba(59,107,235,0.4); border-radius: 99px; }
.teams-hover-popover::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right-color: var(--glass-border);
}
.hero-badge-teams-wrap:hover .teams-hover-popover {
  display: block;
}
.thp-title {
  font-size: 0.67em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}
.thp-pool-group-label {
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 8px 4px;
  margin-top: 4px;
  border-bottom: 1px solid rgba(59,107,235,0.15);
  margin-bottom: 2px;
}
.thp-team-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.thp-team-list li {
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  cursor: default;
}
.thp-team-list li:hover {
  background: var(--surface2);
  color: var(--text);
}
.thp-team-list li i {
  color: var(--primary);
  font-size: 0.8em;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .teams-hover-popover {
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    max-height: 300px;
  }
  .teams-hover-popover::after {
    top: auto;
    bottom: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: var(--glass-border);
  }
}

/* ════════════════════════════════════════
   MAIN CONTAINER
   ════════════════════════════════════════ */
.main-container { max-width: 1100px; margin: 0 auto; padding: 0 20px 100px; }

/* ════════════════════════════════════════
   COUNTDOWN TIMER
   ════════════════════════════════════════ */
.countdown-wrap {
  margin: 18px auto;
  max-width: 480px;
  padding: 0 8px;
  animation: fadeUp 0.8s ease both 0.5s;
}
.countdown-box {
  position: relative;
  border-radius: 14px;
  padding: 14px 16px 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1330 0%, #120826 50%, #1a0810 100%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: center;
  animation: borderGlow 6s linear infinite;
}
.countdown-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--primary), var(--gold), var(--accent));
  background-size: 300% auto;
  animation: shimmer 4s linear infinite;
}
.countdown-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(247,201,72,0.06), transparent 65%);
  pointer-events: none;
}

.countdown-lbl {
  display: block;
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 9px;
}
.countdown-digits {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  flex-wrap: nowrap;
}
.cd-unit {
  text-align: center;
  min-width: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  padding: 7px 6px 5px;
  position: relative;
  overflow: hidden;
}
.cd-unit::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%; height: 1px;
  background: rgba(0,0,0,0.4);
}
.cd-num {
  font-size: 1.4em;
  font-weight: 800;
  line-height: 1;
  display: block;
  color: #fff;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.cd-num.flip { animation: countFlip 0.3s ease both; }
.cd-text {
  font-size: 0.58em;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.5;
  display: block;
  margin-top: 6px;
  color: var(--gold);
}
.cd-sep {
  font-size: 1.2em;
  font-weight: 800;
  opacity: 0.25;
  line-height: 1;
  padding-top: 7px;
  color: var(--gold);
}
.countdown-target {
  margin-top: 8px;
  font-size: 0.75em;
  opacity: 0.5;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
}
.countdown-started {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--gold);
  animation: pulse 1.5s ease infinite;
}

/* ════════════════════════════════════════
   SPONSORS
   ════════════════════════════════════════ */
.sponsors-section { margin: 32px 0 8px; text-align: center; }
.sponsors-lbl {
  font-size: 0.65em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.sponsor-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.86em;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.sponsor-card:hover {
  background: var(--surface2);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 20px rgba(59,107,235,0.15);
}
.sponsor-card img {
  height: 46px; width: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
}
.sponsor-card-oscan img {
  height: 56px;
  width: 120px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.sponsor-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sponsor-name-main {
  font-size: 0.95em;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.sponsor-name-sub {
  font-size: 0.7em;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.3;
}

/* ════════════════════════════════════════
   PARKING BANNER
   ════════════════════════════════════════ */
.parking-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(5,40,20,0.75) 0%, rgba(8,30,10,0.85) 50%, rgba(10,30,5,0.80) 100%);
  border: 1px solid rgba(34,217,138,0.3);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 18px auto 32px;
  max-width: 680px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow), 0 0 30px rgba(34,217,138,0.10);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.parking-banner:hover {
  border-color: rgba(34,217,138,0.55);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(34,217,138,0.18);
}
.parking-banner-icon {
  font-size: 2.4em;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(34,217,138,0.55));
}
.parking-banner-content {
  flex: 1;
  min-width: 0;
}
.parking-banner-label {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.85;
  margin-bottom: 2px;
}
.parking-banner-title {
  font-size: 1.05em;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.parking-banner-sub {
  font-size: 0.78em;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 3px;
}
.parking-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.parking-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82em;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.parking-banner-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}
.parking-banner-btn-map {
  background: linear-gradient(135deg, #0e7a50, #22d98a);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,217,138,0.35);
}
.parking-banner-btn-map:hover {
  box-shadow: 0 6px 24px rgba(34,217,138,0.55);
}
.parking-banner-btn-rules {
  background: linear-gradient(135deg, var(--primary), #5b8af0);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}
.parking-banner-btn-rules:hover {
  box-shadow: 0 6px 24px var(--primary-glow);
}
@media (max-width: 600px) {
  .parking-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px 20px;
  }
  .parking-banner-actions {
    justify-content: center;
  }
}

/* ════════════════════════════════════════
   RULEBOOK BANNER
   ════════════════════════════════════════ */
.rulebook-banner {
  background: linear-gradient(135deg, rgba(30,50,120,0.6) 0%, rgba(20,8,60,0.7) 100%);
  color: #fff;
  border: 1px solid rgba(59,107,235,0.3);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 32px auto;
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 0.92em;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow), 0 0 30px rgba(59,107,235,0.12);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.rulebook-banner:hover {
  border-color: rgba(59,107,235,0.5);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59,107,235,0.2);
}
.rulebook-banner-icon {
  font-size: 2em;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.rulebook-banner-content {
  flex: 1;
  min-width: 0;
}
.rulebook-banner-label {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 2px;
}
.rulebook-banner-title {
  font-size: 1.05em;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.rulebook-banner-sub {
  font-size: 0.78em;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 3px;
}
.rulebook-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--primary), #5b8af0);
  color: #fff;
  text-decoration: none;
  font-size: 0.82em;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.rulebook-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--primary-glow);
  text-decoration: none;
  color: #fff;
}
/* legacy inline anchor support */
.rulebook-banner a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  transition: opacity var(--transition);
}
.rulebook-banner a:hover { text-decoration: underline; opacity: 0.85; }

/* ════════════════════════════════════════
   SECTION HEADING
   ════════════════════════════════════════ */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(1.3em, 3.5vw, 2em);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(26,46,110,0.7) 0%, rgba(59,107,235,0.5) 50%, rgba(232,51,77,0.4) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px 40px;
  margin: 44px auto 24px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  letter-spacing: 2px;
  max-width: 700px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.section-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* ════════════════════════════════════════
   POOLS GRID
   ════════════════════════════════════════ */
.pool-header {
  padding: 14px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pool-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.pool-a .pool-header { background: linear-gradient(135deg, #8a3a0a, #e05a14); }
.pool-b .pool-header { background: linear-gradient(135deg, #0a5c38, #0d8a56); }
.pool-c .pool-header { background: linear-gradient(135deg, #6e0a20, #b01535); }
.pool-d .pool-header { background: linear-gradient(135deg, #6e3d0a, #c07010); }
.pool-e .pool-header { background: linear-gradient(135deg, #2d0a7a, #5020c8); }

.pool-badge {
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 1px;
}
.pool-team-count {
  font-size: 0.72em;
  opacity: 0.8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pool-team-list {
  list-style: none;
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pool-team-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.pool-team-list li:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.pool-a .pool-team-list li i { color: #ff7730; }
.pool-b .pool-team-list li i { color: #34d88e; }
.pool-c .pool-team-list li i { color: #f55; }
.pool-d .pool-team-list li i { color: var(--gold); }
.pool-e .pool-team-list li i { color: #a07cf5; }

.pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 0 0 14px;
}
.pool-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,0.18);
}
.pool-card-header {
  padding: 14px 18px 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.pool-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}
.pool-a .pool-card-header { background: linear-gradient(135deg, #8a3a0a, #e05a14); }
.pool-b .pool-card-header { background: linear-gradient(135deg, #0a5c38, #0d8a56); }
.pool-c .pool-card-header { background: linear-gradient(135deg, #6e0a20, #b01535); }
.pool-d .pool-card-header { background: linear-gradient(135deg, #6e3d0a, #c07010); }
.pool-e .pool-card-header { background: linear-gradient(135deg, #2d0a7a, #5020c8); }
.pool-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}
.pool-title { font-size: 1.05em; font-weight: 800; letter-spacing: 1px; }
.pool-count { font-size: 0.72em; opacity: 0.75; font-weight: 600; margin-top: 1px; }
.pool-teams {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.team-row:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.team-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72em;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.pool-a .team-num { background: #c04c10; }
.pool-b .team-num { background: #0a7a4e; }
.pool-c .team-num { background: #b01535; }
.pool-d .team-num { background: #c07010; }
.pool-e .team-num { background: #5020c8; }

/* ════════════════════════════════════════
   SCHEDULE NAV DROPDOWN
   ════════════════════════════════════════ */
.nav-schedule-item {
  position: relative;
}
.nav-schedule-link {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-schedule-item:hover .nav-chevron {
  transform: rotate(180deg);
}
.schedule-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  z-index: 2000;
  padding-top: 12px;
  animation: fadeIn 0.18s ease both;
  animation: fadeIn 0.18s ease both;
}
.nav-schedule-item:hover .schedule-dropdown,
.nav-schedule-item:focus-within .schedule-dropdown {
  display: block;
}
.schedule-dropdown-inner {
  background: rgba(10,14,30,0.97);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 12px 12px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(59,107,235,0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.schedule-dropdown-title {
  font-size: 0.67em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.schedule-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.schedule-dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.schedule-dropdown-list li a:hover,
.schedule-dropdown-list li a.active {
  background: var(--surface2);
  color: var(--text);
}
.schedule-dropdown-list li a.active {
  background: rgba(59,107,235,0.18);
  color: #ffffff;
}
.schedule-dropdown-list li a i {
  color: var(--primary);
  font-size: 0.9em;
}

/* ════════════════════════════════════════
   SCHEDULE DATE TABS (inline bar)
   ════════════════════════════════════════ */
.schedule-tabs-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0 28px;
}
.schedule-tab-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 10px 26px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}
.schedule-tab-btn:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
  background: var(--surface2);
}
.schedule-tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #5b8af0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}
.schedule-tab-panel {
  display: none;
}
.schedule-tab-panel.active {
  display: block;
  animation: fadeUp 0.4s ease both;
}

/* ════════════════════════════════════════
   SCHEDULE TABS
   ════════════════════════════════════════ */
.tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0 22px;
}
.tab-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  padding: 9px 24px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(8px);
}
.tab-btn:hover { border-color: rgba(255,255,255,0.18); color: var(--text); background: var(--surface2); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #5b8af0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 18px var(--primary-glow);
}
.tab-btn.ko-tab.active  { background: linear-gradient(135deg, #a04000, var(--gold)); box-shadow: 0 4px 18px var(--gold-glow); }
.tab-btn.final-tab.active { background: linear-gradient(135deg, var(--accent), #8b0060); box-shadow: 0 4px 18px var(--accent-glow); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease both; }

/* ── Date Divider ── */
.date-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 20px;
}
.date-divider::before, .date-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.date-pill {
  background: linear-gradient(135deg, #1a4fd6 0%, #3b6beb 40%, #00c8ff 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.82em;
  padding: 8px 26px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(59,107,235,0.55), 0 0 0 1px rgba(0,200,255,0.25);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}
.date-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
  border-radius: inherit;
}
/* Pre-Quarters pill – electric cyan */
.date-pill.pq {
  background: linear-gradient(135deg, #006080 0%, #00bcd4 40%, #00e5ff 70%, #80f8ff 100%);
  box-shadow: 0 0 22px rgba(0,229,255,0.65), 0 4px 18px rgba(0,229,255,0.40), 0 0 0 1px rgba(0,229,255,0.30);
  text-shadow: 0 0 12px rgba(0,229,255,0.9), 0 1px 4px rgba(0,0,0,0.5);
  animation: shimmer 2.5s linear infinite, pqGlow 2.2s ease-in-out infinite;
}

/* Quarter Finals pill – neon orange */
.date-pill.qf {
  background: linear-gradient(135deg, #7a2e00 0%, #e05500 40%, #ff7b00 70%, #ffb347 100%);
  box-shadow: 0 0 22px rgba(255,123,0,0.65), 0 4px 18px rgba(255,123,0,0.40), 0 0 0 1px rgba(255,123,0,0.30);
  text-shadow: 0 0 12px rgba(255,160,0,0.9), 0 1px 4px rgba(0,0,0,0.5);
  animation: shimmer 2.5s linear infinite, qfGlow 2.2s ease-in-out infinite;
}

/* Semi Finals pill – hot magenta (replaces .ko) */
.date-pill.ko {
  background: linear-gradient(135deg, #7a0040 0%, #cc0066 40%, #ff0080 70%, #ff80bf 100%);
  box-shadow: 0 0 22px rgba(255,0,128,0.70), 0 4px 18px rgba(255,0,128,0.45), 0 0 0 1px rgba(255,0,128,0.35);
  text-shadow: 0 0 12px rgba(255,0,128,1.0), 0 1px 4px rgba(0,0,0,0.5);
  animation: shimmer 2.5s linear infinite, sfGlow 1.8s ease-in-out infinite;
}

.date-pill.fin {
  background: linear-gradient(135deg, #7a0010 0%, #c4001a 30%, #e8334d 55%, #ff6b35 80%, #f7c948 100%);
  box-shadow:
    0 0 28px rgba(232,51,77,0.80),
    0 4px 22px rgba(247,201,72,0.50),
    0 0 0 1px rgba(247,201,72,0.40);
  text-shadow: 0 0 16px rgba(255,120,60,1.0), 0 1px 4px rgba(0,0,0,0.6);
  animation: shimmer 2.2s linear infinite, finalGlow 1.5s ease-in-out infinite;
}

/* ── Match Cards ── */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

/* Two parallel matches — always side by side */
.matches-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 10px;
}

/* Single match — centered on page */
.matches-grid-single {
  display: grid;
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.match-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 16px 18px 14px 22px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.match-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--primary), #5b8af0);
  border-radius: 18px 0 0 18px;
}
/* Pre-Quarters card – cyan left bar */
.match-card.pq::before {
  background: linear-gradient(180deg, #00e5ff, #007090);
  box-shadow: 0 0 12px rgba(0,229,255,0.7);
}
/* Quarter Finals card – orange left bar */
.match-card.qf::before {
  background: linear-gradient(180deg, #ff7b00, #7a2e00);
  box-shadow: 0 0 12px rgba(255,123,0,0.7);
}
/* Semi Finals card – magenta left bar (reuses .ko) */
.match-card.ko::before    {
  background: linear-gradient(180deg, #ff0080, #7a0040);
  box-shadow: 0 0 14px rgba(255,0,128,0.80);
}
.match-card.final::before { background: linear-gradient(180deg, var(--accent), #8b0060); }

/* ── Pool gradient overlays on match cards ── */
.match-card.pool-a {
  background: linear-gradient(135deg, rgba(180,80,20,0.42) 0%, rgba(224,90,20,0.18) 50%, rgba(7,12,26,0.75) 100%);
  border-color: rgba(224,90,20,0.5);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,160,80,0.12);
}
.match-card.pool-a::before { background: linear-gradient(180deg, #e06010, #ff9040); width: 5px; }
.match-card.pool-b {
  background: linear-gradient(135deg, rgba(10,110,62,0.42) 0%, rgba(13,138,86,0.18) 50%, rgba(7,12,26,0.75) 100%);
  border-color: rgba(13,138,86,0.5);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(52,216,142,0.12);
}
.match-card.pool-b::before { background: linear-gradient(180deg, #0eaf6d, #3dffaa); width: 5px; }
.match-card.pool-c {
  background: linear-gradient(135deg, rgba(150,14,42,0.42) 0%, rgba(176,21,53,0.18) 50%, rgba(7,12,26,0.75) 100%);
  border-color: rgba(176,21,53,0.5);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,85,119,0.12);
}
.match-card.pool-c::before { background: linear-gradient(180deg, #d4173a, #ff7090); width: 5px; }
.match-card.pool-d {
  background: linear-gradient(135deg, rgba(160,80,8,0.42) 0%, rgba(192,112,16,0.18) 50%, rgba(7,12,26,0.75) 100%);
  border-color: rgba(192,112,16,0.5);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(247,201,72,0.12);
}
.match-card.pool-d::before { background: linear-gradient(180deg, #d4880f, #f7c948); width: 5px; }

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59,107,235,0.35);
}
.match-card.pool-a:hover { border-color: rgba(224,90,20,0.75); box-shadow: var(--shadow-lg), 0 0 28px rgba(180,80,20,0.35); }
.match-card.pool-b:hover { border-color: rgba(13,175,109,0.75); box-shadow: var(--shadow-lg), 0 0 28px rgba(13,138,86,0.35); }
.match-card.pool-c:hover { border-color: rgba(212,23,58,0.75);  box-shadow: var(--shadow-lg), 0 0 28px rgba(176,21,53,0.35); }
.match-card.pool-d:hover { border-color: rgba(212,136,15,0.75); box-shadow: var(--shadow-lg), 0 0 28px rgba(192,112,16,0.35); }

/* ── Per-team gradient accent bar (set via JS) ── */
.match-card[style*="--team-a-color"]::before {
  background: linear-gradient(180deg, var(--team-a-color), var(--team-b-color, var(--primary)));
  width: 5px;
}
/* Pre-Quarters card hover */
.match-card.pq {
  border-color: rgba(0,229,255,0.22);
}
.match-card.pq:hover {
  border-color: rgba(0,229,255,0.65);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(0,229,255,0.35);
}
/* Quarter Finals card hover */
.match-card.qf {
  border-color: rgba(255,123,0,0.22);
}
.match-card.qf:hover {
  border-color: rgba(255,123,0,0.65);
  box-shadow: var(--shadow-lg), 0 0 32px rgba(255,123,0,0.35);
}
/* Semi Finals card hover (uses .ko) */
.match-card.ko {
  border-color: rgba(255,0,128,0.22);
}
.match-card.ko:hover {
  border-color: rgba(255,0,128,0.70);
  box-shadow: var(--shadow-lg), 0 0 36px rgba(255,0,128,0.45);
}
.match-card.final:hover { border-color: rgba(232,51,77,0.35); }
.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.match-badge {
  font-size: 0.67em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(59,107,235,0.15);
  color: #ffffff;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}
/* Pre-Quarters badge – cyan */
.match-badge.pq {
  background: rgba(0,229,255,0.15);
  color: var(--pq-color);
  border: 1px solid rgba(0,229,255,0.35);
  text-shadow: 0 0 8px rgba(0,229,255,0.6);
}
/* Quarter Finals badge – orange */
.match-badge.qf {
  background: rgba(255,123,0,0.15);
  color: var(--qf-color);
  border: 1px solid rgba(255,123,0,0.35);
  text-shadow: 0 0 8px rgba(255,123,0,0.6);
}
/* Semi Finals badge – magenta */
.match-badge.ko {
  background: rgba(255,0,128,0.15);
  color: var(--sf-color);
  border: 1px solid rgba(255,0,128,0.40);
  text-shadow: 0 0 10px rgba(255,0,128,0.80);
}
.match-badge.final { background: rgba(232,51,77,0.15); color: var(--accent); }
/* Pool-coloured match badges for league cards */
.match-card.pool-a .match-badge { background: rgba(224,90,20,0.28); color: #ffaa60; border: 1px solid rgba(224,90,20,0.35); }
.match-card.pool-b .match-badge { background: rgba(13,138,86,0.28); color: #3dffaa; border: 1px solid rgba(13,175,109,0.35); }
.match-card.pool-c .match-badge { background: rgba(176,21,53,0.28); color: #ff7090; border: 1px solid rgba(212,23,58,0.35); }
.match-card.pool-d .match-badge { background: rgba(192,112,16,0.28); color: #f7c948; border: 1px solid rgba(212,136,15,0.35); }
.match-ground {
  display: none; /* moved to footer as a tag */
}
/* ── Ground tags in footer ── */
.tag-ground {
  font-size: 0.68em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.tag-ground-1 {
  background: rgba(0,188,188,0.18);
  color: #ffffff;
  border: 1px solid rgba(0,188,188,0.3);
}
.tag-ground-2 {
  background: rgba(160,80,220,0.18);
  color: #ffffff;
  border: 1px solid rgba(160,80,220,0.3);
}
.match-vs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.match-team {
  flex: 1;
  font-size: 0.95em;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.match-team.right { text-align: right; }
.match-vs-badge {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-size: 0.68em;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.match-time {
  font-size: 0.88em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 0 12px rgba(255,255,255,0.18);
}
.match-time i {
  color: var(--gold);
  font-size: 0.9em;
}
.match-pool-tag {
  font-size: 0.68em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}
.tag-a { background: rgba(224,90,20,0.22); color: #ff9040; border: 1px solid rgba(224,90,20,0.35); }
.tag-b { background: rgba(13,138,86,0.22); color: #34d88e; border: 1px solid rgba(13,138,86,0.35); }
.tag-c { background: rgba(176,21,53,0.22); color: #ff5577; border: 1px solid rgba(176,21,53,0.35); }
.tag-d { background: rgba(192,112,16,0.22); color: var(--gold); border: 1px solid rgba(192,112,16,0.35); }
.tag-e { background: rgba(80,32,200,0.22); color: #a07cf5; border: 1px solid rgba(80,32,200,0.35); }
/* Pool tags for knockout rounds */
.tag-pq    { background: rgba(80,220,100,0.13); color: #4ddd6a;         border: 1px solid rgba(80,220,100,0.35); text-shadow: 0 0 6px rgba(80,220,100,0.5); }
.tag-qf    { background: rgba(255,123,0,0.13);  color: var(--qf-color); border: 1px solid rgba(255,123,0,0.35);  text-shadow: 0 0 6px rgba(255,123,0,0.5); }
.tag-ko    { background: rgba(255,0,128,0.13); color: var(--sf-color); border: 1px solid rgba(255,0,128,0.40); text-shadow: 0 0 8px rgba(255,0,128,0.70); }
.tag-final { background: rgba(232,51,77,0.15); color: var(--accent); border: 1px solid rgba(232,51,77,0.3); }

/* ── TBD placeholder ── */
.tbd-note {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-dim);
  font-size: 0.92em;
  font-style: italic;
}
.tbd-note i { font-size: 2em; display: block; margin-bottom: 10px; opacity: 0.35; }

/* ════════════════════════════════════════
   SEARCH BAR
   ════════════════════════════════════════ */
.search-wrap { margin: 0 auto 20px; max-width: 420px; position: relative; }
.search-input {
  width: 100%;
  padding: 12px 48px 12px 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.93em;
  font-weight: 500;
  outline: none;
  backdrop-filter: blur(12px);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.search-input::placeholder { color: var(--text-dim); }
.search-input:focus {
  border-color: rgba(59,107,235,0.5);
  box-shadow: 0 0 0 3px rgba(59,107,235,0.15);
}
.search-icon {
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.05em;
  pointer-events: none;
}
.no-results {
  display: none;
  text-align: center;
  color: var(--text-dim);
  padding: 24px;
  font-style: italic;
  font-size: 0.92em;
}

/* ════════════════════════════════════════
   SCROLL-TO-TOP
   ════════════════════════════════════════ */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { transform: translateY(-3px); }

/* ════════════════════════════════════════
   FIREWORKS CANVAS
   ════════════════════════════════════════ */
#fireworksCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer {
  background: rgba(5,8,18,0.95);
  color: var(--text-dim);
  text-align: center;
  padding: 40px 24px 28px;
  font-size: 0.84em;
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 34px; width: 34px;
  border-radius: 50%;
  border: 2px solid rgba(247,201,72,0.4);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.88em; font-weight: 700; color: #c9d8f0; }

/* ════════════════════════════════════════
   DARK-TOGGLE BUTTON
   ════════════════════════════════════════ */
.dark-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.82em;
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.dark-toggle:hover { background: var(--surface2); border-color: rgba(255,255,255,0.18); }

/* ════════════════════════════════════════
   TEAM FILTER DROPDOWN
   ════════════════════════════════════════ */
/* ── Match date label (top-right of card header) ── */
.match-date {
  margin-left: auto;
  font-size: 0.72em;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.match-date i {
  color: var(--gold);
  font-size: 0.9em;
}

.team-filter-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}
.team-filter-select-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.team-filter-select-row:focus-within {
  border-color: rgba(59,107,235,0.5);
  box-shadow: 0 0 0 3px rgba(59,107,235,0.15);
}
.team-filter-icon {
  color: var(--gold);
  font-size: 1em;
  flex-shrink: 0;
}
.team-filter-select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.88em;
  font-weight: 600;
  cursor: pointer;
  min-width: 220px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b9ab8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
}
.team-filter-select option,
.team-filter-select optgroup {
  background: #0d1428;
  color: var(--text);
}
.team-filter-select optgroup {
  font-weight: 700;
  color: var(--gold);
}

/* Active filter banner */
.team-filter-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(59,107,235,0.18) 0%, rgba(232,51,77,0.12) 100%);
  border: 1px solid rgba(59,107,235,0.35);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  margin: 0 0 16px;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text);
  flex-wrap: wrap;
}
.team-filter-banner i { color: var(--primary); }
.team-filter-banner strong { color: var(--gold); }
.team-filter-clear-btn {
  margin-left: auto;
  background: rgba(232,51,77,0.15);
  border: 1px solid rgba(232,51,77,0.3);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.team-filter-clear-btn:hover {
  background: rgba(232,51,77,0.28);
  border-color: rgba(232,51,77,0.55);
}

/* ════════════════════════════════════════
   TEAM FILTER BANNER (legacy)
   ════════════════════════════════════════ */
#team-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(59,107,235,0.18) 0%, rgba(232,51,77,0.12) 100%);
  border: 1px solid rgba(59,107,235,0.35);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.team-filter-banner-text {
  font-size: 0.88em;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.team-filter-banner-text i { color: var(--primary); }
.team-filter-banner-text strong { color: var(--gold); }
.team-filter-clear {
  background: rgba(232,51,77,0.15);
  border: 1px solid rgba(232,51,77,0.3);
  color: var(--accent);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.team-filter-clear:hover {
  background: rgba(232,51,77,0.28);
  border-color: rgba(232,51,77,0.55);
}

/* ════════════════════════════════════════
   MOBILE MENU GROUPS
   ════════════════════════════════════════ */
.mobile-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  padding: 12px 18px 4px;
}
.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88em;
  padding: 9px 18px 9px 34px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-sub-link:hover { background: var(--surface2); color: var(--text); }
.mobile-sub-link i { color: var(--primary); font-size: 0.85em; }
.mobile-schedule-group,
.mobile-teams-group {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 4px 0;
  padding: 2px 0;
}

/* Teams dropdown list items as clickable links */
.teams-dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 600;
  width: 100%;
  transition: color var(--transition);
}
.teams-dropdown-list li a:hover { color: var(--text); }
.teams-dropdown-list li a i { color: var(--primary); font-size: 0.85em; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .dark-toggle span { display: none; }
  .pools-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .matches-grid { grid-template-columns: 1fr; }
  .matches-grid-2col { grid-template-columns: 1fr; }
  .matches-grid-single { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.8em, 7vw, 2.8em); }
  .section-heading { font-size: 1.1em; padding: 14px 22px; }
  .countdown-box { padding: 12px 12px 10px; }
  .cd-unit { min-width: 34px; }
  .cd-num { font-size: 1.2em; }
  .navbar { padding: 0 18px; }
}
@media (max-width: 480px) {
  .pools-grid { grid-template-columns: 1fr 1fr; }
  .tabs-bar { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 0.8em; }
  .rulebook-banner { flex-direction: column; text-align: center; gap: 8px; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.78em; padding: 6px 14px; }
}

/* ══ Gallery Section ══ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #1a2236;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  transition: transform 0.22s, box-shadow 0.22s;
}
.gallery-item:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 32px rgba(0,0,0,0.5); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.22s;
  background: #0d1428;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(13,22,40,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.22s;
  font-size: 2rem; color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ══ Lightbox ══ */
.gallery-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,12,24,0.96);
  align-items: center; justify-content: center;
  flex-direction: column;
}
.gallery-lightbox.active { display: flex; }
.lb-content {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 85vh;
}
.lb-content img {
  max-width: 88vw; max-height: 74vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
}
.lb-caption {
  margin-top: 1rem; color: #c9d8f0;
  font-size: 0.97rem; text-align: center; font-family: 'Poppins', sans-serif;
}
.lb-counter {
  margin-top: 0.4rem; color: #7a90b0;
  font-size: 0.82rem; font-family: 'Poppins', sans-serif;
}
.lb-close, .lb-prev, .lb-next {
  position: fixed; background: rgba(154,176,216,0.15);
  border: 1px solid rgba(154,176,216,0.25); border-radius: 50%;
  color: #c9d8f0; cursor: pointer; transition: background 0.18s, color 0.18s;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(154,176,216,0.35); color: #fff; }
.lb-close { top: 1.2rem; right: 1.4rem; width: 42px; height: 42px; font-size: 1.2rem; }
.lb-prev  { left: 1.4rem; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.4rem; }
.lb-next  { right: 1.4rem; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 1.4rem; }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; }
}

/* ── Gallery empty state ── */
.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 2rem;
  color: rgba(154,176,216,0.45);
  font-size: 1rem;
  text-align: center;
}
.gallery-empty i { font-size: 3.5rem; }
.gallery-empty p { margin: 0; font-style: italic; }

/* ── Gallery year banner ── */
.gallery-year-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}
.gallery-year-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}
.gallery-year-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.3rem 1.1rem;
  border: 2px solid var(--accent);
  border-radius: 2rem;
  background: rgba(255,255,255,0.04);
}

/* ── Gallery subsection heading (Man of the Match, etc.) ── */
.gallery-subsection-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted, #aaa);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-subsection-heading i {
  color: var(--accent);
  font-size: 1.15rem;
}

/* ── Gallery subtitle ── */
.gallery-page-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95em;
  margin: -12px 0 28px;
  font-weight: 500;
}

/* ════════════════════════════════════════
   CHAMPIONS-2025 — Royal Showcase
   ════════════════════════════════════════ */
@keyframes goldShimmer {
  0%   { background-position: -400% center; }
  100% { background-position:  400% center; }
}
@keyframes crownPulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(247,201,72,0.6)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 22px rgba(247,201,72,1));  transform: scale(1.12); }
}
@keyframes starTwinkle {
  0%,100% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.25) rotate(18deg); }
}
@keyframes champFrameGlow {
  0%,100% { box-shadow: 0 0 40px rgba(247,201,72,0.25), 0 0 0 2px rgba(247,201,72,0.35), var(--shadow-lg); }
  50%      { box-shadow: 0 0 80px rgba(247,201,72,0.55), 0 0 0 3px rgba(247,201,72,0.65), var(--shadow-lg); }
}
@keyframes ribbonSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.champions-2025-section {
  position: relative;
  text-align: center;
  margin: 48px auto 0;
  padding: 52px 24px 56px;
  max-width: 780px;
  border-radius: 28px;
  background:
    linear-gradient(170deg,
      rgba(40,28,6,0.92)   0%,
      rgba(20,14,42,0.95)  40%,
      rgba(10,8,28,0.97)   70%,
      rgba(30,18,2,0.92)  100%);
  border: 1px solid rgba(247,201,72,0.25);
  box-shadow:
    0 0 0 1px rgba(247,201,72,0.12),
    0 32px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(247,201,72,0.15),
    inset 0 -1px 0 rgba(247,201,72,0.08);
  overflow: hidden;
}

/* Top shimmer bar */
.champions-2025-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    rgba(247,201,72,0.4) 15%,
    #f7c948 35%,
    #ffe87a 50%,
    #f7c948 65%,
    rgba(247,201,72,0.4) 85%,
    transparent);
  background-size: 300% auto;
  animation: shimmer 4s linear infinite;
}

/* Corner ornament glow blobs */
.champions-2025-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 40% at 50%  0%, rgba(247,201,72,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(232,51,77,0.07)  0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 90%, rgba(59,107,235,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* Crown + stars row */
.champions-2025-crown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.champ-trophy-icon {
  font-size: 3rem;
  color: var(--gold);
  animation: crownPulse 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(247,201,72,0.7));
}
.champ-star {
  font-size: 1.1rem;
  color: var(--gold);
  animation: starTwinkle 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(247,201,72,0.8));
}
.champ-star:last-child { animation-delay: 0.5s; }

/* CHAMPIONS heading */
.champions-2025-label {
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
  background: linear-gradient(120deg,
    #c89520 0%,
    #f7c948 25%,
    #ffe87a 50%,
    #f7c948 75%,
    #c89520 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s linear infinite;
  position: relative;
  z-index: 1;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: none;
}

/* 2025 year */
.champions-2025-year {
  font-size: clamp(1.1rem, 4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 8px;
  color: rgba(247,201,72,0.65);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

/* Ornamental divider */
.champions-2025-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px;
  max-width: 360px;
  position: relative;
  z-index: 1;
}
.champ-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247,201,72,0.55), transparent);
}
.champ-shield {
  font-size: 1.3rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(247,201,72,0.7));
  flex-shrink: 0;
}

/* Subtitle — team name in golden glow */
@keyframes teamNameGlow {
  0%,100% { text-shadow: 0 0 12px rgba(247,201,72,0.6), 0 0 28px rgba(247,201,72,0.3); }
  50%      { text-shadow: 0 0 24px rgba(247,201,72,1.0), 0 0 52px rgba(247,201,72,0.7), 0 0 80px rgba(255,220,80,0.4); }
}
.champions-2025-subtitle {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(120deg,
    #c89520 0%,
    #f7c948 25%,
    #ffe87a 50%,
    #f7c948 75%,
    #c89520 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite, teamNameGlow 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(247,201,72,0.5));
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Photo frame wrapper */
.champions-2025-frame-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Outer glow ring */
.champions-2025-frame {
  position: relative;
  display: inline-block;
  border-radius: 20px;
  padding: 5px;
  background: linear-gradient(135deg,
    #9a6e00, #f7c948 30%, #ffe87a 50%, #f7c948 70%, #9a6e00);
  animation: champFrameGlow 3s ease-in-out infinite;
}

.champions-2025-photo {
  display: block;
  width: min(540px, 88vw);
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.champions-2025-frame:hover .champions-2025-photo {
  transform: scale(1.025);
}

/* Ribbon below photo */
.champions-2025-ribbon {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7a4e00, #c8960a 40%, #f7c948 60%, #c8960a 80%, #7a4e00);
  color: #1a0e00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 28px;
  border-radius: 0 0 14px 14px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 18px rgba(247,201,72,0.4);
  animation: ribbonSlide 0.6s ease both 0.4s;
  z-index: 2;
}

/* Spacer below section */
.champions-2025-spacer {
  height: 52px;
}

/* Responsive */
@media (max-width: 600px) {
  .champions-2025-section {
    padding: 36px 16px 44px;
    border-radius: 20px;
  }
  .champions-2025-label { letter-spacing: 6px; }
  .champions-2025-year  { letter-spacing: 4px; }
  .champions-2025-ribbon { font-size: 0.65rem; letter-spacing: 2px; padding: 6px 18px; }

}

/* ════════════════════════════════════════
   TEAMS PAGE — BATTLE / ARMY THEME
   ════════════════════════════════════════ */

/* ── Battle Hero ── */
.teams-battle-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px 48px;
}
.teams-battle-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(232,51,77,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(59,107,235,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(247,201,72,0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(20,4,8,0.70) 0%, rgba(7,12,26,0.50) 100%);
  pointer-events: none;
}
.teams-battle-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 49px,
      rgba(255,255,255,0.025) 49px,
      rgba(255,255,255,0.025) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 49px,
      rgba(255,255,255,0.025) 49px,
      rgba(255,255,255,0.025) 50px
    );
}
.teams-battle-hero-content { position: relative; z-index: 1; }

.teams-battle-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 14px;
  animation: fadeUp 0.5s ease both;
}
.teams-battle-title {
  font-size: clamp(2.8em, 9vw, 5.5em);
  font-weight: 800;
  letter-spacing: 14px;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 40%, var(--accent) 70%, #fff 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.6s ease both 0.1s, shimmer 6s linear infinite 1s;
  margin-bottom: 12px;
}
.teams-battle-subtitle {
  font-size: clamp(0.85em, 2vw, 1.05em);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 22px;
  animation: fadeUp 0.65s ease both 0.2s;
  text-transform: uppercase;
}
.teams-battle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 16px;
  max-width: 280px;
  animation: fadeUp 0.7s ease both 0.25s;
}
.tbd-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,51,77,0.55), transparent);
}
.tbd-icon {
  font-size: 1.2rem;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(232,51,77,0.7));
  flex-shrink: 0;
}
.teams-battle-count {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 1px;
  animation: fadeUp 0.75s ease both 0.3s;
}
.teams-battle-count span {
  color: var(--gold);
  font-size: 1.15em;
  font-weight: 800;
}

/* ── Teams Main Container ── */
.teams-main-container { padding-top: 16px; }

/* ── Army Card Grid ── */
.teams-battle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
@media (max-width: 960px) {
  .teams-battle-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .teams-battle-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 380px) {
  .teams-battle-grid { grid-template-columns: 1fr; }
}

/* ── Army Card ── */
.army-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--army-color) 18%, transparent),
      rgba(7,12,26,0.88));
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: fadeUp 0.55s ease both;
}
.army-card:nth-child(1)  { animation-delay: 0.05s; }
.army-card:nth-child(2)  { animation-delay: 0.08s; }
.army-card:nth-child(3)  { animation-delay: 0.11s; }
.army-card:nth-child(4)  { animation-delay: 0.14s; }
.army-card:nth-child(5)  { animation-delay: 0.17s; }
.army-card:nth-child(6)  { animation-delay: 0.20s; }
.army-card:nth-child(7)  { animation-delay: 0.23s; }
.army-card:nth-child(8)  { animation-delay: 0.26s; }
.army-card:nth-child(9)  { animation-delay: 0.29s; }
.army-card:nth-child(10) { animation-delay: 0.32s; }
.army-card:nth-child(11) { animation-delay: 0.35s; }
.army-card:nth-child(12) { animation-delay: 0.38s; }
.army-card:nth-child(13) { animation-delay: 0.41s; }
.army-card:nth-child(14) { animation-delay: 0.44s; }
.army-card:nth-child(15) { animation-delay: 0.47s; }
.army-card:nth-child(16) { animation-delay: 0.50s; }
.army-card:nth-child(17) { animation-delay: 0.53s; }
.army-card:nth-child(18) { animation-delay: 0.56s; }
.army-card:nth-child(19) { animation-delay: 0.59s; }
.army-card:nth-child(20) { animation-delay: 0.62s; }
.army-card:nth-child(21) { animation-delay: 0.65s; }
.army-card:nth-child(22) { animation-delay: 0.68s; }
.army-card:nth-child(23) { animation-delay: 0.71s; }
.army-card:nth-child(24) { animation-delay: 0.74s; }

.army-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--army-color);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.55),
    0 0 28px color-mix(in srgb, var(--army-color) 45%, transparent);
}

/* Glow top bar */
.army-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--army-color);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 14px var(--army-color);
  opacity: 0.9;
}

.army-card-inner {
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}

/* Shield icon */
.army-shield-wrap {
  font-size: 2.4em;
  color: var(--army-color);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--army-color) 70%, transparent));
  line-height: 1;
  margin-bottom: 4px;
  transition: transform var(--transition), filter var(--transition);
}
.army-card:hover .army-shield-wrap {
  transform: scale(1.1) rotate(-4deg);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--army-color) 90%, transparent));
}

.army-card-body { flex: 1; }
.army-team-name {
  font-size: 1.25em;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.army-captain {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
}
.army-captain i {
  color: var(--army-color);
  font-size: 0.9em;
  flex-shrink: 0;
}

/* Big squad number (watermark) */
.army-number {
  position: absolute;
  bottom: 8px;
  right: 14px;
  font-size: 2.8em;
  font-weight: 900;
  color: var(--army-color);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: -2px;
  pointer-events: none;
  user-select: none;
  transition: opacity var(--transition);
}
.army-card:hover .army-number { opacity: 0.22; }

/* ── Footer Banner ── */
.teams-battle-footer-banner {
  text-align: center;
  font-size: 0.88em;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 18px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
}
.teams-battle-footer-banner i {
  color: var(--gold);
  font-size: 1.1em;
  vertical-align: -2px;
}



/* Score line with inline winner badge */
.match-score {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.match-team-wrap.right .match-score {
  justify-content: flex-end;
}
.winner-badge-score {
  font-size: 0.58em;
  padding: 1px 6px;
  margin-left: 0;
  vertical-align: middle;
}
/* ════════════════════════════════════════
   MATCH SCORE & RESULT
   ════════════════════════════════════════ */
.match-team-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.match-team-wrap.right {
  align-items: flex-end;
  text-align: right;
}
.match-score {
  font-size: 1.05em;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.match-result {
  text-align: center;
  font-size: 0.78em;
  font-weight: 700;
  color: #22d98a;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  margin-top: 6px;
  background: rgba(34,217,138,0.10);
  border: 1px solid rgba(34,217,138,0.25);
  border-radius: var(--radius-pill);
  display: inline-block;
}
/* ════════════════════════════════════════
   WINNER BADGE
   ════════════════════════════════════════ */
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(34,217,138,0.22), rgba(34,217,138,0.12));
  border: 1px solid rgba(34,217,138,0.5);
  color: #22d98a;
  font-size: 0.62em;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(34,217,138,0.20);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   LUNCH BREAK BANNER
   ════════════════════════════════════════ */
.lunch-break-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(135deg,
    rgba(255, 140, 0, 0.18) 0%,
    rgba(255, 100, 0, 0.22) 40%,
    rgba(255, 160, 0, 0.18) 100%);
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: var(--radius);
  padding: 20px 32px;
  margin: 18px 0;
  backdrop-filter: blur(12px);
  box-shadow:
    var(--shadow),
    0 0 32px rgba(255, 140, 0, 0.18),
    inset 0 1px 0 rgba(255, 200, 80, 0.15);
  position: relative;
  overflow: hidden;
}
.lunch-break-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 160, 0, 0.5) 20%,
    #ff9800 40%,
    #ffcc02 50%,
    #ff9800 60%,
    rgba(255, 160, 0, 0.5) 80%,
    transparent);
  background-size: 300% auto;
  animation: shimmer 3s linear infinite;
}
.lunch-break-icon {
  font-size: 2rem;
  color: #ffb300;
  filter: drop-shadow(0 0 10px rgba(255, 180, 0, 0.7));
  flex-shrink: 0;
  line-height: 1;
  animation: pulse 2.5s ease-in-out infinite;
}
.lunch-break-content {
  text-align: center;
  flex: 0 0 auto;
}
.lunch-break-title {
  font-size: 1.3em;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 180, 0, 0.6);
  margin-bottom: 4px;
}
.lunch-break-time {
  font-size: 0.9em;
  font-weight: 700;
  color: #ffcc44;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 1px;
}
.lunch-break-time i {
  color: #ffb300;
  font-size: 0.95em;
}
@media (max-width: 480px) {
  .lunch-break-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
    text-align: center;
  }
  .lunch-break-title { font-size: 1.05em; letter-spacing: 2px; }
}

/* ── Prize Distribution Ceremony Banner ── */
.prize-ceremony-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #7c5a00 0%, #c8860a 30%, #f7c948 55%, #c8860a 75%, #7c5a00 100%);
  border: 2.5px solid #f7c948;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0 1.5rem 0;
  box-shadow: 0 0 40px rgba(247, 201, 72, 0.45), 0 4px 24px rgba(0,0,0,0.35);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: prizeGlow 2.5s ease-in-out infinite alternate;
}
.prize-ceremony-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  pointer-events: none;
}
@keyframes prizeGlow {
  from { box-shadow: 0 0 30px rgba(247, 201, 72, 0.4), 0 4px 24px rgba(0,0,0,0.35); }
  to   { box-shadow: 0 0 60px rgba(247, 201, 72, 0.8), 0 4px 32px rgba(0,0,0,0.5); }
}
.prize-ceremony-icon {
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}
.prize-ceremony-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.prize-ceremony-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 0 20px rgba(255,220,80,0.6);
  line-height: 1.2;
}
.prize-ceremony-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.prize-ceremony-time {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  padding: 0.3rem 1rem;
  display: inline-block;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
  .prize-ceremony-banner {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
  }
  .prize-ceremony-title {
    font-size: 1.3rem;
  }
  .prize-ceremony-icon {
    font-size: 2rem;
  }
}

/* ── Grand Final – same visual size as Prize Distribution Banner ── */
.matches-grid-single .match-card.final {
  padding: 2rem 2.5rem;
  border-radius: 18px;
  border-width: 2.5px;
}
.matches-grid-single .match-card.final .match-vs-row {
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 0;
}
.matches-grid-single .match-card.final .match-team {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.matches-grid-single .match-card.final .match-vs-badge {
  font-size: 1.5rem;
  padding: 0.5rem 1.2rem;
}
.matches-grid-single .match-card.final .match-badge.final {
  font-size: 1.05rem;
  padding: 0.35rem 1rem;
}
.matches-grid-single .match-card.final .match-footer {
  font-size: 1.05rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.matches-grid-single .match-card.final .match-time {
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .matches-grid-single .match-card.final {
    padding: 1.5rem 1rem;
  }
  .matches-grid-single .match-card.final .match-team {
    font-size: 1.3rem;
  }
  .matches-grid-single .match-card.final .match-vs-badge {
    font-size: 1.1rem;
  }
}

/* ── Grand Final card – match vertical size of Prize Distribution Banner ── */
.matches-grid-single .match-card.final .match-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.3rem;
  margin-bottom: 0;
}
.matches-grid-single .match-card.final .match-vs-row {
  padding: 0.6rem 0;
}
.matches-grid-single .match-card.final .match-footer {
  padding-top: 0.3rem;
  margin-top: 0;
}
.matches-grid-single .match-card.final {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: unset;
}

/* ── Grand Final card – match vertical size of Prize Distribution Banner ── */
.matches-grid-single .match-card.final .match-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.3rem;
  margin-bottom: 0;
}
.matches-grid-single .match-card.final .match-vs-row {
  padding: 0.6rem 0;
}
.matches-grid-single .match-card.final .match-footer {
  padding-top: 0.3rem;
  margin-top: 0;
}
.matches-grid-single .match-card.final {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: unset;
}

/* ── Grand Final – same visual size as Prize Distribution Banner ── */
.matches-grid-single .match-card.final {
  padding: 2rem 2.5rem;
  border-radius: 18px;
  border-width: 2.5px;
}
.matches-grid-single .match-card.final .match-vs-row {
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 0;
}
.matches-grid-single .match-card.final .match-team {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.matches-grid-single .match-card.final .match-vs-badge {
  font-size: 1.5rem;
  padding: 0.5rem 1.2rem;
}
.matches-grid-single .match-card.final .match-badge.final {
  font-size: 1.05rem;
  padding: 0.35rem 1rem;
}
.matches-grid-single .match-card.final .match-footer {
  font-size: 1.05rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.matches-grid-single .match-card.final .match-time {
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .matches-grid-single .match-card.final {
    padding: 1.5rem 1rem;
  }
  .matches-grid-single .match-card.final .match-team {
    font-size: 1.3rem;
  }
  .matches-grid-single .match-card.final .match-vs-badge {
    font-size: 1.1rem;
  }
}
