/* =========================================
   1. CONFIGURACIÓN BASE Y VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Dark Mode Futurista */
    --bg-dark: #0A0C10;
    --bg-card: #161B22;
    --text-main: #E6EDF3;
    --text-muted: #8B949E;
    
    /* Colores Argentina & Marca */
    --accent-cyan: #00AEEF; 
    --arg-celeste: #75C0E0; /* Celeste Bandera */
    --arg-blanco: #FFFFFF;
    --neon-green: #00ff41;
    
    --nav-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, #1c2333 0%, #0A0C10 70%);
    color: var(--text-main);
    padding-top: var(--nav-height);
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.contenedor { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.fade-in { animation: fadeIn 1s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   2. HEADER Y LOGO (MAGIA AQUÍ)
   ========================================= */
.header {
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(117, 192, 224, 0.2);
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    height: var(--nav-height); display: flex; align-items: center;
    transition: all 0.3s ease;
}

.header-content {
    width: 100%; max-width: 1400px;
    margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

/* --- LOGO ANIMADO Y BRILLANTE (Corrección) --- */
.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    position: relative; /* Vital para que la luz se posicione aquí */
    z-index: 10;
}

/* La imagen del logo flotando */
.animated-logo { 
    width: 50px; 
    height: auto; 
    /* Sombra celeste en el propio logo */
    filter: drop-shadow(0 0 5px rgba(117, 192, 224, 0.8));
    animation: float 3s ease-in-out infinite; 
    position: relative;
    z-index: 2; /* Encima de la luz */
}

@keyframes float { 
    0% { transform: translateY(0px); } 
    50% { transform: translateY(-6px); } /* Flota hacia arriba */
    100% { transform: translateY(0px); } 
}

/* EL HALO DE LUZ ARGENTINA (Fondo brillante) */
.logo-container::before {
    content: '';
    position: absolute;
    left: 25px; /* Centro del logo (mitad de 50px) */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--arg-celeste);
    border-radius: 50%;
    /* Brillo fuerte celeste y blanco */
    box-shadow: 0 0 25px 10px rgba(117, 192, 224, 0.5), 
                0 0 10px 2px rgba(255, 255, 255, 0.3);
    z-index: 1; /* Detrás del logo */
    animation: pulse-patrio 2s infinite alternate;
}

@keyframes pulse-patrio {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

/* Texto de la marca */
.brand-name {
    font-size: 1.5rem; font-weight: 700; text-transform: uppercase;
    background: linear-gradient(90deg, var(--arg-celeste), var(--arg-blanco), var(--arg-celeste));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Menú Desktop */
.navegacion-principal { display: flex; gap: 2rem; }
.navegacion-principal a { font-weight: 500; position: relative; color: var(--text-muted); display: flex; align-items: center; gap: 5px;}
.navegacion-principal a:hover, .navegacion-principal a.active { color: var(--arg-celeste); }
.navegacion-principal a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background: var(--arg-celeste); transition: 0.3s;
}
.navegacion-principal a:hover::after, .navegacion-principal a.active::after { width: 100%; }


/* =========================================
   3. UI GENERAL
   ========================================= */
.hero {
    position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}


.hero-content h1 {
    font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--arg-celeste), #fff);
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 5s linear infinite;
}

.hero-content h1 {
    /* CAMBIO CLAVE: clamp(minimo, ideal, maximo) */
    /* Antes era 3rem fijo. Ahora oscila entre 1.8rem y 2.5rem según la pantalla */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    
    margin-bottom: 1rem; /* Reduje un poco el margen para que las frases estén más juntas */
    line-height: 1.1;    /* Altura de línea más ajustada */
    
    /* Mantenemos tus estilos de gradiente originales */
    background: linear-gradient(to right, #fff, var(--arg-celeste), #fff);
    background-size: 200% auto; 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent;
    animation: shine 5s linear infinite;
}



@keyframes shine { to { background-position: 200% center; } }

/* Alerta Verde */
.alerta-inscripcion {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    text-align: center; padding: 12px; margin: 20px auto 30px;
    border-radius: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    max-width: 600px; box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
    animation: luz-verde 1.5s infinite alternate ease-in-out;
}
@keyframes luz-verde {
    0% { opacity: 1; text-shadow: 0 0 10px var(--neon-green); box-shadow: 0 0 15px rgba(0, 255, 65, 0.4); }
    100% { opacity: 0.6; text-shadow: none; box-shadow: none; }
}

.btn-hero, .boton-card {
    display: inline-block; padding: 12px 30px; border-radius: 50px;
    background: transparent; border: 2px solid var(--arg-celeste); color: var(--arg-celeste);
    font-weight: 600; transition: 0.3s; cursor: pointer; text-align: center;
}
.btn-hero:hover, .boton-card:hover {
    background: var(--arg-celeste); color: #000;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.6); transform: translateY(-3px);
}
.text-gradiente-animado {
    background: linear-gradient(90deg, #fff, var(--arg-celeste));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card-feature {
    background: var(--bg-card); padding: 2rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; position: relative; overflow: hidden;
}
.card-feature:hover { transform: translateY(-10px); border-color: var(--arg-celeste); box-shadow: 0 10px 30px rgba(0, 174, 239, 0.15); }

/* =========================================
   4. CARRUSEL (SWIPER)
   ========================================= */
.cursos-container-limit { max-width: 1400px; margin: 0 auto; padding: 0 20px; position: relative; }
.cursos-slider { padding: 50px 0 80px 0 !important; }
.card-curso {
    background-color: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-curso img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.card-content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; flex-grow: 1; }
.ia-tag {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: rgba(0, 174, 239, 0.1); color: var(--arg-celeste); font-size: 0.8rem; font-weight: 600; padding: 6px 12px;
    border-radius: 50px; margin: 0 auto 15px auto; border: 1px solid rgba(0, 174, 239, 0.3);
}
.swiper-button-next, .swiper-button-prev { color: var(--arg-celeste); width: 50px; height: 50px; background: rgba(0,0,0,0.5); border-radius: 50%; backdrop-filter: blur(5px); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px; font-weight: bold; }
.swiper-pagination-bullet { background: #fff; opacity: 0.3; }
.swiper-pagination-bullet-active { background: var(--arg-celeste); opacity: 1; }

/* =========================================
   5. CONTACTO & MODO ARGENTINA
   ========================================= */
.contacto-bg { position: relative; overflow: hidden; }
.titulo-pasion { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; color: #fff; }


/* --- FORMULARIO NIVEL PRO --- */
.formulario-futurista {
    max-width: 800px; 
    margin: 0 auto 5rem;
    /* Fondo vidrio oscuro y elegante */
    background: rgba(22, 27, 34, 0.75); 
    backdrop-filter: blur(20px); /* Más borroso atrás para efecto profundidad */
    -webkit-backdrop-filter: blur(20px);
    
    /* Quitamos borde sólido negro, usamos luz sutil */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Luz cenital */
    border-radius: 30px; /* Bordes más redondeados */
    padding: 3rem;
    
    /* Sombra suave que levanta el formulario */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05); 
    
    position: relative; 
    transition: all 0.5s ease;
    overflow: hidden; /* Para contener los brillos */
}




/* Brillo decorativo en la esquina */
.formulario-futurista::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(117, 192, 224, 0.1) 0%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}



.campo { margin-bottom: 1.5rem; }
.campo label { display: block; color: var(--arg-celeste); margin-bottom: 0.5rem; }
.campo input, .campo select, .campo textarea {
    width: 100%; padding: 12px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: #fff;
}
.boton-contacto {
    width: 100%; padding: 15px; border: none; border-radius: 50px;
    background: linear-gradient(90deg, var(--accent-cyan), #fff, var(--accent-cyan));
    background-size: 200%; color: #000; font-weight: 700; cursor: pointer; text-transform: uppercase;
}


/* --- INPUTS Y SELECTOR MEJORADOS --- */
.campo input, .campo select, .campo textarea {
    width: 100%; 
    padding: 15px 20px; /* Más espacio interno */
    background: rgba(10, 12, 16, 0.6); /* Fondo más oscuro */
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 15px; 
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

/* Efecto al hacer clic en un campo */
.campo input:focus, .campo select:focus, .campo textarea:focus {
    background: rgba(0, 174, 239, 0.05);
    border-color: var(--arg-celeste);
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.3);
    transform: translateY(-2px);
}

/* ARREGLO CLAVE: Estilo de las opciones del desplegable */
select option {
    background-color: #161B22; /* Fondo oscuro sólido para el menú */
    color: #fff; /* Texto blanco */
    padding: 10px;
}






/* =========================================
   MODO ARGENTINA: LA GLORIA ETERNA
   ========================================= */

/* Animación de la bandera flameando (movimiento diagonal) */
@keyframes bandera-flameando { 
    0% { background-position: 0% 50%; } 
    100% { background-position: 100% 50%; } 
}

/* Animación de brillo pulsante para el borde */
@keyframes borde-vivo {
    0% { box-shadow: 0 0 20px rgba(117, 192, 224, 0.2); border-color: rgba(117, 192, 224, 0.5); }
    50% { box-shadow: 0 0 50px rgba(117, 192, 224, 0.6); border-color: #fff; }
    100% { box-shadow: 0 0 20px rgba(117, 192, 224, 0.2); border-color: rgba(117, 192, 224, 0.5); }
}

/* HEADER: Se convierte en la bandera en lo alto */
body.modo-argentina .header {
    /* Gradiente inclinado para simular pliegues de tela */
    background: linear-gradient(115deg, 
        #75C0E0 0%, #75C0E0 30%, 
        #FFFFFF 45%, #FFFFFF 55%, 
        #75C0E0 70%, #75C0E0 100%
    );
    background-size: 200% 200%; /* Tamaño doble para poder moverlo */
    animation: bandera-flameando 3s linear infinite; /* Velocidad del viento */
    box-shadow: 0 10px 40px rgba(117, 192, 224, 0.6);
    border-bottom: none;
}

/* Textos del Header en modo Argentina (Oscuros para contraste) */
body.modo-argentina .header a, 
body.modo-argentina .brand-name { 
    color: #0b253a !important; 
    font-weight: 800;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.5);
    -webkit-text-fill-color: initial; /* Resetea gradientes de texto anteriores */
}

/* FORMULARIO: Se ilumina con el alma */
body.modo-argentina .formulario-futurista {
    background: rgba(10, 12, 16, 0.9); /* Oscurece el fondo para resaltar el borde */
    border: 2px solid var(--arg-celeste);
    animation: borde-vivo 2s infinite alternate; /* El borde respira */
}

/* Títulos y Labels en Celeste fuerte */
body.modo-argentina .campo label {
    color: var(--arg-celeste);
    text-shadow: 0 0 10px rgba(117, 192, 224, 0.4);
}

body.modo-argentina .titulo-pasion {
    text-shadow: 0 0 20px var(--arg-celeste);
}

/* FOOTER: Bandera al pie */
body.modo-argentina .footer-futurista {
    background: linear-gradient(180deg, #0A0C10 0%, #75C0E0 100%);
    border-top: 4px solid #fff;
}





/* Cards Equipo */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.team-member { background: var(--bg-card); border-radius: 20px; text-align: center; padding-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); }
.member-img-wrapper { width: 120px; height: 120px; margin: 2rem auto; border-radius: 50%; padding: 3px; background: linear-gradient(180deg, var(--arg-celeste), #fff); }
.member-img-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-card); }

/* =========================================
   6. FOOTER GENERAL cambio
   ========================================= */
.footer-futurista {
    background: linear-gradient(to top, #000 0%, var(--bg-dark) 100%);
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--arg-celeste), transparent) 1;
    padding: 4rem 0 1rem; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.tagline { color: var(--text-muted); margin-top: 1rem; font-size: 0.9rem; }
.arg-text { background: linear-gradient(90deg, var(--arg-celeste), #FFF); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.footer-nav h4, .footer-contact h4 { color: #FFF; margin-bottom: 1.5rem; border-bottom: 2px solid var(--arg-celeste); display: inline-block; }
.nav-links li { margin-bottom: 0.8rem; }
.nav-links a { color: var(--text-muted); display: flex; align-items: center; gap: 8px;}
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-muted); }
.highlight { color: var(--arg-celeste); }


/* =========================================
   7. AJUSTES PARA PANTALLAS GIGANTES (29")
   ========================================= */
@media (min-width: 1600px) {
    .contenedor, .header-content { max-width: 1600px; }
    .hero-content h1, .titulo-pasion { font-size: 3.5rem; }
    .formulario-futurista { max-width: 1000px; padding: 5rem; }
    .swiper-slide-active .card-curso { transform: scale(1.1); }
}


/* =========================================
   8. MEDIA QUERIES (CELULARES) - ARREGLADO
   Diseño: Header apilado (Logo arriba / Menú abajo)
   ========================================= */
@media (max-width: 768px) {


    /* Dentro de @media (max-width: 768px) */

.hero-content h1 {
    /* Aquí podemos quitar el font-size fijo o poner uno de seguridad */
    /* Como usamos clamp arriba, el navegador ya sabe que el mínimo es 1.8rem */
    /* Solo ajustamos el padding y line-height para móviles */
    
    line-height: 1.2; 
    padding: 0 10px; 
    word-wrap: break-word;
    
    /* Si quisieras forzarlo aún más chico en móviles muy viejos, descomenta esto: */
    /* font-size: 1.6rem; */ 
}
    
    /* 1. Ajustamos el Body para que el contenido no quede tapado por el header más alto */
    body {
        padding-top: 130px; /* Aumentamos el espacio superior */
    }

    /* 2. Configuración del Header Contenedor */
    .header {
        height: auto; /* Dejamos que crezca según el contenido */
        padding: 15px 0; /* Un poco más de aire arriba y abajo */
        background: rgba(10, 12, 16, 0.98); /* Fondo sólido */
    }

    /* 3. Cambiamos la dirección a COLUMNA */
    .header-content {
        flex-direction: column; /* Apila los elementos verticalmente */
        justify-content: center;
        gap: 15px; /* Espacio entre el Logo y el Menú */
    }

    /* 4. Ajustes del Logo para Móvil */
    .logo-container {
        justify-content: center; /* Centrar logo */
        margin-bottom: 0;
    }
    .brand-name {
        font-size: 1.3rem; /* Un poco más chico para que entre bien */
    }

    /* 5. OCULTAR el botón hamburguesa (Ya no se necesita) */
    .menu-toggle {
        display: none !important;
    }

    /* 6. Estilo del Menú (Horizontal debajo del logo) */
    .navegacion-principal {
        /* Reseteamos posiciones fijas anteriores */
        position: static; 
        width: 100%;
        height: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        padding: 0;
        
        /* Flexbox para alinear horizontalmente */
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; /* Si la pantalla es muy chica, permite bajar ítems */
        gap: 15px; /* Espacio entre enlaces */
        
        /* Quitamos bordes y transiciones de menú lateral */
        right: auto;
        top: auto;
        transform: none;

/* =========================================
       ARREGLO TÍTULO PRINCIPAL (INICIO)
       ========================================= */
    
    .hero {
        /* Ajustamos la altura para que no quede muy separado arriba */
        min-height: auto; 
        padding: 30px 0 50px 0;
    }

    .hero-content h1 {
        /* ACÁ ESTÁ LA MAGIA: Achicamos la letra */
        font-size: 1.8rem; /* Bajamos de 3rem a 1.8rem */
        line-height: 1.3;  /* Un poco más de aire entre renglones */
        padding: 0 15px;   /* Margen a los costados para que no toque el borde */
        word-wrap: break-word; /* Si la palabra es larguísima, la corta bien */
    }
    
    .hero-content p {
        font-size: 1rem; /* Ajustamos también el subtítulo */
        padding: 0 20px;
    }



    }

    /* 7. Estilo de los enlaces */
    .navegacion-principal a {
        font-size: 0.9rem; /* Letra legible pero compacta */
        padding: 5px 10px;
        border: none; /* Sin bordes separadores */
        width: auto; /* Ancho automático según el texto */
        text-align: center;
        background: rgba(255, 255, 255, 0.05); /* Fondo sutil tipo botón */
        border-radius: 20px;
    }
    
    .navegacion-principal a.active,
    .navegacion-principal a:hover {
        background: var(--arg-celeste);
        color: #000;
    }

/* =========================================
       ARREGLO FOOTER MÓVIL (Centrado y Reducido)
       ========================================= */
    
    /* 1. Contenedor principal más compacto */
    .footer-futurista {
        padding: 2rem 0 1rem; /* Menos relleno arriba/abajo */
        text-align: center;   /* Fuerza el centrado de textos */
    }

    /* 2. Cambiamos Grid por Flex para evitar cortes */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem; /* Espacio entre bloques reducido */
        padding: 0 1rem; /* Margen lateral de seguridad */
    }

    /* 3. Centrado de cada sección */
    .footer-brand, 
    .footer-nav, 
    .footer-contact { 
        display: flex; 
        flex-direction: column; 
        align-items: center; /* Centra horizontalmente los elementos hijos */
        width: 100%;
    }

    /* 4. Ajuste de textos para que sea "Reducido" */
    .tagline {
        font-size: 0.8rem;
        max-width: 300px; /* Evita que el texto se estire demasiado */
        margin: 0 auto 1rem auto;
    }
    
    .footer-nav h4, 
    .footer-contact h4 {
        font-size: 1.1rem; /* Títulos más chicos */
        margin-bottom: 1rem;
        border-bottom-width: 1px; /* Línea más fina */
    }

    /* 5. Centrar los enlaces y datos de contacto que tienen iconos */
    .nav-links a,
    .footer-contact p {
        justify-content: center; /* CLAVE: Centra el icono y el texto */
        font-size: 0.9rem; /* Letra más chica */
    }
    
    /* 6. Iconos sociales */
    .footer-social {
        margin-top: 1rem;
        gap: 1.5rem; /* Separar un poco más los iconos para dedos */
    }
    
    .footer-social a {
        font-size: 1.2rem;
    }

    /* 7. Copyright final reducido */
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
        font-size: 0.75rem;
    }


}

/* =========================================
   MODO ARGENTINA: NIVEL CAMPEÓN DEL MUNDO ⭐️⭐️⭐️
   ========================================= */

/* 1. LA ANIMACIÓN DE "AGITE" (Vibración de emoción) */
@keyframes agite-mundial {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-3px, 3px) rotate(-2deg); }
    50% { transform: translate(3px, -3px) rotate(2deg); }
    75% { transform: translate(-3px, -3px) rotate(-2deg); }
    100% { transform: translate(3px, 3px) rotate(2deg); }
}

