/* ╔══════════════════════════════════════════════════════════════════╗
   ║  Don Mafio — Site officiel — Style mafia dark                    ║
   ║                                                                  ║
   ║  Palette :                                                       ║
   ║   - Noir profond #0a0a0a (background)                            ║
   ║   - Charbon #1a1a1a (cards, sections)                            ║
   ║   - Or mafia #e8b923 (accents, titles)                           ║
   ║   - Rouge sang #8b0000 (CTAs, dangers)                           ║
   ║   - Crème #f0e6d2 (texte principal)                              ║
   ║   - Gris ombré #888 (texte secondaire)                           ║
   ╚══════════════════════════════════════════════════════════════════╝ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@500;700;900&family=Inter:wght@400;500;600&family=Mr+De+Haviland&display=swap');

:root {
  --bg-black: #0a0a0a;
  --bg-coal: #1a1a1a;
  --bg-coal-lighter: #232323;
  --gold: #e8b923;
  --gold-dim: #b8901a;
  --blood: #8b0000;
  --blood-bright: #a32020;
  --cream: #f0e6d2;
  --cream-dim: #c0b8a0;
  --gray-shadow: #888;
  --gray-dark: #444;
  --border-thick: 4px solid #000;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-black);
  color: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ────────────────────────────────────────────────────────────────────
   Typography
   ──────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.8rem; color: var(--cream); }
h4 { font-size: 1.1rem; color: var(--cream); margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; color: var(--cream-dim); }
a  { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cream); }

/* Hero h1 a un look spécial — DON en outline doré + Mafio signature manuscrite */
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  font-size: clamp(3rem, 9vw, 7.5rem);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  flex-wrap: wrap;
  line-height: 1.1;
}
.hero h1 .don {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
  text-shadow:
    0 0 30px rgba(232, 185, 35, 0.4),
    0 0 60px rgba(139, 0, 0, 0.3);
}
/* Mobile : halo plus discret (le rayon en px paraît énorme à haute densité écran) */
@media (max-width: 768px) {
  .hero h1 .don {
    -webkit-text-stroke: 1.5px var(--gold);
    text-shadow:
      0 0 12px rgba(232, 185, 35, 0.30),
      0 0 24px rgba(139, 0, 0, 0.20);
  }
}
.hero h1 .mafio {
  font-family: 'Mr De Haviland', cursive;
  -webkit-text-stroke: 0;
  color: #9c9c9c;             /* gris légèrement éclairci */
  font-size: 1.15em;          /* Mr De Haviland a un x-height bas → on agrandit */
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 0.9;
  transform: rotate(-3deg) translateY(0.05em);
  display: inline-block;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(0, 0, 0, 0.5);
  opacity: 1;
}

/* ────────────────────────────────────────────────────────────────────
   Layout
   ──────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

/* ────────────────────────────────────────────────────────────────────
   Header / Nav
   ──────────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-dim);
  padding: 12px 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lang-toggle {
  background: transparent;
  border: 2px solid var(--gold-dim);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lang-toggle:hover {
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(232,185,35,0.4);
}
.lang-toggle img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.brand img { height: 40px; width: auto; }
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }

/* Burger mobile */
.burger {
  display: none;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* ────────────────────────────────────────────────────────────────────
   Hero
   ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;     /* contenu remonte vers le haut */
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;     /* padding-top réduit pour rapprocher la pointe */
  background:
    radial-gradient(ellipse at top, rgba(139,0,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(232,185,35,0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-black) 0%, #050505 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 50px, rgba(232,185,35,0.02) 50px 51px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream-dim);
  max-width: 600px;
  margin: 1.5rem auto 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-character {
  position: absolute;
  bottom: 0;
  right: -80px;
  height: 80%;
  max-height: 600px;
  opacity: 0.18;
  filter: drop-shadow(0 0 40px rgba(232,185,35,0.2));
  pointer-events: none;
  z-index: 2;
}

/* ── Parallax background du hero (3 couches) ─────────────────────── */
.parallax-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
}
.parallax-sky {
  top: 0;
  background-image: url('images/parallax_Nuit.png');
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center top;
  opacity: 0.85;
  z-index: 0;
}
.parallax-buildings {
  height: 60%;
  background-image: url('images/parallax_Buildings.png');
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: bottom center;
  opacity: 1;
  z-index: 2;
  /* Brightness boost : les pixels du PNG sont rgb(17,17,17) — quasi-noirs.
     Sur un écran PC dimmer, ils se fondent dans le fond hero rgb(8,8,8) et
     deviennent invisibles. On les remonte pour qu'ils ressortent. */
  filter: brightness(2.8) contrast(1.1) drop-shadow(0 -2px 18px rgba(232, 185, 35, 0.18));
}
.parallax-shadows {
  height: 40%;
  background-image: url('images/parallax_Ombres.png');
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: bottom center;
  opacity: 0.95;
  z-index: 1;
}
.hero-content { position: relative; z-index: 3; }

/* ── Image Grand Skull Hôtel au-dessus du titre ─────────────────── */
.hero-hotel {
  display: block;
  margin: -10px auto 12px;     /* pointe collée vers le haut */
  max-height: 280px;
  height: auto;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85))
          drop-shadow(0 0 30px rgba(232, 185, 35, 0.15));
  user-select: none;
}
@media (max-width: 768px) {
  .hero-hotel { max-height: 180px; margin: -8px auto 8px; }
}

