/* ============================================================
   JuegoPorno.es — Design system v2 "Fuego"
   Fidèle au redesign Crunchyroll (Behance 152522045) :
   Work Sans, cards nues sans conteneur, chips, hero slider,
   coins décoratifs teal/orange, éditorial + mascotte.
   ============================================================ */

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/worksans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/worksans-var-italic.woff2') format('woff2');
}

:root {
  --bg: #17181c;
  --bg-2: #1d1e24;
  --surface: #23252b;
  --surface-2: #292b37;
  --chip: #414554;
  --border: #33363f;
  --text: #f5f5f5;
  --text-2: #d7d7d7;
  --text-muted: #9299a7;
  --accent: #ff3d5c;
  --accent-2: #ff7a45;
  --grad: linear-gradient(90deg, #ff3d5c, #ff7a45);
  --grad-soft: linear-gradient(90deg, #ff7086, #ffa47e);
  --teal: #2abdbb;
  --gold: #fab818;
  --ok: #3dff7f;
  --font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.gate-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Halo décoratif très subtil (âme du fond, jamais criard) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(56vw 42vh at 88% -6%, rgba(255, 61, 92, 0.07), transparent 60%),
    radial-gradient(48vw 40vh at -8% 42%, rgba(255, 122, 69, 0.05), transparent 60%),
    radial-gradient(40vw 34vh at 96% 88%, rgba(42, 189, 187, 0.045), transparent 60%);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.45em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { vertical-align: -0.18em; flex-shrink: 0; }

/* ---------- Boutons (specs Behance: pill 49px, Bold 14 uppercase) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 49px; padding: 0 26px; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
}
.btn-primary { background: var(--grad); color: #17181c; }
.btn-primary:hover { background: var(--grad-soft); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { height: 35px; padding: 0 18px; font-size: 0.75rem; }
/* Bouton play rond 49px, icône sombre */
.btn-play {
  display: inline-grid; place-items: center;
  width: 49px; height: 49px; border-radius: 50%;
  background: var(--grad); color: #17181c; border: 0; cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.btn-play:hover { filter: brightness(1.18) saturate(0.85); transform: scale(1.05); }
.btn-play .icon { width: 22px; height: 22px; margin-left: 2px; }
.btn-play-lg { width: 64px; height: 64px; }
.btn-play-lg .icon { width: 30px; height: 30px; }

/* ---------- Chips (35px, fond #414554; actif = clair) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 13px; border-radius: 7px;
  background: rgba(65, 69, 84, 0.55); color: var(--text-2);
  font-size: 0.76rem; font-weight: 600; white-space: nowrap;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip { transition: background 0.15s, color 0.15s; }
a.chip:hover { background: var(--chip); color: #fff; }
.chip-active { background: #e8eaef; color: #17181c; }
.chip-active:hover { background: #fff; color: #17181c; }
.chip-count { opacity: 0.55; font-size: 0.7rem; }

/* ---------- Header (navbar 80px, items icône+label uppercase) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 24, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 30px; height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #17181c; }
.brand-mark .icon { width: 20px; height: 20px; }
.brand-text { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: 0.72em; color: var(--text-muted); font-weight: 600; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); padding: 6px 0;
  transition: color 0.15s;
}
.main-nav a .icon { width: 15px; height: 15px; }
.main-nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  color: var(--text-muted); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0;
  transition: color 0.15s;
}
.search-toggle:hover { color: var(--text); }
.search-toggle .icon { width: 16px; height: 16px; }
.nav-burger { display: none; }

/* Recherche (barre 512px avec icône intégrée) */
.search-bar { padding-block: 16px 20px; background: rgba(23, 24, 28, 0.98); }
.search-bar .search-box { position: relative; max-width: 560px; }
.search-bar input {
  width: 100%; height: 44px; padding: 0 16px 0 44px; font-size: 0.95rem; font-family: inherit;
  background: var(--surface-2); border: 1px solid var(--chip); border-radius: 9px; color: var(--text);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus { outline: none; border-color: var(--accent-2); }
.search-box .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--text-muted); }
.search-results { display: flex; flex-direction: column; margin-top: 10px; max-width: 560px; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; }
.search-results a:hover { background: rgba(255, 255, 255, 0.06); }
.search-results img { width: 62px; height: 38px; object-fit: cover; border-radius: 6px; }
.search-empty { color: var(--text-muted); padding: 8px; margin: 0; font-size: 0.9rem; }

/* ---------- Hero slider (Slide principal 701px, art + logo + chips) ---------- */
.hero { position: relative; min-height: clamp(430px, 62vh, 640px); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-art { position: absolute; inset: 0; background-size: cover; background-position: center 22%; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 2%, rgba(23, 24, 28, 0.25) 34%, rgba(23, 24, 28, 0.12) 100%),
    linear-gradient(93deg, rgba(23, 24, 28, 0.94) 8%, rgba(23, 24, 28, 0.45) 46%, transparent 72%);
}
.hero-content {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: inherit; max-width: var(--container); margin-inline: auto;
  padding: 90px var(--gutter) 58px;
}
.hero-name {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98;
  margin: 0 0 14px; max-width: 13ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}
.hero-chips { margin-bottom: 14px; }
.hero-sub { color: var(--text-2); font-size: 0.98rem; max-width: 52ch; margin-bottom: 6px; }
.hero-kicker { font-weight: 800; font-size: 1.15rem; margin: 6px 0 18px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 50%; translate: -50% 0; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: background 0.2s, transform 0.2s;
}
.hero-dots button.is-active { background: #fff; transform: scale(1.25); }

/* ---------- Titre de page éditorial (pattern "Animes") ---------- */
.page-head { padding-block: 30px 6px; }
.page-head-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head .chip { height: 34px; }
.page-voice {
  display: flex; align-items: center; gap: 9px;
  color: var(--text-2); font-size: 0.95rem; margin-top: 12px;
}
.page-voice .icon { color: var(--accent-2); flex-shrink: 0; }

/* ---------- Rails (titres éditoriaux, images nues) ---------- */
.rail { padding-block: 26px 6px; }
.rail-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  margin-bottom: 14px;
}
.rail-head h2 { margin: 0; font-size: 1.13rem; font-weight: 700; letter-spacing: -0.01em; }
.rail-link {
  color: var(--teal); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 3px; white-space: nowrap;
}
.rail-link:hover { color: #45d9d7; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(180px, 18vw, 252px);
  gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding-inline: max(calc((100vw - var(--container)) / 2 + var(--gutter)), var(--gutter));
  padding-block: 4px 18px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:active { cursor: grabbing; }
.rail-track > * { scroll-snap-align: start; }

/* ---------- Game card v2 : image nue + légende, zéro conteneur ---------- */
.game-card { display: block; min-width: 0; }
.card-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 8px; background: var(--surface);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease, opacity 0.25s; }
/* Barre gradient façon "continue watching" qui apparaît au hover */
.card-media::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px;
  background: var(--grad); transition: right 0.25s ease; z-index: 2;
}
.game-card:hover .card-media::after { right: 0; }
.game-card:hover .card-media img { transform: scale(1.045); opacity: 0.82; }
.card-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity 0.2s; z-index: 1;
}
.card-play span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #17181c;
}
.game-card:hover .card-play { opacity: 1; }
.card-flag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(23, 24, 28, 0.78); backdrop-filter: blur(4px);
  color: var(--ok); font-size: 0.64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 9px; border-radius: 6px;
}
.card-flag-vr { left: auto; right: 8px; color: #b79aff; }
.card-caption { padding: 9px 2px 0; }
.card-kicker {
  color: var(--text-muted); font-size: 0.72rem; font-weight: 600; margin: 0 0 2px;
  text-transform: uppercase; letter-spacing: 0.04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-title {
  margin: 0; font-size: 0.92rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sub { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 0.76rem; font-weight: 600; margin-top: 3px; }
.card-sub .icon { width: 12px; height: 12px; }
.card-sub .star { color: var(--gold); }
.card-noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }

/* ---------- Top 10 (numéros outline) ---------- */
.rail-top .rail-track { grid-auto-columns: clamp(220px, 21vw, 300px); }
.top-card { display: flex; align-items: flex-end; gap: 2px; min-width: 0; }
.top-num {
  font-size: clamp(4.4rem, 6.5vw, 6.5rem); font-weight: 800; font-style: italic; line-height: 0.78;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  flex-shrink: 0; width: 1.1ch; text-align: center;
  transition: color 0.2s, -webkit-text-stroke-color 0.2s;
}
.top-card:hover .top-num { -webkit-text-stroke-color: var(--accent-2); }
.top-card .game-card { flex: 1; min-width: 0; }

/* ---------- Collections (coins décoratifs teal + orange) ---------- */
.collections {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px;
  padding-block: 8px 12px;
}
.collection-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 88px; border-radius: 12px;
  background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em;
  transition: border-color 0.15s, transform 0.15s;
}
.collection-card .icon { width: 19px; height: 19px; }
.collection-card::before, .collection-card::after {
  content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%;
  transition: transform 0.2s;
}
.collection-card::before { top: -34px; right: -18px; background: var(--teal); }
.collection-card::after { bottom: -40px; left: -22px; background: var(--accent-2); }
.collection-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); }
.collection-card:hover::before { transform: scale(1.18); }
.collection-card:hover::after { transform: scale(1.18); }

