/* ==========================================================
   PIZARRA DEPORTIVA - HIGH ENERGY STADIUM THEME (VANILLA CSS)
   Estética viva, colorida, microanimaciones SVG y modo estadio
   ========================================================== */

:root {
  /* Fondo Estadio */
  --bg-deep: #050811;
  --bg-surface: #0a0f20;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(22, 33, 62, 0.95);
  --bg-glass: rgba(10, 15, 32, 0.82);

  /* Acentos Deportivos Neón y Vivos */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.35);
  --neon-gold: #ffbe0b;
  --neon-gold-glow: rgba(255, 190, 11, 0.35);
  --neon-red: #ff0055;
  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.3);
  --neon-purple: #a855f7;

  /* Colores de Equipos LVBP */
  --team-cardenales: #ba0c2f;
  --team-caribes: #00843d;
  --team-bravos: #007a87;
  --team-tigres: #f26a36;
  --team-tiburones: #002b49;
  --team-leones: #ffc72c;
  --team-aguilas: #f37021;
  --team-magallanes: #002f6c;

  /* Bordes & Sombras */
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow-cyan: rgba(0, 240, 255, 0.3);
  --shadow-stadium: 0 10px 30px -5px rgba(0, 0, 0, 0.7);
  --shadow-neon-cyan: 0 0 20px rgba(0, 240, 255, 0.25);
  --shadow-neon-gold: 0 0 20px rgba(255, 190, 11, 0.3);

  /* Tipografías */
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-body: 'Inter', sans-serif;

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body.stadium-theme {
  background-color: var(--bg-deep);
  color: #f8fafc;
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   FONDO ANIMADO SVG DEL ESTADIO & REFLECTORES
   ========================================================== */
.stadium-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stadium-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatLights 12s ease-in-out infinite alternate;
}

.spotlight-left {
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, #0284c7 0%, transparent 70%);
}

.spotlight-right {
  top: 100px;
  right: -150px;
  background: radial-gradient(circle, #ba0c2f 0%, transparent 70%);
  animation-delay: -4s;
}

.spotlight-center {
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, #ffbe0b 0%, transparent 70%);
  opacity: 0.12;
  animation-delay: -7s;
}

@keyframes floatLights {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

.bg-baseball-diamond {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 550px;
  opacity: 0.45;
}

.svg-pulsing-diamond {
  animation: pulseDiamond 4s ease-in-out infinite;
}

@keyframes pulseDiamond {
  0%, 100% { opacity: 0.35; stroke-width: 1.5; }
  50% { opacity: 0.85; stroke-width: 3; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6)); }
}

.base-dot {
  filter: drop-shadow(0 0 6px currentColor);
  animation: glowDot 2s infinite alternate;
}

@keyframes glowDot {
  0% { r: 5; opacity: 0.7; }
  100% { r: 7; opacity: 1; }
}

/* ==========================================================
   LAYOUT CONTAINERS
   ========================================================== */
.header-container,
.section-container,
.dashboard-container,
.footer-container,
.banner-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================
   HEADER PRINCIPAL
   ========================================================== */
.main-header {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.main-header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-badge-animated {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.baseball-spin-svg {
  animation: spinBall 14s linear infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

@keyframes spinBall {
  100% { transform: rotate(360deg); }
}

.brand-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.tigres-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(242, 106, 54, 0.18);
  color: #f26a36;
  border: 1px solid rgba(242, 106, 54, 0.45);
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.35);
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-core-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulseDot 1.5s infinite;
}

.official-src-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--neon-cyan) 85%, var(--neon-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

/* Navegación de Deportes */
.sports-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 8, 17, 0.85);
  padding: 6px 8px;
  border-radius: 9999px;
  border: 1px solid var(--border-glass);
}

.nav-sport-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 16px;
  border-radius: 9999px;
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.nav-sport-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-sport-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.5);
}

.badge-status-on {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 9999px;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.badge-status-off {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-weight: 700;
}

.btn-refresh-animated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 1px solid var(--border-glow-cyan);
  color: var(--neon-cyan);
  padding: 8px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-refresh-animated:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(59, 130, 246, 0.25) 100%);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
  transform: scale(1.03);
}