/* 2. DESTELLOS CELESTES Y BLANCOS (Luces estroboscópicas) */
@keyframes luces-campeon {
    0% { box-shadow: 0 0 15px #fff, 0 0 30px #75C0E0; border-color: #fff; }
    50% { box-shadow: 0 0 50px #75C0E0, 0 0 80px #fff; border-color: #75C0E0; }
    100% { box-shadow: 0 0 15px #fff, 0 0 30px #75C0E0; border-color: #fff; }
}

/* 3. EL LOGO DANDO VUELTAS OLÍMPICAS */
@keyframes vuelta-olimpica {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); filter: drop-shadow(0 0 20px #fff); }
    100% { transform: scale(1) rotate(360deg); }
}

/* --- APLICANDO LA LOCURA CUANDO SE ACTIVA EL MODO --- */

/* LAS TARJETAS DE ANABELLA Y ROBERTO */
body.modo-argentina .team-member {
    /* Fondo degradado patriótico */
    background: linear-gradient(135deg, rgba(10,12,16,0.9) 0%, rgba(117,192,224,0.2) 100%);
    
    /* Vibran rápido (0.3s) infinitamente */
    animation: agite-mundial 0.3s infinite ease-in-out, 
               luces-campeon 0.5s infinite alternate;
               
    /* Borde grueso y brillante */
    border: 2px solid #fff;
    z-index: 100; /* Que se pongan por encima de todo */
}

/* Las fotos de ellos también brillan */
body.modo-argentina .member-img-wrapper {
    border-color: #fff;
    box-shadow: 0 0 20px var(--arg-celeste);
    animation: luces-campeon 0.2s infinite alternate; /* Parpadean más rápido */
}

/* EL LOGO: GIRA Y BRILLA A FULL */
body.modo-argentina .animated-logo {
    animation: vuelta-olimpica 1s infinite linear; /* Gira rápido */
}

/* EL HALO DE LUZ DEL LOGO (El círculo de atrás) */
body.modo-argentina .logo-container::before {
    width: 100%; /* Se agranda */
    height: 100%;
    background: radial-gradient(circle, var(--arg-celeste), transparent);
    opacity: 0.8;
    animation: luces-campeon 0.1s infinite; /* Destellos tipo flash */
}

/* EL HEADER (Bandera flameando rápido) */
body.modo-argentina .header {
    background: linear-gradient(115deg, 
        #75C0E0 0%, #fff 20%, 
        #75C0E0 40%, #fff 60%, 
        #75C0E0 80%, #fff 100%
    );
    background-size: 400% 400%;
    animation: bandera-flameando 1s linear infinite; /* Viento huracanado de pasión */
    border-bottom: 3px solid #fff;
    box-shadow: 0 0 50px rgba(117, 192, 224, 0.8);
}
