/* Stile per il countdown dell'offerta */
.countdown-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 15px 20px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
    border-left: 5px solid #e1018d;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 1, 141, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 62, 62, 0);
    }
}

.countdown-title {
    color: #e1018d;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.countdown-title i {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.countdown-timer {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    gap: 15px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 5px;
}

.countdown-message {
    font-size: 0.9rem;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

.countdown-cta {
    margin-top: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
    40% {transform: translateY(-10px);} 
    60% {transform: translateY(-5px);} 
}

/* Responsività countdown */
@media screen and (max-width: 576px) {
    .countdown-container {
        padding: 15px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .countdown-unit {
        min-width: 50px;
    }
    
    .countdown-title {
        font-size: 1rem;
    }
}
