.cvb-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .65s ease,
        visibility 0s linear .65s;
}

.cvb-age-gate.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.cvb-age-gate.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility 0s linear .35s;
}

.cvb-age-gate__box {
    width: min(100%, 980px);
    padding: clamp(56px, 7vw, 92px) clamp(28px, 7vw, 110px);

    background: #fff;
    color: #1f1f1f;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);

    opacity: 0;
    transform: translateY(14px) scale(.985);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);
}

.cvb-age-gate.is-visible .cvb-age-gate__box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cvb-age-gate.is-hidden .cvb-age-gate__box {
    opacity: 0;
    transform: translateY(8px) scale(.99);
}

.cvb-age-gate__brand {
    margin: 0 0 38px;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1;
    font-family: serif;
    font-style: italic;
    opacity: .82;
}

.cvb-age-gate__title {
    margin: 0 0 12px;
    font-size: clamp(21px, 2.1vw, 36px);
    line-height: 1.22;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cvb-age-gate__text {
    max-width: 720px;
    margin: 0 auto 28px;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: .02em;
    opacity: .78;
}

.cvb-age-gate__question {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cvb-age-gate__actions {
    display: flex;
    justify-content: center;
    gap: 38px;
    margin-bottom: 28px;
}

.cvb-age-gate__choice {
    appearance: none;
    -webkit-appearance: none;

    padding: 0 0 4px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: #1f1f1f;

    font-size: 15px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;
    transition: opacity .25s ease;
}

.cvb-age-gate__choice:hover {
    opacity: .55;
}

.cvb-age-gate__choice:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 6px;
}

.cvb-age-gate__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-bottom: 24px;

    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cvb-age-gate__links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cvb-age-gate__links a:hover {
    opacity: .6;
}

.cvb-age-gate__warning {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: .72;
}

.cvb-age-gate__denied {
    display: none;
}

.cvb-age-gate.is-denied .cvb-age-gate__main {
    display: none;
}

.cvb-age-gate.is-denied .cvb-age-gate__denied {
    display: block;
}

body.cvb-age-gate-active {
    overflow: hidden;
}

@media (max-width: 767px) {
    .cvb-age-gate {
        padding: 16px;
    }

    .cvb-age-gate__box {
        padding: 42px 22px;
    }

    .cvb-age-gate__brand {
        margin-bottom: 28px;
        font-size: 28px;
    }

    .cvb-age-gate__title {
        letter-spacing: .07em;
    }

    .cvb-age-gate__text {
        font-size: 14px;
    }

    .cvb-age-gate__actions {
        gap: 28px;
    }

    .cvb-age-gate__links {
        flex-direction: column;
        gap: 2px;
    }

    .cvb-age-gate__links span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cvb-age-gate,
    .cvb-age-gate__box,
    .cvb-age-gate__choice {
        transition: none;
    }

    .cvb-age-gate__box {
        transform: none;
    }

    .cvb-age-gate.is-visible .cvb-age-gate__box,
    .cvb-age-gate.is-hidden .cvb-age-gate__box {
        transform: none;
    }
}