.nq-age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 10, 10, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nq-age-gate-overlay.is-visible {
    display: flex;
}

body.nq-age-gate-locked {
    overflow: hidden;
}

/* Nasconde davvero il contenuto della pagina (non solo visivamente sotto l'overlay),
   così le immagini non sono renderizzate né trascinabili finché il gate è attivo. */
body.nq-age-gate-locked > *:not(#nq-age-gate-overlay) {
    visibility: hidden !important;
    pointer-events: none !important;
    user-select: none !important;
}

.nq-age-gate-box {
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nq-age-gate-box h2 {
    margin: 0 0 16px;
    font-size: 22px;
}

.nq-age-gate-box p {
    margin: 0 0 24px;
    line-height: 1.5;
    color: #333;
}

.nq-age-gate-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.nq-age-gate-btn {
    padding: 10px 24px;
    border-radius: 4px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.nq-age-gate-btn-primary {
    background: #111;
    color: #fff;
}

.nq-age-gate-btn-secondary {
    background: #eee;
    color: #111;
}
