/* Styles pour la page de compte à rebours */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 9999;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.countdown-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 40px 0;
}

.countdown-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.3));
}

.countdown-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FF0000;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.countdown-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-unit {
    text-align: center;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #FF0000;
    border-radius: 15px;
    padding: 20px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.countdown-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FF0000;
    display: block;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.countdown-label {
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.countdown-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.8;
    line-height: 1.6;
}

.countdown-other-timezones {
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timezone-item {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.05) 100%);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #ffffff;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timezone-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.timezone-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

.timezone-item:hover::before {
    left: 100%;
}

.timezone-name {
    display: block;
    font-weight: bold;
    color: #FF0000;
    margin-bottom: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.timezone-time {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.day-indicator {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    text-shadow: none;
}

.day-indicator.next-day {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 0, 0.4);
}

.day-indicator.prev-day {
    background: rgba(255, 165, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 165, 0, 0.4);
}

.countdown-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.countdown-social a {
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.countdown-social a:hover {
    color: #FF0000;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* Animation de pulsation pour le titre */
@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
    }
}

.countdown-title {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-container {
        padding: 20px 0;
    }
    
    .countdown-title {
        font-size: 2rem;
    }
    
    .countdown-subtitle {
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-unit {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-logo {
        width: 100px;
    }
    
    .countdown-other-timezones {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .timezone-item {
        padding: 10px 12px;
    }
    
    .timezone-name {
        font-size: 0.75rem;
    }
    
    .timezone-time {
        font-size: 1rem;
    }
    
    .day-indicator {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
    
    .countdown-social {
        gap: 15px;
    }
    
    .countdown-social a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-unit {
        min-width: 70px;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-other-timezones {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 8px;
    }
    
    .timezone-item {
        padding: 8px 10px;
    }
    
    .timezone-name {
        font-size: 0.7rem;
    }
    
    .timezone-time {
        font-size: 0.9rem;
    }
    
    .day-indicator {
        font-size: 0.6rem;
        padding: 1px 3px;
        margin-left: 3px;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown-container > * {
    animation: fadeInUp 0.8s ease forwards;
}

.countdown-container > *:nth-child(1) { animation-delay: 0.1s; }
.countdown-container > *:nth-child(2) { animation-delay: 0.2s; }
.countdown-container > *:nth-child(3) { animation-delay: 0.3s; }
.countdown-container > *:nth-child(4) { animation-delay: 0.4s; }
.countdown-container > *:nth-child(5) { animation-delay: 0.5s; }