/* Leeds Shockwave - Electric Midnight Theme */

/* ============================================
   CSS Custom Properties (Brand System)
   ============================================ */
:root {
  /* Primary Colors */
  --primary-blue: #00D2FF;
  --primary-blue-dark: #00A3CC;
  --primary-blue-light: #33DBFF;
  
  /* Background Colors */
  --bg-dark: #040B14;
  --bg-card: #0A1628;
  --bg-card-hover: #0F1E33;
  --bg-overlay: rgba(4, 11, 20, 0.9);
  
  /* Text Colors */
  --text-light: #F0F8FF;
  --text-muted: #8BA3B8;
  --text-accent: #00D2FF;
  
  /* Effects */
  --glow: rgba(0, 210, 255, 0.4);
  --glow-intense: rgba(0, 210, 255, 0.6);
  --border-glow: 0 0 20px rgba(0, 210, 255, 0.3);
  --card-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  
  /* Gradients */
  --gradient-hero: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, #061020 100%);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Header Styles
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-text span {
  color: var(--primary-blue);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
  background: rgba(0, 210, 255, 0.1);
}

.nav-link.active {
  color: var(--primary-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-blue);
  border-radius: 1px;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--glow);
}

.btn-primary:hover {
  background: var(--primary-blue-light);
  box-shadow: 0 0 30px var(--glow-intense);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--glow);
}

.btn-ghost {
  background: rgba(0, 210, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--primary-blue);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 11, 20, 0.3) 0%,
    rgba(4, 11, 20, 0.6) 50%,
    var(--bg-dark) 100%
  );
  mix-blend-mode: multiply;
}

/* Blue overlay effect */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.1) 0%,
    transparent 50%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   Hero News Carousel
   ============================================ */
.news-carousel-section {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.news-carousel-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.news-carousel-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.news-carousel-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.news-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.news-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.news-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 0;
}

.news-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.news-carousel-image {
  position: absolute;
  inset: 0;
}

.news-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-carousel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 11, 20, 0.95) 0%, rgba(4, 11, 20, 0.4) 40%, transparent 70%);
}

.news-carousel-overlay {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
  width: 100%;
}

.news-carousel-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.news-carousel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--text-light);
}

.news-carousel-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  max-width: 600px;
}

.news-carousel-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.news-carousel-cta::after {
  content: '→';
}

.news-carousel-slide:hover .news-carousel-cta {
  text-decoration: underline;
}

.news-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 255, 0.4);
  background: rgba(4, 11, 20, 0.85);
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.news-carousel-btn:hover {
  background: var(--primary-blue);
  color: var(--bg-dark);
  border-color: var(--primary-blue);
}

.news-carousel-prev {
  left: 1rem;
}

.news-carousel-next {
  right: 1rem;
}

.news-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
}

.news-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.news-carousel-dots button:hover,
.news-carousel-dots button[aria-selected="true"] {
  background: var(--primary-blue);
}

