.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #000000;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: #000000;
}

.modal-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #1f1f1f;
}

.modal-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #b8b8b8;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.payment-btn {
    padding: 15px 20px;
    background: #FF7143;
    border: 2px solid #ffffff;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Jost', sans-serif;
}

.payment-btn:hover {
    background: #e6663c;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.price-info {
    background: #FF7143;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Unbounded', sans-serif;
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
}

.modal.closing .modal-content {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(50px);
        opacity: 0;
    }
}