/* ============================================ */
/* ASK IN SPORTS - COMPLETE ELITE STYLES         */
/* PART 1 of 2 - CORE & LAYOUT                   */
/* ============================================ */

/* ----- GOOGLE FONTS ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ----- CSS VARIABLES ----- */
:root {
  --purple: #5A2D82;
  --purple-dark: #3D1B5A;
  --purple-light: #8B5EBA;
  --purple-deep: #2D1140;
  --gold: #FFD700;
  --gold-dark: #E6C200;
  --gold-rich: #FFC300;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F0F1F3;
  --gray-200: #E4E5E7;
  --gray-300: #D1D3D6;
  --gray-500: #9CA3AF;
  --gray-600: #6C757D;
  --gray-800: #212529;
  --gray-900: #121214;
  --live-red: #DC2626;
  --live-red-dark: #B91C1C;
  --success-green: #10B981;
  --warning-amber: #FBBF24;
  --info-blue: #3B82F6;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.15);
  --shadow-gold: 0 10px 40px rgba(255,215,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

/* ----- CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple-dark);
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--purple);
}

h2 span {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE44D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.purple-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes partnersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- SCROLL REVEAL ANIMATIONS ----- */
.scroll-reveal {
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  animation: fadeInUp 0.6s ease-out forwards;
}

.scroll-reveal-left {
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.visible {
  opacity: 1;
  animation: fadeInLeft 0.6s ease-out forwards;
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(90, 45, 130, 0.1);
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: 50px;
}

.nav-links a:hover {
  color: var(--purple);
  background: rgba(90, 45, 130, 0.05);
}

.nav-links a.active {
  background: var(--purple);
  color: var(--white);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-800);
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--gray-100);
  color: var(--purple);
}

/* ----- HAMBURGER MENU ----- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ----- MOBILE MENU ----- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-logo {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-close {
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray-600);
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition);
  margin-bottom: 4px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--purple);
  color: var(--white);
}

/* ----- BUTTONS ----- */
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--gold);
  color: var(--purple-dark);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline-purple {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-purple:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid var(--gray-600);
  color: var(--gray-300);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.google-btn {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-800);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.google-btn:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.google-btn svg {
  width: 20px;
  height: 20px;
}

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 50%);
  animation: rotateGlow 25s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--gold) 0%, #FFE066 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ----- PAGE HERO ----- */
.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

/* ----- CONTAINER ----- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* ----- COUNTDOWN ----- */
.countdown {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.countdown h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 20px;
  min-width: 110px;
  transition: var(--transition);
}

.countdown-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.countdown-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  color: var(--white);
}

.live-tournament-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  animation: livePulse 1.5s infinite;
}

.live-tournament-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ----- STATS ----- */
.stats {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  padding: 4rem 5%;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ----- MISSION GRID ----- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(90, 45, 130, 0.08);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mission-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.mission-card h3 {
  color: var(--purple);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ----- CORE VALUES ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(90, 45, 130, 0.08);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--purple);
  margin-bottom: 0.75rem;
}

/* ----- TOURNAMENT CARDS ----- */
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tournament-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.tournament-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tournament-content {
  padding: 1.5rem;
}

