/* Corps de page */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #f5f5dc, #e6d3b3); /* Beige clair -> moyen */
  color: #3e2f24; /* Marron très foncé */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Conteneur principal centré */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* Titre */
h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #8f5723; /* Marron foncé */
}

/* Conteneur des cartes */
.jeux-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
  align-items: center;
}

/* Cartes cliquables modernes */
.jeu-card {
  display: block;
  width: 100%;
  padding: 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #8f5723, #a05d2e); /* Gradient léger */
  border-radius: 1rem; /* Arrondi prononcé */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Ombre douce */
  transition: all 0.3s ease;
  text-align: center;
}

/* Hover et focus */
.jeu-card:hover,
.jeu-card:focus {
  background: linear-gradient(145deg, #3e2f24, #5b3f2d);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive : horizontal sur grands écrans */
@media (min-width: 600px) {
  .jeux-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .jeu-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: 280px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #d4b790; /* Beige foncé */
  color: #3e2f24;
  font-size: 0.9rem;
}
