@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Outfit', sans-serif;
    /* Un fond clair très élégant pour faire ressortir le logo */
    background: radial-gradient(circle at center, #ffffff 0%, #eef2f5 100%);
    color: #1a1a2e;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
/* Éléments de fond dynamiques utilisant les couleurs du logo (Rouge et Bleu) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}
body::before {
    background: rgba(255, 40, 40, 0.08); /* Rouge du logo */
    top: -200px;
    left: -200px;
}
body::after {
    background: rgba(60, 130, 220, 0.08); /* Bleu du logo */
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}
.container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    z-index: 1;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}
.logo-container {
    margin-bottom: 2.5rem;
}
.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.05));
}
.title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a2e, #3a3a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.subtitle {
    font-size: 1.2rem;
    color: #5a5a6e;
    margin-bottom: 3.5rem;
    font-weight: 300;
    line-height: 1.6;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.time-card {
    position: relative;
    /* Les cartes restent sombres pour l'effet "Flip" classique et lisible */
    background: linear-gradient(180deg, #2a2a35 0%, #1a1a2e 100%);
    width: 90px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
/* Flip card middle line */
.time-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* Darker top half for realism */
.time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}
.time-card span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}
/* Animation class for flip effect */
.flip {
    animation: flipCard 0.6s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}
@keyframes flipCard {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(-90deg); filter: brightness(0.5); }
    100% { transform: rotateX(0deg); filter: brightness(1); }
}
.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6a6a80;
    font-weight: 600;
}
@media (max-width: 600px) {
    .title {
        font-size: 2.2rem;
    }
    
    .time-card {
        width: 70px;
        height: 90px;
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
}
