/* --- VARIABLES DE COLOR --- */
:root {
    --abc-accent-color: #0073aa;
    --abc-text-main: #ffffff;
    --abc-text-muted: #a0a0a0;
    --abc-btn-bg: rgba(255, 255, 255, 0.05);
    --abc-btn-hover: rgba(255, 255, 255, 0.15);
}

/* --- CUERPO Y FONDO AURORA --- */
#abc-portada-escenario.abc-fondo-aurora-full {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(270deg, #001219, #005f73, #0a9396, #94d2bd, #3BB8DB);
    background-size: 800% 800%;
    animation: auroraInfinito 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: var(--abc-text-main) !important;
    position: relative;
}

@keyframes auroraInfinito {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- CONTENEDOR PRINCIPAL --- */
#abc-portada-escenario {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px 1px 10px;
    box-sizing: border-box;
}

/* --- CONTENEDOR PREMIUM (centrado verticalmente) --- */
.abc-container-minimal {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 0px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
}

/* --- CONTENIDO INTERACTIVO --- */
#abc-interactivo-content {
    flex: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Forzar que todos los títulos y párrafos sean blancos */
.abc-container-minimal h1,
.abc-container-minimal h2,
.abc-container-minimal h3,
.abc-container-minimal p, 
.abc-container-minimal div,
.abc-container-minimal label,
.abc-container-minimal span {
    color: #ffffff !important;
}

/* --- BOTONES --- */
.abc-botones-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.abc-btn-si, .abc-btn-no, .abc-btn-cta {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abc-btn-si, .abc-btn-cta {
    background-color: var(--abc-accent-color);
    color: white !important;
    border: none;
}

.abc-btn-no {
    background-color: var(--abc-btn-bg);
    color: var(--abc-text-main) !important;
}

.abc-btn-si:hover, .abc-btn-cta:hover {
    background-color: #0085ba;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.abc-btn-no:hover {
    background-color: var(--abc-btn-hover);
}

/* --- BOTÓN DE CERRAR (X) --- */
#abc-cerrar-quiz {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 100;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    display: none;
}

#abc-cerrar-quiz:hover {
    color: #ffffff;
}

/* --- LOGOTIPO (BLANCO) --- */
.abc-portada-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.abc-portada-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}

/* --- INPUTS --- */
.abc-input-captura {
    width: 90%;
    max-width: 350px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.abc-input-captura:focus {
    border-color: #007bff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.abc-label-privacidad {
    font-size: 0.85rem;
    color: var(--abc-text-muted);
    display: block;
    margin-bottom: 15px;
}

/* --- CHECKBOX --- */
.abc-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.abc-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.abc-checkbox label {
    font-size: 14px;
    cursor: pointer;
}

.abc-checkbox a {
    color: #3BB8DB !important;
    text-decoration: none;
}

.abc-checkbox a:hover {
    text-decoration: underline;
}

/* --- FOOTER SIEMPRE VISIBLE --- */
.abc-pie-pagina {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    text-align: center;
    margin-top: 10px;
    padding: 15px 0 5px 0;
    width: 100%;
    clear: both;
}

.abc-enlaces {
    margin-bottom: 10px;
}

.abc-enlaces a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.abc-enlaces a:hover {
    color: #ffffff !important;
}

.separador {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    font-size: 13px;
}

.abc-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.abc_menu {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.abc_menu:hover {
    color: #ffffff;
}

/* --- SELECTORES DE FECHA (registro) --- */
.abc-fecha-nacimiento {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.abc-fecha-nacimiento select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.abc-fecha-nacimiento select option {
    background: #1a3a5c;
    color: #ffffff;
}

.abc-fecha-nacimiento select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- ANIMACIONES DE ENTRADA --- */
.abc-quiz-step,
.abc-beneficio-step,
.abc-login-step,
.abc-captacion-final {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MENSAJES DE ÉXITO --- */
.abc-exito-suscrip {
    text-align: center;
    padding: 40px 20px;
}

.abc-exito-suscrip h1 {
    margin-bottom: 20px;
    color: #FFFFFF !important;
}

/* --- DISEÑO RESPONSIVO --- */
@media (max-width: 768px) {
    #abc-portada-escenario {
        padding: 100px 15px 40px 15px;
    }
    
    .abc-container-minimal {
        width: 95%;
        padding: 40px 20px;
        margin: 0 auto;
    }
    
    .abc-container-minimal h1 {
        font-size: 1.8rem;
    }
    
    .abc-container-minimal h2 {
        font-size: 1.4rem;
    }
    
    .abc-btn-si, .abc-btn-no, .abc-btn-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .abc-portada-logo img {
        max-width: 120px;
    }
    
    .abc-pie-pagina {
        margin-top: 30px;
        padding: 10px 0;
    }
    
    .abc-enlaces a {
        font-size: 11px;
    }
    
    .abc-fecha-nacimiento {
        gap: 5px;
    }
    
    .abc-fecha-nacimiento select {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #abc-portada-escenario {
        padding: 90px 10px 30px 10px;
    }
    
    .abc-container-minimal {
        padding: 30px 15px;
    }
    
    .abc-container-minimal h1 {
        font-size: 1.5rem;
    }
    
    .abc-btn-si, .abc-btn-no, .abc-btn-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }
    
    .abc-fecha-nacimiento {
        flex-direction: column;
        align-items: center;
    }
    
    .abc-fecha-nacimiento select {
        width: 80%;
    }
}