/* ---------- Grille listing ---------- */
.game-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 20px 16px; padding-block: 18px 36px;
}

/* ---------- Catégories hub ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; padding-block: 18px 30px; }
.cat-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.09); transition: border-color 0.2s; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s, transform 0.3s; }
.cat-card:hover { border-color: rgba(255, 255, 255, 0.35); }
.cat-card:hover img { opacity: 0.8; transform: scale(1.04); }
.cat-card-body { position: absolute; inset: auto 0 0; padding: 12px 14px; background: linear-gradient(0deg, rgba(23, 24, 28, 0.92), transparent); }
.cat-card-body h2 { font-size: 0.98rem; margin: 0; font-weight: 700; }
.cat-card-body span { color: var(--text-2); font-size: 0.76rem; font-weight: 600; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 18px 4px; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 7px; opacity: 0.45; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Page jeu v2 : hero full-bleed puis sections plates ---------- */
.game-hero { position: relative; overflow: hidden; }
.game-hero-art { position: absolute; inset: 0; background-size: cover; background-position: center 25%; }
.game-hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 3%, rgba(23, 24, 28, 0.42) 42%, rgba(23, 24, 28, 0.18) 100%),
    linear-gradient(94deg, rgba(23, 24, 28, 0.96) 12%, rgba(23, 24, 28, 0.55) 48%, rgba(23, 24, 28, 0.12) 78%);
}
.game-hero-content {
  position: relative; max-width: var(--container); margin-inline: auto;
  padding: clamp(60px, 11vh, 120px) var(--gutter) 46px;
}
.game-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 16px; max-width: 16ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.game-genres { color: var(--text-2); font-size: 0.85rem; font-weight: 600; margin: 12px 0 8px; }
.game-genres span + span::before { content: " • "; opacity: 0.5; }
.game-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 700; font-size: 0.92rem; }
.game-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.game-rating .muted { color: var(--text-muted); font-weight: 600; }
.game-hero .hero-sub { margin-bottom: 22px; }

