/* Popup Overlay */
#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    animation: fadeIn 0.3s ease-in-out;
}

/* Popup Container */
#countdown-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:  linear-gradient(135deg, #9dc33b36 0%, #6d911082 100%);
        -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    animation: slideUp 0.5s ease-out;
    color: white;
    text-align: center;
}

/* Close Button */
#close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Popup Header */
.popup-header {
    margin-bottom: 30px;
}
.popup-header img {
    width: 100%;
    max-width: 70%;
    margin-bottom: 20px;
}

.popup-header h2 {
    font-size: 25px;
        font-family: sans-serif !important;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.popup-header p {
    font-size: 15px;
    margin: 0;
    opacity: 1;
    font-family: sans-serif !important;
}

/* Countdown Container */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Countdown Box */
.countdown-box {
    background: rgb(255 230 230 / 0%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 15px;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(255 255 255 / 27%);
    transition: transform 0.3s ease;
        color: #f0f0f0;
}

.countdown-box:hover {
    transform: translateY(-5px);
}

.countdown-box span {
    display: block;
}

.countdown-box .time {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-box .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 500;
}

/* Popup Footer */
.popup-footer {
    margin-top: 30px;
}

.popup-footer .btn-learn-more {
    background: #9dc33b;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.popup-footer .btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

@keyframes slideUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #countdown-popup {
        padding: 30px 20px;
        width: 94%;
    }
    
    .popup-header h2 {
        font-size: 24px;
    }
    
    #countdown {
        gap: 20px;
    }
    
    .countdown-box {
        min-width: 70px;
        padding: 15px 10px;
        width: 34%;
    }
    
    .countdown-box .time {
        font-size: 32px;
    }
    
    .countdown-box .label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {

        #countdown {
        gap: 10px;
    }
 
    .countdown-box {
        min-width: 60px;
        padding: 12px 8px;
          width: 34%;
    }
    
    .countdown-box .time {
        font-size: 28px;
    }
    
    .popup-header h2 {
        font-size: 20px;
    }
    
    .popup-header p {
        font-size: 14px;
    }
}
