﻿/* ============================================================
   JAMSHEDPUR STEELERS â€” Main Stylesheet
   Theme: Steel City | Dark Navy | Electric Blue & Purple
   ============================================================ */

:root {
  --primary: #1e5eff;
  --primary-dark: #1144cc;
  --primary-light: #4477ff;
  --secondary: #0a0a30;
  --secondary-mid: #0d0d3e;
  --secondary-light: #162080;
  --accent: #c0c0c0;
  --gold: #ffd700;
  --purple: #7744ee;
  --cyan: #44aaff;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --light-gray: #e8e8e8;
  --mid-gray: #aaaaaa;
  --dark-gray: #333333;
  --black: #0a0a0a;
  --text-primary: #0a0a30;
  --text-secondary: #555;
  --text-light: #888;
  --bg-light: #f0f2ff;
  --bg-dark: #060618;
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.18);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.25);
  --shadow-fire: 0 8px 32px rgba(30,94,255,0.35);
  --border-r: 12px;
  --border-r-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #1e5eff 0%, #7744ee 100%);
  --gradient-dark: linear-gradient(135deg, #0a0a30 0%, #0d0d3e 50%, #162080 100%);
  --gradient-fire: linear-gradient(135deg, #1e5eff 0%, #44aaff 50%, #7744ee 100%);
  --font-heading: 'Oswald', sans-serif;
  --font-display: 'Bebas Neue', cursive;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Rajdhani', sans-serif;
}

/* ===== LIGHT MODE OVERRIDE ===== */
[data-theme="light"] {
  --text-primary: #1a1a2e;
  --text-secondary: #444444;
  --text-light: #666666;
  --bg-card: #ffffff;
  --bg-light: #f4f6f9;
  --mid-gray: #666666;
  --light-gray: #e2e6ec;
  --off-white: #f8f9fa;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
}

/* Hero bg â€” keep the image visible in light mode with a lighter veil */
[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(105deg,
      rgba(8, 8, 20, 0.78) 0%,
      rgba(8, 8, 20, 0.60) 45%,
      rgba(8, 8, 20, 0.30) 75%,
      rgba(8, 8, 20, 0.12) 100%),
    radial-gradient(ellipse at 65% 50%, rgba(30,94,255,0.10) 0%, transparent 55%);
}

/* Navbar */
[data-theme="light"] #navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom-color: rgba(30, 94, 255, 0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(255,255,255,0.99) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
[data-theme="light"] .nav-links a {
  color: rgba(26, 26, 46, 0.75);
}
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: var(--primary);
  background: rgba(30,94,255,0.07);
}
[data-theme="light"] .logo-team { color: var(--secondary); }
[data-theme="light"] .theme-toggle { background: rgba(0,0,0,0.06); color: var(--secondary); }
[data-theme="light"] .theme-toggle:hover { background: rgba(30,94,255,0.1); color: var(--primary); }
[data-theme="light"] .mobile-menu { background: rgba(255,255,255,0.99); border-top-color: rgba(30,94,255,0.1); }
[data-theme="light"] .mobile-menu li a { color: rgba(26,26,46,0.75); border-bottom-color: rgba(0,0,0,0.06); }
[data-theme="light"] .mobile-menu li a:hover { color: var(--primary); }
[data-theme="light"] .hamburger span { background: var(--secondary); }

/* Ticker */
[data-theme="light"] .ticker-wrap { background: var(--primary); }
[data-theme="light"] .ticker-label { background: var(--secondary); }