/* Player */
.player-section { padding-block: 26px 8px; }
.player-section h2 { font-size: 1.13rem; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: var(--surface);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.player-start {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: none; border: 0; cursor: pointer; color: #fff; font-family: inherit;
}
.player-start .play-circle {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--grad); color: #17181c; transition: filter 0.15s, transform 0.15s;
}
.player-start .play-circle .icon { width: 34px; height: 34px; margin-left: 3px; }
.player-start:hover .play-circle { filter: brightness(1.15) saturate(0.85); transform: scale(1.06); }
.player-start b { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.player-start small { color: var(--text-2); font-weight: 600; font-size: 0.8rem; margin-top: -6px; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; color: var(--text-muted); font-size: 0.82rem; font-weight: 600; }
.player-bar .icon { color: var(--ok); }
.player-bar button { font-size: 0.72rem; }

/* Sections plates de la page jeu */
.game-section { padding-block: 22px 8px; }
.game-section h2 { font-size: 1.13rem; }
.game-desc-text { color: var(--text-2); max-width: 76ch; }
.ficha { display: flex; flex-wrap: wrap; gap: 8px 34px; padding: 4px 0 6px; }
.ficha div { display: flex; gap: 8px; align-items: baseline; font-size: 0.88rem; }
.ficha dt { color: var(--text-muted); font-weight: 600; margin: 0; }
.ficha dd { margin: 0; font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.gallery-grid img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 0.2s, opacity 0.2s; }
.gallery-grid img:hover { transform: scale(1.025); opacity: 0.9; }

/* ---------- SEO / FAQ / articles : plat, aéré ---------- */
.seo-block { padding-block: 44px 10px; }
.seo-block > p { color: var(--text-2); max-width: 84ch; }
.seo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 12px; }
.seo-cols h3 { font-weight: 700; }
.seo-cols p { color: var(--text-muted); font-size: 0.93rem; }
.seo-block a, .faq a, .article a, .game-desc-text a { color: var(--teal); font-weight: 600; }
.seo-block a:hover, .faq a:hover, .article a:hover { text-decoration: underline; }

