/* ====== MOBILE RESPONSIVE FIXES ====== */
/* Schedule page Game Schedule title mobile sizing fix */
@media (max-width: 768px) {
  .schedule-container h1 {
    font-size: clamp(2.2rem, 5vw, 2.8rem) !important;
  }
}

/* ====== UNIFIED THEME SYSTEM ====== */
:root {
  /* Dark theme variables (default) - Stats Page Fiery Orange Theme */
  --bg: #000000;
  --surface: #1A1A1A;
  --surface-2: #0D0D0D;
  --border: #3C3C3C;
  --ink: #FFFFFF;
  --muted: #B0B0B0;
  --accent: #FF6A1A;
  --gold: #F9A825;
  --silver: #3C3C3C;
  --bronze: #FF6A1A;
  --chip: #1A1A1A;

  /* Additional unified colors */
  --nav-bg: rgba(255,255,255,.04);
  --hover-bg: rgba(255,255,255,.08);
  --button-bg: #0e1420;
  --button-border: #273446;
  --button-hover-bg: #0f1521;
  --button-hover-border: #2f4056;
  --text-shadow: 0 2px 4px rgba(0,0,0,.3);
  --box-shadow: 0 8px 32px rgba(0,0,0,.3);
  --gradient-start: rgba(255,255,255,.05);
  --gradient-end: rgba(255,255,255,.00);
}

/* Performance & Mobile Optimizations */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improved touch targets for mobile */
button,
a,
[role="button"],
input,
select,
textarea {
  min-height: 44px;
  min-width: 44px;
}

/* Better tap highlights */
* {
  -webkit-tap-highlight-color: rgba(34, 211, 238, 0.3);
  -webkit-touch-callout: none;
}

/* Improve scrolling performance */
.panel,
.standings-table-container,
.video-grid {
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Light theme variables */
[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --border: #cbd5e1;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #0369a1;
  --gold: #ca8a04;
  --silver: #525252;
  --bronze: #b45309;
  --chip: #e2e8f0;

  --nav-bg: rgba(255,255,255,.95);
  --hover-bg: rgba(0,0,0,.08);
  --button-bg: #ffffff;
  --button-border: #cbd5e1;
  --button-hover-bg: #f1f5f9;
  --button-hover-border: #94a3b8;
  --text-shadow: none;
  --box-shadow: 0 8px 32px rgba(0,0,0,.12);
  --gradient-start: rgba(0,0,0,.04);
  --gradient-end: rgba(0,0,0,.00);
}



/* Light theme header overrides */
[data-theme="light"] .main-header {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .header-nav-link {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
}

[data-theme="light"] .header-nav-link:hover {
  color: #0f172a;
  border-color: #0369a1;
  background: #f0f9ff;
  box-shadow: 0 4px 8px rgba(3, 105, 161, 0.1);
}

[data-theme="light"] .social-icon,
[data-theme="light"] .mobile-menu-toggle {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

[data-theme="light"] .social-icon:hover,
[data-theme="light"] .mobile-menu-toggle:hover {
  background: #f0f9ff;
  border-color: #0369a1;
  color: #0f172a;
}

[data-theme="light"] .hamburger-line {
  background: #475569;
}

/* ====== UNIFIED HEADER NAVIGATION ====== */
.main-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Logo appears first */
.header-logo {
  order: 1 !important;
}

/* Nav appears second */
.header-nav {
  order: 2 !important;
}

/* Mobile menu toggle appears third (center) */
.mobile-menu-toggle {
  order: 3 !important;
  margin: 0 auto;
}



/* Ensure proper ordering on larger screens */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.header-logo .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 43px !important;
  width: auto;
  transition: transform 0.2s ease;
}

.header-logo-img:hover {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

/* Navigation Items and Dropdowns */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font: 600 clamp(10px, 1.2vw, 12px)/1.2 Inter, system-ui;
  letter-spacing: clamp(0.1px, 0.3vw, 0.3px);
  text-transform: uppercase;
  padding: 12px clamp(4px, 1vw, 12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}

/* Current page indicator */
.header-nav-link--current {
  color: #22d3ee !important;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
  font-weight: 700;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

/* Dropdown arrow rotation handled by JavaScript */

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

/* Dropdown visibility controlled by JavaScript, not hover */

.dropdown-link {
  display: block;
  padding: 10px 16px;
  color: #374151;
  text-decoration: none;
  font: 500 13px/1.2 Inter, system-ui;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 4px;
  background: transparent;
  border: none;
}

.social-icon:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.social-icon svg {
  width: 14px;
  height: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 28px;
  height: 28px;
  justify-content: center;
  gap: 1px;
}

.mobile-menu-toggle:hover {
  background: #f0f9ff;
  border-color: #0369a1;
  transform: translateY(-1px);
}

/* Clean variant for hamburger menu - no background */
.mobile-menu-toggle--clean {
  background: transparent;
  border: none;
  padding: 8px;
}

.mobile-menu-toggle--clean:hover {
  background: transparent;
  border: none;
  transform: none;
}

.mobile-menu-toggle--clean .hamburger-line {
  background: #475569;
}

.mobile-menu-toggle--clean:hover .hamburger-line {
  background: #0369a1;
}

.hamburger-line {
  width: 14px;
  height: 1.5px;
  background: #475569;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none !important;
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, 
    rgba(11, 14, 19, 0.98) 0%, 
    rgba(15, 23, 42, 0.96) 50%,
    rgba(11, 14, 19, 0.98) 100%);
  border: 2px solid rgba(34, 211, 238, 0.3);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.9),
    0 0 120px rgba(34, 211, 238, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.08);
  z-index: 1001;
  min-width: 280px;
  max-width: min(320px, calc(100vw - 40px));
  width: 90vw;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  display: block !important;
  animation: slideDownProfessional 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideDownProfessional {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-40px) scale(0.9);
    filter: blur(15px);
  }
  50% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(8px) scale(1.03);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideUpProfessional {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    filter: blur(5px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-40px) scale(0.85);
    filter: blur(15px);
  }
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font: 600 15px/1.2 Inter, system-ui;
  border-radius: 14px;
  margin-bottom: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.06) 0%, 
    rgba(255, 255, 255, 0.02) 100%);
  position: relative;
  overflow: hidden;
}

.mobile-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(34, 211, 238, 0.1) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.mobile-menu-item:hover::before {
  left: 100%;
}

.mobile-menu-item:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 255, 255, 0.2);
}

.mobile-menu-item:active {
  transform: translateY(-1px) scale(1.01);
  transition: all 0.1s ease;
}

.mobile-menu-header {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(34, 211, 238, 0.2);
  position: relative;
}

.mobile-menu-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(34, 211, 238, 0.8) 50%, 
    transparent 100%);
  border-radius: 1px;
}

.mobile-menu-title {
  color: #22d3ee;
  font: 700 16px/1.2 Inter, system-ui;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.mobile-menu-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font: 500 12px/1.2 Inter, system-ui;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  background: linear-gradient(180deg, #000000 0%, #0D0D0D 50%, #121212 100%);
  background-attachment: fixed;
  color:var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Skip navigation link for screen readers */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-nav:focus {
  top: 6px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.back-button {
  white-space: nowrap;
}

.back-button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile breadcrumb responsiveness */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 0 12px;
  }

  .breadcrumb-nav > div {
    padding: 8px 12px !important;
    gap: 6px !important;
  }

  .back-button {
    font-size: 12px !important;
    padding: 6px 8px !important;
  }

  .back-button svg {
    width: 14px !important;
    height: 14px !important;
  }

  .breadcrumb-nav span,
  .breadcrumb-nav a:not(.back-button) {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .breadcrumb-nav > div {
    padding: 6px 8px !important;
    gap: 4px !important;
  }

  .back-button {
    font-size: 11px !important;
    padding: 4px 6px !important;
  }

  .back-button svg {
    width: 12px !important;
    height: 12px !important;
  }

  .breadcrumb-nav span,
  .breadcrumb-nav a:not(.back-button) {
    font-size: 10px !important;
  }

  /* Hide intermediate breadcrumb items on very small screens */
  .breadcrumb-nav a:not(.back-button):not(:last-of-type) {
    display: none;
  }

  .breadcrumb-nav span:not(:last-of-type) {
    display: none;
  }
}



/* ====== LANDING PAGE STYLES ====== */
.landing-page {
  background: #0a0d12;
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 30vh;
  background: #0b0e13;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  color: white;
  padding-top: 20px;
  padding-bottom: 10px;
}

.hero-inner {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 0;
}

.hero-kicker {
  font: 600 0.875rem/1.2 Inter, system-ui;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms ease-out 0.2s forwards;
}

.hero-title {
  font: 900 clamp(2.5rem, 8vw, 5.5rem)/1.05 Inter, system-ui;
  color: white;
  margin: 24px 0 32px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 700ms ease-out 0.4s forwards;
}

.hero-logo {
  width: clamp(160px, 20vw, 300px);
  height: auto;
  margin: 0 auto 8px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(128, 128, 128, 0.15));
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms ease-out 0.1s forwards, logoGlow 3s ease-in-out infinite alternate;
}

.hero-main-title {
  font: 900 clamp(48px, 10vw, 112px)/1.1 Inter, system-ui;
  color: white;
  margin: 32px 0 48px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 700ms ease-out 0.7s forwards;
}

.hero-sub1 {
  font: 700 clamp(1.25rem, 3.5vw, 1.75rem)/1.3 Inter, system-ui;
  color: rgba(255, 255, 255, 0.95);
  margin: 16px 0 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms ease-out 0.8s forwards;
}

.hero-sub2 {
  font: 700 clamp(1.25rem, 3.5vw, 1.75rem)/1.3 Inter, system-ui;
  color: rgba(255, 255, 255, 0.95);
  margin: 8px 0 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms ease-out 1.0s forwards;
}

.hero-rule {
  width: clamp(200px, 75%, 400px);
  height: 4px;
  background: #dc2626;
  margin: 64px auto 80px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 500ms ease-out 1.8s forwards;
}

/* Mobile-first hero CTAs */
.hero-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-content: center;
  max-width: 320px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 700ms ease-out 1.6s forwards;
}

