/* --- VARIABLES Y RESET MUNDIALISTA --- */
:root {
    --celeste-gemini: #4285F4;
    --blanco-puro: #FFFFFF;
    --oro-copa: #FFD700;
    --azul-oscuro: #002244;
}

.body-mundial {
    background: #4285F4 !important;
    background-image: linear-gradient(180deg, #4285F4 0%, #FFFFFF 100%) !important;
    color: var(--azul-oscuro);
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding-top: 100px; /* Espacio para que el menú fixed no tape el título */
}

/* =========================================
   ESTRUCTURA DEL NAVBAR (CENTRADOS Y GAPS)
   ========================================= */

#navbar {
    background: rgba(0, 34, 68, 0.9) !important;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* 1. LOGO (Izquierda) */
.nav-logo {
    flex: 1; /* Toma 1 parte del espacio */
    display: flex;
    justify-content: flex-start;
}
.nav-logo h1 {
    font-size: 1.5rem;
    white-space: nowrap;
    margin: 0;
}

/* 2. MENÚ (Centro) */
.nav-menu {
    flex: 2; /* Toma 2 partes del espacio (asegura el centro perfecto) */
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 1.15rem !important; /* LETRA MÁS GRANDE */
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link.active {
    color: #FFD700 !important;
    border-bottom: 2px solid #FFD700;
}

/* 3. REDES SOCIALES (Derecha) */
.nav-social {
    flex: 1; /* Toma 1 parte del espacio */
    display: flex;
    justify-content: flex-end; /* Tira los iconos a la derecha */
    align-items: center;
    gap: 15px !important; /* <--- ACÁ CONTROLAS LA DISTANCIA ENTRE ICONOS */
}

.nav-social a {
    margin: 0 !important; /* Fundamental: anula el margin de styles.css */
    padding: 0;
    color: #ffffff;
    font-size: 15px; /* Tamaño del icono */
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social a:hover {
    color: #1db954; /* Color al pasar el mouse */
    transform: translateY(-2px);
}

/* =========================================
   HERO SECTION & CONTENIDO MUNDIAL
   ========================================= */

.mundial-landing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.hero-mundial {
    text-align: center;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 4px solid var(--blanco-puro);
}

.titulo-principal {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--celeste-gemini);
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.subtitulo {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--azul-oscuro);
    margin-bottom: 30px;
    font-weight: bold;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 30px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 5px solid #fff;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.btn-comprar {
    display: inline-block;
    background: var(--oro-copa);
    color: #000;
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-comprar:hover {
    transform: translateY(-5px) scale(1.05);
    background: #4285F4;
    color: #fff;
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.6);
}

/* --- GRID DE CONTENIDO (Historia y Letra) --- */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.historia-tema, .letra-tema {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-left: 8px solid var(--celeste-gemini);
}

.historia-tema h3, .letra-tema h3 {
    font-size: 1.8rem;
    color: var(--celeste-gemini);
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.historia-tema p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.lyrics-box {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    font-weight: bold;
    color: var(--azul-oscuro);
    text-align: center;
}

/* =========================================
   COTILLÓN (Papelitos)
   ========================================= */
.cotillon {
    position: fixed;
    top: -50px;
    z-index: 1; /* Por debajo del texto */
    pointer-events: none;
    animation: caida linear infinite;
}

.papelito { border-radius: 2px; }
.serpentina { border-radius: 10px; }

@keyframes caida {
    0% { transform: translateY(0) rotate(0deg) rotateX(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg) rotateX(360deg); opacity: 0; }
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    /* Ocultar elementos de escritorio */
    .nav-social {
        display: none !important;
    }

    /* Menú hamburguesa desplegable */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #000;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}