/* Brescart — age-gate.css
 * Modal 18+ bloquant première visite, esthétique premium-dark.
 */

.br-age-gate {
    position: fixed;
    inset: 0;
    background: rgba(17, 13, 22, 0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: br-age-fade var(--dur-slow) var(--ease-out);
}
.br-age-gate[hidden] { display: none; }
@keyframes br-age-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.br-age-gate__box {
    background: var(--c-cream);
    border: 0;
    border-radius: var(--r-xl);
    max-width: 520px;
    width: 100%;
    padding: 44px 42px;
    text-align: center;
    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(201, 111, 74, 0.2);
    position: relative;
    overflow: hidden;
    animation: br-age-rise var(--dur-slow) var(--ease-out);
}
.br-age-gate__box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-copper), var(--c-gold), var(--c-copper));
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}
@keyframes br-age-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.br-age-gate__title {
    font-family: var(--f-display);
    font-size: 36px;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.028em;
    color: var(--c-ink);
    margin: 0 0 18px;
}

.br-age-gate__body {
    font-size: var(--f-body);
    line-height: 1.65;
    color: var(--c-mist-2);
    margin: 0 0 32px;
}

.br-age-gate__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.br-age-gate__yes {
    background: var(--c-copper);
    color: var(--c-cream);
    border: 0;
    padding: 14px 36px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-family: var(--f-body);
    font-size: var(--f-body);
    cursor: pointer;
    transition: background var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out),
                box-shadow var(--dur) var(--ease-out);
    box-shadow:
        0 4px 12px rgba(201, 111, 74, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.br-age-gate__yes:hover {
    background: var(--c-copper-deep);
    transform: scale(1.05);
    box-shadow:
        0 8px 24px rgba(201, 111, 74, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.br-age-gate__no {
    background: transparent;
    border: 0;
    color: var(--c-mist-2);
    font-size: var(--f-body-s);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    font-family: var(--f-body);
    transition: color var(--dur-fast) var(--ease-out);
}
.br-age-gate__no:hover { color: var(--c-copper-deep); }

.br-age-gate__foot {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-mist-2);
    margin-top: 28px;
    font-weight: 500;
}
