.age-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 6, 14, 0.82);
    backdrop-filter: blur(10px);
}

.age-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 20% 20%, rgba(220, 72, 85, 0.22), transparent 35%),
            radial-gradient(circle at 80% 20%, rgba(35, 75, 180, 0.22), transparent 35%),
            rgba(0, 0, 0, 0.65);
}

.age-modal__content {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    padding: 34px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
            linear-gradient(145deg, rgba(25, 29, 48, 0.96), rgba(11, 15, 28, 0.98));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    color: #fff;
    text-align: left;
}

.age-modal__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.age-modal__badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b78, #b71f2f);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.age-modal__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.age-modal__body p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.65;
}

.age-modal__body strong {
    color: #fff;
}

.age-modal__note {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.age-modal__actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

.age-modal__btn {
    width: 100%;
    min-height: 54px;
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.age-modal__btn:hover {
    transform: translateY(-2px);
}

.age-modal__btn--yes {
    background: linear-gradient(135deg, #ff6b78, #a91f2e);
    box-shadow: 0 14px 34px rgba(255, 72, 92, 0.3);
}

.age-modal__btn--no {
    background: linear-gradient(135deg, #3155d9, #142769);
    box-shadow: 0 14px 34px rgba(49, 85, 217, 0.28);
}

.age-modal--hidden {
    display: none !important;
}

@media (max-width: 640px) {
    .age-modal {
        padding: 16px;
    }

    .age-modal__content {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .age-modal__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .age-modal__actions {
        flex-direction: column;
    }

    .age-modal__btn {
        min-height: 50px;
        font-size: 13px;
    }
}