/* ==========================================================================
   Erzurumspor FK Official Website - Corporate & Erzurum Motifs CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Teko:wght@500;600;700&display=swap');

:root {
  /* Corporate Erzurumspor Color Palette */
  --bg-main: #040914;
  --bg-surface: #0a1326;
  --bg-card: rgba(12, 25, 50, 0.85);
  --bg-card-hover: rgba(18, 36, 72, 0.95);
  --border-light: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(0, 194, 255, 0.35);
  
  --primary-navy: #001e47;
  --primary-blue: #003e96;
  --electric-blue: #0062ff;
  --ice-blue: #00c2ff;
  --neon-glow: rgba(0, 194, 255, 0.45);
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold-accent: #ffb703;
  --danger-red: #ef4444;
  --success-green: #10b981;

  /* Corporate Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-athletic: 'Teko', sans-serif;

  /* Effects */
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(0, 194, 255, 0.3);
  --glass-backdrop: blur(18px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 14px;
}

/* Light Theme Overrides */
body.light-theme {
  --bg-main: #f0f4f8;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --border-light: rgba(0, 30, 71, 0.12);
  --border-accent: rgba(0, 98, 255, 0.35);
  --text-white: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Erzurum Seljuk Geometries & Motif Background Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 194, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(0, 98, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--ice-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 194, 255, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--ice-blue);
  white-space: nowrap;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  box-sizing: border-box;
  max-width: 100%;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* ==========================================================================
   ERZURUM CULTURAL MOTIF WATERMARKS (ÇİFT BAŞLI KARTAL & ÇİFTE MİNARELER)
   ========================================================================== */

/* Background Seljuk Double-Headed Eagle Watermark */
.erzurum-eagle-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  fill: var(--ice-blue);
  filter: drop-shadow(0 0 20px var(--ice-blue));
}

.erzurum-eagle-watermark.left {
  top: 10%;
  left: -80px;
  width: 450px;
  height: 450px;
  transform: rotate(-15deg);
}

.erzurum-eagle-watermark.right {
  bottom: 10%;
  right: -80px;
  width: 450px;
  height: 450px;
  transform: rotate(15deg);
}

/* Horizon Skyline Silhouette (Çifte Minareli Medrese & Palandöken Dağları) */
.erzurum-skyline-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: contain;
}

/* Seljuk Star Motif Badge Accent */
.seljuk-star-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ice-blue);
  margin-right: 0.4rem;
}

/* ==========================================================================
   3.3 SECOND INTRO SPLASH SCREEN
   ========================================================================== */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #071630 0%, #020611 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.flying-eagle-wrap {
  position: absolute;
  top: 35%;
  left: -200px;
  width: 240px;
  height: 240px;
  z-index: 10001;
  animation: flyEagle 3.2s ease-in-out forwards;
  pointer-events: none;
}

@keyframes flyEagle {
  0% {
    transform: translate(0, 80px) scale(0.3) rotate(-12deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  65% {
    transform: translate(calc(50vw + 20px), -100px) scale(1.1) rotate(4deg);
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(100vw + 200px), -220px) scale(1.4) rotate(12deg);
    opacity: 0;
  }
}

.splash-eagle-svg {
  width: 100%;
  height: 100%;
  fill: url(#eagleGlow);
  filter: drop-shadow(0 0 30px rgba(0, 194, 255, 0.9));
}

.splash-logo-container {
  position: relative;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 360px;
  margin: 0 auto;
  box-sizing: border-box;
  animation: logoZoomPulse 3.2s ease-out forwards;
}

@keyframes logoZoomPulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  35% {
    transform: scale(1.05);
    opacity: 1;
  }
  75% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.splash-crest {
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 194, 255, 0.85));
  margin-bottom: 1.2rem;
}

.splash-glow-ring {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px dashed var(--ice-blue);
  box-shadow: 0 0 40px var(--neon-glow);
  animation: spinRing 9s linear infinite;
}

@keyframes spinRing {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

.splash-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 30px rgba(0, 194, 255, 0.8);
  white-space: normal;
  word-break: break-word;
}

