.age-check-overlay {
    position: fixed;
    z-index: 2147483647;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.75);
}

.age-check-modal {
    width: 100%;
    max-width: 500px;

    padding: 35px 30px;
    box-sizing: border-box;

    background: #fff;
    color: #222;

    border-radius: 8px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);

    text-align: center;

    font-family: Arial, sans-serif;
}

.age-check-title {
    margin-bottom: 20px;

    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.age-check-text {
    margin-bottom: 30px;

    font-size: 17px;
    line-height: 1.5;
}

.age-check-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-check-yes,
.age-check-no {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 12px 20px;
    box-sizing: border-box;

    border: 0;
    border-radius: 5px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;

    transition: opacity 0.2s, transform 0.2s;
}

.age-check-yes {
    background: #222;
    color: #fff;
}

.age-check-no {
    background: #e9e9e9;
    color: #222;
}

.age-check-yes:hover,
.age-check-no:hover {
    opacity: 0.85;
}

.age-check-yes:active,
.age-check-no:active {
    transform: scale(0.98);
}

/* Мобильные устройства */
@media (max-width: 480px) {
    .age-check-modal {
        padding: 28px 20px;
    }

    .age-check-title {
        font-size: 23px;
    }

    .age-check-text {
        font-size: 16px;
    }
}