.modal { display: none; }
.modal.is-open { display: flex; }

.modal__overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal__container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease-out forwards;
    position: relative;
}

.modal__close {
    background: none;
    border: none;
    font-size: 24px; /* или 20px, если хочешь меньше */
    font-weight: 600;
    cursor: pointer;
    color: #000;
    padding: 4px 8px;
    line-height: 1;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10;
}

.modal__footer {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn-more, .btn-signup {
    flex: 1;
    padding: 14px 0;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-more { background: #0A3D91; color: white; }
.btn-more:hover { background: #072f6b; }

.btn-signup { background: #3d82df; color: white; }
.btn-signup:hover { background: #2d6bc7; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}