.age-gate[hidden] {
    display: none;
}

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

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 24px;
}

.age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 32, 28, 0.88);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.age-gate__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 42px 44px 38px;
    border: 1px solid rgba(16, 32, 28, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.age-gate__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 52px;
    margin-bottom: 24px;
    padding: 6px 14px;
    border: 2px solid #10201c;
    border-radius: 10px;
    color: #10201c;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.age-gate__eyebrow {
    margin: 0 0 12px;
    color: #df6a2e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.age-gate__title {
    margin: 0;
    color: #10201c;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.age-gate__text {
    max-width: 455px;
    margin: 18px auto 0;
    color: #626b67;
    font-size: 16px;
    line-height: 1.65;
}

.age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.age-gate__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.age-gate__button:hover {
    transform: translateY(-1px);
}

.age-gate__button:focus-visible {
    outline: 3px solid rgba(223, 106, 46, 0.28);
    outline-offset: 3px;
}

.age-gate__button--primary {
    background: #1f5a45;
    color: #ffffff;
}

.age-gate__button--primary:hover {
    background: #174936;
}

.age-gate__button--secondary {
    border-color: #d8ddd9;
    background: #ffffff;
    color: #39433f;
}

.age-gate__button--secondary:hover {
    border-color: #bcc5bf;
    background: #f5f7f5;
}

.age-gate__note {
    margin: 18px 0 0;
    color: #8b928f;
    font-size: 12px;
    line-height: 1.5;
}

.age-gate__denied .age-gate__button {
    width: 100%;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .age-gate {
        padding: 24px;
    }

    .age-gate__dialog {
        max-height: calc(100dvh - 48px);
        padding: 32px 22px 28px;
        border-radius: 16px;
    }

    .age-gate__mark {
        margin-bottom: 20px;
    }

    .age-gate__actions {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 380px) {
    .age-gate {
        padding-left: 20px;
        padding-right: 20px;
    }

    .age-gate__dialog {
        max-height: calc(100dvh - 40px);
        padding-left: 18px;
        padding-right: 18px;
    }
}
