/* ============================================================
   FERIA PATRONAL DE SANTA CRUZ — ESTILOS
   Mobile-first | Dark/Light | Glassmorphism | Scroll Animations
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

/* ---------- Theme Variables ---------- */
:root {
  /* Tipografía */
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Colores fijos */
  --accent: #ff6b2b;
  --accent-light: #ff8c4a;
  --accent-dark: #e55a1b;
  --accent-glow: rgba(255, 107, 43, 0.4);
  --football-green: #2bcc6e;
  --football-green-glow: rgba(43, 204, 110, 0.4);
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
}

/* ---------- Modo Oscuro (por defecto) ---------- */
[data-theme="dark"] {
  --bg-primary: #0d0d0f;
  --bg-secondary: #16161a;
  --bg-tertiary: #1e1e24;
  --bg-card: #1a1a20;
  --text-primary: #f0f0f2;
  --text-secondary: #a0a0a8;
  --text-muted: #65656d;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(13, 13, 15, 0.3) 0%,
    rgba(13, 13, 15, 0.6) 50%,
    rgba(13, 13, 15, 0.95) 100%
  );
  --section-bg-alt: #111114;
  --particle-color: rgba(255, 140, 74, 0.6);
  --nav-bg: rgba(13, 13, 15, 0.7);
}

/* ---------- Modo Claro ---------- */
[data-theme="light"] {
  --bg-primary: #f8f8fa;
  --bg-secondary: #efefef;
  --bg-tertiary: #e4e4e8;
  --bg-card: #ffffff;
  --text-primary: #1a1a1e;
  --text-secondary: #5a5a64;
  --text-muted: #8a8a94;
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-glass: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --hero-overlay: linear-gradient(
    180deg,
    rgba(248, 248, 250, 0.1) 0%,
    rgba(248, 248, 250, 0.4) 50%,
    rgba(248, 248, 250, 0.95) 100%
  );
  --section-bg-alt: #f0f0f2;
  --particle-color: rgba(255, 107, 43, 0.3);
  --nav-bg: rgba(248, 248, 250, 0.7);
}

/* ---------- Base ---------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

/* ---------- Canvas de Partículas ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: 
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    transform var(--transition-smooth);
}

.nav.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__brand-icon {
  font-size: 1.4rem;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition-smooth);
}

.nav__links a.active {
  color: var(--accent);
}

.nav__links a.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  background: var(--glass-bg-strong);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: 
    background var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.theme-toggle:active {
  transform: scale(0.9);
}

/* ---------- Menú hamburguesa (mobile) ---------- */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.nav__mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-menu a {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--space-3xl);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 2;
  transition: background var(--transition-slow);
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--space-md);
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: clamp(2rem, 8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.hero__subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.hero__dates {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-xl);
}

.hero__scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: pulse-down 2s ease-in-out infinite;
}

.hero__scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes pulse-down {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- Secciones ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) var(--space-md);
}

.section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.section__tag--football {
  color: var(--football-green);
}