/* General sections with white/light background */
[data-theme="light"] .section:not(.dark-section):not(#featured):not(.fanzone-section):not(.sponsors-section) {
  background: #ffffff;
}
[data-theme="light"] .sponsors-section { background: #f4f6f9; }

/* Section headings */
[data-theme="light"] .section-title { color: var(--text-primary); }
[data-theme="light"] .section-tag {
  background: rgba(30,94,255,0.08);
  color: var(--primary);
  border-color: rgba(30,94,255,0.2);
}

/* Result cards */
[data-theme="light"] .result-card {
  background: #ffffff;
  border-color: #e2e6ec;
}
[data-theme="light"] .score-runs { color: var(--text-primary); }
[data-theme="light"] .result-margin { color: var(--text-primary); }
[data-theme="light"] .result-date { color: #777; }

/* Player cards */
[data-theme="light"] .player-card { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
[data-theme="light"] .pc-bottom { background: rgba(255,255,255,0.92); }
[data-theme="light"] .pc-name-bottom { color: #1a1a2e; }

/* Stat boxes */
[data-theme="light"] .stat-box {
  background: #ffffff;
  border-color: #e2e6ec;
}
[data-theme="light"] .sb-num,
[data-theme="light"] .sb-num-dec { color: var(--text-primary); }
[data-theme="light"] .sb-label { color: var(--text-secondary); }

/* Stats showcase */
[data-theme="light"] .stat-hero-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #edf0f5 100%);
  border-color: rgba(30,94,255,0.15);
}
[data-theme="light"] .shc-name { color: var(--text-primary); }
[data-theme="light"] .shc-unit { color: var(--text-secondary); }

/* Sponsor logos */
[data-theme="light"] .sponsor-logo { background: #fff; border-color: #e2e6ec; }
[data-theme="light"] .sl-inner { color: var(--text-secondary); }

/* Back to top */
[data-theme="light"] #backToTop { box-shadow: 0 4px 16px rgba(30,94,255,0.35); }

/* Footer stays dark in both modes â€” intentional brand choice */

/* Scroll progress bar */
[data-theme="light"] #scrollProgress { background: var(--gradient-primary); }

/* Next match section */
[data-theme="light"] #next-match {
  background: #1a1a2e;
}

/* News cards on dark section â€” keep dark intentionally */
/* Light sections news body */
[data-theme="light"] .result-link { color: var(--primary); }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Smooth theme transitions on key elements */
#navbar, .result-card, .stat-box, .player-card,
.stat-hero-card, .sponsor-logo, .news-card, .np-card {
  transition: background 0.35s ease, background-color 0.35s ease,
              border-color 0.35s ease, color 0.35s ease,
              box-shadow 0.35s ease;
}

body.preloading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { cursor: pointer; border: none; outline: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }

.dark-section {
  background: var(--bg-dark);
  color: var(--white);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.steel-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  animation: ringRotate 1.5s linear infinite;
}

.r1 {
  inset: 0;
  border-top-color: var(--primary);
  animation-duration: 1.2s;
}

.r2 {
  inset: 10px;
  border-right-color: var(--primary-light);
  animation-duration: 1.8s;
  animation-direction: reverse;
}

.r3 {
  inset: 20px;
  border-bottom-color: var(--gold);
  animation-duration: 2.2s;
}

.preloader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pre-js {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
}

.pre-name {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--mid-gray);
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  animation: barFill 2s ease-out forwards;
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--primary);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.ticker-label {
  background: var(--secondary);
  color: var(--white);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1;
}

.ticker-label i { animation: pulse 1s ease infinite; }

.ticker-content {
  display: flex;
  animation: tickerScroll 35s linear infinite;
  white-space: nowrap;
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== NAVIGATION ===== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 94, 255, 0.2);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-emblem {
  width: 44px;
  height: 44px;
  /* transition: var(--transition); */
}

/* .logo-emblem:hover { transform: rotate(30deg) scale(1.1); } */

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-team {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-subtitle {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 3px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 60%; }

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(30,94,255,0.1);
}

.nav-cta {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-fire);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30,94,255,0.5) !important;
}

.nav-cta::after { display: none !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.theme-toggle:hover { background: rgba(30,94,255,0.2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(10, 10, 26, 0.98);
  border-top: 1px solid rgba(30,94,255,0.2);
}

.mobile-menu.open { display: block; }

.mobile-menu ul { padding: 12px 24px 20px; }

.mobile-menu li a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  letter-spacing: 1px;
  transition: var(--transition);
}

.mobile-menu li a:hover { color: var(--primary); padding-left: 8px; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(30,94,255,0.1);
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 16px;
  border-radius: 25px;
  border: 1px solid rgba(30,94,255,0.3);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  line-height: 1.1;
}

.section-header.light .section-title { color: var(--white); }

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 4px;
  margin: 16px auto 0;
}

.section-footer { text-align: center; margin-top: 48px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-fire);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30,94,255,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 26px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(30,94,255,0.1);
  transform: translateY(-3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-fire);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.btn-outline-light:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