/* Tablet - 2 columns */
@media (min-width: 600px) {
  .hero-ctas {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    gap: 16px;
  }
}

/* Desktop - 4 columns */
@media (min-width: 1024px) {
  .hero-ctas {
    grid-template-columns: repeat(4, 1fr);
    max-width: 800px;
    gap: 20px;
  }
}

.hero__background {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240,242,247,0.8) 30%, rgba(226,232,240,0.7) 60%, rgba(203,213,225,0.6) 100%),
    radial-gradient(circle at 2px 2px, rgba(34,211,238,0.3) 2px, transparent 0),
    radial-gradient(circle at 15px 15px, rgba(148,163,184,0.2) 1px, transparent 0),
    linear-gradient(45deg, rgba(248,250,252,0.3) 0%, rgba(241,245,249,0.2) 50%, rgba(226,232,240,0.1) 100%);
  background-size: cover, 25px 25px, 40px 40px, cover;
}

/* Video Background Styles */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  transition: all 0.3s ease;
  /* Add subtle blur effect */
  filter: blur(2px);
  /* No zoom on desktop */
  transform: translateX(-50%) translateY(-50%) scale(1);
  /* Show full video without cropping */
  object-fit: contain;
}

/* Mobile video positioning adjustments */
@media (max-width: 768px) {
  .hero__video {
    /* Adjust vertical position for mobile - move up or down as needed */
    top: 50%; /* Change this value: 30% moves up, 60% moves down */
    /* Position 25% to the left */
    left: 25%; /* 25% from left edge */
    /* No zoom - scale set to 1 */
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero__video {
    /* Further adjustments for very small screens */
    top: 50%; /* Fine-tune vertical position */
    left: 25%; /* 25% from left edge */
    /* No zoom - scale set to 1 */
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

/* Video overlay for better text readability */
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(11, 14, 19, 0.7) 0%, 
    rgba(11, 14, 19, 0.4) 50%, 
    rgba(11, 14, 19, 0.8) 100%
  );
  z-index: 2;
}

/* Fallback background when video doesn't load */
.hero__video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 25%,
    #334155 50%,
    #475569 75%,
    #64748b 100%
  );
  z-index: 0;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 40px 40px;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Reveal Animation */
@keyframes revealContent {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Class for sections that should animate on scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
}

/* When section is visible, trigger animation */
.reveal-on-scroll.revealed {
  animation: revealContent 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Respect user's motion preferences - disable animations for those who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
  
  .reveal-on-scroll.revealed {
    animation: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,14,19,0.3) 0%, rgba(11,14,19,0.1) 50%, rgba(11,14,19,0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}

/* Logo base styles with optimization */
.logo {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
  position: relative;
}

/* Simplified logo styling for better visibility */
.logo,
.hero-logo,
.header-logo-img,
.nav-logo-img,
.landing-main-logo {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 10;
  opacity: 1;
  display: block;
}

/* Optional subtle glow effect */
.hero-logo {
  filter: 
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 20px rgba(34, 211, 238, 0.3));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: 
      drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 20px rgba(34, 211, 238, 0.3));
  }
  100% {
    filter: 
      drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 30px rgba(34, 211, 238, 0.5));
  }
}

/* Lazy loading optimization */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Image performance improvements */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Team logo optimizations */
.logo-placeholder {
  will-change: transform;
  backface-visibility: hidden;
}

/* Hero logo on front page */
.hero-logo {
  width: 320px;
  margin: 0 auto 24px;
}

/* Header logo on stats page */
.header-logo {
  width: 150px;
  margin-right: 12px;
}

/* Navigation logo */
.nav-logo-img {
  width: 120px;
  height: auto;
}

/* New hero section styles */
.hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-subtitle {
  font: 400 1rem/1.2 Inter, system-ui;
  color: var(--muted);
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.hero-main-title {
  font: 900 4rem/1.1 Inter, system-ui;
  color: var(--ink);
  margin: 32px 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-taglines {
  text-align: center;
  margin: 8px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 600ms ease-out 1.3s forwards;
}

.hero-tagline-top {
  font: 700 clamp(28px, 4.5vw, 48px)/1.2 Inter, system-ui;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-tagline-bottom {
  font: 900 clamp(38px, 7.5vw, 76px)/1.1 Inter, system-ui;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e5e7eb 50%, #f8fafc 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.hero-tagline-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  z-index: -1;
  border-radius: 8px;
  animation: scan-line 3s ease-in-out infinite;
}

@keyframes scan-line {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

.hero-navy-line {
  width: clamp(500px, 95%, 900px);
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(25, 45, 85, 0.3) 10%, 
    #1e3a8a 30%, 
    #2563eb 50%, 
    #1e3a8a 70%, 
    rgba(25, 45, 85, 0.3) 90%, 
    transparent 100%);
  margin: 24px auto 32px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 500ms ease-out 1.1s forwards;
  position: relative;
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

.hero-navy-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%);
  border-radius: 1px;
}

.hero-navy-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 70%, 
    transparent 100%);
  animation: pulse-navy-line 3s ease-in-out infinite;
}

@keyframes pulse-navy-line {
  0%, 100% { opacity: 0.3; width: 80%; }
  50% { opacity: 0.8; width: 90%; }
}

.hero-red-line {
  width: clamp(500px, 95%, 900px);
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(220, 38, 38, 0.3) 10%, 
    #dc2626 30%, 
    #ef4444 50%, 
    #dc2626 70%, 
    rgba(220, 38, 38, 0.3) 90%, 
    transparent 100%);
  margin: 16px auto 20px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 500ms ease-out 1.8s forwards;
  position: relative;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

.hero-red-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%);
  border-radius: 1px;
}

.hero-red-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 70%, 
    transparent 100%);
  animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; width: 80%; }
  50% { opacity: 0.8; width: 90%; }
}

/* Hero CTAs - Side by side by default */
.hero-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 700ms ease-out 1.6s forwards;
}

.hero-ctas .cta-button {
  flex: 0 1 280px;
}

/* Medium screens - maintain side by side */
@media (min-width: 768px) {
  .hero-ctas {
    gap: 20px;
    max-width: 650px;
  }

  .hero-ctas .cta-button {
    flex: 0 1 300px;
  }
}

/* Small screens - stack vertically when needed */
@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    max-width: 320px;
    gap: 12px;
  }

  .hero-ctas .cta-button {
    flex: none;
    width: 100%;
    max-width: 280px;
  }
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.08) 100%);
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  font: 700 1rem/1.2 Inter, system-ui;
  letter-spacing: 0.08em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-align: center;
  min-width: 220px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(255, 255, 255, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.4) 70%,
    transparent 100%);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.cta-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.cta-button span {
  position: relative;
  z-index: 3;
}

.cta-button:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.15) 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(255, 255, 255, 0.4),
    0 0 80px rgba(255, 255, 255, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover::after {
  opacity: 1;
}

.cta-button:hover svg {
  transform: translateX(4px) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

.cta-button svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
}

.cta-button:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 12px 40px rgba(34, 211, 238, 0.3),
    0 0 60px rgba(34, 211, 238, 0.2),
    0 0 0 1px rgba(34, 211, 238, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Primary button variant for "Join the League" */
.cta-button:first-child {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 32px rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-button:first-child::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.4) 70%,
    transparent 100%);
}

.cta-button:first-child:hover {
  background: linear-gradient(135deg, 
    rgba(34, 211, 238, 0.35) 0%, 
    rgba(14, 165, 233, 0.25) 50%,
    rgba(34, 211, 238, 0.2) 100%);
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 
    0 20px 60px rgba(34, 211, 238, 0.4),
    0 0 80px rgba(34, 211, 238, 0.3),
    0 0 0 2px rgba(34, 211, 238, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.8);
}