.news-carousel-dots button[aria-selected="true"] {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .news-carousel-section {
    padding: 2.5rem 0 3rem;
  }
  .news-carousel-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .news-carousel-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  .news-carousel-header p {
    font-size: 1rem;
    margin-bottom: 0;
  }
  .news-carousel {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border-left: 1px solid rgba(0, 210, 255, 0.15);
    border-right: 1px solid rgba(0, 210, 255, 0.15);
  }
  .news-carousel-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .news-carousel-section .news-carousel-header {
    text-align: center;
  }
  .hero-buttons .btn.btn-lg {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .news-carousel-track {
    aspect-ratio: 3 / 4;
    min-height: 380px;
  }
  /* Mobile: cover image in a fixed 4:3 frame so it always fits perfectly */
  .news-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 55%;
    min-height: 220px;
    background: var(--bg-card);
  }
  .news-carousel-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
  /* Mobile: text block below the image so cover always shows fully in its frame */
  .news-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 45%;
    min-height: 180px;
    padding: 1.5rem 1.5rem 2rem;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid rgba(0, 210, 255, 0.12);
    overflow: hidden;
  }
  .news-carousel-category {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 0;
  }
  .news-carousel-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 100%;
  }
  .news-carousel-excerpt {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 0;
  }
  .news-carousel-cta {
    font-size: 0.9rem;
    margin-top: auto;
  }
  .news-carousel-btn {
    width: 44px;
    height: 44px;
    top: 28%;
    min-width: 44px;
    min-height: 44px;
  }
  .news-carousel-prev {
    left: 0.5rem;
  }
  .news-carousel-next {
    right: 0.5rem;
  }
  .news-carousel-dots {
    bottom: 1rem;
  }
  .news-carousel-dots button {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .news-carousel-section {
    padding: 2rem 0 2.5rem;
  }
  .news-carousel-header {
    margin-bottom: 1.5rem;
  }
  .news-carousel-header h2 {
    font-size: 1.5rem;
  }
  .news-carousel-header p {
    font-size: 0.95rem;
  }
  .news-carousel-track {
    min-height: 440px;
  }
  .news-carousel-image {
    height: 52%;
    min-height: 220px;
  }
  .news-carousel-overlay {
    height: 48%;
    min-height: 200px;
    padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.5rem;
  }
  .news-carousel-title {
    font-size: 1.15rem;
  }
  .news-carousel-excerpt {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }
  .news-carousel-cta {
    font-size: 0.875rem;
  }
}

/* ============================================
   Game Photos Carousel (landing page)
   ============================================ */
.game-photos-section {
  padding: 4rem 0;
  background: var(--bg-dark);
}

.game-photos-header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-photos-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.game-photos-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.game-photos-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.game-photos-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.game-photos-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 0;
}

.game-photos-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.game-photos-img-wrap {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
}

.game-photos-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-photos-caption {
  position: relative;
  z-index: 1;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(0deg, rgba(4, 11, 20, 0.95) 0%, transparent 100%);
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.game-photos-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.game-photos-placeholder code {
  background: rgba(0, 210, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85em;
}

.game-photos-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 210, 255, 0.8);
  background: rgba(4, 11, 20, 0.9);
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.game-photos-btn:hover {
  background: var(--primary-blue);
  color: var(--bg-dark);
  border-color: var(--primary-blue);
}

.game-photos-prev { left: 0.75rem; }
.game-photos-next { right: 0.75rem; }

.game-photos-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.game-photos-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.game-photos-dots button:hover,
.game-photos-dots button[aria-selected="true"] {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.game-photos-dots button[aria-selected="true"] {
  transform: scale(1.25);
}

.game-photos-cta {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .game-photos-section { padding: 2.5rem 0; }
  .game-photos-header { margin-bottom: 1.5rem; }
  .game-photos-header h2 { font-size: 1.5rem; }
  .game-photos-track { aspect-ratio: 4 / 3; min-height: 260px; }
  .game-photos-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-width: 2px;
    background: rgba(4, 11, 20, 0.95);
    border-color: var(--primary-blue);
  }
  .game-photos-prev { left: 0.5rem; }
  .game-photos-next { right: 0.5rem; }
  .game-photos-dots { bottom: 0.5rem; }
  .game-photos-dots button { width: 14px; height: 14px; }
}

/* ============================================
   Match Ribbon
   ============================================ */
.match-ribbon {
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  padding: 1.5rem 0;
  position: relative;
}

.match-ribbon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.match-ribbon-header h3 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.match-ribbon-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-blue) var(--bg-dark);
  cursor: grab;
}

.match-ribbon-scroll:active {
  cursor: grabbing;
}

.match-ribbon-scroll::-webkit-scrollbar {
  height: 6px;
}

.match-ribbon-scroll::-webkit-scrollbar-track {
  background: var(--bg-dark);
  border-radius: 3px;
}

.match-ribbon-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 3px;
}

.match-card {
  flex: 0 0 auto;
  min-width: 280px;
  background: var(--bg-dark);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.match-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
}

.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.match-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.match-venue {
  font-size: 0.75rem;
  color: var(--primary-blue);
  padding: 0.25rem 0.5rem;
  background: rgba(0, 210, 255, 0.1);
  border-radius: 4px;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.match-team-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 4px;
}

.match-team-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 80px;
}

.match-vs {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
}