.section__title {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Sección Sobre el Evento ---------- */
.about {
  background: var(--section-bg-alt);
  transition: background var(--transition-smooth);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.about__card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: 
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    transform var(--transition-fast);
}

.about__card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.about__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.about__card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Sección Deportes (basquet / fútbol) ---------- */
.sport-section {
  position: relative;
  overflow: hidden;
}

.sport-section__bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.sport-section--basketball .sport-section__bg-accent {
  background: var(--accent);
}

.sport-section--football .sport-section__bg-accent {
  background: var(--football-green);
}

/* ---------- Animación del Balón ---------- */
.floating-ball {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}

.floating-ball__basketball {
  width: 60px;
  height: 60px;
}

.floating-ball__football {
  width: 55px;
  height: 55px;
}

.floating-ball img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

/* Tablero */
.hoop-target {
  position: absolute;
  right: 5%;
  top: 10%;
  width: 120px;
  z-index: 5;
  opacity: 0;
  will-change: transform;
}

.hoop-target img {
  width: 100%;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

/* ---------- Cards de Convocatoria ---------- */
.tournament-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.tournament-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  overflow: hidden;
  transition: 
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    transform var(--transition-smooth);
}

.tournament-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.tournament-card--basketball::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.tournament-card--football::before {
  background: linear-gradient(90deg, var(--football-green), #4de88a);
}

.tournament-card__character {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 140px;
  height: 180px;
  object-fit: contain;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.tournament-card__content {
  position: relative;
  z-index: 1;
}

.tournament-card__sport-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.tournament-card--basketball .tournament-card__sport-badge {
  background: rgba(255, 107, 43, 0.15);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 43, 0.3);
}

.tournament-card--football .tournament-card__sport-badge {
  background: rgba(43, 204, 110, 0.15);
  color: var(--football-green);
  border: 1px solid rgba(43, 204, 110, 0.3);
}

.tournament-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.tournament-card__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tournament-card__info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tournament-card__info-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tournament-card__info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tournament-card__cost {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.tournament-card--basketball .tournament-card__cost {
  color: var(--accent);
}

.tournament-card--football .tournament-card__cost {
  color: var(--football-green);
}

/* Premios */
.tournament-card__prizes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.tournament-card__prizes li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
}

.prize-icon {
  font-size: 1.1rem;
}

.prize-icon--gold { color: var(--gold); }
.prize-icon--silver { color: var(--silver); }
.prize-icon--bronze { color: var(--bronze); }

/* Reglas */
.tournament-card__rules {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.tournament-card__rules li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding-left: var(--space-md);
  position: relative;
}

.tournament-card__rules li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ---------- Sección Inscripción ---------- */
.registration {
  text-align: center;
  background: var(--section-bg-alt);
  transition: background var(--transition-smooth);
}

.registration__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.registration__item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.registration__item-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.registration__item-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Sección Transitorios ---------- */
.transitorios {
  text-align: center;
}

.transitorios__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  font-style: italic;
  padding: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* ---------- Organizadores ---------- */
.organizers__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.organizer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.organizer__name {
  font-weight: 600;
  color: var(--text-primary);
}

.organizer__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__accent {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--scale {
  transform: scale(0.9);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Sección divider decorativo ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg, 
    transparent, 
    var(--border-glass), 
    transparent
  );
  margin: 0 auto;
}

/* ---------- Glow effects ---------- */
.glow-orange {
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255, 107, 43, 0.1);
}

.glow-green {
  box-shadow: 0 0 40px var(--football-green-glow), 0 0 80px rgba(43, 204, 110, 0.1);
}

/* ---------- Utilidades ---------- */
.text-accent { color: var(--accent); }
.text-green { color: var(--football-green); }
.fw-900 { font-weight: 900; }

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) var(--space-xl);
  }

  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tournament-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tournament-card__character {
    width: 180px;
    height: 220px;
    opacity: 0.2;
  }

  .hoop-target {
    width: 160px;
  }

  .floating-ball__basketball {
    width: 80px;
    height: 80px;
  }

  .floating-ball__football {
    width: 70px;
    height: 70px;
  }

  .registration__info {
    flex-direction: row;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .hero {
    padding-bottom: var(--space-4xl);
  }

  .hero__content {
    max-width: 800px;
  }

  .tournament-cards--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .tournament-card__character {
    opacity: 0.25;
    width: 200px;
    height: 250px;
    right: -15px;
    bottom: -15px;
  }

  .hoop-target {
    width: 180px;
  }

  .floating-ball__basketball {
    width: 90px;
    height: 90px;
  }

  .floating-ball__football {
    width: 80px;
    height: 80px;
  }

  .organizers__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }
}

/* ============================================================
   RESPONSIVE — LARGE (1440px+)
   ============================================================ */
@media (min-width: 1440px) {
  .section__container {
    max-width: 1300px;
  }
}

/* ---------- Animación del bounceo del tablero ---------- */
@keyframes hoop-shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-3deg); }
  40% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(1deg); }
}

.hoop-shake {
  animation: hoop-shake 0.5s ease-in-out;
}

/* ---------- Glow pulse para el hero badge ---------- */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255,107,43,0.2); }
  50% { box-shadow: 0 0 20px rgba(255,107,43,0.4); }
}

.hero__badge {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ---------- Sport section transition overlay ---------- */
.sport-transition {
  position: relative;
  height: 120px;
  z-index: 2;
  overflow: hidden;
}

.sport-transition__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--bg-primary) 50%,
    transparent 100%
  );
}

/* ---------- Counter / stat ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.stat__number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Prefers reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__badge {
    animation: none;
  }

  .hero__scroll-indicator {
    animation: none;
  }
}