/* Primary button variant for "Join the League" */
.cta-button--dashboard {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 32px rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-button--dashboard::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.4) 70%,
    transparent 100%);
}

.cta-button--dashboard:hover {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.35) 0%, 
    rgba(245, 158, 11, 0.25) 50%,
    rgba(245, 158, 11, 0.2) 100%);
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 
    0 20px 60px rgba(245, 158, 11, 0.4),
    0 0 80px rgba(245, 158, 11, 0.3),
    0 0 0 2px rgba(245, 158, 11, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
}

.cta-button--dashboard::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.4) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(245, 158, 11, 0.4) 70%,
    transparent 100%);
}

@keyframes primaryPulse {
  0%, 100% {
    box-shadow: 
      0 8px 32px rgba(255, 255, 255, 0.25),
      0 0 0 1px rgba(255, 255, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 12px 40px rgba(255, 255, 255, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.4),
      0 0 40px rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@media (hover: none) and (pointer: coarse) {
  .cta-button:hover {
    transform: none;
    box-shadow: 
      0 12px 40px rgba(34, 211, 238, 0.4),
      0 0 60px rgba(34, 211, 238, 0.3),
      0 0 0 2px rgba(34, 211, 238, 0.4);
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.25) 0%, 
      rgba(14, 165, 233, 0.15) 100%);
  }

  .cta-button:active {
    transform: scale(0.96);
    box-shadow: 
      0 8px 24px rgba(34, 211, 238, 0.3),
      0 0 40px rgba(34, 211, 238, 0.2),
      0 0 0 1px rgba(34, 211, 238, 0.3);
  }

  .cta-button:first-child:hover {
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.3) 0%, 
      rgba(14, 165, 233, 0.2) 100%);
    box-shadow: 
      0 12px 40px rgba(34, 211, 238, 0.4),
      0 0 60px rgba(34, 211, 238, 0.3),
      0 0 0 2px rgba(34, 211, 238, 0.4);
  }
}

/* Hero Countdown Timer Styles */
.hero-countdown {
  max-width: 600px;
  margin: 32px auto 0;
  padding: 20px 16px;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.08) 0%, 
    rgba(30, 58, 138, 0.12) 50%, 
    rgba(34, 211, 238, 0.08) 100%);
  border: 2px solid rgba(220, 38, 38, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(220, 38, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 800ms ease-out 1.8s forwards;
  position: relative;
  overflow: hidden;
}

.hero-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 2px 2px, rgba(220, 38, 38, 0.15) 1px, transparent 0);
  background-size: 32px 32px;
  animation: float 25s ease-in-out infinite;
}

.countdown-header {
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.countdown-label {
  font: 900 clamp(0.9rem, 2.5vw, 1.2rem)/1.2 Inter, system-ui;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 
    0 0 30px rgba(220, 38, 38, 0.6),
    0 0 60px rgba(34, 211, 238, 0.4);
  animation: countdownPulse 3s ease-in-out infinite;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  position: relative;
  z-index: 2;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  padding: 8px 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: all 0.3s ease;
}

.countdown-unit:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}

.countdown-value {
  font: 900 clamp(1.8rem, 6vw, 2.8rem)/1 Inter, system-ui;
  color: #ffffff;
  text-shadow: 
    0 0 20px rgba(34, 211, 238, 0.8),
    0 0 40px rgba(220, 38, 38, 0.6);
  background: linear-gradient(135deg, #ffffff 0%, #22d3ee 50%, #dc2626 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: valueGlow 2s ease-in-out infinite;
}

.countdown-text {
  font: 600 clamp(0.6rem, 1.5vw, 0.75rem)/1.2 Inter, system-ui;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.countdown-separator {
  font: 900 clamp(1.5rem, 4.5vw, 2.2rem)/1 Inter, system-ui;
  color: rgba(34, 211, 238, 0.6);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
  animation: separatorPulse 1.5s ease-in-out infinite;
}

.countdown-subtext {
  text-align: center;
  margin-top: 16px;
  font: 600 clamp(0.75rem, 2vw, 0.9rem)/1.4 Inter, system-ui;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

@keyframes countdownPulse {
  0%, 100% {
    text-shadow: 
      0 0 30px rgba(220, 38, 38, 0.6),
      0 0 60px rgba(34, 211, 238, 0.4);
  }
  50% {
    text-shadow: 
      0 0 40px rgba(220, 38, 38, 0.8),
      0 0 80px rgba(34, 211, 238, 0.6);
  }
}

@keyframes valueGlow {
  0%, 100% {
    text-shadow: 
      0 0 20px rgba(34, 211, 238, 0.8),
      0 0 40px rgba(220, 38, 38, 0.6);
  }
  50% {
    text-shadow: 
      0 0 30px rgba(34, 211, 238, 1),
      0 0 60px rgba(220, 38, 38, 0.8);
  }
}

@keyframes separatorPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, rgba(11, 14, 19, 0.8) 0%, rgba(16, 21, 28, 0.6) 100%);
  padding: 24px 20px;
  text-align: center;
  border-top: 1px solid rgba(34, 211, 238, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Asia Flag Weekly League Section */
.weekly-league-section {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(30, 58, 138, 0.15) 50%, rgba(34, 211, 238, 0.08) 100%);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  border-bottom: 1px solid rgba(30, 58, 138, 0.3);
  position: relative;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 60px rgba(220, 38, 38, 0.15),
    0 0 80px rgba(30, 58, 138, 0.1);
}

.weekly-league-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 2px 2px, rgba(220, 38, 38, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 10px 10px, rgba(30, 58, 138, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 6px 18px, rgba(34, 211, 238, 0.08) 0.5px, transparent 0.5px),
    radial-gradient(circle at 18px 6px, rgba(220, 38, 38, 0.06) 0.5px, transparent 0.5px);
  background-size: 24px 24px, 32px 32px, 16px 16px, 20px 20px;
  background-position: 0 0, 4px 4px, 8px 8px, 12px 12px;
  opacity: 0.7;
  pointer-events: none;
}

.weekly-league-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(220, 38, 38, 0.6) 20%, 
    rgba(30, 58, 138, 0.8) 50%, 
    rgba(34, 211, 238, 0.6) 80%, 
    transparent 100%);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
  pointer-events: none;
}

.weekly-league-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.league-announcement {
  margin-bottom: 48px;
  position: relative;
}

.league-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  padding: 8px 20px;
  border-radius: 999px;
  font: 800 0.875rem/1 Inter, system-ui;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.league-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.league-title {
  font: 900 clamp(2.5rem, 6vw, 4rem)/1.05 Inter, system-ui;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.league-subtitle {
  font: 700 clamp(1.125rem, 3vw, 1.5rem)/1.2 Inter, system-ui;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.league-details {
  margin-bottom: 48px;
}

.league-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.league-info-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  padding: clamp(12px, 3vw, 20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: clamp(100px, 15vw, 140px);
}

.league-info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.1) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.league-info-item:hover::before {
  left: 100%;
}

.league-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.6);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(220, 38, 38, 0.2);
}

/* Special styling for clickable league info items */
.league-info-item.clickable-item {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
}

.league-info-item.clickable-item:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(34, 211, 238, 0.3);
}

/* Individual colors for each Weekly League icon */