.faq { padding-block: 34px 10px; max-width: 860px; }
.faq h2 { margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 15px 34px 15px 0; font-weight: 700; font-size: 0.98rem;
  cursor: pointer; list-style: none; position: relative;
}
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 12px; color: var(--accent-2); font-size: 1.35rem; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-a { padding: 0 0 16px; color: var(--text-muted); font-size: 0.94rem; max-width: 72ch; }

.tag-cloud { padding-block: 28px 46px; }
.tag-cloud h2 { margin-bottom: 14px; }

.article-page { max-width: 800px; }
.article { padding-block: 8px 50px; }
.article h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.article h2 { margin-top: 1.5em; font-size: 1.25rem; }
.article p { color: var(--text-2); }
.article-meta { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.article-list { display: grid; gap: 4px; padding-block: 10px 40px; }
.article-card { display: block; padding: 20px 4px; border-bottom: 1px solid var(--border); transition: padding-left 0.15s; }
.article-card:hover { padding-left: 10px; }
.article-card:hover h2 { color: var(--accent-2); }
.article-card h2 { font-size: 1.12rem; margin-bottom: 5px; transition: color 0.15s; }
.article-card p { color: var(--text-muted); margin-bottom: 7px; font-size: 0.93rem; }
.article-date { color: var(--text-muted); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Footer minimal (mascotte + liens gris) ---------- */
.site-footer { margin-top: 46px; padding: 40px 0 84px; }
.footer-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-bottom: 26px;
}
.footer-mascot { width: 74px; height: auto; opacity: 0.9; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 26px; padding-block: 4px 26px; }
.footer-col h3 {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-muted); margin-bottom: 12px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.84rem; font-weight: 500; transition: color 0.15s; }
.footer-col a:hover { color: var(--text-2); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center;
  padding-top: 20px; color: var(--text-muted); font-size: 0.76rem;
}
.footer-legal p { margin: 0; }
.footer-legal nav { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--text-2); }
.footer-18 { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 0.78rem; }

/* ---------- Bottom nav mobile ---------- */
.bottom-nav {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: none; grid-template-columns: repeat(5, 1fr);
  background: rgba(23, 24, 28, 0.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--text-muted); font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 0;
}
.bottom-nav a:active, .bottom-nav a:hover { color: var(--text); }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(15, 16, 19, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: var(--gutter);
}
.age-gate-card { max-width: 430px; text-align: center; }
.age-gate-card .mascot { width: 96px; margin: 0 auto 14px; }
.age-gate-card h2 { font-size: 1.55rem; font-weight: 800; }
.age-gate-card p { color: var(--text-2); }
.age-gate-actions { display: flex; flex-direction: column; gap: 12px; margin-block: 26px 16px; }
.age-gate-note { font-size: 0.76rem; color: var(--text-muted); }
.age-gate-note a { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
}
@media (max-width: 820px) {
  .header-inner { height: 60px; gap: 14px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2);
    padding: 8px var(--gutter) 14px;
  }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  body.nav-open .main-nav { display: flex; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 38px; height: 38px; padding: 8px; background: none; border: 0; cursor: pointer;
  }
  .nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .search-toggle span { display: none; }
  .header-cta { display: none; }
  .bottom-nav { display: grid; }
  .hero { min-height: 56vh; }
  .hero-content { padding-bottom: 46px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .rail-track { grid-auto-columns: 178px; }
  .rail-top .rail-track { grid-auto-columns: 216px; }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .footer-legal { justify-content: center; text-align: center; }
  .site-footer { padding-bottom: 96px; }
}

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto; }
}

/* ---------- Pros / contras (reviews de jeux) ---------- */
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 18px; max-width: 76ch; }
.pros-cons h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.pros h3 { color: var(--ok); }
.cons h3 { color: var(--accent); }
.pros-cons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pros-cons li { padding-left: 20px; position: relative; color: var(--text-2); font-size: 0.92rem; }
.pros li::before { content: "+"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.cons li::before { content: "–"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }

/* ---------- Contenus éditoriaux (blocs rédigés) ---------- */
.seo-block h2, .game-desc-text h2 { margin-top: 1.4em; }
.seo-block h3, .game-desc-text h3 { font-size: 1.08rem; margin-top: 1.7em; margin-bottom: 0.5em; }
.seo-block p, .seo-block li { color: var(--text-2); max-width: 76ch; }
.seo-block figure, .game-desc-text figure, .article figure { margin: 1.8em 0; max-width: 780px; }
.seo-block figure img, .game-desc-text figure img, .article figure img { border-radius: 10px; width: 100%; height: auto; }
figcaption { color: var(--text-muted); font-size: 0.82rem; margin-top: 8px; font-weight: 500; }
.seo-block ul, .game-desc-text ul { color: var(--text-2); }
