.age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-gate-overlay[hidden] {
    display: none !important;
}

.age-gate-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 12, 0.92);
    backdrop-filter: blur(8px);
}

.age-gate-overlay__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    background: #1a1a1f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.age-gate-overlay__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(124, 77, 255, 0.15);
    border: 2px solid #7c4dff;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.age-gate-overlay__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.age-gate-overlay__text {
    margin: 0 0 24px;
    color: #c8c8d4;
    font-size: 15px;
    line-height: 1.65;
}

.age-gate-overlay__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-gate-overlay__btn {
    appearance: none;
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.age-gate-overlay__btn:hover {
    transform: translateY(-1px);
}

.age-gate-overlay__btn--accept {
    background: linear-gradient(135deg, #7c4dff, #5b31d6);
    color: #fff;
}

.age-gate-overlay__btn--exit {
    background: rgba(255, 255, 255, 0.06);
    color: #e0e0e6;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.age-gate-overlay__legal {
    margin: 20px 0 0;
    color: #9494a3;
    font-size: 13px;
    line-height: 1.5;
}

.age-gate-overlay__legal a {
    color: #b69cff;
    text-decoration: underline;
}

html.age-gate-open,
body.age-gate-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .age-gate-overlay__panel {
        padding: 32px 22px;
    }

    .age-gate-overlay__title {
        font-size: 24px;
    }
}
