.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #111;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    text-align: center;
    border: 2px solid #ffffff;
    position: relative;
    animation: modalPop 0.4s ease-out;
    margin: auto;
}

@keyframes modalPop {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: #00ffaa;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.4);
}

.modal-content p {
    font-size: 1rem;
    color: #e0e0ff;
    line-height: 1.6;
    opacity: 0.9;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    background: #00ffaa22;
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.4);
}