.refresh-svg-icon.spinning {
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ==========================================================
   BANNER PRINCIPAL DEL SITIO (TIGRERO MARACAYERO)
   ========================================================== */
.site-main-banner-section {
  padding: 12px 0 8px;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.95) 0%, rgba(10, 15, 32, 0.7) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-main-banner-section .banner-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

.banner-glass-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(242, 106, 54, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(242, 106, 54, 0.22);
  background: #062356;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.banner-glass-wrapper:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85), 0 0 35px rgba(242, 106, 54, 0.35);
}

.banner-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

.banner-overlay-gradient,
.banner-floating-content {
  display: none !important;
}

/* ==========================================================
   PIZARRA DE MARCADORES (JORNADA DOMINGO 25)
   ========================================================== */
.scores-bar-section {
  background: linear-gradient(180deg, rgba(10, 15, 32, 0.95) 0%, rgba(5, 8, 17, 0.95) 100%);
  border-bottom: 1px solid var(--border-glass);
  padding: 18px 0 22px;
}

.scores-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.scores-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-ring-container {
  position: relative;
  width: 14px;
  height: 14px;
}

.pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  animation: ripple 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
}

.scores-section-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.scores-sub-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.clash-badge {
  background: linear-gradient(135deg, rgba(255, 190, 11, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
  border: 1px solid var(--neon-gold);
  color: var(--neon-gold);
  padding: 3px 12px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 0 15px rgba(255, 190, 11, 0.25);
  animation: pulseClash 2s infinite alternate;
}

@keyframes pulseClash {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

.live-sync-indicator {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Grilla de Marcadores */
.scores-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 16px;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-stadium);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.15);
}

.match-card.is-clásico {
  border-color: rgba(255, 190, 11, 0.5);
  background: linear-gradient(145deg, rgba(20, 27, 48, 0.95) 0%, rgba(25, 20, 15, 0.95) 100%);
  box-shadow: 0 0 25px rgba(255, 190, 11, 0.2);
}

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

.match-status-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-status-tag.scheduled {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.match-status-tag.final {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.match-venue-text {
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.match-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-team-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-logo-small {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.team-abbr-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.team-score-num {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  min-width: 24px;
  text-align: right;
}

.team-score-num.winner {
  color: var(--neon-gold);
  text-shadow: 0 0 10px rgba(255, 190, 11, 0.5);
}

.match-footer-details {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 8px;
  font-size: 0.73rem;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.match-pitchers-text {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* ==========================================================
   HERO BANNER DE LA LVBP
   ========================================================== */
.league-hero-card {
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.9) 0%, rgba(9, 14, 28, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 24px;
  padding: 32px 36px;
  margin: 30px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.league-hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-chip {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chip-gold {
  background: rgba(255, 190, 11, 0.15);
  color: var(--neon-gold);
  border: 1px solid rgba(255, 190, 11, 0.4);
}

.chip-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.chip-green {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.5;
}

.stadium-graphic-card {
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 16px 20px;
  min-width: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.graphic-leader-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--neon-gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-podium-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.podium-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  font-size: 0.82rem;
}

/* ==========================================================
   BARRA DE CONTROLES (VISTAS Y BUSCADOR)
   ========================================================== */
.dashboard-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.view-switcher-group {
  display: flex;
  gap: 8px;
  background: rgba(10, 15, 32, 0.7);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.view-btn:hover {
  color: #ffffff;
}

.view-btn.active {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.search-box-wrap {
  position: relative;
  min-width: 320px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  color: #f8fafc;
  padding: 10px 16px 10px 42px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

/* ==========================================================
   LAYOUT DE 3 COLUMNAS: COMUNIDAD/NOTICIAS - CENTRAL - LÍDERES/GRÁFICOS
   ========================================================== */
.dashboard-3col-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 340px;
  gap: 24px;
  margin-bottom: 36px;
  align-items: start;
}

.col-sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.col-main-center {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.col-sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================
   TARJETA COMUNIDAD TIGRERA & WHATSAPP
   ========================================================== */
.community-card {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 32, 0.98) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.15);
}

.community-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.whatsapp-banner-box {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 14px;
  background: #000;
}

.whatsapp-banner-link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.whatsapp-square-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.whatsapp-banner-link:hover .whatsapp-square-img {
  transform: scale(1.04);
}

.whatsapp-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 17, 10, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-banner-link:hover .whatsapp-img-overlay {
  opacity: 1;
}

.whatsapp-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #03210e;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
}

.btn-whatsapp-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  background: linear-gradient(135deg, #2ae771 0%, #16a392 100%);
}

.community-email-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.email-badge-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-gold);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.email-desc-txt {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.email-pill-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(5, 8, 17, 0.85);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.email-direct-link {
  color: var(--neon-cyan);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-direct-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.btn-copy-email {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-copy-email:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-copy-email.copied {
  color: var(--neon-green);
}

/* ==========================================================
   NOTICIAS DE INTERÉS LVBP (VERTICAL)
   ========================================================== */
.news-vertical-card {
  padding: 20px;
}

.news-live-tag {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.news-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 13px 14px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.news-card-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateX(3px);
}

.news-card-item.is-tigres-highlight {
  border-color: rgba(242, 106, 54, 0.4);
  background: linear-gradient(135deg, rgba(242, 106, 54, 0.09) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.news-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.news-badge {
  font-size: 0.64rem;
  font-weight: 800;
  font-family: var(--font-heading);
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

.news-badge.tigres {
  background: rgba(242, 106, 54, 0.2);
  color: #f26a36;
  border: 1px solid rgba(242, 106, 54, 0.45);
}

.news-badge.gold {
  background: rgba(255, 190, 11, 0.2);
  color: var(--neon-gold);
  border: 1px solid rgba(255, 190, 11, 0.45);
}

.news-badge.cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.news-badge.purple {
  background: rgba(168, 85, 247, 0.2);
  color: var(--neon-purple);
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.news-badge.green {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.35);
}

.news-badge.blue {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.news-date {
  font-size: 0.7rem;
  color: #64748b;
  font-family: var(--font-mono);
}

.news-headline {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 5px;
}

.news-excerpt {
  font-size: 0.79rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 7px;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.news-read-more:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================
   COLUMNA DERECHA: GRÁFICOS LIBRES & SABERMETRÍA
   ========================================================== */
.chart-card-free {
  padding: 20px;
}

.free-graphic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.free-graphic-tag {
  font-size: 0.68rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Gráfico Comparativo SVG de Bateo y Pitcheo Colectivo */
.svg-scatter-container {
  width: 100%;
  background: rgba(5, 8, 17, 0.8);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.scatter-team-group {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.scatter-team-group:hover circle {
  filter: drop-shadow(0 0 10px currentColor);
  r: 10;
}

.chart-legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.73rem;
  color: #94a3b8;
  padding: 0 4px;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot-tigres {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f26a36;
  box-shadow: 0 0 8px #f26a36;
}

.legend-dot-others {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
}

/* Proyecciones de Clasificación Round Robin */
.playoff-odds-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.playoff-odds-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odds-team-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.odds-team-name {
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.odds-team-name.is-tigres {
  color: #ffbe0b;
  font-weight: 800;
}

.odds-pct-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.84rem;
  color: #ffffff;
}

.odds-bar-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.odds-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s ease;
}

.odds-fill-high { background: linear-gradient(90deg, #10b981 0%, #00ff88 100%); box-shadow: 0 0 8px rgba(0, 255, 136, 0.4); }
.odds-fill-tigres { background: linear-gradient(90deg, #f26a36 0%, #ffbe0b 100%); box-shadow: 0 0 10px rgba(242, 106, 54, 0.6); }
.odds-fill-mid { background: linear-gradient(90deg, #0284c7 0%, #00f0ff 100%); }
.odds-fill-low { background: linear-gradient(90deg, #64748b 0%, #94a3b8 100%); }

/* Termómetro Bengalí */
.termometro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.termometro-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
}

.termometro-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--neon-gold);
}

.termometro-label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.termometro-status-alert {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(242, 106, 54, 0.15) 0%, rgba(255, 190, 11, 0.15) 100%);
  border: 1px solid rgba(242, 106, 54, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #ffbe0b;
  font-weight: 700;
}

/* Cápsula Sabermétrica */
.sabermetric-item {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border-left: 3px solid var(--neon-cyan);
  margin-bottom: 10px;
}

.sabermetric-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}

.sabermetric-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* ==========================================================
   GRID PRINCIPAL
   ========================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 26px;
  margin-bottom: 36px;
}

.dashboard-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-stadium);
  position: relative;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-accent-bar {
  width: 4px;
  height: 22px;
  border-radius: 4px;
}

.bar-cyan { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); }
.bar-gold { background: var(--neon-gold); box-shadow: 0 0 10px var(--neon-gold); }
.bar-purple { background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.bar-green { background: var(--neon-green); box-shadow: 0 0 10px var(--neon-green); }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.legend-pill.q-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: var(--neon-green);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
}

.q-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
}

/* ==========================================================
   TABLA DE POSICIONES ESTILO PROFESIONAL
   ========================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.standings-table th {
  background: rgba(5, 8, 17, 0.95);
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.standings-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}

.standings-table th.sortable:hover {
  color: var(--neon-cyan);
}

.standings-table th.sortable::after {
  content: " ⇅";
  opacity: 0.35;
}

.standings-table th.sorted-desc::after {
  content: " ▼";
  color: var(--neon-cyan);
  opacity: 1;
}

.standings-table th.sorted-asc::after {
  content: " ▲";
  color: var(--neon-cyan);
  opacity: 1;
}

.standings-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  white-space: nowrap;
}

.standings-table tbody tr {
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

/* Primeros 5 clasificados al Round Robin */
.standings-table tbody tr.row-playoff td:first-child {
  border-left: 4px solid var(--neon-green);
  font-weight: 800;
  color: var(--neon-green);
}

.table-team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.table-team-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.table-team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.table-team-cell:hover .table-team-name {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.th-stat, .standings-table td:nth-child(n+3) {
  text-align: center;
}

.td-strong {
  font-weight: 800;
  color: #ffffff !important;
}

.td-pct {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon-gold) !important;
}

.racha-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.75rem;
}

.racha-badge.win {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.racha-badge.loss {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Diferencial de carreras con medidor dual */
.diff-meter-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.diff-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.diff-pill.positive {
  background: rgba(0, 255, 136, 0.18);
  color: var(--neon-green);
}

.diff-pill.negative {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

.table-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #64748b;
}

.glow-symbol {
  color: var(--neon-cyan);
}

/* ==========================================================
   MATRIZ DE SERIES PARTICULARES
   ========================================================== */
.series-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.85rem;
}

.series-matrix-table th,
.series-matrix-table td {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.series-matrix-table th {
  background: rgba(5, 8, 17, 0.95);
  font-family: var(--font-heading);
  font-weight: 800;
  color: #94a3b8;
}

.series-diag {
  background: rgba(255, 255, 255, 0.03);
  color: #475569;
  font-weight: bold;
}

.series-val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.series-val.win {
  color: var(--neon-green);
}

.series-val.loss {
  color: #f87171;
}

/* ==========================================================
   LÍDERES INDIVIDUALES
   ========================================================== */
.tab-toggle-pill {
  display: flex;
  background: rgba(5, 8, 17, 0.8);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid var(--border-glass);
}

.toggle-pill-btn {
  background: transparent;
  border: none;
  padding: 6px 16px;
  border-radius: 9999px;
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-pill-btn.active {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.metrics-scroller {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.btn-metric-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-metric-chip:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-metric-chip.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(2, 132, 199, 0.2) 100%);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.leaders-podium-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leader-podium-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 12px 16px;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.leader-podium-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.leader-podium-card.rank-1 {
  background: linear-gradient(135deg, rgba(255, 190, 11, 0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(255, 190, 11, 0.4);
  box-shadow: 0 0 20px rgba(255, 190, 11, 0.15);
}

.leader-badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.leader-podium-card.rank-1 .leader-badge-circle {
  background: var(--neon-gold);
  color: #000;
  box-shadow: 0 0 10px var(--neon-gold);
}

.leader-podium-info {
  flex: 1;
  margin-left: 14px;
}

.leader-player-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.96rem;
  color: #ffffff;
}

.leader-player-team {
  font-size: 0.74rem;
  color: #94a3b8;
}

.leader-stat-val-box {
  text-align: right;
}

.leader-main-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.leader-podium-card.rank-1 .leader-main-val {
  color: var(--neon-gold);
}

.leader-secondary-val {
  font-size: 0.72rem;
  color: #64748b;
}

/* ==========================================================
   LOS 8 CLUBES DE LA LVBP
   ========================================================== */
.clubs-card {
  margin-bottom: 40px;
}

.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.club-showcase-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.club-showcase-btn:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-stadium);
}

.club-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.club-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.club-info-block {
  flex: 1;
  overflow: hidden;
}

.club-name-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.club-stadium-desc {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.club-record-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-top: 4px;
}

/* ==========================================================
   MODAL DE EQUIPO CON DIFERENCIAL DE CARRERAS
   ========================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-dialog-glass {
  background: #0d1428;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.15);
  transform: scale(1);
  transition: transform var(--transition-bounce);
}

.modal-backdrop.hidden .modal-dialog-glass {
  transform: scale(0.92);
}

.modal-close-trigger {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-trigger:hover {
  background: rgba(239, 68, 68, 0.9);
  transform: rotate(90deg);
}

.modal-banner-wrap {
  padding: 28px 26px;
  background: linear-gradient(135deg, #16203a 0%, #0a0f20 100%);
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--border-glass);
}

.modal-logo-halo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.modal-city-badge {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 0.8px;
}

.modal-club-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #ffffff;
}

.modal-stadium-info {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Medidor de Carreras */
.modal-run-diff-container {
  padding: 16px 26px;
  background: rgba(5, 8, 17, 0.7);
  border-bottom: 1px solid var(--border-glass);
}

.diff-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 8px;
}

.diff-chip-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
}

.diff-meter-bar {
  display: flex;
  height: 10px;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.meter-fill.meter-ca {
  background: linear-gradient(90deg, #0284c7 0%, var(--neon-cyan) 100%);
}

.meter-fill.meter-cp {
  background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
}

.meter-legend-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.74rem;
}

.leg-ca { color: var(--neon-cyan); }
.leg-cp { color: #f87171; }

.modal-grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px 26px;
}

.modal-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.modal-box-lbl {
  font-size: 0.68rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.modal-box-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.modal-actions-bar {
  padding: 0 26px 24px;
  display: flex;
  justify-content: flex-end;
}

.btn-modal-close-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-modal-close-action:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.main-footer {
  background: #03050a;
  border-top: 1px solid var(--border-glass);
  padding: 45px 0 25px;
  margin-top: 60px;
}

.main-footer .footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 440px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--neon-cyan);
}

.footer-bottom-bar {
  max-width: 1360px;
  margin: 20px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #475569;
}

/* ==========================================================
   NOTICE / LIGAS SECUNDARIAS
   ========================================================== */
.league-notice {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 50px 30px;
  margin: 30px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.league-notice.hidden {
  display: none;
}

.notice-sphere {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
  border: 2px dashed var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  animation: pulseDot 2s infinite;
}

.btn-glowing-back {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.5);
  transition: all var(--transition-fast);
}

.btn-glowing-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(2, 132, 199, 0.8);
}

/* Scrollbars estilizadas */
.styled-scrollbar::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.styled-scrollbar::-webkit-scrollbar-track {
  background: rgba(5, 8, 17, 0.5);
}

.styled-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.styled-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* ==========================================================
   ESTILOS ESPECÍFICOS DE FÚTBOL (LIGAS, TABLAS, FORMA)
   ========================================================== */
.soccer-leagues-nav-wrap {
  margin-bottom: 20px;
}

.soccer-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0;
}

.soccer-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: #94a3b8;
  padding: 8px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.soccer-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.soccer-tab-btn.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.soccer-hero-card {
  background: linear-gradient(135deg, rgba(6, 44, 30, 0.85) 0%, rgba(5, 15, 20, 0.95) 100%);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 24px;
  padding: 30px 34px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 255, 136, 0.1);
  position: relative;
  overflow: hidden;
}

.soccer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.soccer-table th {
  background: rgba(5, 8, 17, 0.95);
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.soccer-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  white-space: nowrap;
}

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

.soccer-table tbody tr.row-playoff td:first-child {
  border-left: 4px solid var(--neon-green);
  font-weight: 800;
  color: var(--neon-green);
}

.th-pts, .td-pts {
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--neon-gold) !important;
  text-align: center;
}

.forma-container {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.forma-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
}

.forma-badge.v {
  background: rgba(0, 255, 136, 0.2);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.forma-badge.e {
  background: rgba(255, 190, 11, 0.2);
  color: var(--neon-gold);
  border: 1px solid rgba(255, 190, 11, 0.4);
}

.forma-badge.d {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ==========================================================
   RESPONSIVE DESIGN (3-COL & DISPOSITIVOS MÓVILES)
   ========================================================== */
@media (max-width: 1240px) {
  .dashboard-3col-layout {
    grid-template-columns: 290px minmax(0, 1fr) 300px;
    gap: 18px;
  }
}

@media (max-width: 1080px) {
  .dashboard-3col-layout {
    grid-template-columns: 1fr;
  }

  .col-sidebar-left {
    order: 2;
  }

  .col-main-center {
    order: 1;
  }

  .col-sidebar-right {
    order: 3;
  }

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

  .main-footer .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-header .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .sports-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-main-banner-section {
    padding: 10px 0 6px;
  }

  .banner-floating-content {
    position: static;
    padding: 10px 14px;
    background: rgba(5, 8, 17, 0.95);
  }

  .banner-tag-pill, .banner-season-tag {
    font-size: 0.68rem;
  }

  .league-hero-card {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .stadium-graphic-card {
    width: 100%;
  }

  .th-opt, .standings-table td.td-opt {
    display: none;
  }

  .search-box-wrap {
    width: 100%;
  }

  .main-footer .footer-container {
    grid-template-columns: 1fr;
  }
}

