/* Age Verification Popup - Hundred Gin */

/* Scroll bloqué : ciblé sur <html> pour fonctionner avant que <body> soit parsé */
html.hg-age-locked,
html.hg-age-locked body {
    overflow: hidden;
}

#hg-age-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

/* Affichage immédiat via classe posée par le script inline synchrone */
html.hg-age-pending #hg-age-overlay {
    display: flex;
}

#hg-age-popup {
    background: #1a1a1a;
    border: 1px solid #c9a84c;
    color: #fff;
    text-align: center;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    border-radius: 4px;
}

#hg-age-popup .hg-age-logo {
    margin-bottom: 30px;
}

#hg-age-popup .hg-age-logo img {
    max-height: 70px;
    width: auto;
}

#hg-age-popup h2 {
    color: #c9a84c;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#hg-age-popup p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

#hg-age-popup .hg-age-question {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0;
}

#hg-age-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

#hg-age-yes,
#hg-age-no {
    padding: 13px 36px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

#hg-age-yes {
    background: #c9a84c;
    color: #1a1a1a;
}

#hg-age-yes:hover {
    opacity: 0.85;
}

#hg-age-no {
    background: transparent;
    color: #999;
    border: 1px solid #555;
}

#hg-age-no:hover {
    color: #fff;
    border-color: #999;
}

#hg-age-popup .hg-age-notice {
    color: #666;
    font-size: 12px;
    margin-top: 24px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    #hg-age-popup {
        padding: 36px 24px;
    }

    #hg-age-buttons {
        flex-direction: column;
        align-items: center;
    }

    #hg-age-yes,
    #hg-age-no {
        width: 100%;
        max-width: 280px;
    }
}
