body.game-page {
  background: #090807;
}

.game-site-bg {
  background:
    linear-gradient(90deg, rgba(7,7,8,.95), rgba(9,8,6,.66) 42%, rgba(8,7,7,.94)),
    radial-gradient(circle at 78% 18%, rgba(215,183,120,.25), transparent 30%),
    url('../../assets/img/game-site-mockup.png') center / cover no-repeat;
  filter: saturate(.95) contrast(1.04);
}

.game-topbar { z-index: 20; }
.game-topbar .nav a[href*="jeu"], .game-topbar .nav a[href="#participer"] { color: var(--text); background: rgba(215,183,120,.11); }

.game-hero {
  min-height: calc(100svh - 110px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
  padding: clamp(56px, 8vw, 96px) 0 42px;
}

.game-hero h1 {
  font-size: clamp(3.6rem, 9vw, 8.6rem);
  line-height: .82;
  letter-spacing: -.065em;
  margin-bottom: 24px;
  color: #ffe4aa;
}

.game-lead {
  color: rgba(247,238,220,.86);
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  max-width: 680px;
}


.game-status-box {
  display: inline-flex;
  width: fit-content;
  margin: 4px 0 0;
  border: 1px solid rgba(215,183,120,.32);
  border-radius: 999px;
  background: rgba(215,183,120,.10);
  color: #ffe4aa;
  padding: 11px 15px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.game-status-box.is-open { background: linear-gradient(135deg, rgba(215,183,120,.24), rgba(255,255,255,.06)); }
.game-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.game-form fieldset:disabled { opacity: .62; }
.game-form.is-disabled input, .game-form.is-disabled button { cursor: not-allowed; }
.game-waiting {
  min-height: auto;
  border: 1px dashed rgba(215,183,120,.30);
  border-radius: 18px;
  background: rgba(215,183,120,.06);
  padding: 13px 15px;
}

.game-actions, .game-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.game-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.game-mini-stats span {
  border: 1px solid rgba(215,183,120,.22);
  background: rgba(0,0,0,.26);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 800;
  backdrop-filter: blur(14px);
}
.game-mini-stats strong { color: #ffe4aa; }

.game-hero-visual {
  margin: 0;
  border: 1px solid rgba(215,183,120,.24);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(0,0,0,.28);
  box-shadow: 0 40px 110px rgba(0,0,0,.48);
  position: relative;
}
.game-hero-visual img { display: block; width: 100%; height: auto; }
.game-hero-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-family: var(--script);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  color: #fff3d9;
  text-shadow: 0 10px 30px rgba(0,0,0,.8);
}

.game-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.game-steps article, .game-player-card, .game-form-card, .game-rules-grid article, .game-share, .game-wall {
  border: 1px solid rgba(215,183,120,.20);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20,16,12,.76), rgba(8,8,8,.66));
  box-shadow: 0 26px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.game-steps article {
  padding: 22px;
  min-height: 190px;
}
.game-steps span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215,183,120,.36);
  border-radius: 50%;
  color: #ffe4aa;
  font-weight: 900;
  margin-bottom: 16px;
}
.game-steps h2 { font-size: clamp(1.5rem, 2.2vw, 2.25rem); margin-bottom: 8px; }
.game-steps p, .game-rules-grid p, .game-player-card p, .game-form-card p, .game-share p { color: var(--muted); line-height: 1.58; }

.game-panel {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 20px;
  align-items: start;
  padding: 44px 0 28px;
}
.game-player-card, .game-form-card { padding: clamp(20px, 3vw, 34px); }
.game-player-card h2, .game-form-card h2, .game-wall h2, .game-rules h2, .game-share h2 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
  letter-spacing: -.045em;
  line-height: .9;
  margin-bottom: 14px;
}
.game-audio {
  width: 100%;
  margin-top: 16px;
  filter: sepia(.2) saturate(.85);
}
.game-question {
  font-size: 1.05rem;
  padding: 14px 16px;
  border: 1px dashed rgba(215,183,120,.28);
  border-radius: 18px;
  background: rgba(215,183,120,.06);
}
.game-form .field { display: grid; gap: 8px; margin-bottom: 14px; }
.game-form label:not(.game-check) { color: var(--gold); font-size: .86rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.game-form input[type="text"], .game-form input[type="email"] {
  width: 100%;
  border: 1px solid rgba(215,183,120,.24);
  border-radius: 18px;
  background: rgba(0,0,0,.34);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
}
.game-form input:focus { border-color: rgba(215,183,120,.74); box-shadow: 0 0 0 4px rgba(215,183,120,.10); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.game-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(247,238,220,.78);
  font-size: .92rem;
  line-height: 1.42;
  margin: 12px 0;
}
.game-check input { margin-top: 3px; accent-color: var(--gold); }
.game-message { min-height: 1.35em; margin-top: 12px; color: var(--gold); font-weight: 800; }
.game-message.error { color: #ffadad; }
.game-message.ok { color: #a9f3c1; }

.game-wall { padding: clamp(20px, 4vw, 38px); margin-top: 34px; }
.game-wall-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.game-pseudo {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(215,183,120,.24);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(0,0,0,.25);
  color: rgba(247,238,220,.86);
  font-weight: 850;
}
.game-pseudo.is-winner { color: #111; background: linear-gradient(135deg, #b78942, #ffe3a2); border-color: rgba(255,227,162,.7); }
.game-pseudo.is-featured { box-shadow: 0 0 0 3px rgba(215,183,120,.14), 0 12px 30px rgba(215,183,120,.2); }
.game-empty {
  border: 1px dashed rgba(215,183,120,.24);
  border-radius: 22px;
  padding: 20px;
  color: var(--muted);
  background: rgba(0,0,0,.22);
}

.game-rules { padding: 46px 0 20px; }
.game-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.game-rules-grid article { padding: 20px; }
.game-rules-grid h3 { color: #ffe4aa; margin-bottom: 8px; }

.game-share {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  margin: 38px auto 28px;
}
.game-share img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(215,183,120,.22);
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
}

@media (max-width: 980px) {
  .game-hero, .game-panel, .game-share { grid-template-columns: 1fr; }
  .game-steps, .game-rules-grid { grid-template-columns: 1fr 1fr; }
  .game-hero { padding-top: 42px; }
}

@media (max-width: 620px) {
  .game-hero h1 { font-size: clamp(3.2rem, 18vw, 5.4rem); }
  .game-steps, .game-rules-grid { grid-template-columns: 1fr; }
  .game-steps article { min-height: auto; }
  .game-panel { padding-top: 20px; }
  .game-hero-visual figcaption { position: static; padding: 14px 16px 16px; background: rgba(0,0,0,.42); }
  .game-share { gap: 18px; }
}


.game-locked-card {
  border: 1px solid rgba(215, 183, 120, .28);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(215, 183, 120, .13), rgba(0, 0, 0, .26));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.game-lock-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(215, 183, 120, .42);
  background: rgba(0,0,0,.25);
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.game-locked-card .btn { margin-top: 10px; }
