@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/Orbitron-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #060a11;
  --surface: #0c131f;
  --surface-2: #111b2b;
  --line: rgba(130, 175, 255, 0.14);
  --line-strong: rgba(130, 175, 255, 0.3);
  --text: #e7eef8;
  --muted: #8d9cb4;
  --accent: #5cc8ff;
  --display: 'Orbitron', 'Segoe UI', sans-serif;
  --body: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grille "plan technique" en fond de page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  opacity: 0.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 10, 17, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 13px; color: var(--accent);
  box-shadow: 0 0 18px rgba(92, 200, 255, 0.35), inset 0 0 10px rgba(92, 200, 255, 0.15);
}
.brand-name { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--muted);
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.lang {
  display: flex; border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 12px;
}
.lang a { color: var(--muted); padding: 6px 10px; text-decoration: none; }
.lang a[aria-current] { background: var(--accent); color: #04121c; }
.burger { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 38px; height: 34px; cursor: pointer; font-size: 18px; }

/* ---------- Boutons, étiquettes ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--accent);
  background: var(--accent); color: #04121c;
  font-family: var(--display); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px -6px var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line-strong); cursor: default; }
.btn.soon:hover { transform: none; box-shadow: none; }
.btn small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.8; text-transform: none; }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line-strong); color: var(--muted);
  white-space: nowrap;
}
.chip.status { color: var(--g, var(--accent)); border-color: color-mix(in srgb, var(--g, var(--accent)) 55%, transparent); }
.chip.status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.chip.status.live::before { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Accueil : bandeau ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero h1 {
  font-size: clamp(38px, 7.4vw, 96px);
  letter-spacing: 0.02em; text-transform: uppercase;
  margin: 22px 0 26px;
}
.hero h1 span { display: block; }
.hero h1 .dim { color: transparent; -webkit-text-stroke: 1px rgba(160, 200, 255, 0.55); }
.hero-lead { max-width: 56ch; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 64px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-meta b { color: var(--text); font-weight: 400; }
.rise { opacity: 0; transform: translateY(26px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); text-transform: uppercase; margin-top: 14px; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  background: none; border: 1px solid var(--line-strong); color: var(--muted);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer; transition: all 0.2s;
}
.filters button:hover { color: var(--text); }
.filters button[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Catalogue ---------- */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.game {
  --g: var(--accent);
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.game:hover { border-color: var(--g); box-shadow: 0 24px 60px -30px var(--g); }
.game.hidden { display: none; }
.game-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.game:hover .game-cover img { transform: scale(1.06); }
.game-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, var(--surface)); }
.game-cover .chip { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(6, 10, 17, 0.78); backdrop-filter: blur(6px); }
.game-num { position: absolute; top: 12px; right: 16px; z-index: 1; font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.1em; }
.game-body { padding: 4px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game-genre { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g); }
.game-body h3 { font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; }
.game-body p { color: var(--muted); font-size: 16px; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.game-foot .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.game-more { font-family: var(--display); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g); white-space: nowrap; }
.game-more::after { content: ' →'; display: inline-block; transition: transform 0.25s; }
.game:hover .game-more::after { transform: translateX(5px); }
/* Coins façon plan technique */
.game::before, .game::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--g); opacity: 0; transition: opacity 0.3s; z-index: 2; pointer-events: none; }
.game::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.game::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.game:hover::before, .game:hover::after { opacity: 1; }

/* ---------- Journal de développement ---------- */
.posts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post {
  --g: var(--accent);
  display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.post::before { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--g); transition: width 0.6s ease; }
