body {
  font-family: Arial, sans-serif;
}

/* CONTENEUR */
.container {
  width: 90%;
  margin: auto;
}

/* CARTE DU JEU */
.game-card {
  display: flex;
  gap: 20px;
  background: #f4f4f4;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  /* TRÈS IMPORTANT */
  overflow: visible;
}

/* IMAGE DU JEU */
.game-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* INFOS */
.game-info {
  padding: 20px;
}

.game-info ul {
  list-style: none;
  padding: 0;
}

.game-info li {
  margin-bottom: 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .game-card {
    flex-direction: column;
    align-items: center;
  }

  .game-img {
    width: 70%;
  }
}


/* LOGO NAVBAR */
.logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}
/* TITRE DE PAGE AVEC IMAGE */
.page-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
}

/* IMAGE À CÔTÉ DU H1 */
.title-img {
  width: 60px;
  height: auto;
}

/* MOBILE */
@media (max-width: 768px) {
  .page-title {
    flex-direction: column;
    text-align: center;
  }

  .title-img {
    width: 80px;
  }
}
.title-img {
  transition: transform 0.3s ease;
}

.page-title:hover .title-img {
  transform: rotate(-5deg) scale(1.05);
}
.filters {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.filters button {
  padding: 10px 18px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  background: #ddd;
  font-weight: bold;
}

.filters button.active {
  background: #ffcc00;
  color: #000;
}
body {
  background-image: url("../images/backgrounds/bleu.png");
  background-size: cover;      /* couvre tout l’écran */
  background-position: center; /* centré */
  background-repeat: no-repeat;
  background-attachment: fixed; /* effet parallax léger */
}footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .logo {
    height: 60px;            /* taille mobile */
  }
}