/* Modal Styles */
.rts-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(23, 37, 84, 0.9) 0%, rgba(59, 7, 100, 0.9) 100%);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.5s ease-out;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-logo img {
    max-width: 250px;
    margin-bottom: 25px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modal-main-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-main-content h5 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #F7B205;
    font-weight: 400;
}

.modal-back {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;    
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-back:hover {
    color: #F7B205;    
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-main {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background: #F7B205;
    color: #333;
    border: 2px solid #F7B205;
}

.btn-primary:hover {
    background: transparent;
    color: #F7B205;
    border: 2px solid #F7B205;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: white;
    color: #000;
    transform: rotate(90deg);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        backdrop-filter: blur(5px);
    }

    .modal-main-content h1 {
        font-size: 1.8rem;
    }

    .btn-container {
        flex-direction: column;
    }
}