.hf-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(50, 1, 48, 0.72);
    box-sizing: border-box;
}

html.hf-age-verified .hf-age-gate,
.hf-age-gate[hidden] {
    display: none;
}

html:not(.hf-age-verified),
html:not(.hf-age-verified) body,
html.hf-age-gate-locked,
html.hf-age-gate-locked body {
    overflow: hidden;
    height: 100%;
}

.hf-age-gate__dialog {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.hf-age-gate__logo {
    display: block;
    max-width: 160px;
    width: 100%;
    height: auto;
    margin: 0 auto 24px;
}

.hf-age-gate__title {
    margin: 0 0 12px;
    color: #320130;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.hf-age-gate__text {
    margin: 0 0 28px;
    color: #3a3a3a;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.hf-age-gate__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hf-age-gate button.hf-age-gate__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 13px 20px;
    border-radius: 30px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hf-age-gate button.hf-age-gate__btn:focus-visible {
    outline: 3px solid #9737F9;
    outline-offset: 2px;
}

.hf-age-gate button.hf-age-gate__btn--yes {
    border: 0;
    background: #320130;
    background-color: #320130;
    color: #fff;
}

.hf-age-gate button.hf-age-gate__btn--yes:hover,
.hf-age-gate button.hf-age-gate__btn--yes:focus-visible {
    background: linear-gradient(90deg, #9737F9 0%, #6422F4 33.26%, #613DF0 52.88%, #6D34F0 69.97%, #8223F0 100%);
    background-color: #9737F9;
    color: #fff;
}

.hf-age-gate button.hf-age-gate__btn--no {
    border: 1px solid rgba(50, 1, 48, 0.2);
    background: #f7f3f7;
    background-color: #f7f3f7;
    color: #320130;
}

.hf-age-gate button.hf-age-gate__btn--no:hover,
.hf-age-gate button.hf-age-gate__btn--no:focus-visible {
    background: #320130;
    background-color: #320130;
    border-color: #320130;
    color: #fff;
}

@media (min-width: 576px) {
    .hf-age-gate__actions {
        flex-direction: row;
    }

    .hf-age-gate__title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .hf-age-gate {
        padding: 16px;
    }

    .hf-age-gate__dialog {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    .hf-age-gate__title {
        font-size: 20px;
    }

    .hf-age-gate button.hf-age-gate__btn {
        font-size: 13px;
        padding: 12px 16px;
    }
}
