
/* ============================================
   ARVET - ESTILOS GLOBALES
   ============================================ */

:root {
  --arvet-blue-dark: #071f4a;
  --arvet-blue-mid: #0d3570;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --gradient:
    linear-gradient(
      135deg,
      rgba(0, 20, 60, 0.85),
      rgba(0, 40, 110, 0.75)
    ),
    linear-gradient(
      rgba(255,255,255,0.05),
      rgba(0,0,0,0.15)
    );
}

/* SCROLL SUAVE GLOBAL */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  padding-top: 70px;
}

/* ============================================
   TIPOGRAFÍA TITULOS
   ============================================ */
.btn-whatsapp.latido-activo {
    animation: latido-infinito 1.5s ease-in-out infinite;
}

@keyframes latido-infinito {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
    }
}

.btn-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
} 





.hero h1,
.hero h2,
h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: 1px;
    line-height:1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

/* ============================================
   NAVBAR - CON VARIABLE DINÁMICA
   ============================================ */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 70px;

  /* 🔥 VARIABLE DINÁMICA CON FALLBACK AZUL */
  background: var(--equipo-color-rgba, rgba(7, 31, 74, 0.92));
  
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://img.freepik.com/vector-gratis/textura-pared-boceto_1409-10961.jpg?semt=ais_user_personalization&w=740&q=80 ");
  opacity: 0.20;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* LOGO */

.logo {
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 110px;
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
}

/* LINKS */

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

.btn-login {
  background: white;
  color: #071f4a !important;
  padding: 10px 25px;
  border-radius: 25px;
}

/* ============================================
   HERO - CON VARIABLES DINÁMICAS
   ============================================ */

.hero {
  position: relative;
  
  /* 🔥 GRADIENTE DINÁMICO CON FALLBACK AZUL */
  background-image:
    linear-gradient(
      140deg,
      var(--equipo-hero-start, rgba(7, 31, 74, 0.95)) 0%,
      var(--equipo-hero-mid, rgba(13, 53, 112, 0.90)) 60%,
      var(--equipo-hero-end, rgba(5, 20, 55, 0.95)) 100%
    ),
    url("../images/b32d250f-8409-400e-89f0-8034bf5b5fb5.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;

  color: white;
  padding: 150px 0 100px;
  text-align: center;
  overflow: hidden;
}


.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
   margin-top: 30px;
}

/* BOTONES */