.splash-sub {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ice-blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-ticker-bar {
  background: linear-gradient(90deg, #00102b 0%, var(--primary-blue) 50%, #00102b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  font-size: 0.82rem;
  width: 100%;
  position: relative;
  z-index: 1001;
}

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

.ticker-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-tag {
  background: var(--danger-red);
  color: #fff;
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  animation: pulse 2s infinite;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.ticker-text {
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.theme-toggle-btn, .sound-toggle-btn, .replay-intro-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.theme-toggle-btn:hover, .sound-toggle-btn:hover, .replay-intro-btn:hover {
  background: var(--ice-blue);
  color: #000;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 9, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  width: 100%;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-crest {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 194, 255, 0.5));
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--ice-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-grow: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  color: #cbd5e1;
  position: relative;
  padding: 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric-blue), var(--ice-blue));
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cart-trigger-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.cart-trigger-btn:hover {
  background: var(--electric-blue);
  border-color: var(--ice-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-cta-btn {
  background: linear-gradient(135deg, var(--electric-blue), var(--ice-blue));
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ticket-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 194, 255, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 0.4rem;
  flex-shrink: 0;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2050;
  background: rgba(4, 9, 20, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #cbd5e1;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-link:hover {
  color: var(--ice-blue);
  padding-left: 8px;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  min-height: 540px;
  background: #020813;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 560px;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.1);
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.slide-item.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #040914 0%, rgba(4, 9, 20, 0.4) 60%, rgba(4, 9, 20, 0.8) 100%);
}

.slide-content-wrap {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.slide-badge {
  margin-bottom: 1rem;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.slide-summary {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.slide-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--electric-blue), var(--ice-blue));
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

/* Slider Controls */
.slider-nav-btns {
  position: absolute;
  right: 2.5rem;
  bottom: 3.5rem;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(12, 25, 50, 0.85);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.slider-arrow:hover {
  background: var(--ice-blue);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.6);
}

.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 0.5rem;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--ice-blue);
}

/* ==========================================================================
   Match Ticker & Countdown Section
   ========================================================================== */
.match-ticker-section {
  margin-top: -45px;
  position: relative;
  z-index: 30;
}

.match-card-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}

.next-match-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(10, 19, 38, 0.95), rgba(0, 38, 92, 0.88));
}

.match-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.85rem;
  margin-bottom: 1.2rem;
}

.comp-name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ice-blue);
  font-size: 0.9rem;
}

.match-stadium {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.teams-vs-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 1rem 0;
  gap: 1rem;
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  min-width: 120px;
}

.team-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.vs-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.vs-circle {
  font-family: var(--font-athletic);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ice-blue);
  background: rgba(0, 194, 255, 0.12);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.2);
}

.match-date-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

/* Match Countdown Timer */
.countdown-box {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border-light);
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  min-width: 55px;
  border: 1px solid var(--border-light);
}

.time-val {
  font-family: var(--font-athletic);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ice-blue);
}

.time-lbl {
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ==========================================================================
   EPIC HORIZONTAL LAST MATCH SCORE ("SON KARŞILAŞMA")
   ========================================================================== */
.last-match-card {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.epic-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 1.5rem 0;
  background: rgba(0, 0, 0, 0.25);
  padding: 1.2rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.score-team-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  flex: 1;
}

.score-team-badge {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.score-team-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.score-digits-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  background: rgba(0, 30, 71, 0.7);
  padding: 0.4rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.2);
}

