/* =========================================================
   AGE GATE +18
   ========================================================= */

.age-gate {
    position: fixed;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 9999999;
}

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

.age-gate-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.97);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.age-gate-box {
    position: relative;

    z-index: 2;

    width: min(520px, 100%);

    padding: 42px 34px;

    text-align: center;

    background: #111111;

    border: 1px solid var(--accent);
    border-radius: 6px;
}

.age-gate-logo {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 500;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.age-gate-box h2 {
    margin: 0 0 16px;

    color: var(--text-main);

    font-family: var(--font-display);

    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 400;
}

.age-gate-box p {
    max-width: 430px;

    margin: 0 auto 28px;

    color: var(--text-sub);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.age-gate-actions {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* BOUTON ENTRER */

.age-gate-enter {
    width: 100%;

    padding: 13px 20px;

    color: #0a0a0a !important;

    background: var(--accent) !important;

    border: 1px solid var(--accent) !important;
    border-radius: 3px !important;

    box-shadow: none !important;
    outline: none !important;

    font-family: var(--font-body);

    font-size: 0.78rem;
    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.age-gate-enter:hover,
.age-gate-enter:focus,
.age-gate-enter:active {
    color: #0a0a0a !important;

    background: var(--text-main) !important;

    border-color: var(--text-main) !important;
}


/* BOUTON SORTIR */

.age-gate-leave {
    display: block;

    width: 100%;

    padding: 13px 20px;

    color: var(--text-muted);

    background: transparent;

    border: 1px solid var(--border);
    border-radius: 3px;

    font-size: 0.78rem;

    letter-spacing: 0.08em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.age-gate-leave:hover {
    color: var(--accent);

    border-color: var(--accent);
}


/* =========================================================
   BODY BLOQUÉ
   ========================================================= */

body.age-gate-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .age-gate-box {
        padding: 34px 22px;
    }

}