/* Style de l'horloge dans le header */
.top-clock {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.top-clock:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

.top-clock .time {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.top-clock .date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 500;
}

/* Animation de l'horloge */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.top-clock .time {
    animation: pulse 2s infinite;
}

/* Masquer l'horloge sur mobile */
@media (max-width: 700px) {
    .top-clock {
        display: none !important;
    }
}

/* Style pour assurer que l'horloge est visible contre le header */
header {
    background: linear-gradient(135deg, var(--primary-color), #1e40af, #3730a3);
    background-size: 300% 300%;
    animation: headerGlow 8s infinite alternate;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes headerGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-clock {
        padding: 8px 12px;
    }
    
    .top-clock .time {
        font-size: 1.1rem;
    }
    
    .top-clock .date {
        font-size: 0.7rem;
    }
}