/* 🚨 NOTA: Si este cintillo se ve encima del menú, es porque tu plantilla ya tiene: 
   .events-section { position: fixed; top: 0; z-index: 9999; }
   Si no lo tiene, DEBES agregarlo a esta clase o a .announcement-bar.
*/

header {
  height: auto;
}

/* Contenedor principal (toda la barra) */
.events-section.announcement-bar {
    /* Degradado de fondo que abarca toda la barra */
    background: linear-gradient(to right, #4A90E2, #83CAEA);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    /* Mientas esté el banner a mero arriba /
    position: fixed;
    top: 0;
    z-index: 1000;
    / Mientas esté el banner a mero arriba */
}

/* Contenedor Flex para la distribución interna */
.events-section .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

/* Área del Mensaje */
.message-area {
    display: flex;
    align-items: center;
}

.message-area .emoji {
    font-size: 45px;
    margin-right: 15px;
}
/* Contenedor para manejar las dos líneas de texto */
.text-wrapper {
    display: flex;
    flex-direction: column; 
    justify-content: center; /* Centra el bloque de texto con el emoji */
    height: 100%;
}

.message-area p {
    margin: 0;
    line-height: 0.5; /* MUY REDUCIDO: Esto compactará el texto principal hacia el secundario */
    font-size: 20px; /* AJUSTADO: Se ve ligeramente más pequeño en la última imagen */
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: white !important;
}
/* Estilo para la nueva línea de texto */
.sub-message {
    margin: 8;
    font-size: 14px;
    line-height: 1.1; /* Mantenemos este valor para evitar que el texto secundario se separe de su propia línea */
    color: white !important;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

.message-area strong {
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
    font-family: 'Roboto', sans-serif; /* Aplica la fuente */
    color: white !important;
}

/* Estilos del Contador */
.countdown-timer {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    text-align: center;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
}

.countdown-unit .number {
    font-family: 'Sharp Slab', serif; /* Tipografía Sharp Slab */
    font-size: 40px; 
    line-height: 1;
}

.countdown-unit .label {
    font-size: 12px; 
    font-weight: normal;
    text-transform: capitalize;
    line-height: 1;
}

.separator {
    font-family: 'Sharp Slab', serif; 
    font-size: 40px;
    margin: 0 10px;
    line-height: 1;
}


/* Estilos del Botón "Regístrate gratis" */
.register-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #FF5900;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s 
ease;

}

.register-button:hover {
   transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 89, 0, 0.6);
    opacity: 0.8;
    color: white;
    text-decoration: none;
}


/* Media Query para Responsividad (Móviles) */
@media (max-width: 900px) {
    /* ✨ MODIFICACIÓN CLAVE: Oculta el banner completo en pantallas pequeñas */
    .events-section.announcement-bar {
        display: none !important;
    }
    
    .message-area {
        margin-bottom: 15px;
        padding-right: 0;
        justify-content: center;
    }

    .countdown-timer {
        margin: 0 0 15px 0;
        justify-content: center;
    }

    .countdown-unit .number, .separator {
         font-size: 32px;
    }

    .register-button {
        width: 90%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}
