/* Lex Games
   Cadre du studio : papier crème, encre, et le vert du dino (logo).
   Chaque jeu garde ses propres couleurs dans sa bande et sur sa page. */

/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts/) */
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url("../fonts/LilitaOne-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url("../fonts/LilitaOne-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 400 800; font-display: swap; src: url("../fonts/Nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 400 800; font-display: swap; src: url("../fonts/Nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f5efe4;
  --ink: #19171c;
  --ink-soft: #5a5560;
  --brand: #48e060;       /* vert du logo */
  --brand-dark: #1c8f35;  /* le même, assez foncé pour du texte sur crème */
  --wrap: 1160px;
  --display: "Lilita One", "Arial Black", sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

/* Couleurs de chaque jeu : fond, texte, accent (boutons), texte du bouton */
.g-coffeeshop-simulator { --g-bg: #2a1a10; --g-fg: #f8ead6; --g-soft: #d2b48f; --g-accent: #f0a843; --g-accent-fg: #2a1606; --g-line: #46301f; }
.g-tronado              { --g-bg: #ff8a3d; --g-fg: #2a0f2e; --g-soft: #5b2a3f; --g-accent: #6a2ee8; --g-accent-fg: #fff;    --g-line: #ffa868; }
.g-radionaut            { --g-bg: #d9d0f2; --g-fg: #13302f; --g-soft: #3c5b59; --g-accent: #1d6f69; --g-accent-fg: #fff;    --g-line: #c3b7e6; }
.g-deep-madness         { --g-bg: #0b0909; --g-fg: #dcd3c6; --g-soft: #918679; --g-accent: #a51d1c; --g-accent-fg: #fff2ec; --g-line: #262020; }
.g-jackmall              { --g-bg: #140d16; --g-fg: #f4e7d6; --g-soft: #b9a3a8; --g-accent: #f07a1a; --g-accent-fg: #1c0a02; --g-line: #2e2030; }
.g-deep-madness h1, .g-deep-madness h2, .g-deep-madness h3,
.band.g-deep-madness .tagline, .g-deep-madness .game-head .tagline { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

* { box-sizing: border-box; }
/* Le pied de page reste en bas de l'écran même quand la page est courte */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body);
       min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

html[data-lang="fr"] .en, html[data-lang="en"] .fr { display: none !important; }

/* ---------- En-tête (reste aux couleurs du studio, même sur les pages de jeu) ---------- */
.site-header { background: var(--paper); color: var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; }
.logo-mark {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font: 400 1.6rem/1 var(--display); text-decoration: none; letter-spacing: .01em;
}
.logo-mark img { width: 42px; height: auto; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-weight: 800; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--brand-dark); }
.lang button { background: none; border: 0; padding: 0 2px; font: inherit; color: var(--ink-soft); cursor: pointer; }
html[data-lang="fr"] .lang [data-set-lang="fr"],
html[data-lang="en"] .lang [data-set-lang="en"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; padding: 13px 22px 12px; border-radius: 10px; font-weight: 800; text-decoration: none;
  background: var(--g-accent, var(--brand)); color: var(--g-accent-fg, var(--ink));
}
.btn:hover { filter: brightness(1.1); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.arrow-link { font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }

/* ---------- Accueil : hero ---------- */
.hero { padding: 48px 0 64px; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); max-width: 12em; margin-bottom: .3em; }
.hero h1 .squiggle { position: relative; white-space: nowrap; }
.hero h1 .squiggle svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; color: var(--brand); }
.hero .lead { font-size: 1.25rem; max-width: 34em; color: var(--ink-soft); margin-bottom: 40px; }

.game-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game-wall a { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; background: var(--g-bg); }
.game-wall .bg { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-wall a:hover .bg { transform: scale(1.04); }
.game-wall .wall-logo {
  position: absolute; left: 14px; right: 14px; bottom: 14px; max-height: 70px; width: auto; max-width: calc(100% - 28px);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .55));
}
.game-wall .wall-title { position: absolute; left: 16px; bottom: 14px; color: #e8dfd2; font: 400 1.7rem/1 Georgia, serif; text-shadow: 0 2px 12px #000; }
.sticker {
  position: absolute; top: 12px; left: 12px; background: var(--paper); color: var(--ink);
  font-weight: 800; font-size: .85rem; padding: 5px 10px; border-radius: 6px; transform: rotate(-4deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.sticker.live { background: #fff; }
.sticker.live::before { content: "▶ "; color: var(--brand-dark); }
@media (max-width: 1100px) { .game-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .game-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Accueil : une bande par jeu ---------- */
.band { background: var(--g-bg); color: var(--g-fg); padding: 72px 0; }
.band .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band:nth-of-type(even) .band-media { order: 2; }
.band-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.band-logo { max-height: 120px; max-width: 360px; width: auto; margin-bottom: 18px; }
.band h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.band .tagline { font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--display); margin-bottom: .7em; }
.band .desc { color: var(--g-soft); max-width: 32em; }
.band .status { font-weight: 800; margin-bottom: 1em; }
.g-tronado .band-logo, .g-tronado .game-head .logo { filter: drop-shadow(0 3px 0 rgba(42, 15, 46, .35)); }
@media (max-width: 860px) {
  .band { padding: 48px 0; }
  .band .wrap { grid-template-columns: 1fr; gap: 24px; }
  .band:nth-of-type(even) .band-media { order: 0; }
}

/* ---------- Le studio ---------- */
.studio { padding: 88px 0; }
.studio .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.studio h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.studio-dino { width: 150px; height: auto; margin-top: 12px; }
@media (max-width: 860px) { .studio-dino { width: 96px; } }
.studio p { font-size: 1.15rem; }
.studio .small { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .studio .wrap { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--brand); color: var(--ink); padding: 64px 0; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: .2em; }
.newsletter p { margin: 0; opacity: .85; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1 1 220px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.newsletter button { padding: 14px 22px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.newsletter .form-note { flex-basis: 100%; min-height: 1.6em; margin: 2px 0 0; font-weight: 700; opacity: 1; }
.newsletter .form-legal { flex-basis: 100%; font-size: .85rem; }
.newsletter button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 860px) { .newsletter .wrap { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #b9b3bf; padding: 36px 0 44px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Page de jeu ---------- */
.game-page { background: var(--g-bg); color: var(--g-fg); }
.banner { width: 100%; max-height: 540px; aspect-ratio: 21 / 9; object-fit: cover; }
.game-head { padding: 36px 0 16px; }
.game-head .logo { max-height: 150px; width: auto; margin-bottom: 14px; }
.game-head .title-text { font-size: clamp(3rem, 8vw, 5rem); }
.game-head .tagline { font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--display); margin-bottom: 1em; }
.game-page section { padding: 40px 0; }
.game-page h2 { font-size: 2.2rem; }

.game-info { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.game-info .pitch p:first-child { font-size: 1.25rem; font-weight: 700; }
.features { padding-left: 1.2em; margin: 0; }
.features li { margin-bottom: .45em; }
.facts { margin: 0; align-self: start; }
.facts div { display: flex; gap: 14px; padding: 9px 0; border-bottom: 2px solid var(--g-line); }
.facts dt { color: var(--g-soft); min-width: 7.5em; }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) { .game-info { grid-template-columns: 1fr; gap: 28px; } }

video.trailer { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.steam-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding: 32px; border-radius: 16px; border: 2px solid var(--g-line); margin: 40px 0; }
.steam-cta h2 { margin-bottom: .15em; }
.steam-cta p { margin: 0; color: var(--g-soft); }
.soft { color: var(--g-soft); }
.others { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox-inner { width: 100%; height: 100%; display: grid; place-items: center; padding: 48px 12px; }
.lightbox img { max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; font-size: 2.2rem; padding: 8px 14px; cursor: pointer; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Presse ---------- */
.page-intro { padding: 48px 0 24px; }
.page-intro h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); }
.page-intro p { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.press-game { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 32px; border-radius: 16px; margin-bottom: 20px; background: var(--g-bg); color: var(--g-fg); }
.press-game > img { width: 100%; height: auto; align-self: start; border-radius: 8px; }
.press-game h2 { font-size: 2.2rem; }
.press-game .facts { margin: 16px 0 20px; }
@media (max-width: 760px) { .press-game { grid-template-columns: 1fr; padding: 22px; } .press-game > img { max-width: 240px; } }

/* ---------- Coulisses et anecdotes (pages de jeu) ---------- */
.about-block > div { max-width: 46em; }
.about-block p { font-size: 1.08rem; }
.trivia { list-style: none; counter-reset: trivia; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 52em; }
.trivia li { counter-increment: trivia; display: grid; grid-template-columns: 3.2rem 1fr; gap: 6px; align-items: baseline; }
.trivia li::before { content: counter(trivia, decimal-leading-zero); font: 400 1.9rem/1 var(--display); color: var(--g-accent, var(--brand-dark)); }

/* ---------- Journal ---------- */
.post-list { display: grid; gap: 14px; }
.post-item { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; text-decoration: none; padding: 10px; margin: 0 -10px; border-radius: 14px; }
.post-item:hover { background: rgba(127, 127, 127, .12); }
.post-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.post-item h3 { font-size: 1.45rem; margin-bottom: .25em; }
.post-item p { margin: 0; opacity: .8; }
.post-meta { font-size: .92rem; font-weight: 700; opacity: .7; margin-bottom: .35em; }
.post-item .post-meta { opacity: .65; }
@media (max-width: 640px) { .post-item { grid-template-columns: 1fr; gap: 10px; } }

.journal-home { padding: 72px 0 8px; }
.journal-home h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.post { max-width: 780px; margin: 0 auto; padding: 48px 20px 16px; }
.post-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.post-summary { font-size: 1.25rem; color: var(--g-soft); }
.post-meta a { text-decoration: none; border-bottom: 2px solid currentColor; }
.post-body { font-size: 1.1rem; line-height: 1.7; margin-top: 32px; }
.post-body h2 { font-size: 1.8rem; margin-top: 1.4em; }
.post-body figure { margin: 28px 0; }
.post-body figure img, .post-body figure video { width: 100%; border-radius: 12px; background: #000; }
.post-body figcaption { font-size: .92rem; color: var(--g-soft); margin-top: 8px; }
.post-foot { margin: 40px 0 8px; padding-top: 24px; border-top: 2px solid var(--g-line); }
.more-posts { padding: 32px 0 64px; }
.more-posts h2 { font-size: 1.8rem; }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal p { margin-bottom: .6em; }
.legal .updated { margin-top: 2.4em; color: var(--ink-soft); font-size: .95rem; }
mark.todo { background: #ffe14d; color: var(--ink); padding: 0 4px; border-radius: 3px; }
.legal-links { font-size: .88rem; }

/* ==========================================================================
   Mobile : pensé pour le pouce
   - barre d'onglets flottante en bas de l'écran (le « dock »)
   - les jeux de l'accueil en rangée de cartes à faire glisser, comme une main de cartes
   - les bandes des jeux s'empilent comme des cartes, l'image pleine largeur
   - captures en carrousel, fiche technique en tuiles
   ========================================================================== */
.dock { display: none; }

@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: calc(92px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  .wrap { padding: 0 18px; }

  /* En-tête réduit : logo + langue, le reste passe dans le dock */
  .site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 239, 228, .92);
                 -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  .site-header nav > a { display: none; }
  .logo-mark { font-size: 1.35rem; }
  .logo-mark img { width: 34px; }
  .lang { font-size: .95rem; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; }

  /* Le dock */
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30;
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 7px 6px; border-radius: 24px; background: var(--ink); color: #cfc9d4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0;
            font-size: .68rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; border-radius: 16px; }
  .dock svg { width: 40px; height: 28px; padding: 3px 9px; border-radius: 999px; fill: none; stroke: currentColor;
              stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: background .2s, color .2s; }
  .dock a[aria-current="page"] { color: #fff; }
  .dock a[aria-current="page"] svg { background: var(--brand); color: var(--ink); }
  .dock a:active svg { transform: scale(.92); }

  /* Accueil : titre plus compact */
  .hero { padding: 26px 0 36px; }
  .hero .lead { font-size: 1.08rem; margin-bottom: 26px; }

  /* Les jeux : une rangée de cartes à faire glisser, légèrement de travers */
  .game-wall {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -18px; padding: 10px 18px 22px;
  }
  .game-wall::-webkit-scrollbar { display: none; }
  .game-wall a { flex: 0 0 64%; scroll-snap-align: center; transform: rotate(-1.6deg); transition: transform .25s ease;
                 box-shadow: 0 10px 22px rgba(25, 23, 28, .22); }
  .game-wall a:nth-child(even) { transform: rotate(1.6deg) translateY(6px); }
  .game-wall a:active { transform: rotate(0) scale(.98); }
  .game-wall::after { content: ""; flex: 0 0 4px; }

  /* Les bandes : image pleine largeur, puis le texte qui chevauche l'image ; chaque bande recouvre la précédente */
  .band { padding: 0 0 44px; margin-top: -26px; border-radius: 28px 28px 0 0; position: relative; overflow: hidden; }
  .hero + .band { margin-top: 0; }
  .band .wrap { display: block; padding: 0; }
  .band-media { display: block; }
  .band-media img { aspect-ratio: 4 / 3; border-radius: 0;
                    -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .band .wrap > div { position: relative; margin-top: -70px; padding: 0 20px; }
  .band-logo { max-height: 84px; max-width: 78%; margin-bottom: 12px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); }
  .band h2 { font-size: 2.6rem; text-shadow: 0 3px 16px rgba(0, 0, 0, .5); }
  .band .tagline { font-size: 1.45rem; }
  .band .links { gap: 12px 18px; }
  .band .btn { flex: 1 1 100%; text-align: center; }

  /* Studio, journal, newsletter */
  .studio { padding: 56px 0; }
  .journal-home { padding: 48px 0 0; }
  .post-item { grid-template-columns: 104px 1fr; gap: 14px; align-items: start; }
  .post-item h3 { font-size: 1.12rem; }
  .post-item p { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .newsletter { padding: 44px 0; }
  .newsletter button { flex: 1 1 100%; }

  /* Page de jeu : bannière qui se fond dans la couleur du jeu, fiche en tuiles, captures en carrousel */
  .banner { aspect-ratio: 4 / 3; max-height: none;
            -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
  .game-head { padding-top: 0; margin-top: -64px; position: relative; }
  .game-head .logo { max-height: 96px; max-width: 86%; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45)); }
  .game-head .links .btn { flex: 1 1 100%; text-align: center; }
  .game-page section { padding: 28px 0; }
  .game-page h2 { font-size: 1.8rem; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .facts div { flex-direction: column; gap: 0; padding: 10px 12px; border: 2px solid var(--g-line); border-radius: 14px; }
  .facts dt { min-width: 0; font-size: .82rem; }
  .facts dd { font-size: .95rem; line-height: 1.35; }
  .gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
             margin: 0 -18px; padding: 0 18px 6px; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery button { flex: 0 0 84%; scroll-snap-align: center; }
  .steam-cta { padding: 22px; }
  .others { gap: 10px; }
  .others .arrow-link { border: 2px solid currentColor; border-radius: 999px; padding: 6px 14px; }

  /* Pied de page centré, jeux en pastilles */
  .site-footer { padding: 30px 0 24px; text-align: center; }
  .site-footer .wrap { flex-direction: column; }
  .site-footer nav { justify-content: center; gap: 8px; }
  .site-footer nav a { padding: 5px 12px; border: 1px solid #3a3640; border-radius: 999px; }
}

@media (prefers-reduced-motion: reduce) {
  .game-wall a, .game-wall a:nth-child(even) { transform: none; }
  .game-wall .bg, .dock svg { transition: none; }
}