.btn-primary, .btn-secondary {
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-primary:active {
    transform: translateY(0);
}
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
/* ============================================
   SECCIONES INSTITUCIONALES
   Todas con misma base azul
   ============================================ */

.buscador-section,
.paises-section,
.partidos-section,
.main-content {

  
  /* separación interna */
  padding: 20px 0px;

  background: linear-gradient(
    140deg,
    rgba(10, 35, 80, 0.95),
    rgba(15, 60, 120, 0.85)
  );

  color: white;

  /* separación visual entre secciones */
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   CARDS
   ============================================ */

.pais-card,
.partido-card,
.card,
.table-container,
.stat-card {
  background: transparent;
}
/* ============================================
   BUSCADOR ESTILO INSTITUCIONAL
============================================ */

.buscador-section h2 {
  text-align: Left;
  font-size: 1.8rem;
  margin-bottom: 0px;
  font-weight: 700;
  color: white;
}
.buscador-section p {
  text-align: left;
  color: white;
   font-size: 0.8rem;
}
.search-box {
  display: flex;
  max-width: 550px;
  margin: 20px auto 30px;
  gap: 12px;
  width: 100%;
}

.search-box input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  font-size: 15px;
  outline: none;
  background: #ffffff99;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.search-box button {
  padding: 14px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.search-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .navbar .container {
    flex-direction: row;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .btn-login {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box button {
    width: 100%;
  }
  .logo img {
    height: 85px;
    transform: translateY(-25%);
     left: -25px;
  }
}
/* ============================================
   ADMIN MOBILE-FIRST - PANTALLA COMPLETA
   ============================================ */

.admin-body {
  padding: 0;
  overflow-x: hidden;
  background: #f8fafc;
}

/* HEADER MÓVIL */

.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--arvet-blue-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.admin-header h1 {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  text-align: center;
  margin: 0;
}

.user-info {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

/* MENÚ LATERAL */

.admin-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--arvet-blue-dark);
  color: white;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-nav.open {
  transform: translateX(0);
}

.nav-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
}

.nav-header p {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
}

.nav-menu {
  list-style: none;
  padding: 20px 0;
  flex: 1;
  overflow-y: auto;
}

.nav-menu li {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.nav-menu li:hover {
  background: rgba(255,255,255,0.05);
}

.nav-menu li.active {
  background: rgba(99, 102, 241, 0.2);
  border-left-color: var(--primary);
}

.nav-menu li span {
  font-size: 22px;
}

.nav-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* OVERLAY */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

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

/* CONTENIDO PRINCIPAL - PANTALLA COMPLETA */

.admin-main {
  padding-top: 60px;
  min-height: 100vh;
  position: relative;
}

.admin-section {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f8fafc;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.admin-section.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

/* BOTÓN FAB (FLOATING ACTION BUTTON) */

.btn-fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* STATS GRID */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-info h3 {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
}

.stat-value.text-danger {
  color: var(--danger);
}

/* LISTA DE ITEMS (reemplaza tablas) */

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

.list-item {
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.list-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.list-item-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.list-item-info p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}

.list-item-actions {
  display: flex;
  gap: 8px;
}

/* BOTONES */

.btn-secondary {
  background: rgba(38,77,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.btn-logout {
  background: #ef4444;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: #dc2626;
}

/* DESKTOP */

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
  
  .admin-nav {
    transform: translateX(0);
    width: 260px;
  }
  
  .admin-main {
    margin-left: 260px;
    padding-top: 80px;
  }
  
  .admin-header {
    left: 260px;
  }
  
  .admin-section {
    top: 80px;
    left: 260px;
    padding: 30px;
  }
  
  .nav-overlay {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Badges para estados */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

/* Botones de acción en list-items */
.btn-action {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

/* Botón Guardar - Clase reutilizable */
.btn-success {
    width: 100%;
    margin-top: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-success:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .btn-success {
        padding: 14px 20px;
        font-size: 15px;
    }
}
.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

.btn-delete:hover {
    background: #dc2626;
}



/* ============================================
   COMISIÓN DIRECTIVA
   ============================================ */

#comisionGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
#comisionGrid .card,
#comisionGrid > div {

    background: white;
    border-radius: 12px;
    padding: 24px 18px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    box-shadow: 0 6px 16px rgba(0,0,0,0.08);

    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
#comisionGrid .card:hover,
#comisionGrid > div:hover {

    transform: translateY(-6px);

    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

/* Foto circular */
#comisionGrid img {

    width: 120px;
    height: 120px;

    border-radius: 50%;
    object-fit: cover;

    margin-bottom: 14px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Nombre */
#comisionGrid h3 {

    font-size: 17px;
    font-weight: 600;

    margin: 6px 0 4px;
}

/* Cargo */
#comisionGrid p {

    font-size: 14px;
    color: #64748b;

    margin: 0;
}



/* ============================================
   PLANTEL
   ============================================ */

#plantelGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
#plantelGrid .card,
#plantelGrid > div {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    text-align: center;

    box-shadow: 0 6px 16px rgba(0,0,0,0.08);

    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
#plantelGrid .card:hover,
#plantelGrid > div:hover {

    transform: translateY(-5px);

    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

/* Contenedor de imagen */
#plantelGrid img {

    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition: transform .35s ease;
}

/* pequeño zoom en hover */
#plantelGrid .card:hover img,
#plantelGrid > div:hover img {

    transform: scale(1.06);
}

/* Nombre jugador */
#plantelGrid h3 {

    font-size: 16px;
    font-weight: 600;

    margin: 14px 0 8px;
}



/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablets */

@media (max-width:1024px) {

    #comisionGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    #plantelGrid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* Celulares */

@media (max-width:600px) {

    #comisionGrid {
        grid-template-columns: 1fr;
    }

    #plantelGrid {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* ============================================
   GALERÍA ESTILO INSTAGRAM
   ============================================ */

#galeriaCarrusel{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:10px;
padding:10px;
}

/* item */

.galeria-item{
position:relative;
width:100%;
aspect-ratio:1/1;
overflow:hidden;
border-radius:10px;
cursor:pointer;
}

/* imagen */

.galeria-item img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .35s ease;
display:block;
}

/* hover */

.galeria-item:hover img{
transform:scale(1.08);
}

/* overlay tipo redes */

.galeria-item::after{
content:"📸 Ver";
position:absolute;
bottom:8px;
right:8px;
background:rgba(0,0,0,0.55);
color:white;
font-size:11px;
padding:4px 7px;
border-radius:6px;
opacity:0;
transition:opacity .25s;
}

.galeria-item:hover::after{
opacity:1;
}


/* ============================================
   VISOR FOTO GRANDE
   ============================================ */

#visorFoto{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

#visorFoto img{
max-width:92%;
max-height:92%;
border-radius:12px;
box-shadow:0 10px 40px rgba(0,0,0,0.6);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width:1100px){

#galeriaCarrusel{
grid-template-columns:repeat(3,1fr);
}

}