/* â”€â”€ Hero background image layer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Place your image at:  images/hero-bg.jpg
   Path in CSS is relative to this stylesheet (css/ folder).
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  /* Background image */
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* Fallback colour shown while image loads or if missing */
  background-color: var(--bg-dark);

  /* Subtle zoom-in on load */
  animation: heroBgZoom 8s ease-out both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Stronger left-side darkening so text is always readable over any photo */
  background:
    linear-gradient(105deg,
      rgba(6, 6, 24, 0.93) 0%,
      rgba(6, 6, 24, 0.82) 45%,
      rgba(6, 6, 24, 0.48) 75%,
      rgba(6, 6, 24, 0.20) 100%),
    radial-gradient(ellipse at 65% 50%, rgba(30,94,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(119,68,238,0.12) 0%, transparent 45%);
}

.steel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,94,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,94,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,94,255,0.15);
  border: 1px solid rgba(30,94,255,0.3);
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 8px 18px;
  border-radius: 25px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-badge i { animation: flicker 1.5s ease infinite; }

.hero-title {
  font-family: 'Barlow Condensed', 'Oswald', var(--font-display);
  font-size: clamp(62px, 11.5vw, 128px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 20px;
  overflow: hidden;
  text-transform: uppercase;
}

.hero-title .line1 {
  display: block;
  animation: slideInLeft 0.8s ease 0.5s both;
  color: var(--white);
  text-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    0 8px 32px rgba(0,0,0,0.3);
}

.hero-title .line2 {
  display: block;
  animation: slideInLeft 0.8s ease 0.7s both;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 16px rgba(30,94,255,0.45));
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tagline-line:nth-child(1) { animation: fadeInUp 0.8s ease 0.9s both; }
.tagline-line:nth-child(2) {
  animation: fadeInUp 0.8s ease 1.0s both;
  color: var(--primary);
  font-weight: 600;
}

/* ===== GARDA UDA DENGE TAGLINE ===== */
.garda-banner {
  position: relative;
  margin-bottom: 40px;
  animation: fadeInUp 1.0s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
  display: inline-block;
}

.garda-inner {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.garda-word {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 4px;
  line-height: 1;
  display: inline-block;
  position: relative;
  cursor: default;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.15);
}

/* ── Continuous smooth auto-animations (post-entry) ─────────
   Strategy:
   - gardaFloat1/2/3 handle transform (bob + micro-rotate)
   - gardaGlowW/B/G  handle text-shadow (never conflicts)
   - No letter-spacing (causes layout reflow / jank)
   - will-change hints for GPU compositing
   ─────────────────────────────────────────────────────────── */
.garda-word { will-change: transform, text-shadow; }

/* Word 1 — GARDA (white) */
.garda-word:nth-child(1) {
  color: #ffffff;
  animation:
    gardaSlam    0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.4s  both,
    gardaFloat1  4.0s  cubic-bezier(0.45, 0.05, 0.55, 0.95) 2.4s infinite,
    gardaGlowW   3.5s  ease-in-out                           2.4s infinite;
}

/* Word 2 — UDA (electric blue) — 0.4 s wave offset */
.garda-word:nth-child(2) {
  color: var(--primary);
  animation:
    gardaSlam    0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.6s  both,
    gardaFloat2  4.0s  cubic-bezier(0.45, 0.05, 0.55, 0.95) 2.8s infinite,
    gardaGlowB   3.0s  ease-in-out                           2.8s infinite;
}

/* Word 3 — DENGE (gold) — 0.8 s wave offset */
.garda-word:nth-child(3) {
  color: var(--gold);
  animation:
    gardaSlam    0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.8s  both,
    gardaFloat3  4.0s  cubic-bezier(0.45, 0.05, 0.55, 0.95) 3.2s infinite,
    gardaGlowG   3.8s  ease-in-out                           3.2s infinite;
}

/* Hover: gentle lift overrides the looping float */
.garda-word:hover {
  animation: gardaHoverLift 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* ── Float keyframes (5-stop sinusoidal — GPU transform only) */
@keyframes gardaFloat1 {
  0%   { transform: translateY(0px)  rotate( 0.00deg); }
  25%  { transform: translateY(-4px) rotate( 0.25deg); }
  50%  { transform: translateY(-7px) rotate( 0.00deg); }
  75%  { transform: translateY(-4px) rotate(-0.25deg); }
  100% { transform: translateY(0px)  rotate( 0.00deg); }
}
@keyframes gardaFloat2 {
  0%   { transform: translateY(0px)  rotate( 0.00deg); }
  25%  { transform: translateY(-5px) rotate(-0.30deg); }
  50%  { transform: translateY(-10px) rotate(0.00deg); }
  75%  { transform: translateY(-5px) rotate( 0.30deg); }
  100% { transform: translateY(0px)  rotate( 0.00deg); }
}
@keyframes gardaFloat3 {
  0%   { transform: translateY(0px)  rotate( 0.00deg); }
  25%  { transform: translateY(-3px) rotate( 0.20deg); }
  50%  { transform: translateY(-6px) rotate( 0.00deg); }
  75%  { transform: translateY(-3px) rotate(-0.20deg); }
  100% { transform: translateY(0px)  rotate( 0.00deg); }
}

/* ── Glow keyframes (4-stop — smooth rise, peak, fall) ───── */
@keyframes gardaGlowW {
  0%   { text-shadow: 0 0 12px rgba(255,255,255,0.08), 1px 2px 0 rgba(0,0,0,0.4); }
  40%  { text-shadow: 0 0 35px rgba(255,255,255,0.45), 0 0 70px rgba(200,220,255,0.20), 1px 2px 0 rgba(0,0,0,0.4); }
  60%  { text-shadow: 0 0 50px rgba(255,255,255,0.60), 0 0 100px rgba(180,210,255,0.28), 1px 2px 0 rgba(0,0,0,0.4); }
  100% { text-shadow: 0 0 12px rgba(255,255,255,0.08), 1px 2px 0 rgba(0,0,0,0.4); }
}
@keyframes gardaGlowB {
  0%   { text-shadow: 0 0 20px rgba(30,94,255,0.30), 0 0 40px rgba(30,94,255,0.10), 1px 2px 0 rgba(0,0,0,0.4); }
  40%  { text-shadow: 0 0 45px rgba(68,170,255,0.75), 0 0 90px rgba(30,94,255,0.40), 1px 2px 0 rgba(0,0,0,0.4); }
  60%  { text-shadow: 0 0 65px rgba(68,170,255,1.00), 0 0 130px rgba(30,94,255,0.60), 0 0 180px rgba(119,68,238,0.25), 1px 2px 0 rgba(0,0,0,0.4); }
  100% { text-shadow: 0 0 20px rgba(30,94,255,0.30), 0 0 40px rgba(30,94,255,0.10), 1px 2px 0 rgba(0,0,0,0.4); }
}
@keyframes gardaGlowG {
  0%   { text-shadow: 0 0 20px rgba(255,215,0,0.30), 0 0 40px rgba(255,215,0,0.10), 1px 2px 0 rgba(0,0,0,0.4); }
  40%  { text-shadow: 0 0 40px rgba(255,215,0,0.70), 0 0 80px rgba(255,215,0,0.35), 1px 2px 0 rgba(0,0,0,0.4); }
  60%  { text-shadow: 0 0 60px rgba(255,215,0,0.90), 0 0 120px rgba(255,200,0,0.50), 1px 2px 0 rgba(0,0,0,0.4); }
  100% { text-shadow: 0 0 20px rgba(255,215,0,0.30), 0 0 40px rgba(255,215,0,0.10), 1px 2px 0 rgba(0,0,0,0.4); }
}

/* ── Hover lift (springy, smooth) ───────────────────────── */
@keyframes gardaHoverLift {
  0%   { transform: translateY(0px)  scale(1.00); }
  60%  { transform: translateY(-12px) scale(1.05); }
  100% { transform: translateY(-8px) scale(1.03); }
}

/* Animated underline sweep */
.garda-underline {
  position: relative;
  height: 4px;
  width: 100%;
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  animation: fadeIn 0.3s ease 2.2s both;
}

.garda-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    #1e5eff 20%,
    #44aaff 50%,
    #7744ee 80%,
    transparent 100%
  );
  animation:
    underlineSweep 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.2s both,
    underlineLoop  3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 3.8s infinite;
}

