@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap');
* {
  box-sizing: border-box;
}
body {
  font-family: 'Comic Neue', cursive;
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(-45deg, #e74c3c, #f39c12, #e74c3c, #f39c12);
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
  position: relative; /* Pour positionner les éléments absolus par rapport au body */
}
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#container {
  background-color: white;
  padding: 40px 30px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  width: 90%;
  max-width: 500px;
  color: #e74c3c;
}
h1 {
  font-size: 2em;
  margin-bottom: 25px;
  color: #e74c3c;
}
#maxNumber {
  padding: 15px;
  font-size: 1.2em;
  width: 100px;
  border: 3px solid #e74c3c;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 20px;
  outline: none;
  font-family: 'Comic Neue', cursive;
  color: #e74c3c;
}
#maxNumber:focus {
  border-color: #f39c12;
}
#roulette {
  font-size: 3em;
  margin: 20px 0;
  padding: 25px;
  border: 5px solid #f39c12;
  border-radius: 20px;
  background-color: #fef9f1;
  color: #e74c3c;
  min-height: 80px;
  transition: all 0.5s ease;
}
.btn {
  padding: 15px 30px;
  font-size: 1.1em;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
  font-family: 'Comic Neue', cursive;
  margin: 10px;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
#buttons {
  display: flex;
  justify-content: space-between;
}

/* Styles pour le journal des mises à jour */
#update-log {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 280px;
  max-height: 200px; /* Limite la hauteur et ajoute un scroll si nécessaire */
  overflow-y: auto;
  background-size: 200% 200%;
  animation: gradient 4s ease infinite; /* Réutilise l'animation de gradient */
  z-index: 10; /* Pour s'assurer qu'il est au-dessus des autres éléments si besoin */
}

#update-log h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 8px;
}

#update-log ul {
  padding-left: 20px;
  margin-bottom: 0;
  font-size: 0.9em;
}

#update-log li {
  margin-bottom: 5px;
}

/* Styles pour le bouton de plein écran */
#fullscreen-button-container {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

#fullscreen-button-container .btn {
  padding: 10px; /* Ajuster le padding pour un bouton icône */
  margin: 0; /* Enlever la marge par défaut des .btn si besoin */
}

#fullscreen-button-container .btn svg {
  display: block; /* Pour un meilleur alignement de l'SVG dans le bouton */
}
