/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style global */
body {
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background: #f4f4f9;
  color: #2c3e50;
  animation: fadeIn 2s ease-in-out;
}

/* Animation d'apparition globale */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  animation: slideInFromTop 1.5s ease;
}

/* Animation pour le titre */
@keyframes slideInFromTop {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.description {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 30px;
  text-align: center;
  max-width: 600px;
  animation: fadeInText 1.5s ease 0.5s forwards;
  opacity: 0;
}

/* Animation pour la description */
@keyframes fadeInText {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.buttons-container {
  display: flex;
  gap: 20px;
  animation: slideUp 1s ease 1s forwards;
  opacity: 0;
}

/* Animation des boutons */
@keyframes slideUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.btn {
  padding: 15px 40px;
  font-size: 1.2rem;
  color: white;
  background-color: #27ae60;
  border: none;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
  position: relative;
  overflow: hidden;
}

/* Effet hover */
.btn:hover {
  transform: translateY(-5px);
  background-color: #2ecc71;
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

/* Animation active */
.btn:active {
  transform: scale(0.98);
  background-color: #229954;
}

footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #95a5a6;
  text-align: center;
  animation: fadeInFooter 1.5s ease 2s forwards;
  opacity: 0;
}

/* Animation pour le footer */
@keyframes fadeInFooter {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