@keyframes underlineLoop {
  0%        { left: -100%; opacity: 1; }
  35%       { left:  100%; opacity: 1; }
  36%, 100% { left: -100%; opacity: 0; }
}

/* Dust/smoke particles flying up */
.garda-dust {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.garda-dust::before,
.garda-dust::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: dustRise 2s ease 2s forwards;
}

.garda-dust::before {
  width: 6px;
  height: 6px;
  background: rgba(30,94,255,0.6);
  left: 15%;
  bottom: 0;
  animation-delay: 2s;
}

.garda-dust::after {
  width: 4px;
  height: 4px;
  background: rgba(255,215,0,0.5);
  left: 50%;
  bottom: 0;
  animation-delay: 2.3s;
}

/* ===== GARDA KEYFRAMES ===== */
@keyframes gardaSlam {
  0%   { opacity: 0; transform: translateY(-50px) scale(0.85); filter: blur(6px); }
  55%  { opacity: 1; transform: translateY(5px)  scale(1.04); filter: blur(0);  }
  75%  { transform: translateY(-2px) scale(0.99); }
  90%  { transform: translateY(1px)  scale(1.01); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes gardaShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20%  { transform: translateX(-4px) rotate(-1deg); }
  40%  { transform: translateX(4px) rotate(1deg); }
  60%  { transform: translateX(-3px) rotate(-0.5deg); }
  80%  { transform: translateX(3px) rotate(0.5deg); }
}

@keyframes gardaFlicker {
  0%, 95%, 100% { opacity: 1; text-shadow: 0 0 40px rgba(30,94,255,0.6), 0 0 80px rgba(30,94,255,0.3), 2px 2px 0 rgba(0,0,0,0.5); }
  96%  { opacity: 0.6; text-shadow: 0 0 10px rgba(30,94,255,0.3); }
  97%  { opacity: 1; text-shadow: 0 0 60px rgba(30,94,255,0.9), 0 0 120px rgba(30,94,255,0.5); }
  98%  { opacity: 0.75; }
  99%  { opacity: 1; text-shadow: 0 0 40px rgba(30,94,255,0.6), 0 0 80px rgba(30,94,255,0.3); }
}

@keyframes underlineSweep {
  from { left: -100%; }
  to   { left: 0%; }
}

@keyframes dustRise {
  0%   { opacity: 0.9; transform: translate(0, 0) scale(1); }
  60%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--tx, 30px), var(--ty, -60px)) scale(0.1); }
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 1.1s both;
  flex-wrap: wrap;
}