/* ── Nuages flottants dans le hero ──────────────────────────────── */
/* Trois plans de profondeur : lointains (back), moyens (mid), proches (front) */
.cloud {
  position: absolute;
  background-image: url('images/Cloud.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  /* Pas de filtre couleur : sur PC à faible densité d'écran, brightness/sepia
     écrasaient les nuances de gris du PNG en aplat. On contrôle l'intensité
     uniquement via opacity (déjà fait par cloud-back/mid/front). */
  filter: blur(0.4px);
}

/* — Lointains : petits, derrière l'hôtel et tout — */
.cloud-back {
  z-index: 2;
  opacity: 0.45;
}
.cloud-1 { top: 8%;   width: 280px; height: 105px; animation: cloud-drift 110s linear infinite; animation-delay: 0s; }
.cloud-2 { top: 18%;  width: 220px; height: 85px;  animation: cloud-drift 140s linear infinite; animation-delay: -50s; opacity: 0.4; }
.cloud-3 { top: 28%;  width: 330px; height: 125px; animation: cloud-drift 125s linear infinite; animation-delay: -80s; opacity: 0.5; }

/* — Moyens : taille moyenne, semi-transparents — */
.cloud-mid {
  z-index: 5;                  /* entre l'hôtel et le contenu */
  opacity: 0.65;
}
.cloud-4 { top: 14%;  width: 360px; height: 135px; animation: cloud-drift 90s linear infinite; animation-delay: -25s; }
.cloud-5 { top: 32%;  width: 300px; height: 115px; animation: cloud-drift 100s linear infinite; animation-delay: -60s; opacity: 0.55; }

/* — Proches : gros, opaques, passent DEVANT le bâtiment et le titre — */
.cloud-front {
  z-index: 20;                 /* devant tout */
  opacity: 0.85;
  /* Pas de blur pour les nuages proches, et pas de filter couleur (cf .cloud) */
  filter: none;
}
.cloud-6 { top: 35%;  width: 520px; height: 200px; animation: cloud-drift 75s linear infinite; animation-delay: -40s; }
.cloud-7 { top: 20%;  width: 460px; height: 175px; animation: cloud-drift 85s linear infinite; animation-delay: -10s; opacity: 0.75; }

@keyframes cloud-drift {
  0%   { transform: translateX(-40vw); }
  100% { transform: translateX(140vw); }
}
@media (max-width: 768px) {
  .cloud-3, .cloud-5 { display: none; }
  .cloud-1, .cloud-2, .cloud-4 { width: 180px; height: 70px; }
  .cloud-6, .cloud-7 { width: 280px; height: 110px; }
}

/* ────────────────────────────────────────────────────────────────────
   Buttons
   ──────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-black);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(232,185,35,0.3);
}
.btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--bg-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232,185,35,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-black);
}
.btn-danger {
  background: var(--blood);
  color: var(--cream);
  border-color: var(--blood);
}
.btn-danger:hover {
  background: var(--blood-bright);
  border-color: var(--blood-bright);
}

/* ────────────────────────────────────────────────────────────────────
   Section title
   ──────────────────────────────────────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}
.section-subtitle {
  text-align: center;
  color: var(--cream-dim);
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

/* ────────────────────────────────────────────────────────────────────
   Features grid
   ──────────────────────────────────────────────────────────────────── */
.features {
  background: var(--bg-coal);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-black);
  border: 2px solid var(--gray-dark);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(232,185,35,0.15);
}
.feature-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}
.feature-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

