/**
 * Grifo Age Gate Styles
 */

.grifo-age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.grifo-age-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
}

.grifo-age-gate-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.grifo-age-gate-logo {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.grifo-age-gate-content h2 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #0F0F0F;
    font-weight: 700;
}

.grifo-age-gate-content p {
    font-size: 16px;
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.grifo-age-gate-question {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #0F0F0F !important;
    margin: 30px 0 25px 0 !important;
}

.grifo-age-gate-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.grifo-age-btn {
    flex: 1;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grifo-age-btn-yes {
    background: #27AE60;
    color: white;
}

.grifo-age-btn-yes:hover {
    background: #229954;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

.grifo-age-btn-no {
    background: #E53935;
    color: white;
}

.grifo-age-btn-no:hover {
    background: #C62828;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

.grifo-age-btn:active {
    transform: translateY(0);
}

.grifo-age-gate-disclaimer {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 20px !important;
    line-height: 1.4 !important;
}

/* Animação de saída */
.grifo-age-gate.fade-out {
    animation: fadeOut 0.4s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Bloquear scroll do body quando age gate está ativo */
body.grifo-age-gate-active {
    overflow: hidden !important;
}

/* Responsivo */
@media (max-width: 600px) {
    .grifo-age-gate-modal {
        padding: 40px 30px;
    }
    
    .grifo-age-gate-content h2 {
        font-size: 26px;
    }
    
    .grifo-age-gate-question {
        font-size: 18px !important;
    }
    
    .grifo-age-gate-buttons {
        flex-direction: column;
    }
    
    .grifo-age-btn {
        width: 100%;
    }
}

/* Acessibilidade */
.grifo-age-btn:focus {
    outline: 3px solid #FF6B35;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .grifo-age-gate-modal,
    .grifo-age-gate.fade-out,
    .grifo-age-btn {
        animation: none !important;
        transition: none !important;
    }
}