.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

/* Popup Box */
.popup-content {
    background: white;
    padding: 20px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: bounceIn 0.5s forwards;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 20%;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.popup-close:hover {
    background: darkred;
}

.close-btn1 {
    background: linear-gradient(135deg, #3c8ce7, #00eaff);
    color: #fff;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 45px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.close-btn1:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #00eaff, #3c8ce7);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 500px) {
    .popup-content {
        width: 90%;
    }
}