/**
 * STYLESHEET: elgordos.uk
 * VERSION: 1.7.0 (Vertical Video Optimization)
 */

:root {
    --primary-red: #e62117;
    --accent-gold: #fbc02d;
    --white: #ffffff;
}

.promo-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}

.promo-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- CONTENEDOR VERTICAL --- */
.promo-content {
    background: var(--white);
    width: 85%;
    max-width: 360px; /* Reducimos el ancho para enfatizar la altura */
    border-radius: 20px;
    border: 3px solid var(--accent-gold);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.promo-overlay.active .promo-content {
    transform: translateY(0);
}

/* Levitación elástica */
.promo-content:hover {
    transform: translateY(-10px) scale(1.02) !important;
}

/* --- BOTÓN X (Mantenemos tu diseño exitoso) --- */
.close-promo {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--primary-red);
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 1000;
    border: 2px solid white;
}

/* --- VIDEO VERTICAL (Portrait) --- */
.promo-video-container {
    width: 100%;
    height: 480px; /* Aumentamos significativamente la altura */
    background: #000;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que el video llene el espacio vertical */
}

/* --- TEXTO Y BOTÓN --- */
.promo-body {
    padding: 15px 20px 25px;
    text-align: center;
}

.promo-body h2 {
    color: var(--primary-red);
    font-family: 'Arial Black', sans-serif;
    font-size: 22px;
    margin: 0 0 5px;
}

.promo-body p {
    color: #333;
    font-size: 14px;
    margin-bottom: 15px;
}

.promo-button {
    display: inline-block;
    background: var(--primary-red);
    color: white !important;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
}

/* --- RESPONSIVO PARA MÓVILES --- */
@media (max-width: 480px) {
    .promo-content {
        max-width: 350px;
    }
    .promo-video-container {
        height: 450px; /* Altura ajustada para pantallas pequeñas */
    }
}

@media (max-width: 1024px) {
    .promo-content {
        max-width: 250px;
    }
    .promo-video-container {
        height: 350px; /* Altura ajustada para pantallas pequeñas */
    }
}


/**
 * REPARACIÓN TÉCNICA: Visibilidad de Menú Hamburguesa
 * Proyecto: elgordos.uk
 */

/* 1. Forzar la visualización del icono (pseudo-elemento) */
.mobile_menu_bar:before {
    content: "\61" !important; /* Código del icono hamburguesa en ETModules */
    font-family: "ETmodules" !important;
    color: #702283 !important; /* Rojo corporativo */
    font-size: 32px !important;
    position: absolute;
    right: 0;
    top: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. Asegurar el contenedor del menú móvil */
#et_mobile_nav_menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 40px;
    min-width: 40px;
    z-index: 9999;
}

/* 3. Ajuste para que el botón sea presionable */
.mobile_menu_bar {
    display: block !important;
    width: 35px;
    height: 35px;
    cursor: pointer;
}