/* css/popup.css – glassmorphic update popup */
.update-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    max-width: 90%;
    width: 450px;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    transition: opacity 0.3s ease;
    display: none; /* hidden by default, JS will show it */
}

.popup-content {
    position: relative;
    text-align: center;
    color: white;
}

.popup-content h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #ffb43a;
}

.popup-content p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.popup-close {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.2s;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.popup-close:hover {
    background: #ff4444;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .update-popup {
        width: 90%;
        padding: 1rem;
    }
    .popup-content h3 {
        font-size: 1.2rem;
    }
    .popup-content p {
        font-size: 0.8rem;
    }
}