/**
 * SLG Age Verification - Estilos del popup
 */

/* Modal container */
.slg-age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slg-age-modal.show {
    opacity: 1;
}

/* Overlay de fondo */
.slg-age-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Contenido del modal */
.slg-age-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    padding: 50px 40px;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.slg-age-modal.show .slg-age-content {
    transform: scale(1);
}

/* Icono */
.slg-age-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
    color: #ff6b6b;
}

.slg-age-icon svg {
    width: 100%;
    height: 100%;
}

/* Título */
.slg-age-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Mensaje */
.slg-age-message {
    font-size: 17px;
    color: #555;
    margin: 0 0 35px 0;
    line-height: 1.6;
}

/* Botones */
.slg-age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.slg-age-btn {
    flex: 1;
    max-width: 150px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slg-age-btn-yes {
    background: #27ae60;
    color: #ffffff;
}

.slg-age-btn-yes:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.slg-age-btn-no {
    background: #e74c3c;
    color: #ffffff;
}

.slg-age-btn-no:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.slg-age-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 576px) {
    .slg-age-content {
        max-width: 95%;
        padding: 35px 25px;
    }

    .slg-age-title {
        font-size: 22px;
    }

    .slg-age-message {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .slg-age-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .slg-age-btn {
        max-width: 100%;
    }
}

/* Prevenir scroll en body cuando modal activo */
body:has(.slg-age-modal) {
    overflow: hidden !important;
}

}
