/* ─────────────────────────────────────────────
   CFGame Page Template — CSS
   Light theme, mobile-first, pure CSS
───────────────────────────────────────────── */

:root {
  --bg-body:        #ffffff;
  --bg-card:        #ffffff;
  --text-primary:   #1a1a2e;
  --text-secondary: #6b7280;
  --gold:           #d4a017;
  --gold-light:     #fef3c7;
  --silver:         #9ca3af;
  --bronze:         #b45309;
  --accent:         #22c55e;
  --accent-hover:   #10b34c;
  --border:         #e5e7eb;
  --shadow:         0 4px 20px rgba(0,0,0,0.06);
  --radius-card:    16px;
  --radius-btn:     10px;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; width: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 1.05rem;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Sticky Header ── */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ── Logo ── */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-logo:hover { text-decoration: none; color: var(--text-primary); }
.site-logo i { font-size: 1.6rem; color: var(--accent); }
.logo-accent { color: var(--accent); }

/* ── Nav Desktop ── */
.nav-desktop {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--accent); }

/* ── Hamburger — caché par défaut, visible < 768px ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Nav Mobile — cachée par défaut ── */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
}
.nav-mobile a {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }

/* ── Main container ── */
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* ── Page Header ── */
.page-header {
  padding: 1.25rem 0 0;
  text-align: center;
}

.page-h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.update-date {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-style: italic;
}

/* ── Intro Text ── */
.intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.intro-text p { margin-bottom: 0.5rem; }
.intro-text strong { color: var(--text-primary); font-weight: 600; }