.tournament-sport-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.sport-football {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sport-basketball {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tournament-name {
  color: var(--purple-dark);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tournament-meta {
  color: var(--gray-600);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tournament-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-live {
  background: var(--live-red);
  color: var(--white);
  animation: livePulse 1.5s infinite;
}

.status-upcoming {
  background: var(--gold);
  color: var(--black);
}

.status-starting {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

.status-completed {
  background: var(--success-green);
  color: var(--white);
}

.status-tbd {
  background: var(--info-blue);
  color: var(--white);
}

.tournament-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.tournament-link:hover {
  text-decoration: underline;
}

.tournament-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.btn-card {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-details {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
}

.btn-details:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-register {
  background: var(--success-green);
  color: var(--white);
}

.btn-register:hover {
  background: #0D9668;
  transform: translateY(-2px);
}

.btn-starting {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

.btn-starting:hover {
  background: var(--gold-rich);
  transform: translateY(-2px);
}

.btn-live {
  background: var(--live-red);
  color: var(--white);
}

.btn-live:hover {
  background: var(--live-red-dark);
  transform: translateY(-2px);
}

.btn-results {
  background: var(--purple);
  color: var(--white);
}

.btn-results:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.btn-bracket {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
}

.btn-bracket:hover {
  background: var(--purple);
  color: var(--white);
}

/* ----- NEWS CARDS ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.news-date {
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.news-title {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-excerpt {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 8px;
  color: var(--purple-dark);
}

/* ----- BREAKING NEWS ----- */
.breaking-news {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
  border-left: 6px solid var(--live-red);
  display: none;
}

.breaking-news.active {
  display: flex;
  flex-wrap: wrap;
}

.breaking-news-image {
  flex: 1;
  min-width: 300px;
  height: 250px;
}

.breaking-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breaking-news-content {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}

.breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--live-red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  animation: livePulse 1.5s infinite;
}

.breaking-news-content h2 {
  color: var(--black);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: left;
}

.breaking-news-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ----- ABOUT PAGE FIXES (Flickering) ----- */
.about-hero,
.about-grid,
.vision-card {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ----- PARTNERS CAROUSEL ----- */
.partners-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  background: var(--gray-50);
  border-radius: 24px;
  margin: 2rem 0;
}

.partners-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: partnersScroll 30s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  flex: 0 0 auto;
  text-align: center;
  min-width: 140px;
  transition: transform 0.3s;
}

.partner-item:hover {
  transform: scale(1.05);
}

.partner-item img {
  max-height: 70px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.partner-item p {
  font-weight: 600;
  color: var(--purple);
  margin-top: 0.5rem;
}

.partners-track.speed-slow {
  animation-duration: 40s;
}

.partners-track.speed-normal {
  animation-duration: 30s;
}

.partners-track.speed-fast {
  animation-duration: 20s;
}

.partners-track.static {
  animation: none;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- BADGES ----- */
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-live {
  background: var(--live-red);
  color: var(--white);
  animation: livePulse 1.5s infinite;
}

.badge-starting {
  background: var(--gold);
  color: var(--black);
}

.badge-upcoming {
  background: var(--purple);
  color: var(--white);
}

.badge-completed {
  background: var(--success-green);
  color: var(--white);
}

.badge-tbd {
  background: var(--info-blue);
  color: var(--white);
}

/* ----- UTILITY CLASSES ----- */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.text-purple {
  color: var(--purple);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ----- MODAL BACKDROP ----- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-backdrop.active {
  display: flex;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

/* ----- ELITE MODAL ----- */
.elite-modal {
  background: var(--white);
  border-radius: 32px;
  width: 90%;
  max-width: 550px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.4s ease;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.modal {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.3s ease;
}

.modal-large {
  max-width: 900px;
}

.elite-modal-header {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 1.8rem;
  border-radius: 32px 32px 0 0;
  color: white;
  position: relative;
  text-align: center;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.elite-modal-header h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.elite-modal-header p {
  opacity: 0.9;
  font-size: 0.9rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 0;
}

.close-elite-modal {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: white;
}

.close-elite-modal:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: var(--gray-600);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--live-red);
  color: white;
  transform: rotate(90deg);
}

.elite-modal-body {
  padding: 2rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* ----- MODAL TABS ----- */
.modal-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.modal-tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50px 50px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-tab:hover {
  color: var(--purple);
}

.modal-tab.active {
  color: var(--purple);
  border-bottom: 3px solid var(--gold);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ----- GOOGLE SIGN-IN ----- */
.google-signin-container {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

/* ----- USER INFO ----- */
.user-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-100);
  padding: 12px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 600;
  color: var(--purple);
}

.signout-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  font-size: 0.8rem;
}

.signout-btn:hover {
  color: var(--purple);
}

.protected-content {
  display: none;
}

.protected-content.active {
  display: block;
}

/* ----- FORM STYLES ----- */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.option-card {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.option-card.selected {
  border-color: var(--gold);
  background: var(--white);
}

.option-icon {
  margin-bottom: 0.75rem;
}

.option-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.option-desc {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.back-btn {
  background: none;
  border: none;
  color: var(--purple);
  cursor: pointer;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--purple-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--live-red);
}

.error-message {
  color: var(--live-red);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}

/* ----- CONDITIONAL "OTHER" FIELD ----- */
.other-field {
  display: none;
  margin-top: 0.75rem;
}

.other-field.active,
.other-field.show {
  display: block;
}

.conditional-section {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  display: none;
}

.conditional-section.show {
  display: block;
}

/* ----- PHONE INPUT GROUP ----- */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.phone-input-group select {
  width: 120px;
  flex-shrink: 0;
}

.phone-input-group input {
  flex: 1;
}

/* ----- PROGRESS BAR (Register Page) ----- */
.progress-bar-container {
  margin: 2rem 0;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.progress-fill {
  position: absolute;
  top: 15px;
  left: 0;
  height: 2px;
  background: var(--purple);
  z-index: 1;
  transition: width 0.3s ease;
}

.step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--gray-200);
  color: var(--gray-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.step.active .step-number {
  background: var(--purple);
  color: var(--white);
}

.step.completed .step-number {
  background: var(--success-green);
  color: var(--white);
}

.step-label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.step.active .step-label {
  color: var(--purple);
  font-weight: 600;
}

/* ----- STEP NAVIGATION ----- */
.step-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.step-navigation button {
  flex: 1;
  padding: 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-prev {
  background: var(--gray-200);
  color: var(--gray-800);
  border: none;
}

.btn-prev:hover {
  background: var(--gray-300);
}

.btn-next {
  background: var(--purple);
  color: var(--white);
  border: none;
}

.btn-next:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit {
  background: var(--success-green);
  color: var(--white);
  border: none;
}

.btn-submit:hover {
  background: #0D9668;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ----- SIGN-IN GATE ----- */
.signin-gate {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.signin-gate h2 {
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.signin-gate p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.signedin-header {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-header {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name-header {
  font-weight: 600;
  color: var(--purple-dark);
}

.user-email-header {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.signout-btn-header {
  background: none;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.signout-btn-header:hover {
  background: var(--live-red);
  color: white;
  border-color: var(--live-red);
}

/* ----- REVIEW SECTION ----- */
.review-content {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.review-item {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
  border-bottom: none;
}

.review-label {
  font-weight: 600;
  color: var(--purple-dark);
  width: 180px;
}

.review-value {
  color: var(--gray-800);
}

/* ----- TERMS CHECK ----- */
.terms-check {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 1.5rem 0;
}

.terms-check label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.terms-check a {
  color: var(--purple);
  text-decoration: none;
}

.terms-check a:hover {
  text-decoration: underline;
}

/* ----- NOTE BOX ----- */
.note-box {
  background: rgba(90, 45, 130, 0.05);
  border: 1px solid var(--purple);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.note-box p {
  color: var(--gray-600);
  margin: 0;
}

/* ----- NEWSLETTER ----- */
.newsletter-section {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  border-radius: 24px;
  margin: 2rem 0;
}

.newsletter-section h2 {
  color: white;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  min-width: 200px;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--gold);
}

/* ----- CTA SECTION ----- */
.cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
  animation: rotateGlow 20s linear infinite;
}

.cta h2 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

/* ----- FAQ SECTION ----- */
.faq-item {
  background: var(--white);
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
}

.faq-item summary {
  font-weight: 600;
  color: var(--purple);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '▼';
  float: right;
  font-size: 0.8rem;
  color: var(--purple);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 1rem;
  color: var(--gray-600);
}

/* ----- CONTACT PAGE ----- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  margin-bottom: 1rem;
}

.contact-icon svg {
  width: 40px;
  height: 40px;
  color: var(--purple);
}

.contact-info-card h3 {
  color: var(--purple);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-info-card p {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.contact-info-card a {
  color: var(--purple);
  text-decoration: none;
}

.contact-form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
  color: var(--purple);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
}

.office-status {
  margin-top: 1rem;
}

.office-status .open {
  background: var(--success-green);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.85rem;
}

.office-status .closed {
  background: var(--live-red);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.85rem;
}

/* ----- SOCIAL ICONS FIX ----- */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  opacity: 1;
  visibility: visible;
}

.social-icons a:hover svg {
  fill: var(--black);
}

/* ----- FOOTER - 4 COLUMN LAYOUT (FIXED) ----- */
footer {
  background: var(--black);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.8fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-grid h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid p {
  color: var(--gray-300);
  line-height: 1.6;
  font-size: 0.9rem;
}

.footer-grid a {
  color: var(--gray-500);
  text-decoration: none;
  display: block;
  margin: 0.3rem 0;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: var(--gray-500);
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.footer-grid .social-icons {
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-500);
  font-size: 0.85rem;
}

.footer-bottom p {
  text-align: center !important;
}

/* ----- BACK TO TOP ----- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 997;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--purple-dark);
}

.back-to-top.visible {
  display: flex;
}

/* ----- WHATSAPP FLOAT ----- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  color: white;
}

/* ----- TOAST NOTIFICATIONS ----- */
.toast-notification {
  position: fixed;
  bottom: 100px;
  right: 20px;
  padding: 14px 24px;
  border-radius: 50px;
  z-index: 4000;
  animation: slideIn 0.3s ease;
  box-shadow: var(--shadow-md);
  font-weight: 500;
}

.toast-notification.success {
  background: var(--success-green);
  color: white;
}

.toast-notification.error {
  background: var(--live-red);
  color: white;
}

.toast-notification.info {
  background: var(--purple);
  color: white;
}

/* ----- LOADING SPINNER ----- */
.loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(90, 45, 130, 0.2);
  border-radius: 50%;
  border-top-color: var(--purple);
  animation: spin 0.8s linear infinite;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
}

/* ----- COOKIE BANNER ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1000;
  border-top: 1px solid var(--gold);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.btn-cookie {
  background: var(--gold);
  color: var(--purple);
  padding: 8px 20px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
}

.btn-cookie-secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  margin-left: 10px;
}

/* ----- SEARCH MODAL (ENHANCED) ----- */
#searchModal .modal {
  background: #1A1A1A;
  border-radius: 24px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  border: 1px solid #2A2A2A;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  color: white;
}

#searchModal .modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #2A2A2A;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#searchModal .modal-title {
  color: var(--gold);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

#searchModal .modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #A1A1AA;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#searchModal .modal-close:hover {
  background: #EF4444;
  color: white;
}

#searchModal .modal-body {
  padding: 1.5rem;
}

#searchInput {
  width: 100%;
  padding: 1rem;
  background: #111;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
}

.search-shortcut {
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-align: right;
}

.search-shortcut kbd {
  background: #2A2A2A;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.search-result-group {
  margin-bottom: 1.5rem;
}

.search-result-group h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #2A2A2A;
}

.search-result-item {
  padding: 0.75rem 1rem;
  color: white;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-result-item:hover {
  background: #2A2A2A;
  color: var(--gold);
}

.search-result-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
}

.search-result-item:hover .search-result-icon {
  color: var(--gold);
}

.search-result-content {
  flex: 1;
}

.search-result-title {
  font-weight: 500;
}

.search-result-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

#searchResults {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 1rem;
}

/* ----- JERSEY SVG ----- */
.jersey-svg-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.jersey-svg-container svg {
  width: 40px;
  height: 40px;
}

/* ----- COUNT-UP ANIMATION ----- */
.count-up {
  transition: all 0.1s ease;
}

/* ----- FANTASY FOOTBALL STYLES ----- */
.fantasy-container {
  background: var(--card-bg, #1A1A1A);
  border: 1px solid var(--card-border, #2A2A2A);
  border-radius: 24px;
  padding: 2rem;
}

.fantasy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fantasy-points {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.pitch-container {
  background: linear-gradient(135deg, #0D3B0D 0%, #1A5C1A 100%);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  min-height: 500px;
}

.formation-selector {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.formation-btn {
  background: transparent;
  border: 1px solid var(--card-border, #2A2A2A);
  color: var(--gray-300);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.formation-btn.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.formation-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.player-slot {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 2px dashed var(--gray-600);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.player-slot.filled {
  border: 2px solid var(--gold);
  background: rgba(90, 45, 130, 0.5);
}

.player-slot:hover {
  border-color: var(--gold);
}

.transfer-window-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.transfer-window-banner.closed {
  background: var(--gray-800);
}

/* ----- SEARCHABLE SELECT ----- */
.searchable-select {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.searchable-select-input {
  width: 100%;
  padding: 14px 18px;
  background: #111;
  border: 1px solid var(--card-border, #2A2A2A);
  border-radius: 16px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.searchable-select-input:focus {
  outline: none;
  border-color: var(--gold);
}

.searchable-select-input::placeholder {
  color: var(--gray-600);
}

.searchable-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 400px;
  overflow-y: auto;
  background: var(--card-bg, #1A1A1A);
  border: 1px solid var(--card-border, #2A2A2A);
  border-radius: 16px;
  margin-top: 4px;
  z-index: 100;
  display: none;
  box-shadow: var(--shadow-lg);
}

.searchable-select-dropdown.active {
  display: block;
}

.searchable-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--card-border, #2A2A2A);
}

.searchable-option:last-child {
  border-bottom: none;
}

.searchable-option:hover {
  background: rgba(90, 45, 130, 0.3);
}

.searchable-option.selected {
  background: var(--purple);
}

.searchable-option-info {
  flex: 1;
}

.searchable-option-name {
  font-weight: 600;
  color: var(--white);
}

.searchable-option-detail {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.searchable-select-empty {
  padding: 24px;
  text-align: center;
  color: var(--gray-600);
}

/* ----- COMMENTARY FEED ----- */
.commentary-feed {
  max-height: 500px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
}

.commentary-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border, #2A2A2A);
}

.commentary-minute {
  min-width: 50px;
  font-weight: 700;
  color: var(--gold);
}

.commentary-icon {
  min-width: 28px;
  text-align: center;
}

.commentary-text {
  color: var(--gray-300);
  line-height: 1.5;
}

.commentary-text strong {
  color: var(--white);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Scale everything down */
  html { font-size: 13px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  /* Navigation - hamburger menu */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  /* Keep footer 4 columns like desktop */
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 0.8fr 1.2fr !important;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.75rem;
  }
  
  .footer-grid .social-icons {
    justify-content: flex-start;
  }
  
  /* Keep grids multi-column */
  .tournament-grid,
  .news-grid,
  .mission-grid,
  .values-grid,
  .contact-grid,
  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 1rem;
  }
  
  /* Container spacing */
  .container { padding: 2rem 1rem; }
  
  /* Logo */
  .logo-img { height: 45px; }
  .logo-text { font-size: 1.2rem; }
  
  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  
  /* Countdown */
  .countdown-timer { gap: 0.8rem; }
  .countdown-box { padding: 0.8rem; min-width: 70px; }
  .countdown-number { font-size: 1.5rem; }
  
  /* Tables scroll horizontally */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Images */
  img { max-width: 100%; height: auto; }
  
  /* WhatsApp */
  .whatsapp-float { width: 48px; height: 48px; bottom: 15px; right: 15px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  
  /* Back to top */
  .back-to-top { bottom: 80px; width: 40px; height: 40px; }
  
  /* Page hero */
  .page-hero { padding: 8rem 1rem 3rem; }
  .page-hero h1 { font-size: 1.8rem; }
  
  /* Modals */
  .elite-modal { width: 95%; max-height: 90vh; }
  .options-grid { gap: 1rem; }
  .modal { padding: 1.5rem; width: 95%; }
  .modal-tabs { flex-wrap: wrap; }
  
  /* Forms */
  .form-row { gap: 0.75rem; }
  .phone-input-group { flex-direction: row; flex-wrap: wrap; }
  .phone-input-group select { width: 100px; }
  .phone-input-group input { flex: 1; min-width: 150px; }
  
  /* Breaking news */
  .breaking-news.active { flex-direction: row; flex-wrap: wrap; }
  .breaking-news-image { width: 100%; max-height: 200px; }
  
  /* Compare */
  .compare-selector button { padding: 10px 20px; font-size: 0.9rem; }
  .searchable-select { max-width: 100%; }
  
  /* Cookie banner */
  .cookie-banner { flex-direction: row; flex-wrap: wrap; text-align: left; }
  
  /* Fantasy pitch scaling */
  .pitch-container { padding: 15px 10px; min-height: 400px; }
  .player-slot { min-width: 65px; padding: 6px 4px; }
  .player-slot .player-name { font-size: 0.7rem; }
  .fantasy-points { font-size: 1.8rem; }
  
  /* Lineups */
  .lineups-container { gap: 1rem; }
  .pitch-player { min-width: 60px; padding: 6px 4px; }
  .pitch-player .player-name { font-size: 0.7rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .signin-gate { padding: 2rem 1.5rem; }
  .modal-tabs { justify-content: center; }
  .modal-tab { padding: 10px 16px; font-size: 0.9rem; }
  .logo-img { height: 45px; }
}

/* ----- PRINT STYLES ----- */
@media print {
  header, footer, .whatsapp-float, .back-to-top, .cookie-banner, .search-btn, .hamburger, .mobile-menu {
    display: none !important;
  }
  body { background: white !important; color: black !important; }
  .container { padding: 1rem !important; max-width: 100% !important; }
  a { color: black !important; text-decoration: underline !important; }
}

/* ----- REDUCED MOTION ----- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ===== MOBILE TOUCH FIXES ===== */
@media (max-width: 768px) {
  button, .btn, .btn-primary, .btn-secondary, .btn-outline, .btn-gold, .btn-card {
    min-height: 44px !important;
    padding: 12px 20px !important;
    cursor: pointer;
    touch-action: manipulation;
  }
  
  .modal-close, .close-elite-modal {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  
  select, input, textarea {
    font-size: 16px !important;
  }
  
  .modal, .elite-modal {
    max-height: 80vh !important;
    width: 95% !important;
  }
  
  .modal-body {
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu a {
    padding: 16px !important;
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .tab-btn, .modal-tab {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .option-card {
    min-height: 100px;
    touch-action: manipulation;
  }
  
  .submit-btn, button[type="submit"] {
    min-height: 50px;
    touch-action: manipulation;
  }
}

/* ===== HOMEPAGE TOURNAMENT CARD FIX ===== */
.values-grid {
  align-items: stretch !important;
}

.value-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.value-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.value-card h3 {
  margin-top: 0.5rem;
}

.value-card p {
  flex: 1;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.6;
}

.value-card .btn-primary {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .value-card {
    padding: 1.25rem !important;
  }
  .value-card h3 {
    font-size: 1.2rem !important;
  }
  .value-card p {
    font-size: 0.85rem !important;
  }
  .value-card img {
    height: 140px !important;
  }
}