.age-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.age-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.age-popup__dialog {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    margin: 0 16px;
}

.age-popup__content {
    background: #121f2f;
    border-radius: 12px;
    padding: 24px 20px 20px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.age-popup__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.age-popup__text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.age-popup__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.age-popup__btn {
    min-width: 120px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.age-popup__btn--yes {
    background: #28a745;
    color: #ffffff;
}

.age-popup__btn--yes:hover {
    background: #23923d;
    transform: translateY(-1px);
}

.age-popup__btn--no {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.age-popup__btn--no:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.age-popup__warning {
    font-size: 12px;
    line-height: 1.4;
    color: #f8d7da;
}

.age-popup--hidden {
    display: none;
}

html.age-popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .age-popup__content {
        padding: 20px 16px 18px;
    }

    .age-popup__title {
        font-size: 18px;
    }
}