/* ── Sommaire ── */
.psr-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  margin: 0 0 1.5rem;
  cursor: pointer;
}
.psr-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  list-style: none;
  user-select: none;
}
.psr-toc summary::-webkit-details-marker { display: none; }
.psr-toc[open] .toc-arrow { transform: rotate(180deg); }
.toc-arrow { transition: transform 0.2s; display: inline-block; color: var(--accent); }
.psr-toc ul {
  padding: 0 1.25rem 1rem;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.psr-toc li { margin: 0.4rem 0; }
.psr-toc a {
  color: var(--accent);
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.psr-toc a::before { content: '→'; color: var(--text-secondary); font-size: 0.8rem; }
.psr-toc a:hover { text-decoration: underline; }

/* ── Ranking Section ── */
.ranking-section {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Rank Card ── */
.rank-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--silver);
  display: grid;
  grid-template-columns: 52px 72px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.rank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.rank-card--gold   {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, #fffbeb 0%, var(--bg-card) 40%);
}
.rank-card--silver { border-left-color: var(--silver); }
.rank-card--bronze { border-left-color: var(--bronze); }

/* Rank number badge */
.rank-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--bg-body);
  color: var(--text-secondary);
  border: 2px solid var(--border);
}
.rank-card--gold   .rank-number { background: var(--gold-light); color: #92400e; border-color: var(--gold); }
.rank-card--silver .rank-number { background: #f3f4f6; color: #374151; border-color: var(--silver); }
.rank-card--bronze .rank-number { background: #fef3c7; color: var(--bronze); border-color: var(--bronze); }

/* Item logo placeholder */
.rank-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-initials {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card body */
.rank-body { flex: 1; min-width: 0; }

.rank-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.rank-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-right: 0.4rem;
}

.rank-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.rank-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stars */
.rank-stars {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}
.star-empty { color: var(--silver); }

/* Meta */
.rank-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

/* Highlight */
.rank-highlight {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.rank-highlight strong { color: #22c55e; font-weight: 700; }

/* CTA button */
.rank-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
.rank-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
}

/* ── Item Cards — sections détaillées ── */
.item-card { background:#fff; border-radius:12px; box-shadow:0 2px 16px rgba(0,0,0,.08); margin-bottom:32px; overflow:hidden; border:1px solid #e5e7eb }
.item-header { display:flex; align-items:center; gap:12px; padding:16px 20px; background:#f9fafb; border-bottom:2px solid var(--accent) }
.item-rank { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:800; flex-shrink:0 }
.item-rank.gold { background:linear-gradient(135deg,#ffd700,#ff8c00); color:#fff }
.item-rank.silver { background:linear-gradient(135deg,#c0c0c0,#888); color:#fff }
.item-rank.bronze { background:linear-gradient(135deg,#cd7f32,#8b4513); color:#fff }
.item-rank.default { background:#f3f4f6; color:#666 }
.item-header h3 { flex:1; font-size:1.05rem; font-weight:700; color:#1a1a2e; margin:0 }
.item-placeholder { height:100px; display:flex; align-items:center; justify-content:center; font-size:2.5rem; font-weight:800; color:#fff }
.item-card > p { padding:16px 20px 0; margin:0; color:#444; line-height:1.7; font-size:.95rem }
.item-card > p + p { padding-top:8px }
.item-highlight { background:#eef2ff; border-left:3px solid var(--accent); padding:10px 14px; border-radius:0 8px 8px 0; margin:12px 20px; font-size:.92rem; line-height:1.5 }
.item-specs { width:100%; margin:16px 0 0; border-collapse:collapse; font-size:.9rem }
.item-specs td { padding:8px 16px; border-bottom:1px solid #f3f4f6 }
.item-specs td:first-child { color:#666; width:45%; font-weight:500 }
.item-specs td:last-child { font-weight:600; color:#1a1a2e }
.btn-cta { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--accent); color:#fff !important; padding:14px 28px; border-radius:var(--radius-btn); font-weight:700; font-size:1.05rem; text-decoration:none !important; white-space:nowrap; transition:background .2s,transform .1s; margin:1rem auto; max-width:400px }
.btn-cta:hover { background:var(--accent-hover); transform:scale(1.02) }
.btn-cta--block { display:flex; justify-content:center; margin:16px 20px 20px; font-size:1rem; padding:14px 24px }
.ranking-section .container { max-width:100%; margin:0 auto }
.ranking-section h2 { font-size:1.6rem; font-weight:800; color:var(--text-primary); margin-bottom:.5rem }
.item-list { display:flex; flex-direction:column; gap:0 }

/* ── Content Sections ── */
.content-section {
  margin: 2rem 0;
}
.content-section, .content-section--alt { overflow: hidden; max-width: 100%; }
.content-section--alt {
  background: var(--bg-card);
}
.content-section .container,
.content-section--alt .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.content-section h2,
.content-section--alt h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.content-section p,
.content-section--alt p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}
.content-section strong,
.content-section--alt strong {
  color: var(--text-primary);
  font-weight: 600;
}
.content-section ul,
.content-section ol,
.content-section--alt ul,
.content-section--alt ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}
.content-section li,
.content-section--alt li { margin-bottom: 0.3rem; line-height: 1.6; }
.section-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 2rem;
  overflow: hidden;
  max-width: 100%;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-icon {
  font-size: 1.8rem;
  color: var(--accent);
}
.section-header h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.section-body {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 1.05rem;
}
.section-body p { margin-bottom: 0.8rem; }
.section-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 1.25rem 0 0.5rem; }
.section-body strong { color: var(--text-primary); font-weight: 600; }
.section-body ul, .section-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}
.section-body li { margin-bottom: 0.3rem; line-height: 1.6; }
.section-body table { width:100%; max-width:100%; border-collapse:collapse; margin:1rem 0; font-size:.95rem; background:var(--bg-card); border-radius:8px; overflow:hidden; box-shadow:var(--shadow); table-layout:fixed; word-wrap:break-word }
.section-body th { background:var(--text-primary); color:#fff; padding:.6rem 1rem; text-align:left; font-weight:600; font-size:.82rem }
.section-body td { padding:.7rem 1rem; border-bottom:1px solid var(--border) }
.section-body tr:last-child td { border-bottom:none }

/* ── FAQ Section ── */
.faq-section {
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.faq-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-item details {
  padding: 0;
}
.faq-item summary {
  padding: 1rem 0;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}
.faq-item details[open] summary::after {
  transform: rotate(45deg);
}
.faq-item details p {
  padding: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Author Section ── */
.author-section {
  margin: 2rem 0;
}
.author-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.author-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.author-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
  display: block;
}
.author-title {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}
.author-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px;
}
.author-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.author-social {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: .2s;
}
.author-social:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.author-social i { font-size: 1rem; }

/* ── Footer ── */
.minimal-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.minimal-footer p { margin-bottom: 0.3rem; }

/* ── Responsive 768px ── */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile.is-open { display: flex; }

  .hero-intro h1 { font-size: 1.6rem; }

  .rank-card {
    grid-template-columns: 44px 56px 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
  .rank-cta {
    grid-column: 1 / -1;
    text-align: center;
    padding: 10px 20px;
  }
  .rank-logo { width: 56px; height: 56px; }

  .faq-section { padding: 1.25rem; }
  .section-card { padding: 1.25rem; }
  .author-card { flex-direction: column; text-align: center; }

  .item-header { flex-direction:column; align-items:flex-start; gap:8px }
  .btn-cta--block { margin:12px 12px 16px; padding:12px 20px; font-size:.95rem }
}

/* ── Responsive 480px ── */
@media (max-width: 480px) {
  .hero-intro h1 { font-size: 1.35rem; }
  .header-inner { padding: 0 1rem; }
  .rank-number { width: 36px; height: 36px; font-size: 0.9rem; }
  .rank-name { font-size: 1rem; }
  .sticky-cta span { display:none }
}

/* Sticky CTA bottom bar */
.sticky-cta { position:fixed; bottom:0; left:0; right:0; z-index:200; background:#1a1a2e; padding:10px 20px; display:none; align-items:center; justify-content:space-between; gap:12px; box-shadow:0 -2px 12px rgba(0,0,0,.2) }
.sticky-cta span { color:#fff; font-size:.9rem; font-weight:600 }

/* ── Inline CTA Banner ── */
.inline-cta { display:flex; align-items:center; gap:16px; background:linear-gradient(135deg, var(--accent), var(--accent-hover)); border-radius:12px; padding:20px 24px; margin:24px 0; color:#fff }
.inline-cta-body { flex:1; min-width:0 }
.inline-cta-name { font-size:1rem; font-weight:700 }
.inline-cta-bonus { font-size:.85rem; opacity:.9; margin-top:2px }
.inline-cta .btn-cta { background:#fff; color:var(--accent) !important; flex-shrink:0 }
.inline-cta .btn-cta:hover { background:#eef2ff }
@media(max-width:600px){ .inline-cta { flex-direction:column; text-align:center } }

/* ══════════════════════════════════════════
   GAME SECTION — dans le container (1100px)
══════════════════════════════════════════ */

.game-section {
  margin: 0.75rem 0 1rem;
}

.game-section-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start; /* specs panel : hauteur naturelle, pas de stretch */
}

/* ── Colonne gauche ── */
.game-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Titre jeu — masqué (le H1 page-header suffit) */
.game-title-heading { display: none; }

/* Player */
.game-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #111 center/cover no-repeat;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  cursor: pointer;
}

/* Iframe injecté par JS */
.game-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}

/* Desktop : overlay centré avec tagline + boutons */
.game-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: opacity 0.2s;
}
.game-player.is-playing .game-poster {
  pointer-events: none;
  opacity: 0;
}
.game-player.is-playing #game-lcp-img {
  display: none;
}
.game-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  max-width: 580px;
}

.game-tagline {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  margin: 0;
}

/* Boutons desktop (dans l'overlay) */
.game-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}

/* Boutons mobile (sous l'image) — cachés par défaut */
.game-actions-mobile {
  display: none;
}

/* ── Boutons play / demo ── */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  background: #16a34a;
  color: #fff !important;
  border: none;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-play:hover { background: #15803d; transform: scale(1.02); text-decoration: none !important; }

.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  background: #f97316;
  color: #fff !important;
  border: none;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-demo:hover { background: #ea580c; transform: scale(1.02); }

/* ── Barre stats (entre boutons et CTA) ── */
.game-stats-bar {
  display: flex;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.game-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 8px;
  border-right: 1px solid var(--border);
}
.game-stat:last-child { border-right: none; }
.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ── Colonne droite : specs panel (sticky desktop) ── */
.game-specs-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: sticky;
  top: 72px; /* juste sous le header sticky */
}

/* Tabs plateformes */
.game-platforms {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.game-platform-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  text-decoration: none;
}
.game-platform-tab:last-child { border-right: none; }
.game-platform-tab i { font-size: 1.15rem; }

/* Heading specs */
.game-specs-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.game-specs-heading i { color: var(--accent); }

/* Tableau specs */
.game-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.game-specs-table tr { border-bottom: 1px solid var(--border); }
.game-specs-table tr:last-child { border-bottom: none; }
.game-specs-table td {
  padding: 7px 2px;
  vertical-align: middle;
}
.game-specs-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  padding-right: 8px;
}
.game-specs-table td:first-child i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
  color: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}
.game-specs-table td:last-child {
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

/* CTA pleine largeur */
.btn-play--full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  background: #16a34a;
  color: #fff !important;
  margin-top: 0.75rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-play--full:hover { background: #15803d; text-decoration: none !important; }

/* ── Responsive game section ── */
@media (max-width: 768px) {
  .game-section-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .game-title-heading { display: none; }
  .game-specs-col { position: static; }

  /* Mobile : cacher overlay buttons, afficher les boutons sous l'image */
  .game-overlay-content { display: none; }
  .game-poster { background: rgba(0,0,0,0.15); cursor: pointer; }

  .game-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0;
  }
  .game-actions-mobile .btn-play,
  .game-actions-mobile .btn-demo {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    justify-content: center;
  }
  .btn-play--full { padding: 15px; font-size: 1rem; }

  /* Stats bar : éviter overflow sur petit écran */
  .game-stats-bar { overflow: hidden; }
  .game-stat { padding: 10px 4px; min-width: 0; }
  .stat-label { font-size: 0.6rem; }
  .stat-value { font-size: 0.82rem; word-break: break-word; text-align: center; }
}