.score-digit {
  font-family: var(--font-athletic);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.score-digit.win {
  color: var(--ice-blue);
  text-shadow: 0 0 12px rgba(0, 194, 255, 0.8);
}

.score-divider {
  font-family: var(--font-athletic);
  font-size: 2.2rem;
  color: var(--text-dim);
  line-height: 1;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--ice-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ==========================================================================
   League Standings Section
   ========================================================================== */
.standings-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  display: block;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.standings-table th, .standings-table td {
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid var(--border-light);
}

.standings-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.standings-table tbody tr {
  transition: var(--transition);
}

.standings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.standings-table tbody tr.target-team {
  background: linear-gradient(90deg, rgba(0, 98, 255, 0.25), rgba(0, 194, 255, 0.15));
  font-weight: 700;
}

.rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
}

.target-team .rank-badge {
  background: var(--ice-blue);
  color: #000;
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.mini-crest {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.pts-col {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ice-blue);
}

/* Standings Highlight Sidebar Widget */
.standings-widget {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(12, 25, 50, 0.9), rgba(0, 38, 92, 0.75));
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.trophy-icon {
  font-size: 3.2rem;
  color: var(--gold-accent);
  margin-bottom: 0.8rem;
}

.standings-widget-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  word-break: break-word;
  white-space: normal;
}

.standings-widget-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  word-break: break-word;
  white-space: normal;
}

/* Squad & News Grid */
.squad-filters {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--electric-blue);
  border-color: var(--ice-blue);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 98, 255, 0.4);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 25, 50, 0.6) 0%, rgba(4, 9, 20, 0.95) 100%);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.store-banner {
  background: linear-gradient(135deg, var(--primary-blue), #00102b);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.8rem;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Modals & Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 6, 15, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  z-index: 2100;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.2);
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  background: rgba(12, 25, 50, 0.95);
  border: 1px solid var(--ice-blue);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   STRICT MOBILE BREAKPOINT RULES (SOLVING OVERFLOWS 100%)
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 992px) {
  .match-card-grid {
    grid-template-columns: 1fr;
  }
  .standings-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slide-title {
    font-size: 2.2rem;
  }
  .store-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ticker-controls {
    display: none !important;
  }
  .ticker-left {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .ticker-tag {
    font-size: 0.62rem;
    padding: 0.15rem 0.4rem;
  }
  .ticker-text {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-wrapper {
    height: 70px;
    padding: 0 0.5rem;
  }
  .brand-crest {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-sub {
    display: none;
  }
  .ticket-cta-btn span {
    display: none;
  }
  .ticket-cta-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }

  .teams-vs-container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
  }
  .team-block {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0.8rem;
    min-width: unset;
  }
  .team-logo {
    width: 50px;
    height: 50px;
  }
  .team-name {
    font-size: 1.1rem;
    white-space: normal;
  }
  .vs-circle {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .countdown-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    padding-top: 1rem;
    width: 100%;
  }
  .time-unit {
    min-width: unset;
    width: 100%;
    padding: 0.4rem 0.2rem;
  }
  .time-val {
    font-size: 1.6rem;
  }

  .epic-score-row {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 0.5rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  .score-team-box {
    flex-direction: row;
    gap: 0.6rem;
    justify-content: center;
    width: 100%;
  }
  .score-team-badge {
    width: 38px;
    height: 38px;
  }
  .score-team-title {
    font-size: 0.95rem;
    white-space: normal;
  }
  .score-digits-box {
    padding: 0.3rem 1.2rem;
  }
  .score-digit {
    font-size: 2.3rem;
  }

  .standings-widget {
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    width: 100%;
  }
  .standings-widget-title {
    font-size: 1.3rem;
    white-space: normal;
    word-break: break-word;
  }
  .standings-widget-text {
    font-size: 0.85rem;
    white-space: normal;
    word-break: break-word;
  }
  .standings-widget .btn-primary {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .splash-crest {
    width: 100px;
    height: 100px;
  }
  .splash-glow-ring {
    width: 130px;
    height: 130px;
    top: -15px;
  }
  .splash-title {
    font-size: 1.4rem;
    white-space: normal;
    word-break: break-word;
  }
  .splash-sub {
    font-size: 0.72rem;
  }
  .flying-eagle-wrap {
    width: 160px;
    height: 160px;
  }

  #mobile-drawer .btn-primary {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
    text-align: center;
    white-space: normal;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ticket-cta-btn {
    display: none;
  }
  .slide-title {
    font-size: 1.6rem;
  }
  .slide-summary {
    font-size: 0.85rem;
  }
  .slider-nav-btns {
    right: 1rem;
    bottom: 1.5rem;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
