/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #f8f9fa, #e0eafc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
  animation: fadeIn 1s ease;
  text-align: center;
}

input[type=\"password\"], input[type=\"text\"] {
  padding: 15px;
  border: 2px solid #6c63ff;
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
  font-size: 1rem;
  margin: 10px 0;
  outline: none;
  transition: 0.3s;
}

input[type=\"password\"]:focus, input[type=\"text\"]:focus {
  border-color: #5a54e5;
  box-shadow: 0 0 8px rgba(106, 90, 205, 0.5);
}

button {
  padding: 15px 25px;
  border: none;
  background-color: #6c63ff;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
  max-width: 300px;
  transition: background 0.3s;
}

button:hover {
  background-color: #5a54e5;
}

#login-error, #enigme-error {
  color: #ff4b5c;
  margin-top: 10px;
}

#enigme-section, #login-section, #reward-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 1s ease;
}

#resultat-roue {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #6c63ff;
  animation: fadeIn 1s ease;
}

/* Petite animation d'apparition */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  h2 {
    font-size: 1.5rem;
  }

  input[type=\"password\"], input[type=\"text\"], button {
    font-size: 1rem;
    padding: 12px;
  }

  #enigme-section, #login-section, #reward-section {
    padding: 20px;
  }
}
