/* Reset & base */
body {
  margin: 0;
  padding: 0;
  background-color: #0f172a;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

.header-image {
  max-width: 600px;
  margin-bottom: 20px;
}

h1 {
  margin-bottom: 40px;
}

/* Bloc de compte à rebours */
.countdown {
  display: flex;
  gap: 10px;
  font-size: 2rem;
}

/* Bloc unité (jours, heures, etc.) */
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Style de la "flap" */
.flip {
  background-color: #1e293b;
  padding: 20px 15px;
  border-radius: 10px;
  font-size: 2rem;
  min-width: 60px;
  position: relative;
  perspective: 1000px;
}

/* Animation de flip */
.flip span {
  display: inline-block;
  animation: flip 0.7s ease-in-out;
}

@keyframes flip {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

/* Label en dessous des chiffres */
.label {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Barre de progression */
.progress-container {
  width: 80%;
  background-color: #334155;
  height: 20px;
  border-radius: 10px;
  margin-top: 40px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #10b981;
  width: 0%;
  transition: width 1s linear;
}
