.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 40, 60, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border-radius: 40px;
    max-width: 550px;
    width: 88%;
    padding: 2rem;
    color: #1e2a3a;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-weight: 300;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #2c5282;
}

.close-modal:hover {
    background: rgba(44, 82, 130, 0.1);
    transform: rotate(90deg);
}

#modalDynamicContent h3 {
    font-size: 1.8rem;
    color: #2c5282;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-right: 30px;
}

#modalDynamicContent p {
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
    margin: 1.5rem 0;
}

.close-inner {
    background: #2c5282 !important;
    color: white !important;
    border-radius: 40px !important;
    width: auto !important;
    padding: 12px 32px !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    margin-top: 0.5rem;
}

.close-inner:hover {
    background: #1e3a5f !important;
    transform: translateY(-2px);
}