.hs-item { text-align: center; }

.hs-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--primary);
  line-height: 1;
}

.hs-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.hs-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 1.3s both;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-bottom: 4px;
}

.hero-cricket-shape {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, 40vw);
  opacity: 0.6;
  animation: floatCricket 8s ease-in-out infinite;
  z-index: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 2px;
  animation: fadeIn 1s ease 2s both;
  z-index: 2;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  animation: scrollDot 2s ease infinite;
}

/* ===== NEXT MATCH ===== */
#next-match {
  background: var(--secondary);
  padding: 32px 0;
  border-top: 3px solid var(--primary);
  border-bottom: 1px solid rgba(30,94,255,0.2);
}

.nm-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nm-label {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nm-teams {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nm-team {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
  text-align: center;
  min-width: 120px;
}

.nm-team.home .nm-team-name { color: var(--primary); }
.nm-team.away .nm-team-name { color: rgba(255,255,255,0.8); }

.nm-logo {
  width: 52px;
  height: 52px;
}

.nm-team-name {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.nm-team-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--mid-gray);
  font-family: var(--font-accent);
}

.nm-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vs-circle {
  width: 48px;
  height: 48px;
  background: rgba(30,94,255,0.15);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
}

.nm-countdown {
  display: flex;
  gap: 12px;
}

.cd-item {
  text-align: center;
  min-width: 44px;
}

.cd-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.1);
}

.cd-item label {
  font-family: var(--font-accent);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--mid-gray);
  margin-top: 4px;
  display: block;
}

.nm-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nm-info {
  font-family: var(--font-accent);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nm-info i { color: var(--primary); }

.btn-tickets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-tickets:hover { transform: translateY(-2px); box-shadow: var(--shadow-fire); }

/* ===== RESULTS SECTION ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.result-card {
  background: var(--white);
  border-radius: var(--border-r);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.result-card.win::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.result-card.loss::before { background: linear-gradient(90deg, #ef4444, #dc2626); }
.result-card.draw::before { background: linear-gradient(90deg, #f59e0b, #d97706); }

.result-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.result-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
}

.result-badge.win { background: rgba(34,197,94,0.15); color: #22c55e; border: 2px solid #22c55e; }
.result-badge.loss { background: rgba(239,68,68,0.15); color: #ef4444; border: 2px solid #ef4444; }

.result-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.rt-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
}

.js-logo-sm {
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--white);
}

.result-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 2;
}

.score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-runs {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.score-overs {
  font-size: 11px;
  color: var(--mid-gray);
}

.score-sep {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--mid-gray);
  font-weight: 700;
  letter-spacing: 1px;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--light-gray);
  font-size: 12px;
}

.result-margin { font-family: var(--font-accent); font-weight: 600; color: var(--text-primary); }
.result-date { color: var(--mid-gray); }

.result-link {
  display: block;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
  letter-spacing: 1px;
  transition: var(--transition);
}

.result-link:hover { gap: 12px; }

/* ===== FEATURED PLAYER ===== */
#featured {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 90px 0;
}