/* ────────────────────────────────────────────────────────────────────
   Game modes section
   ──────────────────────────────────────────────────────────────────── */
.modes {
  background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-coal) 100%);
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.mode-card {
  background: var(--bg-coal-lighter);
  border: 2px solid var(--gold-dim);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.mode-card:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}
.mode-card-image {
  height: 200px;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mode-card-image img {
  max-width: 70%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.mode-card:hover .mode-card-image img { transform: scale(1.08); }
.mode-card-content {
  padding: 24px;
}
.mode-card-content h3 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
}
.mode-card-content p {
  font-size: 0.95rem;
}

/* ────────────────────────────────────────────────────────────────────
   Empire section — Menu2_building + HQ progression
   ──────────────────────────────────────────────────────────────────── */
.empire {
  background: linear-gradient(180deg, var(--bg-coal) 0%, var(--bg-black) 100%);
  position: relative;
  overflow: hidden;
}
.empire-stage {
  position: relative;
  min-height: 480px;
  margin: 2rem auto 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.empire-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 80%;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  pointer-events: none;
}
.empire-progression {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  margin-top: 240px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.hq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}
.hq-card:hover { transform: translateY(-6px) scale(1.05); }
.hq-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}
.hq-card-final img {
  filter: drop-shadow(0 0 16px rgba(232,185,35,0.5));
}
.hq-label {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.hq-card-final .hq-label {
  color: var(--gold);
}
.hq-arrow {
  font-size: 2rem;
  color: var(--gold-dim);
  align-self: center;
  margin-bottom: 30px;
}
.empire-text {
  text-align: center;
  color: var(--cream-dim);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .empire-stage { min-height: 380px; }
  .empire-bg { max-width: 400px; }
  .empire-progression { margin-top: 180px; gap: 8px; padding: 16px; }
  .hq-card img { width: 70px; height: 70px; }
  .hq-arrow { font-size: 1.3rem; margin-bottom: 24px; }
}

/* ────────────────────────────────────────────────────────────────────
   Studio section
   ──────────────────────────────────────────────────────────────────── */
.studio {
  background: var(--bg-coal);
  text-align: center;
}
.studio-logo {
  max-width: 280px;
  width: 60%;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 20px rgba(232,185,35,0.2));
}
.studio-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--cream-dim);
}

/* ────────────────────────────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────────────────────────────── */
footer {
  background: #050505;
  padding: 60px 0 30px;
  border-top: 2px solid var(--gold-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-text {
  color: var(--cream-dim);
  margin-top: 1rem;
  font-size: 0.9rem;
}
footer h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}
footer ul {
  list-style: none;
}
footer ul li { margin-bottom: 0.5rem; }
footer ul a {
  color: var(--cream-dim);
  font-size: 0.9rem;
}
footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--gray-dark);
  padding-top: 20px;
  text-align: center;
  color: var(--gray-shadow);
  font-size: 0.85rem;
}

/* ────────────────────────────────────────────────────────────────────
   Legal pages (privacy / terms)
   ──────────────────────────────────────────────────────────────────── */
