.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(24, 28, 25, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.age-gate-overlay.is-open { display: flex; }
body.age-gate-open { overflow: hidden !important; }

.age-gate-dialog {
    width: min(100%, 620px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 42px 42px 36px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.age-gate-lock {
    position: relative;
    width: 148px;
    height: 174px;
    margin: 0 auto 24px;
}

.age-gate-shackle {
    position: absolute;
    top: 0;
    left: 31px;
    width: 86px;
    height: 98px;
    border: 18px solid #ed7c7c;
    border-bottom: 0;
    border-radius: 48px 48px 0 0;
}

.age-gate-lock-body {
    position: absolute;
    left: 15px;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 118px;
    height: 104px;
    border: 9px solid #de5f5f;
    border-radius: 14px;
    background: linear-gradient(135deg, #ee7777 0 48%, #db5c5c 48% 100%);
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.age-gate-title {
    margin: 0 0 12px;
    color: #24312a;
    font-size: 26px;
    font-weight: 800;
}

.age-gate-text {
    margin: 0;
    color: #6e716e;
    font-size: 18px;
    line-height: 1.85;
}

.age-gate-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #ece9e5;
}

.age-gate-button {
    min-height: 58px;
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font: inherit;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
}

.age-gate-button:hover { filter: brightness(0.96); }
.age-gate-button:active { transform: scale(0.98); }
.age-gate-button:focus-visible { outline: 3px solid #173f2a; outline-offset: 3px; }
.age-gate-underage { background: linear-gradient(#ffa9a9, #ff8e8e); }
.age-gate-adult { background: linear-gradient(#b9e6a5, #79c56b); }

@media (max-width: 560px) {
    .age-gate-overlay { padding: 14px; }
    .age-gate-dialog { padding: 28px 20px 22px; border-radius: 18px; }
    .age-gate-lock { transform: scale(0.78); margin-top: -16px; margin-bottom: 2px; }
    .age-gate-title { font-size: 22px; }
    .age-gate-text { font-size: 15px; line-height: 1.7; }
    .age-gate-actions { gap: 12px; margin-top: 22px; padding-top: 20px; }
    .age-gate-button { min-height: 52px; padding: 10px 8px; font-size: 16px; }
}
