/* Accueil — section « Le jeu Bakry » (app/components/HomeGame.jsx). */
.home-game {
  padding: 100px 5vw;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: 48px;
  align-items: center;
  color: #F2E4CF;
  background: #D85311;
  scroll-margin-top: 110px;
}
.home-game h2 {
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(52px, 7vw, 110px);
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.home-game-copy > p:not(.home-game-rules) { margin: 36px 0 30px; font-size: 18px; line-height: 1.5; white-space: nowrap; }
.home-game-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 99px;
  color: #D85311;
  background: #F2E4CF;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(90, 36, 18, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-game-play:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(90, 36, 18, .32); }
.home-game-play span { font-size: 20px; }

.home-game-board {
  padding: 26px 28px;
  border-radius: 28px;
  color: #5a2412;
  background: #F2E4CF;
  box-shadow: 0 24px 60px rgba(90, 36, 18, .25);
}
.home-game-board-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(216, 83, 17, .25);
  color: #D85311;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-game-board ol { margin: 0; padding: 0; list-style: none; }
.home-game-board li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(90, 36, 18, .1);
  font-size: 16px;
}
.home-game-board li:last-child { border-bottom: 0; }
.home-game-board li.is-podium { font-size: 18px; font-weight: 800; }
.home-game-rank { font-weight: 900; color: #D85311; }
.home-game-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-game-score { font-weight: 900; font-variant-numeric: tabular-nums; }
.home-game-empty { margin: 18px 0 4px; font-size: 15px; }

@media (max-width: 860px) {
  .home-game { padding: 64px 20px; grid-template-columns: 1fr; gap: 36px; }
  .home-game-copy > p:not(.home-game-rules) { font-size: 16px; white-space: normal; }
  .home-game-board { padding: 20px; border-radius: 22px; }
}

.home-game-rules { margin: 18px 0 0; font-size: 13px; opacity: .9; }
.home-game-rules a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Accueil — section « Suivez-nous » (app/components/InstagramFeed.jsx). */
.home-insta { padding: 90px 5vw; color: #5a2412; background: #F2E4CF; }
.home-insta-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.home-insta h2 {
  margin: 0;
  color: #D85311;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 6.4vw, 100px);
  line-height: .86;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.home-insta-follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 99px;
  color: #F2E4CF;
  background: #D85311;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.home-insta-follow:hover { background: #bf470d; transform: translateY(-2px); }
.home-insta-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--insta-cols, 6), 1fr); gap: 12px; }
/* Format portrait 3:4, comme la grille de profil Instagram. */
.home-insta-grid a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: #e7d3b8; }
.home-insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-insta-grid a:hover img { transform: scale(1.05); }
.home-insta-video { position: absolute; top: 10px; right: 12px; color: #fff; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

@media (max-width: 960px) { .home-insta-grid { gap: 8px; } }
@media (max-width: 560px) {
  .home-insta { padding: 64px 20px; }
  .home-insta-grid { grid-template-columns: repeat(2, 1fr); }
  .home-insta-grid a { border-radius: 14px; }
  /* Nombre impair de photos : la première prend toute la largeur, la grille tombe juste. */
  .home-insta-grid.is-odd li:first-child { grid-column: span 2; }
}