.legal-hero {
  background:
    radial-gradient(ellipse at top, rgba(139,0,0,0.10) 0%, transparent 70%),
    var(--bg-black);
  padding: 140px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--gold-dim);
}
.legal-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  -webkit-text-stroke: 0;
  color: var(--gold);
}
.legal-hero .last-updated {
  color: var(--cream-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}
.legal-content {
  background: var(--bg-coal);
  padding: 60px 0 100px;
}
.legal-content .container { max-width: 850px; }
.legal-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-dark);
}
.legal-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--cream);
  margin: 1.5rem 0 0.6rem;
}
.legal-content p, .legal-content li {
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0.8rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}
.legal-content strong { color: var(--cream); }
.legal-toc {
  background: var(--bg-black);
  border: 1px solid var(--gray-dark);
  padding: 24px;
  margin-bottom: 40px;
  border-left: 4px solid var(--gold);
}
.legal-toc h4 {
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.legal-toc ol { padding-left: 1.5rem; color: var(--cream-dim); }
.legal-toc a { color: var(--cream-dim); }
.legal-toc a:hover { color: var(--gold); }

/* ────────────────────────────────────────────────────────────────────
   Press kit
   ──────────────────────────────────────────────────────────────────── */
.presskit-section { background: var(--bg-coal); }
.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: var(--bg-black);
  border: 1px solid var(--gray-dark);
}
.fact-table th, .fact-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-dark);
}
.fact-table th {
  background: var(--bg-coal-lighter);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  width: 35%;
}
.fact-table td { color: var(--cream-dim); }
.fact-table tr:last-child th, .fact-table tr:last-child td { border-bottom: none; }

/* ────────────────────────────────────────────────────────────────────
   Section Ranks — Hiérarchie de la Famille (index.html)
   ──────────────────────────────────────────────────────────────────── */
.ranks {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-coal) 0%, var(--bg-black) 100%);
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}
.ranks .section-title {
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1.2rem;
}
.ranks-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--cream-dim);
  font-size: 1.05rem;
}
.ranks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 2.5rem;
}
.rank-card {
  background: var(--bg-coal);
  border: 1px solid var(--gray-dark);
  border-top: 3px solid var(--gold-dim);
  padding: 18px 10px 14px;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.rank-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  border-top-color: var(--gold);
  box-shadow: 0 6px 20px rgba(232, 185, 35, 0.18);
}
.rank-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  image-rendering: pixelated;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}
.rank-card h4 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.rank-card .rank-rep {
  color: var(--cream-dim);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.rank-card.rank-elite {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, #1f1a0e 0%, var(--bg-coal) 100%);
}
.rank-card.rank-king {
  border: 1px solid var(--blood-bright);
  border-top: 3px solid var(--blood-bright);
  background: linear-gradient(180deg, #1f0c0c 0%, var(--bg-coal) 100%);
}
.rank-card.rank-king h4 { color: var(--blood-bright); }
.ranks-footnote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--gray-shadow);
  font-style: italic;
  font-size: 0.95rem;
}
@media (max-width: 1000px) {
  .ranks-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .ranks-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rank-card img { width: 56px; height: 56px; }
  .rank-card h4 { font-size: 0.85rem; }
  .rank-card .rank-rep { font-size: 0.75rem; }
}

/* ────────────────────────────────────────────────────────────────────
   Screenshots commentés — Press kit "Découvrir le jeu en images"
   ──────────────────────────────────────────────────────────────────── */
.screen-block {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 3rem 0 3.5rem;
  padding: 32px;
  background: var(--bg-black);
  border: 1px solid var(--gray-dark);
  border-left: 4px solid var(--gold);
}
.screen-block.reverse { direction: rtl; }
.screen-block.reverse > * { direction: ltr; }
.screen-block img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}
.screen-block .screen-caption h3 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  margin-bottom: 0.6rem;
}
.screen-block .screen-caption p {
  color: var(--cream-dim);
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .screen-block, .screen-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 2rem;
}
.asset-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--bg-black);
  border: 1px solid var(--gray-dark);
  padding: 16px;
  transition: all 0.2s;
}
.asset-grid img:hover {
  border-color: var(--gold);
  transform: scale(1.04);
}

/* ────────────────────────────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .burger { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    right: 24px;
    background: var(--bg-coal);
    border: 2px solid var(--gold);
    padding: 16px 24px;
    flex-direction: column;
    gap: 14px;
    min-width: 200px;
  }
  nav ul.open { display: flex; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .hero-character { display: none; }
  section { padding: 60px 0; }
  .legal-content { padding: 40px 0 60px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-colu