/* 1. Calendar (Season Dates) - Orange */
.league-details .league-info-grid .league-info-item:nth-child(1) {
  border-color: rgba(255, 106, 26, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(1):hover {
  border-color: rgba(255, 106, 26, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 106, 26, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(1) .info-icon {
  color: #FF6A1A;
  filter: drop-shadow(0 0 8px rgba(255, 106, 26, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(1):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(255, 106, 26, 0.6));
}

.league-details .league-info-grid .league-info-item:nth-child(1).clickable-item::after {
  color: rgba(255, 106, 26, 0.9);
}

/* 2. Trophy (Playoffs) - Gold */
.league-details .league-info-grid .league-info-item:nth-child(2) {
  border-color: rgba(249, 168, 37, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(2):hover {
  border-color: rgba(249, 168, 37, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(249, 168, 37, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(2) .info-icon {
  color: #F9A825;
  filter: drop-shadow(0 0 8px rgba(249, 168, 37, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(2):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(249, 168, 37, 0.6));
}

.league-details .league-info-grid .league-info-item:nth-child(2).clickable-item::after {
  color: rgba(249, 168, 37, 0.9);
}

/* 3. Location Pin (Venue) - Sky Blue */
.league-details .league-info-grid .league-info-item:nth-child(3) {
  border-color: rgba(14, 165, 233, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(3):hover {
  border-color: rgba(14, 165, 233, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(14, 165, 233, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(3) .info-icon {
  color: #0EA5E9;
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(3):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.6));
}

.league-details .league-info-grid .league-info-item:nth-child(3).clickable-item::after {
  color: rgba(14, 165, 233, 0.9);
}

/* 4. Lightning Bolt (Format) - Purple */
.league-details .league-info-grid .league-info-item:nth-child(4) {
  border-color: rgba(168, 85, 247, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(4):hover {
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(168, 85, 247, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(4) .info-icon {
  color: #A855F7;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(4):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}

.league-details .league-info-grid .league-info-item:nth-child(4).clickable-item::after {
  color: rgba(168, 85, 247, 0.9);
}

/* 5. Video Camera (Coverage) - Red */
.league-details .league-info-grid .league-info-item:nth-child(5) {
  border-color: rgba(239, 68, 68, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(5):hover {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(239, 68, 68, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(5) .info-icon {
  color: #EF4444;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(5):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.6));
}

/* 6. Bar Chart (Player Stats) - Green */
.league-details .league-info-grid .league-info-item:nth-child(6) {
  border-color: rgba(16, 185, 129, 0.4);
}

.league-details .league-info-grid .league-info-item:nth-child(6):hover {
  border-color: rgba(16, 185, 129, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(16, 185, 129, 0.3);
}

.league-details .league-info-grid .league-info-item:nth-child(6) .info-icon {
  color: #10B981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.league-details .league-info-grid .league-info-item:nth-child(6):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.6));
}

.league-details .league-info-grid .league-info-item:nth-child(6).clickable-item::after {
  color: rgba(16, 185, 129, 0.9);
}

/* 7. Medal (Awards) - Rose Gold */
.league-features .league-info-grid .league-info-item:nth-child(1) {
  border-color: rgba(248, 113, 113, 0.4);
}

.league-features .league-info-grid .league-info-item:nth-child(1):hover {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(248, 113, 113, 0.3);
}

.league-features .league-info-grid .league-info-item:nth-child(1) .info-icon {
  color: #F87171;
  filter: drop-shadow(0 0 8px rgba(248, 113, 113, 0.4));
}

.league-features .league-info-grid .league-info-item:nth-child(1):hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(248, 113, 113, 0.6));
}

.league-info-item.clickable-item::after {
  content: 'Click →';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(34, 211, 238, 0.8);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0.8;
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.info-icon {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(8px, 2vw, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  color: #22d3ee;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
  transition: all 0.3s ease;
}

.league-info-item:hover .info-icon {
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.6));
  transform: scale(1.05);
}

.league-info-item svg {
  transition: all 0.3s ease;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 1vw, 6px);
  min-height: 0;
  flex: 1;
}

.info-label {
  font: 600 clamp(0.7rem, 2vw, 0.875rem)/1.2 Inter, system-ui;
  color: rgba(34, 211, 238, 0.8);
  text-transform: uppercase;
  letter-spacing: clamp(0.05em, 0.2vw, 0.1em);
}

.info-value {
  font: 700 clamp(0.85rem, 2.2vw, 1rem)/1.3 Inter, system-ui;
  color: rgba(255, 255, 255, 0.95);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.rules-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  padding-bottom: 1px;
}

.rules-link:hover {
  color: #22d3ee;
  border-bottom-color: #22d3ee;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

.season-dates-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.5);
  text-underline-offset: 3px;
  position: relative;
}

.season-dates-clickable:hover {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  text-decoration-color: #22d3ee;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.season-dates-clickable::after {
  content: '';
  margin-left: 8px;
  font-size: 0.8em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.season-dates-clickable:hover::after {
  opacity: 1;
  animation: none
}

.playoff-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: underline;
  text-decoration-color: rgba(245, 158, 11, 0.5);
  text-underline-offset: 3px;
  position: relative;
}

.playoff-clickable:hover {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  text-decoration-color: #f59e0b;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.playoff-clickable::after {
  content: '';
  margin-left: 8px;
  font-size: 0.8em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.playoff-clickable:hover::after {
  opacity: 1;
  animation: none;
}

.venue-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.5);
  text-underline-offset: 3px;
  position: relative;
}

.venue-clickable:hover {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  text-decoration-color: #22d3ee;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}


.format-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.5);
  text-underline-offset: 3px;
  position: relative;
}

.format-clickable:hover {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
  text-decoration-color: #22d3ee;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}


@keyframes pulse {
  0%, 100% { 
    opacity: 0.7;
    transform: scale(1);
  }
  50% { 
    opacity: 1;
    transform: scale(1.1);
  }
}

.league-features {
  margin-bottom: 48px;
}

.league-features .league-info-grid {
  grid-template-columns: 1fr;
}

.league-features .league-info-item {
  max-width: 100%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(30, 58, 138, 0.2);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(4px);
  border-color: rgba(30, 58, 138, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text {
  font: 600 0.9rem/1.2 Inter, system-ui;
  color: rgba(255, 255, 255, 0.9);
}

.league-cta {
  text-align: center;
}

.cta-urgency {
  font: 700 1.125rem/1.2 Inter, system-ui;
  color: #f59e0b;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.league-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font: 800 1.125rem/1.2 Inter, system-ui;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(220, 38, 38, 0.4),
    0 0 60px rgba(220, 38, 38, 0.2);
  margin-bottom: 16px;
}

.league-register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.league-register-btn:hover::before {
  left: 100%;
}

.league-register-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(220, 38, 38, 0.5),
    0 0 80px rgba(220, 38, 38, 0.3);
}

.league-register-btn svg {
  transition: all 0.3s ease;
}

.league-register-btn:hover svg {
  transform: translateX(4px);
}

.cta-note {
  font: 500 0.875rem/1.3 Inter, system-ui;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-style: italic;
}

/* Mobile responsiveness for weekly league section */
@media (max-width: 768px) {
  .weekly-league-section {
    padding: 40px 16px;
  }

  .league-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .league-info-item {
    padding: clamp(12px, 2.5vw, 16px);
    min-height: clamp(90px, 12vw, 120px);
  }

  .league-info-item.clickable-item::after {
    top: 4px;
    right: 4px;
    padding: 1px 4px;
    font-size: clamp(0.4rem, 1vw, 0.5rem);
    letter-spacing: 0.02em;
  }

  .info-value {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    line-height: 1.4;
  }

  .info-label {
    font-size: clamp(0.65rem, 1.5vw, 0.8rem);
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    padding: 12px;
  }

  .league-register-btn {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .weekly-league-section {
    padding: 32px 12px;
  }

  .league-announcement {
    margin-bottom: 32px;
  }

  .league-details {
    margin-bottom: 32px;
  }

  .league-features {
    margin-bottom: 32px;
  }

  .league-info-item {
    padding: clamp(10px, 2vw, 14px);
    min-height: clamp(80px, 10vw, 100px);
  }

  .league-info-item.clickable-item::after {
    top: 3px;
    right: 3px;
    padding: 1px 3px;
    font-size: clamp(0.35rem, 0.8vw, 0.45rem);
    letter-spacing: 0.01em;
  }

  .info-icon {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: clamp(6px, 1.5vw, 8px);
  }

  .info-value {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    line-height: 1.3;
  }

  .info-label {
    font-size: clamp(0.6rem, 1.3vw, 0.75rem);
  }

  .feature-item {
    padding: 10px;
    gap: 8px;
  }

  .feature-text {
    font-size: 0.85rem;
  }

  .league-register-btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* Tournament Section */
.tournament-section {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(16, 21, 28, 0.4) 100%);
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid rgba(34, 211, 238, 0.3);
  position: relative;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 40px rgba(34, 211, 238, 0.15),
    0 0 80px rgba(255, 255, 255, 0.08);
}

.tournament-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
    linear-gradient(45deg, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.tournament-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(34, 211, 238, 0.6) 20%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(34, 211, 238, 0.6) 80%, 
    transparent 100%);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  pointer-events: none;
}

.tournament-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.tournament-title {
  font: 900 clamp(2.4rem, 7vw, 4rem)/1.05 Inter, system-ui;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 32px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e5e7eb 50%, #f8fafc 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6);
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.3));
  animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
  0% {
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.3));
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6);
  }
  100% {
    filter: drop-shadow(0 6px 24px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
    text-shadow: 0 0 60px rgba(255, 255, 255, 1), 0 0 80px rgba(255, 255, 255, 0.8);
  }
}

.tournament-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 20%, 
    rgba(255, 255, 255, 0.8) 50%, 
    rgba(255, 255, 255, 0.4) 80%, 
    transparent 100%);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  animation: underlinePulse 3s ease-in-out infinite alternate;
}

@keyframes underlinePulse {
  0% { 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 0.8;
  }
  100% { 
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    opacity: 1;
  }
}

.tournament-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  padding: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tournament-date,
.tournament-location,
.tournament-format {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tournament-label {
  font: 600 0.75rem/1.2 Inter, system-ui;
  color: rgba(34, 211, 238, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tournament-value {
  font: 700 0.9rem/1.2 Inter, system-ui;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.tournament-cta {
  margin: 0 0 16px;
}

.tournament-register-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #c93131 0%, #a02828 100%);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font: 700 0.85rem/1.2 Inter, system-ui;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tournament-register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.5s ease;
}

.tournament-register-btn:hover::before {
  left: 100%;
}

.tournament-register-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
}

.tournament-register-btn svg {
  transition: all 0.3s ease;
}

.tournament-register-btn:hover svg {
  transform: translateX(4px);
}

.tournament-disclaimer {
  font: 400 0.75rem/1.3 Inter, system-ui;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
}

/* Mobile responsiveness for tournament section */
@media (max-width: 768px) {
  .tournament-section {
    padding: 24px 12px;
  }

  .tournament-info {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .tournament-register-btn {
    padding: 11px 22px;
    font-size: 0.83rem;
  }

  .tournament-disclaimer {
    font-size: 0.72rem;
  }
}

/* Medium mobile responsiveness for tournament section */
@media (max-width: 768px) {
  .tournament-section {
    padding: 28px 16px;
  }

  .tournament-info {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    padding: 18px;
  }

  .tournament-register-btn {
    padding: 11px 22px;
    font-size: 0.83rem;
  }

  .tournament-disclaimer {
    font-size: 0.72rem;
  }
}

.welcome {
  padding: 40px 20px 80px;
  background: 
    linear-gradient(135deg, rgba(11,14,19,0.95) 0%, rgba(16,21,28,0.9) 100%),
    radial-gradient(circle at 20% 20%, rgba(34,211,238,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(34,211,238,0.05) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(0deg, rgba(34,211,238,0.02) 0px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.02) 0px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.welcome::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    linear-gradient(45deg, transparent 40%, rgba(34,211,238,0.03) 50%, transparent 60%);
  animation: scan 8s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { transform: translateX(-100%) translateY(-100%); }
  100% { transform: translateX(100%) translateY(100%); }
}

.welcome__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.welcome__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .welcome__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.welcome__text h2 {
  font: 900 clamp(2rem, 5vw, 3.5rem)/1.1 Inter, system-ui;
  margin: 0 0 32px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  position: relative;
}

.welcome__text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.welcome__text p {
  font: 500 clamp(1rem, 2.5vw, 1.25rem)/1.6 Inter, system-ui;
  color: rgba(255,255,255,0.85);
  margin: 0 0 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.welcome__text p:first-of-type {
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
}

.welcome__text p:first-of-type::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #22d3ee 50%, transparent 100%);
  box-shadow: 0 0 8px rgba(34,211,238,0.4);
}

.welcome__cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  color: #ffffff;
  font: 600 1.125rem/1 Inter, system-ui;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
}

.highlights {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.highlight {
  text-align: center;
}

.highlight__number {
  font: 900 2.5rem/1 Inter, system-ui;
  color: var(--accent);
  margin-bottom: 8px;
}

.highlight__label {
  font: 600 0.875rem/1 Inter, system-ui;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.divisions h3 {
  font: 800 1.5rem/1.2 Inter, system-ui;
  margin: 0 0 24px;
  color: var(--ink);
}

.division-cards {
  display: grid;
  gap: 16px;
}

.division-card {
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.division-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.division-card h4 {
  font: 700 1.125rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 8px;
}

.division-card p {
  font: 400 0.875rem/1.4 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

.footer {
  padding: 40px 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer p {
  font: 400 0.875rem/1.4 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-ctas {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 55px 20px 0;
  }

  .hero-logo {
    margin-bottom: 6px;
  }

  .hero-main-title {
    margin: 20px 0 32px;
  }

  .hero-tagline {
    margin: 1px 0;
  }

  .hero-red-line {
    width: clamp(250px, 85%, 450px);
    margin: 36px auto 36px;
  }

  .hero-ctas {
    max-width: 320px;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 0.85rem;
    min-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 40px 16px 0;
  }

  .hero-logo {
    margin-bottom: 4px;
  }

  .hero-kicker {
    font-size: 0.75rem;
    margin-bottom: 16px;
  }

  .hero-title {
    margin: 16px 0 24px;
    letter-spacing: 0.01em;
  }

  .hero-tagline {
    margin: 0;
    font-size: clamp(22px, 5vw, 32px);
  }

  .hero-sub1,
  .hero-sub2 {
    margin: 8px 0;
  }

  .hero-sub2 {
    margin-bottom: 32px;
  }

  .hero-red-line {
    width: clamp(200px, 80%, 350px);
    margin: 32px auto 32px;
  }

  .hero-ctas {
    max-width: 280px;
    padding: 0 12px;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 18px;
    font-size: 0.8rem;
    gap: 6px;
    min-width: 250px;
  }

  .hero-countdown {
    margin-top: 16px;
    padding: 16px 12px;
  }

  .countdown-timer {
    gap: 6px;
  }

  .countdown-unit {
    min-width: 50px;
    padding: 6px 4px;
  }

  .countdown-value {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .countdown-text {
    font-size: 0.6rem;
  }

  .countdown-separator {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }
}

@media (max-width: 320px) {
  .hero-inner {
    padding: 0 12px;
  }

  .hero-title {
    letter-spacing: 0;
  }

  .cta-button {
    padding: 8px 12px;
    font-size: 0.75rem;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .welcome__text h2 {
    font-size: 2rem;
  }

  .highlights {
    gap: 20px;
  }

  .highlight__number {
    font-size: 2rem;
  }

  /* Mobile stats page improvements */
  .leaders {
    padding: 12px;
  }

  .leaders__header {
    flex-direction: column;
    gap: 16px;
    padding: 12px;
  }

  .header__right {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .header__right select {
    width: 100%;
    min-width: auto;
  }

  .leaders__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin: 12px 0;
  }

  .tab {
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
  }

  .panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category {
    padding: 10px;
  }

  .category h3 {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 8px;
  }

  .podium li {
    padding: 8px;
    gap: 8px;
    grid-template-columns: auto 1fr auto;
  }

  .rank {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .name {
    font-size: 14px;
  }

  .badge {
    font-size: 10px;
  }

  .stat {
    padding: 4px 8px;
    font-size: 12px;
    min-width: 40px;
  }

  /* Mobile hero logo adjustments */
  .hero-logo {
    width: 250px;
    margin-bottom: 20px;
  }

  .header-logo {
    width: 120px;
  }

  .nav-logo-img {
    width: 100px;
  }

  /* Mobile ratings page improvements */
  .ratings-page .leaders {
    padding: 12px;
  }

  .ratings-page .leaders__header h1 {
    font-size: 18px;
  }

  .ratings-page div[style*="max-width:800px"] {
    max-width: 100% !important;
    margin: 16px 0 !important;
    padding: 0 !important;
  }

  .ratings-page h2 {
    font-size: 20px !important;
    margin: 24px 0 12px !important;
  }

  .ratings-page p, .ratings-page li {
    font-size: 14px !important;
  }

  .ratings-page ul {
    padding-left: 16px !important;
  }

  .ratings-page div[style*="background:var(--surface)"] {
    padding: 12px !important;
    margin: 0 0 16px !important;
  }

  /* Mobile navigation improvements */
  .nav-container {
    padding: 12px 16px;
  }

  .nav-buttons .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ====== LANDING APP STYLES ====== */
.landing-app {
  background: #0a0d12;
  min-height: 100vh;
}

/* Landing Page Hero Section Styles */
.landing-page .hero {
  min-height: 100vh;
}

.landing-page .hero-inner.dashboard-content {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}


/* Bottom Back to Home Link */
.back-to-home-link-bottom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font: 500 0.875rem/1.2 Inter, system-ui;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-to-home-link-bottom:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-home-link-bottom svg {
  transition: transform 0.3s ease;
}

.back-to-home-link-bottom:hover svg {
  transform: translateX(-2px);
}

/* Mobile responsiveness for bottom back to home link */
@media (max-width: 768px) {
  .back-to-home-link-bottom {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .back-to-home-link-bottom svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .back-to-home-link-bottom {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .back-to-home-link-bottom svg {
    width: 12px;
    height: 12px;
  }
}

/* ====== ANNOUNCEMENT MODAL STYLES ====== */
@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.announcement-section {
  animation: fadeUp 600ms ease-out 0.3s backwards;
}

/* Mobile responsiveness for announcement */
@media (max-width: 768px) {
  .announcement-box {
    padding: 16px !important;
  }

  .announcement-box h3 {
    font-size: 1rem !important;
  }

  .announcement-box p {
    font-size: 0.9rem !important;
  }

  #announcementModal > div {
    padding: 24px !important;
    margin: 16px !important;
    width: calc(100% - 32px) !important;
  }

  #announcementModal h2 {
    font-size: 1.4rem !important;
  }

  #announcementModal .cta-buttons {
    flex-direction: column;
  }

  #announcementModal .cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .announcement-box {
    padding: 12px !important;
  }

  #announcementModal > div {
    padding: 20px !important;
    margin: 12px !important;
  }

  #announcementModal h2 {
    font-size: 1.2rem !important;
  }

  #announcementModal p {
    font-size: 0.9rem !important;
  }
}

/* ====== DASHBOARD LANDING STYLES ====== */
.hero-section-compact {
  padding: 32px 20px 24px;
  background: linear-gradient(135deg, 
    rgba(11, 14, 19, 0.95) 0%, 
    rgba(16, 21, 28, 0.9) 50%,
    rgba(245, 158, 11, 0.08) 100%);
  border-bottom: 2px solid rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-section-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 2px 2px, rgba(245, 158, 11, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 12px 12px, rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(45deg, rgba(245, 158, 11, 0.03) 0%, transparent 60%);
  background-size: 24px 24px, 32px 32px, cover;
  pointer-events: none;
  animation: digitalFlow 8s linear infinite;
}

@keyframes digitalFlow {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 24px 24px, 32px 32px, 100% 100%; }
}

.hero-container-compact {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.player-dashboard-title {
  font: 900 clamp(2.5rem, 6vw, 4rem)/1.1 Inter, system-ui;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #f59e0b 30%, 
    #ffffff 60%, 
    #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.3));
  }
  100% {
    text-shadow: 0 0 60px rgba(245, 158, 11, 0.8);
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.5));
  }
}

.hero-accent-line {
  width: clamp(200px, 60%, 400px);
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.3) 10%, 
    #f59e0b 30%, 
    #fbbf24 50%, 
    #f59e0b 70%, 
    rgba(245, 158, 11, 0.3) 90%, 
    transparent 100%);
  margin: 16px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  position: relative;
}

.hero-accent-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent 100%);
  border-radius: 1px;
}

.hero-accent-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 30%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0.1) 70%, 
    transparent 100%);
  animation: pulse-accent-line 3s ease-in-out infinite;
}

@keyframes pulse-accent-line {
  0%, 100% { opacity: 0.3; width: 80%; }
  50% { opacity: 0.8; width: 90%; }
}

.dashboard-main {
  padding: 10px 20px 60px;
  background: var(--bg);
}

.dashboard-container {
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Responsive autoscaling for dashboard buttons - maintain 2 columns minimum on mobile */
@media (max-width: 900px) {
  .dashboard-container .dashboard-actions,
  .dashboard-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    max-width: 600px;
  }

  /* Make social media button span both columns for better balance */
  .dashboard-button--social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .dashboard-container .dashboard-actions,
  .dashboard-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 9px;
    max-width: 100%;
  }

  /* Make social media button span both columns */
  .dashboard-button--social {
    grid-column: 1 / -1;
  }

  .button-content h3 br {
    display: block !important;
  }

  .button-content h3 {
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .dashboard-container .dashboard-actions,
  .dashboard-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    max-width: 100%;
  }

  /* Make social media button span both columns */
  .dashboard-button--social {
    grid-column: 1 / -1;
  }

  .button-content h3 br {
    display: block !important;
  }

  .button-content h3 {
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

@media (max-width: 360px) {
  .dashboard-container .dashboard-actions,
  .dashboard-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
    max-width: 100%;
  }

  /* Make social media button span both columns */
  .dashboard-button--social {
    grid-column: 1 / -1;
  }

  .button-content h3 br {
    display: block !important;
  }

  .button-content h3 {
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

/* Override any conflicting mobile styles */
@media (max-width: 768px) {
  .dashboard-main .dashboard-actions {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    max-width: 100%;
  }

  .button-content h3 br {
    display: block !important;
  }

  .button-content h3 {
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

.dashboard-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.2vw, 9px);
  padding: clamp(9px, 2.5vw, 14px) clamp(6px, 1.5vw, 12px);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(245, 158, 11, 0.08) 30%,
    rgba(255, 255, 255, 0.05) 70%,
    rgba(34, 211, 238, 0.08) 100%);
  border: 2px solid rgba(245, 158, 11, 0.4);
  border-radius: clamp(8px, 2vw, 12px);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(245, 158, 11, 0.15),
    inset 0 2px 0 rgba(245, 158, 11, 0.2);
  text-align: center;
  min-height: clamp(60px, 9vw, 90px);
}

.dashboard-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 158, 11, 0.15) 30%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(245, 158, 11, 0.15) 70%,
    transparent 100%);
  transition: left 0.6s ease;
}

.dashboard-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 2px 2px, rgba(245, 158, 11, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 8px 8px, rgba(34, 211, 238, 0.05) 0.5px, transparent 0.5px);
  background-size: 16px 16px, 20px 20px;
  opacity: 0.6;
  pointer-events: none;
}

.dashboard-button:hover::before {
  left: 100%;
}

.dashboard-button:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0.15) 100%);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(255, 255, 255, 0.4),
    0 0 80px rgba(255, 255, 255, 0.3),
    inset 0 3px 0 rgba(255, 255, 255, 0.25);
}

.dashboard-button--primary {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.2) 0%, 
    rgba(245, 158, 11, 0.1) 30%,
    rgba(34, 211, 238, 0.1) 70%,
    rgba(34, 211, 238, 0.15) 100%);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 
    0 8px 32px rgba(245, 158, 11, 0.3),
    0 0 40px rgba(245, 158, 11, 0.2);
}

.dashboard-button--primary:hover {
  background: linear-gradient(135deg, 
    rgba(245, 158, 11, 0.3) 0%, 
    rgba(245, 158, 11, 0.15) 30%,
    rgba(34, 211, 238, 0.15) 70%,
    rgba(34, 211, 238, 0.25) 100%);
  border-color: rgba(245, 158, 11, 0.9);
  box-shadow: 
    0 28px 56px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(245, 158, 11, 0.4),
    0 0 80px rgba(34, 211, 238, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.button-icon {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: clamp(3px, 0.8vw, 6px);
}

.dashboard-button:hover .button-icon {
  transform: scale(1.2) rotate(12deg);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.8));
}

.button-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.button-content h3 {
  font: 900 clamp(0.55rem, 1.5vw, 0.8rem)/1.1 Inter, system-ui;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.button-content p {
  font: 600 clamp(0.5rem, 1.2vw, 0.65rem)/1.3 Inter, system-ui;
  color: var(--muted);
  margin: 0;
  opacity: 0.8;
  text-align: center;
}

.button-arrow {
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  margin-top: auto;
  position: absolute;
  top: clamp(12px, 2.5vw, 20px);
  right: clamp(12px, 2.5vw, 20px);
}

.button-arrow svg {
  width: clamp(16px, 3vw, 24px);
  height: clamp(16px, 3vw, 24px);
}

.dashboard-button:hover .button-arrow {
  transform: translateX(6px) translateY(-2px) scale(1.3);
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

/* Social media button mobile spanning */
.dashboard-button--social {
  /* Will span full width in single column mobile layout */
}

/* Mobile responsiveness for dashboard */
@media (max-width: 768px) {
  .hero-section-compact {
    padding: 24px 16px 20px;
  }

  .player-dashboard-title {
    font-size: clamp(2rem,5vw, 3rem);
    margin-bottom: 12px;
  }

  .hero-accent-line {
    width: clamp(150px, 50%, 300px);
    height: 2px;
  }

  .dashboard-main {
    padding: 15px 16px 60px;
  }

  .dashboard-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 400px;
  }

  .dashboard-button {
    padding: 24px 15px;
    gap: 12px;
    min-height: 120px;
  }

  .button-icon {
    font-size: 1.9rem;
  }

  .button-content h3 {
    font-size: 0.75rem;
  }

  .button-content p {
    font-size: 0.75rem;
  }

  .button-arrow {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .hero-section-compact {
    padding: 20px 12px 16px;
  }

  .player-dashboard-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 10px;
  }

  .hero-accent-line {
    width: clamp(120px, 40%, 200px);
    height: 2px;
  }

  .dashboard-main {
    padding: 10px 12px 40px;
  }

  .dashboard-actions {
    gap: 9px;
    max-width: 320px;
  }

  .dashboard-button {
    padding: 21px 14px;
    gap: 9px;
    border-radius: 16px;
    min-height: 105px;
  }

  .button-icon {
    font-size: 1.7rem;
  }

  .button-content h3 {
    font-size: 0.68rem;
  }

  .button-content p {
    font-size: 0.65rem;
  }

  .button-arrow {
    bottom: 14px;
    right: 14px;
  }

  .button-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* Navigation Bar */
.main-nav {
  background: linear-gradient(180deg, var(--nav-bg), var(--gradient-end));
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.main-nav--fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav-logo .nav-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-buttons {
  display: none;
}

.nav-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--button-border);
  background: var(--button-bg);
  color: var(--muted);
  text-decoration: none;
  font: 600 14px/1 Inter, system-ui;
  letter-spacing: 0.025em;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--ink);
  border-color: var(--button-hover-border);
  background: var(--button-hover-bg);
}

.nav-btn--primary {
  background: var(--accent);
  color: #001018;
  border-color: transparent;
}

.nav-btn--primary:hover {
  background: #0ea5e9;
  color: #001018;
}

/* Landing Main Content */
.landing-main {
  padding: 60px 20px 80px;
}

.landing-main--fixed-nav {
  padding-top: 180px;
  padding-bottom: 120px;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
}

.hero-title {
  font: 900 3.5rem/1.1 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font: 400 1.25rem/1.5 Inter, system-ui;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Action Buttons */
.main-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  font: 700 1.125rem/1 Inter, system-ui;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-button:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: var(--accent);
}

.action-button:hover::before {
  opacity: 1;
}

.action-button--primary {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.2);
  color: var(--accent);
}

.action-button--primary::before {
  opacity: 1;
}

.action-button svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .main-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .action-button {
    padding: 20px 12px;
    font-size: 0.9rem;
  }

  .action-button svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .main-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 8px;
  }

  .action-button {
    padding: 20px 16px;
    font-size: 1rem;
    gap: 12px;
  }

  .action-button svg {
    width: 24px;
    height: 24px;
  }

  /* Very small screen optimizations */
  .leaders {
    padding: 8px;
    margin: 0;
  }

  .stats-controls {
    margin: 8px;
    padding: 8px;
  }

  .panel {
    padding: 0 8px;
  }

  .category {
    padding: 8px;
    border-radius: 8px;
  }

  /* Improve table scrolling on very small screens */
  .standings-table-container {
    margin: 0 -8px;
  }

  .standings-table {
    font-size: 10px;
  }

  .standings-table thead th,
  .standings-table tbody td {
    padding: 6px 2px;
    font-size: 9px;
  }

  .team-col, .team-cell {
    width: 100px;
    min-width: 100px;
    font-size: 9px;
  }
}

/* Stats Page Specific Enhancements */
.stats-page-header {
  animation: fadeIn 0.6s ease-out;
}

.stats-controls {
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.leaders__tabs {
  animation: fadeIn 1s ease-out 0.4s backwards;
}

.panel.is-active {
  animation: fadeIn 0.5s ease-out;
}

/* Enhanced podium list items with better spacing and hover effects */
.podium li {
  transition: all 0.3s ease;
  cursor: default;
}

.podium li:hover {
  transform: translateX(4px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color: rgba(34,211,238,0.4);
}

/* Improved rank styling */
.rank {
  background: linear-gradient(135deg, rgba(34,211,238,0.2) 0%, rgba(34,211,238,0.1) 100%);
  border-color: rgba(34,211,238,0.3);
  color: var(--accent);
  font-weight: 900;
  transition: all 0.3s ease;
}

.podium li:hover .rank {
  background: var(--accent);
  color: #001018;
  transform: scale(1.1);
}

/* Enhanced stat display */
.stat {
  background: linear-gradient(135deg, rgba(34,211,238,0.15) 0%, rgba(34,211,238,0.05) 100%);
  border-color: rgba(34,211,238,0.3);
  color: var(--accent);
  transition: all 0.3s ease;
}

.podium li:hover .stat {
  background: var(--accent);
  color: #001018;
  transform: scale(1.05);
}

/* Stat glow for top rankings */
.rating-item.top-1 .stat,
.cyber-standard-leaderboard li:nth-child(1) .stat,
.cyber-podium-leaderboard li:nth-child(1) .stat {
  text-shadow: 0 0 10px rgba(249, 168, 37, 0.8);
}

.rating-item.top-3 .stat,
.cyber-standard-leaderboard li:nth-child(3) .stat,
.cyber-podium-leaderboard li:nth-child(3) .stat {
  text-shadow: 0 0 10px rgba(212, 119, 61, 0.8);
}

/* Logo glow animation */
@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(128, 128, 128, 0.15));
  }
  100% {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 24px rgba(128, 128, 128, 0.25));
  }
}

