/* Site MetaDBD. Base : le site de MetaAOE (site/css/site.css, même propriétaire), à la D.A. de Dead by Daylight :
   nuit, brouillard, rouge de l'Entité, bleu brume. Polices locales (OFL, sous-ensemble latin en woff2). Aucune ressource externe. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/BarlowCondensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/Inter-600.woff2') format('woff2'); }
:root {
  --ink: #0d0d0f;
  --ink-deep: #08080a;
  --panel: #16171b;
  --raised: #1f2127;
  --line: #2a2d35;
  --text: #ece8e1;
  --muted: #a5a5ae;
  --faint: #8b8b95;
  --red: #c8102e;
  --red-hi: #e23b4e;
  --mist: #7fa7c9;
  --up: #7cc68a;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
  color-scheme: dark;

  /* anciens noms, gardés pour les pages générées (builds, tueurs, perks, glossaire) */
  --bg: var(--ink); --surface: var(--panel); --surface-2: var(--raised); --border: var(--line);
  --text-2: var(--muted); --killer: var(--red); --killer-hover: var(--red-hi); --survivor: var(--mist);
  --radius: 8px; --font-title: var(--font-cond); --font-text: var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mist); text-underline-offset: 3px; }
a:hover { color: #a9c6de; }
:focus-visible { outline: 2px solid var(--mist); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-cond); line-height: 1.06; margin: 0; font-weight: 700; letter-spacing: 0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--mist); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- barre du haut ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(13, 13, 15, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-cond); font-weight: 700; font-size: 23px; letter-spacing: 0.03em; }
.brand:hover { color: var(--text); }
.brand .logo { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav-dd summary {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  cursor: pointer; list-style: none; transition: color .18s ease, background-color .18s ease;
}
.nav > a::before, .nav-dd summary::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.nav > a:hover, .nav-dd summary:hover, .nav-dd[open] summary, .nav > a[aria-current="page"], .nav-dd.is-cur summary { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav > a:hover::before, .nav-dd summary:hover::before, .nav > a[aria-current="page"]::before, .nav-dd.is-cur summary::before { transform: scaleX(1); }
.nav-dd { position: relative; }
.nav-dd summary::-webkit-details-marker { display: none; }
.nav-dd summary::after { content: ""; width: 5px; height: 5px; margin-top: -3px; opacity: .7; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s cubic-bezier(.2,.8,.2,1), margin-top .25s cubic-bezier(.2,.8,.2,1); }
.nav-dd[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.nav-dd .dd { --tx: -50%; position: absolute; left: 50%; top: calc(100% + 10px); z-index: 6; min-width: 210px; display: grid; gap: 2px; padding: 6px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 48px rgba(0, 0, 0, .6); transform: translateX(var(--tx)); transform-origin: top center; }
.nav-dd[open] .dd { animation: dd-in .22s cubic-bezier(.2,.8,.2,1) both; }
.nav-dd[open] .dd a { animation: dd-item .3s cubic-bezier(.2,.8,.2,1) both; }
.nav-dd[open] .dd a:nth-child(2) { animation-delay: .04s; }
.nav-dd[open] .dd a:nth-child(3) { animation-delay: .08s; }
@keyframes dd-in { from { opacity: 0; transform: translateX(var(--tx)) translateY(-8px) scale(.96); } to { opacity: 1; transform: translateX(var(--tx)) translateY(0) scale(1); } }
@keyframes dd-item { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav .dd a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 8px; white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.nav .dd a:hover { background: var(--panel); color: var(--text); }
.nav .dd img { width: 32px; height: 32px; border-radius: 6px; background: var(--panel); object-fit: cover; }
.nav-icon { display: inline-grid !important; place-items: center; width: 38px; height: 38px; margin-left: 4px; padding: 0 !important; border-radius: 999px; color: #aab4ff !important; transition: background-color .18s ease, transform .18s ease; }
.nav-icon::before { display: none; }
.nav-icon:hover { background: rgba(170, 180, 255, .12) !important; transform: translateY(-1px); }
.lang { position: relative; flex: none; }
.lang summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; font: 700 14px/1 var(--font-cond); letter-spacing: 0.06em; color: var(--text); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; opacity: 0.7; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lang[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.lang summary:hover, .lang[open] summary { border-color: var(--red); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 6; min-width: 160px; padding: 6px; background: var(--raised); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.lang li a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.lang li a:hover { background: var(--panel); color: var(--text); }
.lang li a[aria-current] { color: var(--red-hi); }
@media (max-width: 760px) {
  .top .wrap { gap: 6px; }
  .brand { font-size: 0; gap: 0; }
  .nav { gap: 0; min-width: 0; }
  .nav > a, .nav-dd summary { font-size: 13.5px; gap: 5px; padding: 0 8px; }
  .nav > a::before, .nav-dd summary::before { left: 8px; right: 8px; }
  .nav-dd .dd { --tx: 0; left: 0; }
  .nav-icon { display: none !important; }
  .lang summary { padding: 0 9px; gap: 5px; }
}
@media (max-width: 360px) { .nav > a, .nav-dd summary { padding: 0 6px; font-size: 13px; } }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--font-cond); letter-spacing: 0.04em; text-transform: uppercase; padding: 15px 22px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(200, 16, 46, .28); }
.btn-main:hover { background: var(--red-hi); color: #fff; }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--panel); }
.btn-ghost:hover { border-color: var(--mist); color: var(--text); }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #4752c4; color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 64px 0 72px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 76% 34%, rgba(200, 16, 46, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(127, 167, 201, 0.08), transparent 70%),
    linear-gradient(180deg, var(--ink-deep), var(--ink));
}
/* le brouillard : trois nappes floues qui dérivent lentement, l'une contre l'autre (pause hors écran) */
.hero .fog { position: absolute; left: -30%; right: -30%; height: 46%; pointer-events: none; filter: blur(40px); opacity: .6; }
.hero .fog.f1 { bottom: -8%; background: radial-gradient(ellipse 30% 60% at 30% 50%, rgba(160, 175, 195, .22), transparent 70%), radial-gradient(ellipse 26% 50% at 72% 60%, rgba(140, 155, 175, .18), transparent 70%); animation: fog-a 26s ease-in-out infinite alternate; }
.hero .fog.f2 { bottom: 10%; background: radial-gradient(ellipse 34% 50% at 60% 50%, rgba(127, 167, 201, .14), transparent 70%), radial-gradient(ellipse 22% 40% at 18% 40%, rgba(170, 180, 195, .12), transparent 70%); animation: fog-b 34s ease-in-out infinite alternate; }
.hero .fog.f3 { top: -12%; height: 40%; opacity: .4; background: radial-gradient(ellipse 30% 50% at 80% 50%, rgba(200, 16, 46, .22), transparent 70%); animation: fog-a 40s ease-in-out infinite alternate-reverse; }
@keyframes fog-a { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@keyframes fog-b { from { transform: translateX(7%) scaleY(1.1); } to { transform: translateX(-7%) scaleY(.9); } }
.hero.off .fog { animation-play-state: paused; }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.hero h1 { font-size: clamp(42px, 5vw, 64px); max-width: 15ch; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--red-hi); }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* la scène : l'ordinateur au fond, l'overlay qui flotte devant (site.js incline le tout avec la souris) */
.stage { position: relative; padding-bottom: 72px; transform-style: preserve-3d; transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.stage .window { animation: stage-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.stage .live { translate: 0 0 40px; animation: live-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
@keyframes stage-in { from { opacity: 0; translate: 0 0 -120px; rotate: y 10deg; } }
@keyframes live-in { from { opacity: 0; translate: 0 28px 40px; } }
.window { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); background: var(--panel); }
.stage .device { transform: rotateY(-4deg); transform-origin: left center; animation: device-float 7s ease-in-out 1.2s infinite; }
.stage .window { padding: 9px 9px 11px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #24252b, #0b0b0e); border-color: rgba(255,255,255,.09); position: relative; }
.stage .window::before { content: ''; position: absolute; top: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #33353d; }
.stage .window img { display: block; border-radius: 3px; }
.device-base { position: relative; height: 14px; margin: 0 -7%; border-radius: 2px 2px 12px 12px; background: linear-gradient(180deg, #44464f 0%, #26272d 45%, #15161a 100%); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.device-base::before { content: ''; position: absolute; top: 0; left: 50%; width: 16%; height: 5px; margin-left: -8%; border-radius: 0 0 6px 6px; background: #1b1c21; }
@keyframes device-float { 0%, 100% { translate: 0 0 0; } 50% { translate: 0 -6px 0; } }
.stage .live { position: absolute; left: -24px; bottom: 0; width: min(360px, 86%); }
@media (max-width: 979px) {
  .stage { padding-bottom: 0; transform: none; }
  .stage .device { transform: none; }
  .stage .live { position: relative; left: auto; bottom: auto; width: min(380px, 94%); margin: -36px 0 0 auto; }
}

/* overlay vivant (HTML/CSS, reprend windows/in_game.html côté tueur : ta build et ton hook spread) */
.live { position: relative; background: rgba(24, 25, 30, 0.97); border: 1px solid #3a3d47; border-left: 3px solid var(--red); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(200, 16, 46, 0.10); font-family: var(--font); color: var(--text); }
.live-head { border-radius: 10px 11px 0 0; display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: rgba(8, 8, 10, 0.6); }
.live-head img { width: 32px; height: 32px; border-radius: 6px; background: #0b0b0e; object-fit: cover; flex: none; }
.live-title { min-width: 0; flex: 1; }
.live-title b { display: block; font: 700 17px/1.1 var(--font-cond); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-title span { font-size: 12px; color: var(--muted); }
.live-count { position: relative; display: inline-flex; align-items: baseline; gap: 2px; font: 700 22px/1 var(--font-cond); font-variant-numeric: tabular-nums; padding: 6px 9px; border: 1.5px solid var(--red); border-radius: 7px; background: var(--ink); }
.live-count small { font-size: 14px; color: var(--muted); }
.live-next { display: flex; align-items: center; gap: 10px; padding: 7px 11px; font: 700 14px/1 var(--font-cond); letter-spacing: .03em; color: var(--muted); }
.live-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.live-bar i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 2px; transition: width 0.9s cubic-bezier(.16,1,.3,1); }
.live-body { padding: 8px 12px 12px; }
.live-perks { display: flex; gap: 6px; }
.live-perks img { width: 40px; height: 40px; border-radius: 6px; padding: 2px; background: #101014; box-shadow: inset 0 0 0 1px #30333b; transition: box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1), filter .3s ease; filter: saturate(.7) brightness(.8); }
.live-perks img.on { box-shadow: inset 0 0 0 1.5px var(--red-hi), 0 0 14px rgba(226, 59, 78, .55); transform: translateY(-2px); filter: none; }
.live-hooks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.hk { display: flex; align-items: center; gap: 5px; padding: 4px 6px 4px 4px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; min-width: 0; transition: border-color .3s ease; }
.hk img { width: 22px; height: 22px; border-radius: 4px; flex: none; object-fit: cover; background: #0b0b0e; }
.hk .pips { display: inline-flex; gap: 3px; }
.hk .pips i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background-color .3s ease, box-shadow .3s ease; }
.hk .pips i.on { background: var(--red-hi); box-shadow: 0 0 6px rgba(226, 59, 78, .8); }
.hk.cur { border-color: rgba(226, 59, 78, .6); }
.live-note { margin-top: 10px; font: 600 15px/1.35 var(--font); min-height: 2.7em; }
.live-note.good { color: var(--up); }
.live-note.warn { color: #f3b0b8; }
.live-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; padding: 7px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); font-size: 13px; color: var(--muted); }
/* un crochet tombe : la carte s'éclaire, les chiffres changés sautent */
.live::after, .live-count::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; }
.live::after { border: 1px solid var(--red); box-shadow: 0 0 0 14px rgba(200, 16, 46, 0.35); }
.live.step::after { animation: step-glow 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes step-glow { from { opacity: 1; } to { opacity: 0; } }
.live .bump { animation: bump 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes bump { 30% { scale: 1.16; } }
.live .swap { animation: swap 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.live-count.hit::after { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.45); animation: soon 0.9s ease-out; }
@keyframes soon { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 420px) { .live-hooks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .live-count { font-size: 19px; } .live-perks img { width: 36px; height: 36px; } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-title { font-size: clamp(32px, 4.6vw, 48px); max-width: 18ch; text-transform: uppercase; letter-spacing: .01em; }
.section-lead { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 36em; }

/* chapitres : avant / pendant / après la partie */
.chapter { padding: 0; }
.chapter-head { display: flex; align-items: center; gap: 14px; padding-top: 96px; }
.chapter-head .num { display: inline-grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px; border-radius: 5px; font: 700 17px/1 var(--font-cond); letter-spacing: .06em; color: var(--ink); background: var(--mist); }
.chapter-head .num.n2 { background: var(--red); color: #fff; }
.chapter-head .num.n3 { background: var(--text); }
.chapter-head h2 { font-size: 22px; color: var(--muted); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.chapter-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.feature { display: grid; gap: 36px; align-items: center; padding: 56px 0 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .feature.flip .feature-text { order: 2; }
  .feature.narrow-shot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.narrow-shot.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); }
.feature p { margin-top: 14px; color: var(--muted); max-width: 34em; }
.feature p strong { color: var(--text); font-weight: 600; }
.feature.last { padding-bottom: 96px; }
kbd { font: 700 14px/1 var(--font-cond); letter-spacing: .04em; padding: 3px 6px; border-radius: 4px; background: var(--raised); border: 1px solid var(--line); border-bottom-width: 2px; color: var(--text); white-space: nowrap; }
.shot { position: relative; margin: 0; }
.shot.tall { max-width: 440px; justify-self: center; width: 100%; }
.shot.tall.wide { max-width: 560px; }
.shot .window { background: transparent; }
.pair { display: grid; gap: 20px; padding-top: 56px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }
.pane { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.pane h3 { font-size: 28px; display: flex; align-items: center; gap: 12px; }
.pane h3 svg { width: 28px; height: 28px; flex: none; color: var(--red-hi); }
.pane p { margin-top: 12px; color: var(--muted); }
.pane .shot { margin-top: 22px; }
.shot.crop .window { max-height: 340px; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }

/* ---------- vidéo promo ---------- */
.promo { padding-top: 40px; padding-bottom: 0; }
.promo h2 { font-size: 22px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.promo .window { position: relative; margin-top: 28px; max-width: 1080px; }
.promo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.promo-sound { position: absolute; right: 16px; bottom: 16px; font: 600 14px/1 var(--font); color: var(--text); background: rgba(10,10,12,.82); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px 9px 34px; cursor: pointer; }
.promo-sound::before { content: ""; position: absolute; left: 13px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11 5l4 6M15 5l-4 6' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11 5l4 6M15 5l-4 6' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.promo-sound[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11 5.5a3.5 3.5 0 0 1 0 5M13 3.5a6.5 6.5 0 0 1 0 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11 5.5a3.5 3.5 0 0 1 0 5M13 3.5a6.5 6.5 0 0 1 0 9' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.promo-sound[aria-pressed="true"], .promo-sound:hover, .promo-sound:focus-visible { border-color: var(--red); }

/* ---------- les deux rôles ---------- */
.games { background: var(--ink-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.games-grid { display: grid; gap: 20px; margin-top: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .games-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }
.game { border-radius: 12px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--mist); }
.game.kill { border-top-color: var(--red); }
.game h3 { font-size: 30px; text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; gap: 14px; }
.game h3 img { width: 48px; height: 48px; border-radius: 8px; background: var(--ink); flex: none; }
.game h3 small { display: block; margin-top: 4px; font: 500 15px/1.3 var(--font); color: var(--muted); text-transform: none; letter-spacing: 0; }
.game ul { margin-top: 18px; display: grid; gap: 9px; }
.game li { padding-left: 18px; position: relative; color: var(--muted); }
.game li strong { color: var(--text); font-weight: 600; }
.game li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--mist); }
.game.kill li::before { background: var(--red); }
.easy { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.easy li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--muted); }
.easy b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font: 700 16px/1 var(--font-cond); }
.easy strong { color: var(--text); font-weight: 600; }
.langs { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; }
.langs h3 { font-size: 22px; margin-right: 6px; text-transform: uppercase; letter-spacing: .04em; }
.langs ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.langs li { font: 700 18px/1 var(--font-cond); letter-spacing: .02em; color: var(--muted); }
.langs li::before { content: attr(data-n); } /* nom de chaque langue dans sa propre écriture */

/* ---------- pensé pour la partie ---------- */
.fair .wrap { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fair .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules b { display: block; font: 700 21px/1.2 var(--font-cond); letter-spacing: .02em; }
.rules span { color: var(--muted); font-size: 16px; }
.rules svg { width: 30px; height: 30px; color: var(--red-hi); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); margin: 0; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 21px/1.3 var(--font-cond); letter-spacing: .02em; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: rotate(45deg); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

/* ---------- bientôt ---------- */
.notify { padding: 0 0 96px; }
.notify-box { border-radius: 14px; padding: 40px 28px; background: linear-gradient(135deg, rgba(200, 16, 46, 0.20), rgba(200, 16, 46, 0.02) 60%), var(--panel); border: 1px solid rgba(200, 16, 46, 0.40); display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .notify-box { grid-template-columns: auto minmax(0, 1fr) auto; padding: 44px 48px; gap: 36px; } }
.notify-box > svg { width: 72px; height: 72px; }
.notify-box h2 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; letter-spacing: .01em; }
.notify-box p { margin-top: 10px; color: var(--muted); max-width: 36em; }

/* ---------- pied de page ---------- */
footer { border-top: 1px solid var(--line); background: var(--ink-deep); padding: 44px 0 56px; font-size: 14px; color: var(--faint); }
.foot { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .foot { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.foot p + p { margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.foot nav a { color: var(--muted); display: inline-flex; align-items: center; min-height: 24px; }
.foot nav a:hover { color: var(--text); }
.foot .brand { font-size: 20px; margin-bottom: 14px; }

/* ---------- mouvement (base MetaAOE) ----------
   Rien de caché sans JS. site.js pose .reveal seulement sous la ligne de flottaison, puis .in à l'entrée ;
   .tilt sur les captures et les cartes quand le pointeur est une souris. */
.tilt { position: relative; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1); backface-visibility: hidden; outline: 1px solid transparent; }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(220, 230, 255, 0.08), transparent 55%); opacity: 0; transition: opacity 0.3s ease-out; }
.tilt:hover { will-change: transform; }
.tilt:hover::after { opacity: 1; }
.window.tilt:hover { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65); }
.reveal { opacity: 0; transform: perspective(1200px) translateY(36px) rotateX(8deg); transform-origin: 50% 100%; }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.rise { opacity: 0; translate: 0 28px; filter: blur(4px); }
.rise.rise-in { opacity: 1; translate: 0 0; filter: none; transition: opacity .8s cubic-bezier(.16, 1, .3, 1) var(--rise-delay, 0ms), translate .9s cubic-bezier(.16, 1, .3, 1) var(--rise-delay, 0ms), filter .8s ease var(--rise-delay, 0ms); }
.hero .wrap > div:first-child { will-change: translate, opacity; }
.feature .shot { will-change: translate; }

/* barre de défilement fine et barre de lecture en haut (comme MetaAOE, en rouge) */
html { scrollbar-width: thin; scrollbar-color: #b3122c #09090b; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e23b4e, #8f0c22); border-radius: 999px; border: 2px solid #09090b; }
::-webkit-scrollbar-corner { background: #09090b; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #8f0c22, #e23b4e); box-shadow: 0 0 8px rgba(200, 16, 46, .55); }

/* ---------- pages intérieures (builds, tueurs, perks, glossaire, mentions) ---------- */
.sec { padding: 64px 0; }
.sec.alt { background: var(--ink-deep); border-block: 1px solid var(--line); }
.sec h1 { font-size: clamp(38px, 6vw, 60px); text-transform: uppercase; letter-spacing: .01em; }
.sec h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 36px 0 12px; text-transform: uppercase; letter-spacing: .01em; }
.sec h2:first-child, .sec .wrap > h2:first-child { margin-top: 0; }
.sec h3 { margin: 28px 0 8px; font-size: 24px; }
.lead { max-width: 44em; font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.sub { color: var(--muted); margin: 10px 0 32px; max-width: 44em; }
.tag { display: inline-block; font: 700 14px/1 var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { margin: 36px 0 10px; font-size: 28px; }
.prose p, .prose li { margin-top: 12px; color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; }
.ico { border-radius: 4px; background: var(--raised); flex: none; object-fit: contain; }
.muted { color: var(--muted); font-size: 14px; }
.sub.tight { margin: 4px 0 16px; }
.crumb { margin: 0 0 14px; font-size: 14px; }
.chips { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px 4px 4px; font-size: 14px; }
.chip em { font-style: normal; color: var(--mist); font-weight: 600; }
.chips.row { margin: 0; }
.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.build { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--mist); border-radius: 12px; padding: 20px; transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease, box-shadow .25s ease; }
.build.kill { border-top-color: var(--red); }
.build header { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.build.kill .tag { color: var(--red-hi); }
.build .tag { margin-bottom: 0; }
.conf { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; font-size: 14px; }
.line b { color: var(--muted); font-weight: 600; min-width: 64px; }
.addon { display: inline-flex; align-items: center; gap: 6px; background: var(--raised); border-radius: 8px; padding: 2px 8px 2px 2px; }
.why { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.sec details { margin-top: 12px; }
.sec details > summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.src { font-size: 13px; padding-left: 18px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { color: var(--faint); font: 700 14px/1 var(--font-cond); letter-spacing: .06em; text-transform: uppercase; }
.who { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; min-width: 190px; }
.who:hover { color: var(--text); }
.who:hover span { text-decoration: underline; }
.killers { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.killers a { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s ease, box-shadow .25s ease; }
.khead { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.khead .ico { border-radius: 10px; }
.power { display: flex; gap: 14px; align-items: flex-start; }
.power h3 { margin: 0 0 4px; }
.power p { margin: 0; }
.tips { padding-left: 20px; }
.tips li { margin: 8px 0; max-width: 46em; list-style: disc; color: var(--muted); }
.addons { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.addonrow { display: flex; gap: 12px; align-items: flex-start; }
.addonrow div { display: flex; flex-direction: column; }
.addonrow span { color: var(--muted); font-size: 14px; }
@media (hover: hover) {
  .build:hover { border-color: var(--mist); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transform: translateY(-3px); }
  .build.kill:hover { border-color: var(--red); }
  .killers a:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); color: var(--text); }
}
.killers a span, .chip, .addon, .who span { min-width: 0; overflow-wrap: anywhere; }
.killers li { min-width: 0; }
@media (max-width: 760px) {
  .builds { grid-template-columns: minmax(0, 1fr); }
  .tbl .chips.row { gap: 4px; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl thead { position: absolute; left: -9999px; }
  .tbl tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl th, .tbl td { padding: 4px 0; border-bottom: 0; }
  .who { min-width: 0; }
  .killers { grid-template-columns: 1fr 1fr; }
  .killers .ico { width: 44px; height: 44px; }
  .sec { padding: 44px 0; }
}
@media (max-width: 400px) { .killers { grid-template-columns: 1fr; } }
dl.gl { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.gl-item { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; min-width: 0; scroll-margin-top: 80px; }
.gl-item:target { border-color: var(--mist); }
.gl-item dt { font: 700 21px/1.2 var(--font-cond); letter-spacing: .02em; color: var(--text); overflow-wrap: anywhere; }
.gl-item dt .muted { font: 400 14px/1.2 var(--font); }
.gl-item dt .tag { margin: 0 0 0 8px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; vertical-align: middle; }
.gl-item dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 400px) { dl.gl { grid-template-columns: 1fr; } }