.match-time {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.match-card .btn {
  width: 100%;
}

/* ============================================
   Card Styles
   ============================================ */
.card {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 11, 20, 0.8) 0%,
    transparent 50%
  );
}

.card-content {
  padding: 1.5rem;
}

.card-category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Featured News Card */
.card-featured {
  grid-column: span 2;
}

.card-featured .card-image {
  aspect-ratio: 21/9;
}

@media (max-width: 768px) {
  .card-featured {
    grid-column: span 1;
  }
  
  .card-featured .card-image {
    aspect-ratio: 16/10;
  }

  /* Team page: lighter 3D and smaller cards on mobile to prevent crashes/slowness */
  .player-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .player-card-flip {
    min-height: 300px;
    perspective: 600px;
  }

  .player-card-inner {
    transition: transform 0.3s ease-out;
  }

  .player-card-image {
    aspect-ratio: 3/4;
  }

  .player-number {
    font-size: 2rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .player-card-content {
    padding: 0.75rem 1rem;
  }

  .player-name {
    font-size: 1.1rem;
  }

  .player-position {
    font-size: 0.65rem;
  }

  .position-filter {
    margin-bottom: 1.5rem;
    gap: 0.35rem;
  }

  .filter-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
  }

  .player-card-back {
    padding: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .player-bio-name {
    font-size: 1.15rem;
  }

  .player-bio-details,
  .player-bio-overview-text {
    font-size: 0.8rem;
  }
}

/* ============================================
   Player Cards
   ============================================ */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.player-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
  position: relative;
}

.player-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
  transform: translateY(-4px);
}

/* Flip card container (team page) */
.player-card-flip {
  position: relative;
  min-height: 380px;
  cursor: pointer;
  perspective: 1000px;
  contain: layout style paint;
}

.player-card-flip:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.player-card-flip:not(.flipped):hover .player-card-front {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
  transform: translateY(-4px);
}

.player-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.35s ease-out;
}

/* Hint GPU layer only during flip to keep animation smooth */
.player-card-flip.flipping .player-card-inner {
  will-change: transform;
}

.player-card-flip.flipped .player-card-inner {
  transform: rotateY(180deg);
}

.player-card-front,
.player-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  background: var(--gradient-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.player-card-front {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-card-back {
  transform: rotateY(180deg);
  overflow-y: auto;
  padding: 1.5rem;
}

.player-bio-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-bio-header {
  margin-bottom: 0.25rem;
}

.player-bio-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.player-bio-nickname {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.player-bio-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.875rem;
  margin: 0;
}

.player-bio-details dt {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

.player-bio-details dd {
  margin: 0;
  color: var(--text-light);
}

.player-bio-divider {
  display: block;
  color: var(--text-muted);
  margin: 1rem 0 0.5rem;
  font-size: 0.8rem;
}

.player-bio-overview {
  font-size: 0.7rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.25rem;
}

.player-bio-overview-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.player-bio-coming-soon {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.player-bio-coming-soon p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.player-card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(180deg, #1a2a3a 0%, var(--bg-card) 100%);
  flex-shrink: 0;
  min-height: 0;
}

.player-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  max-width: 100%;
  vertical-align: middle;
}

.player-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 210, 255, 0.2);
  line-height: 1;
}

.player-card-content {
  padding: 1.5rem;
  position: relative;
}

.player-position {
  font-size: 0.75rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.player-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.player-info {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.player-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 210, 255, 0.1);
}

.player-stat {
  text-align: center;
}

.player-stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
}

.player-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Position Filter */
.position-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--bg-dark);
}

/* ============================================
   Schedule Page
   ============================================ */
.schedule-list {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-month {
  margin-bottom: 3rem;
}

.schedule-month-header {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
}

.schedule-item:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
}

.schedule-date {
  flex: 0 0 80px;
  text-align: center;
}