.post:hover::before { width: 100%; }
.post time { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; padding-top: 4px; }
.post h3 { font-family: var(--body); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.post p { color: var(--muted); max-width: 68ch; font-size: 16px; }
.post .chip { color: var(--g); border-color: color-mix(in srgb, var(--g) 50%, transparent); text-decoration: none; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 3vw, 36px); line-height: 1.25; text-transform: uppercase; }
.about blockquote em { font-style: normal; color: var(--accent); }
.about cite { display: block; margin-top: 18px; font-family: var(--mono); font-size: 13px; font-style: normal; color: var(--muted); letter-spacing: 0.06em; text-transform: none; }
.about p + p { margin-top: 16px; }
.about .txt { color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.contact-intro p { color: var(--muted); margin-top: 18px; max-width: 40ch; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.15); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-note { font-size: 13.5px; color: var(--muted); max-width: 44ch; }
/* Message de confirmation : encadré vert bien visible */
.form-msg {
  grid-column: 1 / -1; padding: 14px 16px 14px 44px; position: relative;
  border: 1px solid #3ddc84; background: rgba(61, 220, 132, 0.14); color: #7df0ae;
  font-size: 16px; font-weight: 600;
}
.form-msg::before { content: '✓'; position: absolute; left: 16px; top: 13px; font-size: 18px; }
.form-msg[hidden] { display: none; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer nav { display: flex; gap: 22px; }

/* ---------- Fiche jeu ---------- */
.g-hero { --g: var(--accent); position: relative; padding: 150px 0 70px; min-height: 78svh; display: grid; align-items: end; overflow: hidden; }
.g-hero-bg { position: absolute; inset: 0; z-index: -1; }
.g-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
.g-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 17, 0.55) 0%, rgba(6, 10, 17, 0.35) 40%, var(--bg) 100%); }
.back { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.g-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-hero h1 { font-size: clamp(34px, 6.4vw, 82px); text-transform: uppercase; margin: 20px 0 18px; text-shadow: 0 0 40px color-mix(in srgb, var(--g) 45%, transparent); }
.g-tagline { font-size: clamp(18px, 2vw, 24px); max-width: 44ch; }
.g-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.g-cta .btn:not(.ghost):not(.soon) { background: var(--g); border-color: var(--g); }
.g-cta .btn:hover { box-shadow: 0 8px 28px -6px var(--g); }

.g-main { --g: var(--accent); }
.g-main .eyebrow { color: var(--g); }
.g-cols { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: start; }
.g-desc { font-size: 19px; margin-top: 18px; }
.g-features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.g-features li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.g-features li::before { content: attr(data-n); font-family: var(--mono); font-size: 12px; color: var(--g); }
.g-side { background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 22px; }
.g-side dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.g-side dd { margin: 0; }
.g-side dl { margin: 0; display: grid; gap: 18px; }

/* Étapes de développement */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stages li { position: relative; padding: 0 0 18px 26px; color: var(--muted); font-size: 15px; }
.stages li:last-child { padding-bottom: 0; }
.stages li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border: 1.5px solid var(--line-strong); background: var(--bg); z-index: 1; }
.stages li::after { content: ''; position: absolute; left: 5px; top: 16px; bottom: -7px; width: 1px; background: var(--line-strong); }
.stages li:last-child::after { display: none; }
.stages li.done { color: var(--text); }
.stages li.done::before { background: var(--g); border-color: var(--g); }
.stages li.done::after { background: var(--g); }
.stages li.current { color: var(--g); font-weight: 600; }
.stages li.current::before { background: var(--g); border-color: var(--g); box-shadow: 0 0 0 4px color-mix(in srgb, var(--g) 25%, transparent), 0 0 14px var(--g); }
.stages li.current::after { background: var(--line-strong); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--surface); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 5vw, 56px); color: var(--g); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: relative; display: grid; justify-items: center; gap: 16px; background: none; border: 0; color: var(--text); cursor: pointer; font: inherit; }
.video-play i { width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid var(--g); display: grid; place-items: center; background: rgba(6, 10, 17, 0.6); transition: transform 0.25s, box-shadow 0.25s; }
.video-play i::before { content: ''; border-left: 20px solid var(--g); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video-play:hover i { transform: scale(1.08); box-shadow: 0 0 40px -4px var(--g); }
.video-play span, .video-soon { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.video-soon { position: relative; color: var(--muted); border: 1px dashed var(--line-strong); padding: 10px 16px; background: rgba(6, 10, 17, 0.7); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery.portrait { grid-template-columns: repeat(4, 1fr); }
.gallery button { padding: 0; border: 1px solid var(--line); background: var(--surface); cursor: zoom-in; overflow: hidden; aspect-ratio: 16 / 10; transition: border-color 0.25s; }
.gallery.portrait button { aspect-ratio: 9 / 19; }
.gallery button:hover { border-color: var(--g); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3, 6, 11, 0.94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: fade 0.25s; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 48px); border: 1px solid var(--line-strong); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Ajouts de la version PHP ---------- */
.section.tight { padding-top: 0; }
.h-small { font-size: clamp(24px, 3.2vw, 38px); text-transform: uppercase; margin-top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Champ piège pour les robots : invisible pour un visiteur */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.error { border-color: #ff8a8a; background: rgba(255, 138, 138, 0.12); color: #ff8a8a; }
.form-msg.error::before { content: '!'; }

/* Inscription à l'alerte wishlist */
.subscribe {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 40px; background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--g, var(--accent)) 45%, transparent);
  box-shadow: 0 30px 80px -50px var(--g, var(--accent));
}
.subscribe p { color: var(--muted); margin-top: 14px; }
.subscribe-form { display: grid; gap: 14px; }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-row input {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 0;
}
.subscribe-row input:focus { outline: none; border-color: var(--g, var(--accent)); }
.subscribe .btn { background: var(--g, var(--accent)); border-color: var(--g, var(--accent)); white-space: nowrap; }
.subscribe .form-note { margin-top: 0; max-width: none; }
.subscribe .form-msg { margin: 0; color: #7df0ae; }
.subscribe .form-msg.error { color: #ff8a8a; }

/* Quand on arrive sur une ancre (#alerte, #contact...), l'en-tête fixe ne masque pas le haut du bloc */
section[id] { scroll-margin-top: 96px; }

/* Section "Comment jouer" d'une fiche */
.guide-title { font-size: clamp(20px, 2.6vw, 28px); text-transform: uppercase; margin: 44px 0 10px; }
.guide-title:first-child { margin-top: 0; }
.guide-text { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--g, var(--accent)); padding: 20px; }
.guide-card h4 { margin: 0 0 8px; font-family: var(--body); font-size: 17px; font-weight: 600; }
.guide-card p { color: var(--muted); font-size: 15.5px; }

/* Bandeau affiché sur l'aperçu d'une fiche cachée */
.preview-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px; text-align: center;
  background: #f2b33d; color: #1a1200; font-size: 14.5px; font-weight: 600;
}

/* Pages de texte (confidentialité, désinscription) */
.page { padding: 150px 0 100px; min-height: 70svh; }
.narrow { max-width: 760px; }
.page-lead { font-size: 19px; margin: 22px 0 28px; }
.prose h1 { font-size: clamp(28px, 4.4vw, 46px); text-transform: uppercase; margin: 16px 0 26px; }
.prose h2 { font-family: var(--body); font-size: 21px; font-weight: 600; margin: 38px 0 12px; }
.prose h3 { font-family: var(--body); font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.prose p, .prose li { color: #b9c5d8; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); overflow-wrap: anywhere; }

.empty { color: var(--muted); font-family: var(--mono); font-size: 13.5px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .games, .about, .contact, .g-cols, .subscribe { grid-template-columns: 1fr; }
  .about, .contact, .g-cols { gap: 36px; }
  .section { padding: 76px 0; }
  .post { grid-template-columns: 1fr; gap: 10px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.portrait { grid-template-columns: repeat(2, 1fr); }
  .burger { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(6, 10, 17, 0.97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .brand-name { display: none; }
}
@media (max-width: 560px) {
  .contact form { grid-template-columns: 1fr; padding: 22px; }
  .subscribe { padding: 24px; }
  .subscribe-row { flex-direction: column; }
  .wrap { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .g-hero-bg img, .chip.status.live::before { animation: none; }
  .game { transform: none; }
}
