/* ============================================
   FLOXFLIX - Countdown Timer Styles
   ============================================ */

.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color, #3b82f6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.countdown-display {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 50px;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.countdown-unit:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.countdown-unit strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: 'Courier New', monospace;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .countdown-timer {
        padding: 0.75rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-display {
        gap: 0.5rem;
    }
    
    .countdown-unit {
        min-width: 40px;
        padding: 0.4rem;
    }
    
    .countdown-unit strong {
        font-size: 1.2rem;
    }
}

/* Animation for countdown reaching zero */
@keyframes pulse-release {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.countdown-timer[data-seconds="0"] {
    animation: pulse-release 1s ease-in-out infinite;
}