.featured-bg {
  position: absolute;
  inset: 0;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(30,94,255,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 100% 50%, rgba(26,26,46,0.8) 0%, transparent 60%);
}

.featured-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(30,94,255,0.06) 1px, transparent 0);
  background-size: 30px 30px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.featured-player-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.player-silhouette {
  width: 280px;
  filter: drop-shadow(0 20px 60px rgba(30,94,255,0.3));
  animation: heroFloat 6s ease-in-out infinite;
}

.player-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(30,94,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

.player-number {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(30,94,255,0.08);
  line-height: 1;
  pointer-events: none;
}

.fp-flag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-fire);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-player-info { color: var(--white); }

.fp-tag {
  display: inline-block;
  color: var(--primary);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.fp-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.9;
  margin-bottom: 16px;
}

.fp-name span { color: var(--primary); }

.fp-role {
  font-family: var(--font-accent);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.fp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.fp-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-r);
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}

.fp-stat:hover { background: rgba(30,94,255,0.1); border-color: rgba(30,94,255,0.3); }

.fp-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
}

.fp-stat-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  margin-top: 4px;
}

.fp-bio {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ===== SQUAD SECTION ===== */
.squad-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--light-gray);
  color: var(--text-secondary);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-fire);
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  /* Each cell clips its own card so hover transforms never bleed */
  align-items: start;
}

.player-card {
  position: relative;
  border-radius: var(--border-r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 3/4;
  background: var(--secondary);
  min-height: 280px;
}

.player-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-xl); }

.player-card .pc-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1a1a2e 0%, #0f3460 100%);
  z-index: 0;
}

.featured-bg-card {
  background: linear-gradient(145deg, #1a0a00 0%, #3d1500 100%) !important;
}

.pc-number {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  z-index: 1;
}

.pc-avatar {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Full-card player photo â€” used when a real image is available */
.pc-player-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  display: block;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 3px solid;
}

.avatar-placeholder.bat { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.4); color: #60a5fa; }
.avatar-placeholder.bowl { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); color: #f87171; }
.avatar-placeholder.ar { background: rgba(30,94,255,0.2); border-color: rgba(30,94,255,0.4); color: var(--primary); }

.pc-star-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-fire);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--white);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(30,94,255,0.5);
}

.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,26,0.97) 0%, rgba(10,10,26,0.7) 40%, transparent 70%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
  opacity: 0;
  transition: var(--transition);
}

.player-card:hover .pc-overlay { opacity: 1; }