/* ====== STANDINGS PAGE STYLES ====== */
.standings-container {
  max-width: 1000px;
  margin: 0 auto;
}

.standings-table-container {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border: 1px solid #233044;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 20px rgba(0,0,0,.25);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.standings-table thead th {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,.02));
  border-bottom: 1px solid var(--border);
  padding: 16px 12px;
  text-align: left;
  font: 700 12px/1 Inter, system-ui;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.standings-table tbody td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font: 600 14px/1.2 Inter, system-ui;
  color: var(--ink);
}

.standings-table tbody tr {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  transition: all 0.15s ease;
}

.standings-table tbody tr:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}

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

/* Column-specific styles */
.rank-col, .rank-cell {
  width: 50px;
  text-align: center;
}

.team-col, .team-cell {
  width: 180px;
  font-weight: 800;
}

.record-col, .record-cell {
  width: 80px;
  text-align: center;
  font-weight: 700;
}

.pct-col, .pct-cell {
  width: 80px;
  text-align: center;
}

.pf-col, .pf-cell,
.pa-col, .pa-cell {
  width: 70px;
  text-align: center;
}

.diff-col, .diff-cell {
  width: 80px;
  text-align: center;
  font-weight: 700;
}

.streak-col, .streak-cell {
  width: 80px;
  text-align: center;
  font-weight: 600;
}