@media (max-width:700px){

#galeriaCarrusel{
grid-template-columns:repeat(2,1fr);
gap:8px;
}

}

@media (max-width:420px){

#galeriaCarrusel{
grid-template-columns:repeat(2,1fr);
gap:6px;
}

}
/* ============================================
   BUSCADOR EQUIPOS - ARVET
   ============================================ */

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

/* CARD RESULTADO */
.equipo-card-busqueda {
    display: flex;
    align-items: center;
    gap: 16px;
    background: background: rgba(254, 254, 254, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all .25s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.equipo-card-busqueda:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* LOGO */
.equipo-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    overflow:hidden;
}

.equipo-logo-img {
    width:42px;
    height:42px;
    object-fit:contain;
}

/* INFO */
.equipo-info {
    display:flex;
    flex-direction:column;
}

.equipo-info h3 {
    margin:0;
    font-size:17px;
    font-weight:700;
    color:#0f172a;
}

.equipo-info p {
    margin:2px 0;
    font-size:13px;
    color:#475569;
}

.equipo-info span {
    font-size:12px;
    color:#94a3b8;
}


/* ============================================
   SLIDER EQUIPOS INDEX - MODERNO
   ============================================ */

.equipos-slider{
    display:flex;
    flex-wrap:nowrap;
    gap:25px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:13px 10px;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -ms-overflow-style:none;
    width:100%;
    min-height:220px;
    align-items:flex-start;
    margin-top:0px;
    position:relative;
   -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.equipos-slider::-webkit-scrollbar{
    display:none;
}


/* CARD SLIDER */
.equipo-card-slider{
    flex:0 0 auto;
    width:240px;
    height:400px;
margin-left: 15px;
    background:url("../images/fondocards.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    backdrop-filter:blur(12px);

    border-radius:10px;
    padding:0;
    text-align:center;
    cursor:pointer;

    border:1px solid rgba(255,255,255,.15);

 
        box-shadow:
    0 6px 10px rgba(0,0,0,0.05),
    0 18px 25px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 0 25px rgba(255,215,0,.15);

    transition:all .35s cubic-bezier(.4,0,.2,1);
    position:relative;
    overflow:hidden;
}
.equipo-card-slider:hover{
border:1px solid rgba(255,215,0,.6);
    transform:translateY(-8px) scale(1.03);

    box-shadow:
        0 25px 45px rgba(0,0,0,.35),
        0 0 35px rgba(255,215,0,.45);
}
.equipo-card-slider .gold-particles{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:3;

   

    background:
    radial-gradient(circle at 10% 15%, rgb(255 0 122 / 70%) 0px, transparent 54px), 
       radial-gradient(circle at 90% 15%, rgb(179 32 92 / 60%) 0px, transparent 64px), 
       radial-gradient(circle at 50% 78%, rgba(255, 215, 0, .7) 0px, transparent 3px);

    background-repeat:no-repeat;

    mix-blend-mode:screen;
    opacity:.6;

    animation:stadiumLights 4s ease-in-out infinite;;
}

@keyframes stadiumLights{

    0%{
        transform:scale(1);
        opacity:.6;
    }

    50%{
        transform:scale(1.08);
        opacity:1;
    }

    100%{
        transform:scale(1);
        opacity:.6;
    }

}
.equipo-card-slider .gold-particles2{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:4;

    background:
    radial-gradient(circle at 10% 30%, rgba(255,215,0,.7) 0px, transparent 2px),
    radial-gradient(circle at 15% 55%, rgba(255,215,0,.8) 0px, transparent 3px),
    radial-gradient(circle at 22% 10%, rgba(255,215,0,.7) 0px, transparent 2px),
    radial-gradient(circle at 35% 60%, rgba(255,215,0,.8) 0px, transparent 3px),
    radial-gradient(circle at 40% 35%, rgba(255,215,0,.7) 0px, transparent 2px),
    radial-gradient(circle at 55% 50%, rgba(255,215,0,.8) 0px, transparent 2px),
    radial-gradient(circle at 65% 40%, rgba(255,215,0,.7) 0px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(255,215,0,.8) 0px, transparent 3px),
    radial-gradient(circle at 82% 45%, rgba(255,215,0,.7) 0px, transparent 3px),
    radial-gradient(circle at 90% 30%, rgba(255,215,0,.8) 0px, transparent 2px),
    radial-gradient(circle at 12% 75%, rgba(255,215,0,.7) 0px, transparent 1px),
    radial-gradient(circle at 33% 82%, rgba(255,215,0,.8) 0px, transparent 3px),
    radial-gradient(circle at 58% 88%, rgba(255,215,0,.7) 0px, transparent 2px),
    radial-gradient(circle at 77% 78%, rgba(255,215,0,.8) 0px, transparent 3px),
    radial-gradient(circle at 92% 70%, rgba(255,215,0,.7) 0px, transparent 2px);

    background-repeat:no-repeat;

    mix-blend-mode:screen;

    animation:particlesUp 8s linear infinite;
}
@keyframes particlesUp{

    0%{
        transform:translateY(60px) translateX(0px);
        opacity:0;
    }

    10%{
        opacity:.6;
        transform:translateY(40px) translateX(-4px);
    }

    20%{
        transform:translateY(20px) translateX(4px);
    }

    30%{
        transform:translateY(0px) translateX(-5px);
    }

    40%{
        transform:translateY(-20px) translateX(5px);
    }

    50%{
        transform:translateY(-40px) translateX(-4px);
        opacity:.9;
    }

    60%{
        transform:translateY(-60px) translateX(4px);
    }

    70%{
        transform:translateY(-80px) translateX(-3px);
    }

    80%{
        transform:translateY(-95px) translateX(3px);
    }

    100%{
        transform:translateY(-120px) translateX(0px);
        opacity:0;
    }

}
.equipo-card-slider .gold-particles3{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:4;

    background:
    radial-gradient(circle at 18% 40%, rgba(255,215,0,.7) 0px, transparent 3px),
    radial-gradient(circle at 28% 65%, rgba(255,215,0,.8) 0px, transparent 2px),
    radial-gradient(circle at 38% 25%, rgba(255,215,0,.7) 0px, transparent 3px),
    radial-gradient(circle at 48% 70%, rgba(255,215,0,.8) 0px, transparent 2px),
    radial-gradient(circle at 60% 45%, rgba(255,215,0,.7) 0px, transparent 3px),
    radial-gradient(circle at 72% 60%, rgba(255,215,0,.8) 0px, transparent 2px),
    radial-gradient(circle at 85% 35%, rgba(255,215,0,.7) 0px, transparent 3px),
    radial-gradient(circle at 92% 55%, rgba(255,215,0,.8) 0px, transparent 2px);

    background-repeat:no-repeat;

    mix-blend-mode:screen;

    animation:particlesUp 7.5s ease-in-out infinite;

    animation-delay:-3.5s; /* empieza en otra fase */
}

/* brillo superior */
.equipo-card-slider::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:45%;
    background:linear-gradient(180deg,#f8fafc99,transparent);
    pointer-events:none;
}
.equipo-card-slider::before{
    content:'';
    position:absolute;
    top:-100%;
    left:-100%;
    width:200%;
    height:200%;

    background:linear-gradient(
        120deg,
        transparent 40%,
        rgba(255,255,255,.35),
        transparent 60%
    );

    transform:rotate(25deg);
    opacity:.25;
    transition:.7s;
}

.equipo-card-slider:hover::before{
    top:100%;
    left:100%;
}
/* línea inferior */
.equipo-card-slider::after{
    content:'';
    position:absolute;
    bottom:-10px;
    left:10%;
    right:10%;
    height:40px;

    background:radial-gradient(
        ellipse at center,
        rgba(255,215,0,0.6) 0%,
        rgba(255,215,0,0.25) 40%,
        transparent 75%
    );

    filter:blur(8px);
    opacity:.45;
    transition:.35s;
}
.equipo-card-slider:hover::after{
    opacity:.9;
    transform:scale(1.15);
}


/* LOGO BURBUJA */

.equipo-card-slider .equipo-logo{
    width:240px;
    height:400px;
   
    margin:0;
    border-radius:0%;

    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
   mix-blend-mode:multiply; 
}



.equipo-card-slider .equipo-logo img{
    width:150px;
    height:150px;
   margin-bottom: 80px;
    object-fit:contain;
   filter:
        drop-shadow(0 0 10px rgba(255,255,255,.4))
        drop-shadow(0 0 20px rgba(255,255,255,.25));
   transform:scale(1.06) rotate(-1deg);
    transition:.4s;
}


/* NOMBRE EQUIPO */

.equipo-ubicacion {
    position: absolute;
    bottom: 350px; 
    left: 50%;
    transform: translateX(-50%);
    border-radius:5%;
    font-size: 11px;
    font-weight: 600;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 4px 10px;
    background: #f8fafc99;
    border: 1px solid #e2e8f0;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.equipo-nombre {
    position: absolute;
    bottom: 8px; /* debajo de ubicacion */
    left: 50%;
    transform: translateX(-50%);
    
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}
.equipo-card-slider .equipo-nombre::before{
    content:"";
    position:absolute;
    left:-30px;
    right:-30px;
    bottom:-15px;
    height:80px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.7),
        transparent
    );

    z-index:-1;
}



/* ============================================
   ANIMACION ENTRADA
   ============================================ */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


.equipo-card-slider{
    animation:fadeInUp .5s ease backwards;
}


/* ============================================
   RESPONSIVE CELULAR
   ============================================ */

@media (max-width:768px){

.equipos-slider{
    padding:5px 5px;
}


.equipo-card-slider{
     width:240px;
   Height:400px;
    padding:0px 0px;
   margin-left: 15px;
}



.equipo-card-slider .equipo-logo{
    width:240px;
    height:400px;
}
.equipo-card-slider .equipo-logo img{
    width:150px;
    height:150px;
   margin-bottom: 80px;
    object-fit:contain;
   filter:
        drop-shadow(0 0 10px rgba(255,255,255,.4))
        drop-shadow(0 0 20px rgba(255,255,255,.25));
   transform:scale(1.06) rotate(-1deg);
    transition:.4s;
}


}
/* ============================================
   PAISES - FONDO IMAGEN COMPLETO
   ============================================ */

.paises-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 13px 10px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    min-height: 220px;
    align-items: flex-start;
    margin-top: 0px;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.paises-slider::-webkit-scrollbar {
    display: none;
}

.pais-card-slider {
    flex: 0 0 auto;
    width: 240px;
    height: 400px;
    margin-left: 15px;
    
    /* La imagen del país como fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    border-radius: 10px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 6px 10px rgba(0, 0, 0, 0.05),
        0 18px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 25px rgba(255, 215, 0, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease backwards;
}

.pais-card-slider:hover {
    border: 1px solid rgba(255, 215, 0, 0.6);
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 25px 45px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(255, 215, 0, 0.45);
}

/* Overlay oscuro para que el texto se lea */
.pais-card-slider .pais-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

/* Nombre del país */
.pais-card-slider .pais-nombre-fondo {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 2;
    padding: 0 15px;
}

/* Cantidad de equipos */
.pais-card-slider .pais-equipos {
    position: absolute;
    bottom: 320px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .paises-slider {
        padding: 5px 5px;
    }
    
    .pais-card-slider {
        width: 240px;
        height: 400px;
        margin-left: 15px;
    }
}



/* ============================================
   MARKER MAPA PERSONALIZADO
   ============================================ */

.markerWrapper{
background:none;
border:none;
}

/* pin principal */

.markerPin{
width:44px;
height:44px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
position:relative;

border:3px solid white;

box-shadow:
0 6px 14px rgba(0,0,0,0.35),
0 2px 4px rgba(0,0,0,0.2);

color:inherit;
transition:transform .2s ease;
}

/* efecto hover (solo desktop) */

.markerPin:hover{
transform:scale(1.08);
}

/* triangulo del pin */

.markerPin::after{
content:"";
position:absolute;
bottom:-12px;
left:50%;
transform:translateX(-50%);

border-left:10px solid transparent;
border-right:10px solid transparent;
border-top:13px solid rgb(248 248 248);
}

/* logo dentro del pin */

.markerPin img{
width:26px;
height:26px;
object-fit:contain;
pointer-events:none;
}

/* =========================
   POPUP MAPA EQUIPO
   ========================= */

/* contenedor exterior */
.leaflet-popup-content-wrapper{
max-width:180px;
border-radius:12px;
padding:0;
overflow:hidden;
background:var(--equipo-color);
}

/* flechita del popup */
.leaflet-popup-tip{
background:var(--equipo-color);
}

/* contenido */
.leaflet-popup-content{
margin:0;
}

/* layout interno */
.popupEquipo{
display:flex;
flex-direction:column;
align-items:center;
gap:4px;
padding:12px;
color:#333;
text-align:center;
}

/* logo */
.popupLogo{
width:36px;
height:36px;
object-fit:contain;
background:#333;
border-radius:6px;
padding:3px;
}

/* título */
.popupEquipo strong{
font-size:14px;
}

/* dirección */
.popupDireccion{
font-size:12px;
opacity:.9;
}
/* ============================================
   FORMULARIO QUIÉNES SOMOS - ADMIN
   ============================================ */

/* El contenedor card ya existe, pero reforzamos estilos */
#configuracion .card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

#configuracion .card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Labels */
#configuracion .card label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#configuracion .card label:first-of-type {
    margin-top: 0;
}

/* Inputs de texto */
#configuracion .card input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

#configuracion .card input[type="text"]:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

#configuracion .card input[type="text"]::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Textareas (Descripción e Historia) */
#configuracion .card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

#configuracion .card textarea:focus {
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

#configuracion .card textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Textarea de Historia más alto */
#historiaEquipo {
    min-height: 180px !important;
}





/* Indicador de campo opcional/requerido */
#configuracion .card label::after {
    content: "";
}

/* Responsive */
@media (max-width: 768px) {
    #configuracion .card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    #configuracion .card h3 {
        font-size: 1.1rem;
    }
    
    #configuracion .card textarea {
        min-height: 100px;
    }
    
    #historiaEquipo {
        min-height: 140px !important;
    }
    
    
}