.pc-country {
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.pc-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pc-role {
  font-family: var(--font-accent);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.pc-mini-stats {
  display: flex;
  gap: 12px;
}

.pc-mini-stats div {
  text-align: center;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 10px;
}

.pc-mini-stats span {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
}

.pc-mini-stats small {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  margin-top: 2px;
}

.pc-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(10,10,26,0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  transition: var(--transition);
}

.player-card:hover .pc-bottom { opacity: 0; }

.pc-name-bottom {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.pc-role-tag {
  font-family: var(--font-accent);
  font-size: 10px;
  color: var(--mid-gray);
  letter-spacing: 1px;
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.ar-tag { background: rgba(30,94,255,0.15) !important; color: var(--primary) !important; }

/* ===== STANDINGS TABLE ===== */
.table-wrapper { overflow-x: auto; }

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-accent);
  min-width: 700px;
}

.standings-table thead th {
  background: rgba(30,94,255,0.1);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: center;
  border-bottom: 2px solid rgba(30,94,255,0.3);
}

.standings-table thead th:nth-child(2) { text-align: left; }

.standings-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

.standings-table tbody td:nth-child(2) { text-align: left; }

.standings-table tbody tr:hover td { background: rgba(255,255,255,0.03); }

.highlight-row td { background: rgba(30,94,255,0.08) !important; }

.highlight-row:hover td { background: rgba(30,94,255,0.12) !important; }

.qualified td { border-left: 3px solid #22c55e; }
.qualified td:first-child { border-left: 3px solid #22c55e; }

.pos { font-weight: 700; font-size: 15px; color: var(--white); }

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
}

.team-steelers { color: var(--white) !important; }
.team-steelers strong { color: var(--primary); }

.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pts { font-weight: 700; font-size: 16px; color: var(--white); }
.highlight-pts { color: var(--primary) !important; font-size: 18px; }

.nrr { font-size: 13px; }
.pos-nrr { color: #22c55e; }
.neg-nrr { color: #ef4444; }

.form-col { display: flex; gap: 4px; justify-content: center; }

.form-w, .form-l {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.form-w { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.form-l { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

.table-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-family: var(--font-accent);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}

.legend-item { display: flex; align-items: center; gap: 8px; }

.leg-q {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 2px;
}

.leg-hl {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 2px;
}

/* ===== STATS SECTION ===== */
.stats-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.stat-hero-card {
  background: var(--gradient-dark);
  border: 1px solid rgba(30,94,255,0.2);
  border-radius: var(--border-r-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right, rgba(30,94,255,0.06) 0%, transparent 60%);
}

.stat-hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.shc-icon {
  width: 56px;
  height: 56px;
  background: rgba(30,94,255,0.15);
  border: 2px solid rgba(30,94,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.shc-content { flex: 1; }

.shc-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--mid-gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.shc-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.shc-team {
  display: block;
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}

.shc-value { display: flex; align-items: baseline; gap: 8px; }

.shc-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--primary);
  line-height: 1;
}

.shc-unit {
  font-family: var(--font-accent);
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

.shc-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.orange-badge { color: #ff7a00; }
.purple-badge { color: #9333ea; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-r);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-fire);
  border-color: rgba(30,94,255,0.3);
}

.sb-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.sb-num, .sb-num-dec {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.sb-label {
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.sb-bar {
  height: 4px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.sb-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* ===== NEWS SECTION ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.news-card { border-radius: var(--border-r-lg); overflow: hidden; transition: var(--transition); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.featured-news { grid-row: 1 / 3; }

.news-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.featured-news .news-img { height: 280px; }

.news-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.news-img-1 { background: linear-gradient(135deg, #1a0500 0%, #4a1200 30%, #8b2500 60%, #1e5eff 100%); }
.news-img-2 { background: linear-gradient(135deg, #0a0a2e 0%, #1a1a5e 50%, #2244aa 100%); }
.news-img-3 { background: linear-gradient(135deg, #001a00 0%, #003300 50%, #006600 100%); }
.news-img-4 { background: linear-gradient(135deg, #1a0a00 0%, #3d1f00 50%, #7a3f00 100%); }

.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 4px;
}

.news-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
}

.news-body { padding: 20px; }

.news-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(30,94,255,0.15);
  color: var(--primary);
  margin-bottom: 8px;
}

.win-tag { background: rgba(34,197,94,0.15); color: #22c55e; }
.fan-tag { background: rgba(251,191,36,0.15); color: #f59e0b; }

.news-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
}

.featured-news .news-title { font-size: 22px; }

.news-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-footer { display: flex; justify-content: space-between; align-items: center; }

.news-author {
  font-family: var(--font-accent);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-read-more {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.news-read-more:hover { gap: 12px; }

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}

.gallery-item { border-radius: var(--border-r); overflow: hidden; }
.gi-large { grid-column: 1 / 3; }
.gi-tall { grid-row: 1 / 3; grid-column: 4; }
.gi-wide { grid-column: 2 / 4; }

.gi-inner {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gi-inner:hover { transform: scale(1.03); }
.gi-inner:hover .gi-overlay { opacity: 1; }

.g1 { background: linear-gradient(135deg, #1e5eff 0%, #4477ff 30%, #1a1a2e 100%); }
.g2 { background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #0a192f 100%); }
.g3 { background: linear-gradient(135deg, #1a1a2e 0%, #3d1500 100%); }
.g4 { background: linear-gradient(135deg, #004000 0%, #006600 100%); }
.g5 { background: linear-gradient(135deg, #1a0000 0%, #4a0000 50%, #ff0000 100%); }
.g6 { background: linear-gradient(135deg, #1a1a00 0%, #4a4a00 50%, #aaaa00 100%); }

.gi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
}

.gi-overlay i { font-size: 32px; }
.gi-overlay span { font-family: var(--font-accent); font-size: 14px; font-weight: 600; letter-spacing: 1px; }

/* ===== SPONSORS ===== */
.sponsors-section { background: var(--bg-light); }

.sponsor-tiers { display: flex; flex-direction: column; gap: 40px; }

.tier-label {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sponsor-logo {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.sponsor-logo.sm { width: 120px; height: 64px; }

.title-sponsor .sponsor-logo { width: 220px; height: 100px; border-color: var(--primary); }

.sponsor-logo:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-fire);
}

.sl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
}

.sl-inner i { font-size: 24px; color: var(--primary); }

.sponsor-logo:hover .sl-inner { color: var(--primary); }

/* ===== FAN ZONE ===== */
.fanzone-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.fanzone-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-dark);
}

.fanzone-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(30,94,255,0.15) 0%, transparent 60%);
}

.fanzone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fanzone-info { color: var(--white); }

.light-title { color: var(--white); }

.gradient-text {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fanzone-info > p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.fanzone-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.perk i { color: var(--primary); font-size: 16px; }

.social-links { display: flex; gap: 12px; }

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  transition: var(--transition);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.social-btn:hover { transform: translateY(-4px); }
.social-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.social-btn.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.social-btn.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.social-btn.yt:hover { background: #ff0000; border-color: #ff0000; }
.social-btn.wa:hover { background: #25d366; border-color: #25d366; }

.fanzone-form-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-r-lg);
  padding: 40px;
}

.fanzone-form-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.fanzone-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.form-group input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  background: rgba(30,94,255,0.06);
}

.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-fire);
  margin-top: 4px;
}

.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30,94,255,0.5); }

/* ===== FOOTER ===== */
#footer { background: #050510; color: rgba(255,255,255,0.7); }

.footer-top { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fl-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 2px;
}

.fl-sub {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 3px;
}

.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-heading {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(30,94,255,0.3);
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-links a::before { content: 'â†’'; font-size: 12px; opacity: 0; transition: var(--transition); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  align-items: flex-start;
}

.footer-contact li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

.footer-newsletter h5 {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.nl-form {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.nl-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.nl-form input::placeholder { color: rgba(255,255,255,0.3); }

.nl-form button {
  background: var(--gradient-primary);
  border: none;
  padding: 10px 14px;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.nl-form button:hover { background: var(--primary-dark); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 500;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-fire);
}

#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(30,94,255,0.5); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.lb-close:hover { background: var(--primary-dark); transform: scale(1.1); }

/* ===== FLOATING PARTICLES ===== */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat var(--duration, 8s) ease-in-out infinite var(--delay, 0s);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: 1fr; gap: 40px; }
  .featured-player-visual { justify-content: center; }
  .player-silhouette { width: 220px; }
  .fp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-showcase { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .featured-news { grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-large, .gi-tall, .gi-wide { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brand-col { grid-column: 1 / -1; }
  .fanzone-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero-title { font-size: 52px; }
  .hero-stats-row { gap: 16px; }
  .hs-num { font-size: 32px; }
  .nm-container { flex-direction: column; gap: 16px; }
  .results-grid { grid-template-columns: 1fr; }

  /* Squad: 2 columns but with a safe min-width so cards never get too narrow */
  .squad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  /* Prevent hover scale from overflowing into neighbour cards on mobile */
  .player-card:hover { transform: translateY(-4px) scale(1); }
  /* Ensure absolute children cannot overflow the card boundary */
  .player-card { overflow: hidden; }
  /* Reduce min-height so aspect-ratio drives the height naturally */
  .player-card { min-height: 0; }
  /* Bottom info bar — smaller text so it fits 2-column layout */
  .pc-name-bottom { font-size: 12px; }
  .pc-role-tag { font-size: 10px; padding: 2px 6px; }
  .pc-bottom { padding: 8px 10px; }
  /* Number watermark — smaller */
  .pc-number { font-size: 32px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-logo { width: 120px; height: 64px; }
  .title-sponsor .sponsor-logo { width: 160px; height: 80px; }
  .hero-cricket-shape { display: none; }
}

/* On very small phones (< 400px) switch squad to single column */
@media (max-width: 400px) {
  .squad-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .player-card { min-height: 320px; }
}