.schedule-date-day {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.schedule-date-month {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.schedule-matchup {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.schedule-teams {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.schedule-team-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.schedule-opponent-inline {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.schedule-opponent {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}

.schedule-location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.schedule-home-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 210, 255, 0.1);
  color: var(--primary-blue);
  border-radius: 4px;
  text-transform: uppercase;
}

.schedule-time {
  flex: 0 0 100px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: var(--text-light);
}

.schedule-result {
  flex: 0 0 100px;
  text-align: center;
}

.schedule-score {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.schedule-score.win {
  color: #4ade80;
}

.schedule-score.loss {
  color: #f87171;
}

.schedule-action {
  flex: 0 0 140px;
}

/* ============================================
   Product Grid (Fan Zone)
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.product-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #1a2a3a 0%, var(--bg-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-image {
  overflow: hidden;
}

.product-coming-soon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--text-light);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.5rem 1rem 1rem;
  text-align: center;
}

.product-content {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-name {
  font-size: 1.125rem;
  margin: 0.5rem 0;
}

.product-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.product-card .btn {
  width: 100%;
}

/* ============================================
   Quick Cart Slide-Over
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid rgba(0, 210, 255, 0.2);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cart-panel.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.cart-header h3 {
  font-size: 1.25rem;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.cart-close:hover {
  color: var(--primary-blue);
}

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

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--bg-dark);
  border-radius: 8px;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-size {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: #f87171;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

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

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.cart-total-amount {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.cart-footer .btn {
  width: 100%;
}

/* ============================================
   Media Gallery
   ============================================ */

/* Media page: Images gallery grid (target of "View all in Media") */
.media-gallery-section {
  padding-top: 0;
  scroll-margin-top: 100px;
}

.media-gallery-intro {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.media-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 210, 255, 0.2);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.media-gallery-item:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.media-gallery-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.media-gallery-item:hover .media-gallery-img-wrap img {
  transform: scale(1.05);
}

.media-gallery-caption {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-card);
}

.media-gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  grid-column: 1 / -1;
}

.media-gallery-empty code {
  background: rgba(0, 210, 255, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .media-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
}

.media-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

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

.media-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 210, 255, 0.2);
  transition: all var(--transition-fast);
}

.media-item:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--border-glow);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-item:hover img {
  transform: scale(1.05);
}

.media-item-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1a2a3a 0%, var(--bg-card) 100%);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.media-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 11, 20, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.media-item:hover .media-item-overlay {
  opacity: 1;
}

.media-play-btn {
  width: 64px;
  height: 64px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px var(--glow);
}

.media-play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--bg-dark);
  margin-left: 4px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 11, 20, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img,
.lightbox-content iframe {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter {
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.newsletter-content {
  max-width: 500px;
}

.newsletter-content h3 {
  margin-bottom: 0.5rem;
}

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

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  max-width: 500px;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.25rem;
  background: var(--bg-dark);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 20px var(--glow);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(0, 210, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-nav h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 8px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: var(--border-glow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 210, 255, 0.1);
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary-blue);
}

/* ============================================
   Mobile Action Bar
   ============================================ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  padding: 1rem;
  z-index: 1500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-action-bar .btn {
  width: 100%;
}

/* ============================================
   Mobile Navigation
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 1999;
  padding: 6rem 2rem 2rem;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-links a {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
  transition: color var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary-blue);
}

/* ============================================
   Standings Widget
   ============================================ */
.standings-widget {
  background: var(--bg-card);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.standings-header {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.1);
}

.standings-header h3 {
  font-size: 1.125rem;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 0.875rem 1rem;
  text-align: left;
}

.standings-table th {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.2);
}

.standings-table td {
  border-bottom: 1px solid rgba(0, 210, 255, 0.05);
}

.standings-table tr:hover td {
  background: rgba(0, 210, 255, 0.05);
}

.standings-table .team-name {
  font-weight: 600;
}

.standings-table .highlight {
  background: rgba(0, 210, 255, 0.1);
}

.standings-table .highlight .team-name {
  color: var(--primary-blue);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .mobile-action-bar {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
  
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  
  .schedule-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .schedule-date {
    flex: none;
  }
  
  .schedule-matchup {
    flex-direction: column;
  }
  
  .schedule-time,
  .schedule-action {
    flex: none;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-buttons .btn.btn-lg {
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
  }
  
  .match-card {
    min-width: 260px;
  }
  
  .player-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team page: single column on very small screens for stable layout */
  .player-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .player-card-flip {
    min-height: 320px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

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

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