/* Differential coloring */
.diff-cell.positive {
  color: #22c55e;
}

.diff-cell.negative {
  color: #ef4444;
}

/* Streak styling */
.streak-cell {
  font-size: 12px;
  background: var(--chip);
  border-radius: 999px;
  padding: 4px 8px !important;
  margin: 0 auto;
  display: table-cell;
  width: fit-content;
  border: 1px solid #2a3a52;
}

.standings-notes {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

/* Mobile responsiveness for standings */
@media (max-width: 768px) {
  .standings-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .standings-table {
    min-width: 600px;
  }

  .standings-table thead th,
  .standings-table tbody td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .team-col, .team-cell {
    width: 140px;
  }

  .standings-notes {
    padding: 16px;
    margin: 24px 0;
  }
}

@media (max-width: 480px) {
  .standings-table {
    min-width: 520px;
  }

  .standings-table thead th,
  .standings-table tbody td {
    padding: 8px 4px;
    font-size: 10px;
  }

  .team-col, .team-cell {
    width: 100px;
    font-size: 10px;
  }

  .rank-col, .rank-cell,
  .record-col, .record-cell,
  .pct-col, .pct-cell,
  .pf-col, .pf-cell,
  .pa-col, .pa-cell,
  .diff-col, .diff-cell,
  .streak-col, .streak-cell {
    width: 50px;
    font-size: 9px;
  }

  .standings-notes {
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
  }
}

/* ====== WHY PLAY FLAG PAGE STYLES ====== */
.flag-content {
  max-width: 1000px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font: 800 2.5rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font: 400 1.25rem/1.5 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

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

.content-block {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.content-block:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.content-block h3 {
  font: 800 1.5rem/1.2 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 16px;
}

.content-block p {
  font: 400 1rem/1.6 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

/* News Section */
.news-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-item {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.news-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.news-date {
  font: 700 0.875rem/1 Inter, system-ui;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.news-item h4 {
  font: 800 1.25rem/1.3 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 12px;
}

.news-item p {
  font: 400 0.9rem/1.5 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

/* How to Play Section */
.how-to-play {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.rule-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.rule-category h3 {
  font: 800 1.5rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 24px;
  text-align: center;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rules-list li {
  font: 400 1rem/1.6 Inter, system-ui;
  color: var(--muted);
  margin: 0 0 16px;
  padding-left: 20px;
  position: relative;
}

.rules-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.rules-list li strong {
  color: var(--ink);
  font-weight: 700;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

.benefit-card h4 {
  font: 800 1.25rem/1.2 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 16px;
}

.benefit-card p {
  font: 400 1rem/1.5 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

/* Get Started Section */
.get-started {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h3 {
  font: 800 2rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 16px;
}

.cta-content p {
  font: 400 1.125rem/1.6 Inter, system-ui;
  color: var(--muted);
  margin: 0 0 32px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile responsiveness for Why Play Flag page */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1.125rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .content-block {
    padding: 24px;
  }

  .news-section,
  .how-to-play,
  .get-started {
    padding: 32px 24px;
    margin: 40px 0;
  }

  .rules-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rule-category {
    padding: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }

  .benefit-card {
    padding: 24px;
  }

  .benefit-icon {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .content-section {
    margin-bottom: 40px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .content-block {
    padding: 20px;
  }

  .content-block h3 {
    font-size: 1.25rem;
  }

  .news-section,
  .how-to-play,
  .get-started {
    padding: 24px 16px;
  }

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

  .news-item {
    padding: 20px;
  }

  .rule-category {
    padding: 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 20px;
  }

  .benefit-icon {
    font-size: 2rem;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}

/* ====== VLOGS PAGE STYLES ====== */
.vlogs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vlogs-header {
  text-align: center;
  margin-bottom: 60px;
}

.vlogs-title {
  font: 900 3.5rem/1.1 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vlogs-subtitle {
  font: 400 1.25rem/1.5 Inter, system-ui;
  color: var(--muted);
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Featured Video */
.featured-video {
  margin-bottom: 80px;
}

.video-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-card.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-card.featured .video-thumbnail {
  aspect-ratio: auto;
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent) 0%, #0ea5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #001018;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.4);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font: 600 12px/1 Inter, system-ui;
}

.video-info {
  padding: 32px;
}

.video-card:not(.featured) .video-info {
  padding: 24px;
}

.video-info h3,
.video-info h4 {
  font: 800 1.5rem/1.2 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: 0.025em;
}

.video-card:not(.featured) .video-info h4 {
  font-size: 1.25rem;
}

.video-meta {
  font: 600 0.875rem/1.4 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-description {
  font: 400 1rem/1.6 Inter, system-ui;
  color: var(--muted);
  margin: 0;
}

/* Video Categories */
.video-categories {
  margin-bottom: 80px;
}

.category-section {
  margin-bottom: 60px;
}

.category-title {
  font: 800 2rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

/* Coming Soon */
.coming-soon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  margin-bottom: 40px;
}

.coming-soon-content h2 {
  font: 800 2rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 16px;
}

.coming-soon-content p {
  font: 400 1.125rem/1.6 Inter, system-ui;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile responsiveness for vlogs page */
@media (max-width: 768px) {
  .vlogs-title {
    font-size: 2.5rem;
  }

  .vlogs-subtitle {
    font-size: 1.125rem;
    padding: 0 16px;
  }

  .video-card.featured {
    grid-template-columns: 1fr;
  }

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

  .category-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .video-info {
    padding: 24px;
  }

  .video-card:not(.featured) .video-info {
    padding: 20px;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .coming-soon {
    padding: 40px 24px;
  }

  .coming-soon-content h2 {
    font-size: 1.5rem;
  }

  .coming-soon-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .vlogs-title {
    font-size: 2rem;
  }

  .vlogs-subtitle {
    font-size: 1rem;
  }

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

  .category-title {
    font-size: 1.25rem;
  }

  .video-info h3,
  .video-info h4 {
    font-size: 1.125rem;
  }

  .video-info {
    padding: 20px;
  }

  .video-card:not(.featured) .video-info {
    padding: 16px;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .coming-soon {
    padding: 32px 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 250px;
  }
}

/* ====== TEAMS PAGE STYLES ====== */
.teams-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.division-section {
  margin-bottom: 60px;
}

.division-title {
  font: 800 2rem/1.2 Inter, system-ui;
  color: var(--accent);
  margin: 0 0 32px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.team-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.00));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.team-card:hover::before {
  opacity: 1;
}

.team-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 24px/1 Inter, system-ui;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.2);
}

.team-info {
  text-align: center;
}

.team-name {
  font: 800 1.5rem/1.2 Inter, system-ui;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: 0.025em;
}

.team-location {
  font: 600 1rem/1.4 Inter, system-ui;
  color: var(--muted);
  margin: 0 0 16px;
}

.team-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  font: 600 0.875rem/1 Inter, system-ui;
  color: var(--accent);
  background: var(--chip);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #2a3a52;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ====== UNIFIED HEADER MOBILE RESPONSIVENESS ====== */

/* Large tablets and small desktop adjustments */
@media (min-width: 1200px) {
  .header-container {
    padding: 16px 24px;
    max-width: 1400px;
  }

  .header-nav {
    gap: 28px;
    justify-content: center;
    flex: 1;
  }

  .nav-link {
    font-size: 13px;
    font-weight: 600;
    padding: 12px 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
  }

  /* Current page indicator */
  .header-nav-link--current {
    color: #22d3ee !important;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
    font-weight: 700;
  }

  .social-icons {
    gap: 8px;
    margin-left: 20px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.08) 0%, 
      rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }

  .social-icon:hover {
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.2) 0%, 
      rgba(34, 211, 238, 0.1) 100%);
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.25);
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

/* Medium desktop navigation (1024px-1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-container {
    padding: 14px 20px;
    max-width: 1200px;
  }

  .header-nav {
    gap: 20px;
    justify-content: center;
    flex: 1;
  }

  .nav-link {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 16px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.05) 0%, 
      rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
  }

  .nav-link:hover {
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.12) 0%, 
      rgba(34, 211, 238, 0.06) 100%);
    border-color: rgba(34, 211, 238, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.15);
  }

  .header-nav-link--current {
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.18) 0%, 
      rgba(34, 211, 238, 0.08) 100%) !important;
    border-color: rgba(34, 211, 238, 0.5) !important;
    color: #22d3ee !important;
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.25) !important;
    font-weight: 700;
  }

  .social-icons {
    gap: 6px;
    margin-left: 16px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.06) 0%, 
      rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .social-icon:hover {
    background: linear-gradient(135deg, 
      rgba(34, 211, 238, 0.15) 0%, 
      rgba(34, 211, 238, 0.08) 100%);
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
  }

  .social-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* UNIVERSAL MOBILE MENU SYSTEM - Works across all pages */
@media (max-width: 768px) {
  /* Force hide desktop navigation completely */
  .header-nav {
    display: none !important;
    visibility: hidden !important;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    gap: 4px;
  }

  /* Hamburger lines styling */
  .mobile-menu-toggle .hamburger-line {
    width: 20px !important;
    height: 2px !important;
    background: #f59e0b !important;
    border-radius: 1px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
  }

  /* Hamburger animation when active */
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px) !important;
  }

  /* Ensure mobile menu starts hidden */
  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
  }

  /* Show mobile menu only when active */
  .mobile-menu.active {
    display: block !important;
    visibility: visible !important;
  }
}

/* Desktop - ensure mobile menu is always hidden */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu.active {
    display: none !important;
    visibility: hidden !important;
  }

  .mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Universal mobile menu JavaScript initialization */
.mobile-menu-initialized {
  /* Flag to indicate JS has been initialized */
}

/* ====== WHY PLAY FLAG FOOTBALL - FLOATING ELEMENTS ====== */
.why-play-float {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(1px);
}

/* Floating element 1 - Top left, subtle orange */
.why-play-float-1 {
  top: 10%;
  left: 5%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  animation: float-1 18s ease-in-out infinite;
}

/* Floating element 2 - Top right, grayscale */
.why-play-float-2 {
  top: 15%;
  right: 8%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation: float-2 22s ease-in-out infinite;
  animation-delay: -5s;
}

/* Floating element 3 - Middle left, small orange accent */
.why-play-float-3 {
  top: 45%;
  left: 10%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
  animation: float-3 20s ease-in-out infinite;
  animation-delay: -8s;
}

/* Floating element 4 - Middle right */
.why-play-float-4 {
  top: 50%;
  right: 12%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  animation: float-4 25s ease-in-out infinite;
  animation-delay: -12s;
}

/* Floating element 5 - Bottom left */
.why-play-float-5 {
  bottom: 15%;
  left: 8%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
  animation: float-5 19s ease-in-out infinite;
  animation-delay: -3s;
}

/* Floating element 6 - Bottom right, subtle orange */
.why-play-float-6 {
  bottom: 20%;
  right: 6%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  animation: float-6 21s ease-in-out infinite;
  animation-delay: -15s;
}

/* Floating animations */
@keyframes float-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(15px, -20px) scale(1.1);
  }
  50% {
    transform: translate(-10px, -30px) scale(0.9);
  }
  75% {
    transform: translate(20px, -15px) scale(1.05);
  }
}

@keyframes float-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, 25px) scale(1.15);
  }
  66% {
    transform: translate(15px, 10px) scale(0.85);
  }
}

@keyframes float-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(25px, 15px) scale(1.2);
  }
  60% {
    transform: translate(-15px, 20px) scale(0.9);
  }
}

@keyframes float-4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-18px, -25px) scale(1.1);
  }
  80% {
    transform: translate(12px, -10px) scale(0.95);
  }
}

@keyframes float-5 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  35% {
    transform: translate(20px, -18px) scale(1.08);
  }
  70% {
    transform: translate(-12px, 15px) scale(0.92);
  }
}

@keyframes float-6 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-25px, 20px) scale(1.12);
  }
}

/* Mobile adjustments for Why Play Flag section */
@media (max-width: 768px) {
  /* Keep floating elements visible on mobile */
  .why-play-float {
    opacity: 0.05; /* Slightly more subtle on mobile */
  }
  
  /* Reduce top and bottom padding on mobile */
  #whyPlayBanner {
    padding: 32px 24px !important;
  }
  
  /* Force title to stay on one line */
  #whyPlayBanner h3 {
    white-space: nowrap !important;
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
  }
  
  /* Force subtitle to stay on one line */
  #whyPlayBanner p {
    white-space: nowrap !important;
    font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
  }
  
  /* Hide the arrow on mobile */
  #whyPlayArrow {
    display: none !important;
  }
  
  /* Adjust CTA spacing without arrow */
  #whyPlayCTA {
    gap: 0 !important;
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .why-play-float {
    animation: none;
  }
}