/* Countdown Popup Styles */
.countdown-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.countdown-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.countdown-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d4ff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3),
                0 0 100px rgba(0, 212, 255, 0.2) inset;
    animation: popupSlideIn 0.5s ease-out;
    text-align: center;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.countdown-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

.countdown-popup-close:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
    transform: rotate(90deg);
}

.countdown-popup-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.countdown-popup-subtitle {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.countdown-item {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00d4ff;
    border-radius: 12px;
    padding: 1rem 0.8rem;
    min-width: 85px;
    max-width: 90px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.countdown-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #00d4ff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    font-family: 'Orbitron', monospace;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    color: #fff;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.countdown-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.countdown-info p {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.countdown-info strong {
    color: #00d4ff;
}

.countdown-timezone {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .countdown-popup {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .countdown-popup-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 0.6rem;
    }
    
    .countdown-item {
        min-width: 70px;
        max-width: 75px;
        padding: 0.8rem 0.5rem;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .countdown-popup {
        padding: 1.5rem 1rem;
    }
    
    .countdown-popup-title {
        font-size: 1.4rem;
    }
    
    .countdown-popup-subtitle {
        font-size: 0.9rem;
    }
    
    .countdown-timer {
        gap: 0.4rem;
        margin: 1.5rem 0;
    }
    
    .countdown-item {
        min-width: 60px;
        max-width: 65px;
        padding: 0.7rem 0.3rem;
        border-radius: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
        margin-top: 0.3rem;
    }
}
