/* =========================================================
   VICE CITY NEWS — feuille de style principale
   Thème visuel original "synthwave / Miami néon", inspiré par
   l'ambiance générale du genre (pas d'assets Rockstar utilisés).
   ========================================================= */

:root {
  --bg-void: #06020c;
  --bg-dark: #0d0221;
  --bg-panel: #150a2b;
  --bg-panel-light: #1f1040;

  --purple: #7b2ff7;
  --magenta: #ff2fd0;
  --pink: #ff5da2;
  --cyan: #00e5ff;
  --orange: #ff7a30;
  --yellow: #ffd166;

  --text-light: #f5f0ff;
  --text-muted: #b7a7d9;
  --text-dim: #7c6b9c;

  --border-glow: rgba(255, 47, 208, 0.35);
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", sans-serif;

  --radius: 10px;
  --header-height: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ---------- Fond global : dégradé + grille horizon synthwave ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 122, 48, 0.35), transparent 45%),
    radial-gradient(circle at 50% 20%, rgba(255, 47, 208, 0.25), transparent 55%),
    linear-gradient(180deg, #1a0a3d 0%, #0d0221 45%, #06020c 100%);
}
.bg-grid {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 45vh;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(0,229,255,0.25) 1px, transparent 1px),
    linear-gradient(to top, rgba(255,47,208,0.25) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 90%);
  mask-image: linear-gradient(to top, black 0%, transparent 90%);
  transform: perspective(300px) rotateX(35deg);
  transform-origin: bottom;
  opacity: 0.55;
}

/* Texture étoilée discrète, tuilée sur toute la page (visuel original, aucune image externe) */
.bg-stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/star-tile.svg");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.5;
}

/* Illustration de skyline en fond du hero (visuel original SVG, pas d'asset Rockstar) */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero-skyline.svg");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  opacity: 0.55;
  z-index: -1;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-glow);
}
/* Le flou est isolé sur une couche décorative : appliquer backdrop-filter
   directement sur .site-header créerait un conteneur de positionnement
   pour ses descendants en position fixed (menu mobile notamment). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 2, 33, 0.75);
  backdrop-filter: blur(10px);
  z-index: -1;
}

body { padding-top: var(--header-height); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.logo .logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo .vc { color: var(--text-light); }
.logo .news {
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; }

.main-nav a.nav-link {
  display: inline-block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color .2s ease, background .2s ease;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link.active {
  color: var(--text-light);
  background: rgba(255, 47, 208, 0.12);
  box-shadow: 0 0 12px rgba(255, 47, 208, 0.25) inset;
}

.nav-item.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--text-muted);
}
.dropdown-menu a:hover { color: var(--cyan); background: rgba(0,229,255,0.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text-light); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(90deg, var(--magenta), var(--purple));
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 47, 208, 0.45);
}
.btn-primary:hover { box-shadow: 0 0 28px rgba(255, 47, 208, 0.7); }

.btn-outline {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-outline:hover { background: rgba(0,229,255,0.1); box-shadow: 0 0 18px rgba(0,229,255,0.35); }

.btn-ghost { color: var(--text-muted); border-color: rgba(255,255,255,0.15); }
.btn-ghost:hover { color: var(--text-light); border-color: var(--text-light); }

.btn[disabled], .btn.is-disabled {
  opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 150px;
  text-align: center;
  position: relative;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--yellow);
  border: 1px solid rgba(255, 209, 102, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 84px);
  line-height: 1.05;
  background: linear-gradient(90deg, var(--cyan), var(--magenta) 50%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255, 47, 208, 0.35);
}
.hero p.subtitle {
  max-width: 620px;
  margin: 28px auto 42px;
  color: var(--text-muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 60px auto 0;
  flex-wrap: wrap;
}
.countdown .unit {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 84px;
  text-align: center;
}
.countdown .unit .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(0,229,255,0.6);
}
.countdown .unit .label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}
.countdown-note { text-align:center; color: var(--text-dim); font-size: 13px; margin-top: 14px; }

/* ---------- Sections génériques ---------- */
section { padding: 96px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: 30px;
  position: relative;
  padding-bottom: 14px;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  border-radius: 3px;
}
.section-head p { color: var(--text-muted); max-width: 520px; }

/* ---------- Grilles / cartes ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-light));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 34px rgba(255, 47, 208, 0.15);
}
.card-media {
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,229,255,0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(255,47,208,0.35), transparent 55%),
    var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
}
.card-body { padding: 26px; }
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag-actu { background: rgba(255,47,208,0.15); color: var(--magenta); }
.tag-rumeur { background: rgba(255,209,102,0.15); color: var(--yellow); }
.tag-officiel { background: rgba(0,229,255,0.15); color: var(--cyan); }
.tag-gameplay { background: rgba(123,47,247,0.2); color: #c9a4ff; }
.tag-youtube { background: rgba(255,122,48,0.15); color: var(--orange); }
.tag-twitch { background: rgba(123,47,247,0.2); color: #c9a4ff; }

/* ---------- Vidéos (liens communautaires) ---------- */
.video-card .card-media { position: relative; }
.video-card .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-card .play-badge svg {
  width: 44px; height: 44px; color: rgba(245,240,255,0.7);
}
.video-card .creator {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 13px; color: var(--text-dim);
}

.card h3 { font-size: 18px; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- Bandeau "infos confirmées" (Actualités) ---------- */
.confirmed-panel {
  background: linear-gradient(120deg, rgba(0,229,255,0.08), rgba(255,47,208,0.06));
  border: 1px solid var(--border-glow);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 56px;
}
.confirmed-panel .confirmed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.confirmed-panel h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
}
.confirmed-panel .updated-at {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
.confirmed-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.confirmed-list li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.confirmed-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--cyan); margin-top: 2px; }

/* ---------- Filtres ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.filter-chip {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  transition: all .15s ease;
}
.filter-chip:hover { color: var(--text-light); border-color: var(--cyan); }
.filter-chip.active {
  background: linear-gradient(90deg, var(--magenta), var(--purple));
  color: #fff;
  border-color: transparent;
}

/* ---------- Bandeau "à venir" (Guides) ---------- */
.locked-panel {
  text-align: center;
  padding: 70px 30px;
  background: var(--bg-panel);
  border: 1px dashed var(--border-glow);
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto 60px;
}
.locked-panel .lock-icon { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--yellow); }
.locked-panel h2 { font-size: 26px; margin-bottom: 12px; }
.locked-panel p { color: var(--text-muted); max-width: 460px; margin: 0 auto; }

.ghost-grid { opacity: 0.4; pointer-events: none; filter: grayscale(0.4); }
.ghost-grid .card:hover { transform: none; box-shadow: none; }

/* ---------- Forum ---------- */
.forum-category {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 18px;
  transition: border-color .2s ease;
}
.forum-category:hover { border-color: var(--border-glow); }
.forum-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  flex-shrink: 0;
}
.forum-info { flex: 1; min-width: 200px; }
.forum-info h3 { text-transform: none; font-size: 17px; margin-bottom: 4px; }
.forum-info p { color: var(--text-muted); font-size: 13.5px; }
.forum-stats {
  display: flex; gap: 26px; text-align: center; color: var(--text-dim); font-size: 13px;
}
.forum-stats .num { color: var(--text-light); font-family: var(--font-display); font-size: 16px; display:block; }
.forum-latest {
  min-width: 220px;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-dim);
}
.forum-latest .thread-title { color: var(--text-light); display: block; margin-bottom: 4px; }

.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 12px; color: #06020c;
}

/* ---------- Descriptions (armes / véhicules / maps / items) ---------- */
.item-card { text-align: center; padding: 30px 20px; }
.item-card .icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
}
.item-card .icon-wrap svg { width: 30px; height: 30px; color: var(--cyan); }
.item-card h3 { font-size: 15px; }
.item-card .category { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.item-card.has-thumb { padding: 0; text-align: center; }
.item-card.has-thumb .card-media { border-radius: 0; }
.item-card.has-thumb h3 { margin: 16px 16px 0; }
.item-card.has-thumb .category { margin: 4px 16px 18px; }


/* ---------- Pages de détail (article / fiche) ---------- */
.detail-hero { max-width: 900px; margin: 0 auto 36px; }
.detail-hero .card-media { aspect-ratio: 21/9; border-radius: var(--radius); }
.detail-hero img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  display: block;
}
.card-media.has-img { position: relative; padding: 0; overflow: hidden; }
.card-media.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media .media-credit {
  position: absolute; right: 8px; bottom: 6px;
  font-size: 10.5px; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 8px auto 24px;
}
.detail-gallery figure { margin: 0; }
.detail-gallery img {
  width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block;
  border-radius: var(--radius); border: 1px solid var(--border-glow);
}
.detail-gallery figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.image-credit {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 8px;
  text-align: right;
}

/* ---------- Affiche officielle (visuel Rockstar credité) ---------- */
.official-art {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.official-art img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  display: block;
}
.official-art .image-credit { text-align: center; margin-top: 12px; }
.detail-head { max-width: 760px; margin: 0 auto 8px; }
.detail-head h1 {
  font-size: clamp(26px, 4vw, 38px);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
  margin-top: 14px;
}
.detail-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.detail-body p { margin-bottom: 20px; }
.detail-body p:last-child { margin-bottom: 0; }
.detail-body a { color: var(--cyan); }
.detail-body strong { color: var(--text-light); }
.detail-body h2 {
  font-size: 19px;
  color: var(--text-light);
  margin: 40px 0 14px;
  letter-spacing: 0.5px;
}
.detail-body ul { margin: 0 0 22px 22px; }
.detail-body li { margin-bottom: 8px; }
.detail-body .detail-gallery { margin: 26px 0 30px; }

/* Encadré « À retenir » en tête d'article */
.key-facts {
  background: linear-gradient(120deg, rgba(255,47,208,0.10), rgba(0,229,255,0.06));
  border: 1px solid var(--border-glow);
  border-left: 3px solid var(--magenta);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 30px;
}
.key-facts h3 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--magenta);
  margin-bottom: 10px;
}
.key-facts ul { margin: 0 0 0 18px; }
.key-facts li { margin-bottom: 6px; }

/* Mention « non confirmé » dans le corps d'un article */
.note-unconfirmed {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 16px;
  font-size: 15px;
  color: var(--text-dim);
}

/* Liens « À lire aussi » en pied d'article */
.related-links {
  max-width: 760px;
  margin: 28px auto 0;
}
.related-links h3 { font-size: 13px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 12px; }
.related-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  color: var(--text-light);
  font-size: 14px;
}
.related-links a:hover { border-color: var(--cyan); color: var(--cyan); }
.detail-source {
  max-width: 760px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--text-dim);
}
.detail-source a { color: var(--cyan); }
.detail-pending {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 14.5px;
  font-style: italic;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(120deg, rgba(255,47,208,0.12), rgba(0,229,255,0.08));
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: 24px; margin-bottom: 8px; }
.newsletter p { color: var(--text-muted); }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text-light);
  min-width: 240px;
  font-family: var(--font-body);
  font-size: 15px;
}
.newsletter-form input::placeholder { color: var(--text-dim); }

/* ---------- Formulaire "Proposer une vidéo" ---------- */
.video-submit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 22px;
}
.video-submit-form .field-full { grid-column: 1 / -1; }
.video-submit-form label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.video-submit-form input,
.video-submit-form select,
.video-submit-form textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 15px;
}
.video-submit-form input::placeholder,
.video-submit-form textarea::placeholder { color: var(--text-dim); }
.video-submit-form select { appearance: none; cursor: pointer; }
.video-submit-form input:focus,
.video-submit-form select:focus,
.video-submit-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.video-submit-form textarea { resize: vertical; min-height: 90px; }
.video-submit-form .form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.video-submit-note {
  font-size: 12.5px;
  color: var(--text-dim);
}
.form-status {
  font-size: 13.5px;
  color: var(--cyan);
  display: none;
}
.form-status.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-glow);
  padding: 64px 0 36px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a:hover { color: var(--cyan); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- Badge "placeholder" (mode démo) ---------- */
.demo-banner {
  background: var(--yellow);
  color: #221600;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 16px;
}
.demo-banner a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
    background: var(--bg-dark); flex-direction: column; align-items: stretch;
    padding: 20px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow:none; }
  .nav-item.dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; text-align: center; }
  .forum-category { flex-wrap: wrap; }
  .forum-latest { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; width: 100%; }
  .video-submit-form { grid-template-columns: 1fr; }
}

/* ---------- Jauges de statistiques (fiches armes) ---------- */
.weapon-stats {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  margin: 0 0 32px;
  box-shadow: 0 0 30px rgba(123, 47, 247, 0.15);
}
.weapon-stats h3 { font-size: 13px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 16px; }
.stat-list { display: grid; gap: 12px; }
.stat-row {
  display: grid;
  grid-template-columns: 150px 1fr 38px;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.stat-label { color: var(--text-light); font-weight: 600; }
.stat-label em { color: var(--text-dim); font-weight: 400; font-size: 12.5px; }
.stat-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.stat-fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  transition: width 0.9s cubic-bezier(.2,.8,.2,1);
}
.weapon-stats.pre .stat-fill { width: 0; transition: none; }
.stat-row.est .stat-fill {
  background: repeating-linear-gradient(135deg, var(--yellow) 0 6px, rgba(255, 209, 102, 0.45) 6px 12px);
  box-shadow: none;
}
.stat-val { font-family: var(--font-display); font-size: 14px; color: var(--text-light); text-align: right; }
.stat-note { font-size: 12.5px; line-height: 1.6; color: var(--text-dim); margin: 16px 0 0 !important; }
.stat-note a { color: var(--cyan); }
@media (max-width: 560px) {
  .stat-row { grid-template-columns: 1fr 34px; gap: 4px 10px; }
  .stat-row .stat-label { grid-column: 1 / -1; }
}

/* ---------- Comparateur d'armes ---------- */
.compare-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 40px;
}
.compare-panel h2 { margin-bottom: 6px; }
.compare-panel > p { color: var(--text-muted); margin-bottom: 18px; }
.compare-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.compare-selects select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-panel-light);
  color: var(--text-light);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
}
.compare-selects label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; letter-spacing: 1px; }
.compare-grid { display: grid; gap: 14px; }
.compare-row { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
.compare-row .stat-label { font-size: 15px; }
.compare-bars { display: grid; gap: 5px; }
.compare-bars .stat-row { grid-template-columns: 1fr 38px; gap: 10px; }
.compare-bars .b .stat-fill { background: linear-gradient(90deg, var(--orange), var(--yellow)); box-shadow: 0 0 12px rgba(255, 122, 48, 0.45); }
.compare-legend { display: flex; gap: 18px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.compare-legend span::before { content: ""; display: inline-block; width: 22px; height: 8px; border-radius: 4px; margin-right: 7px; vertical-align: middle; }
.compare-legend .la::before { background: linear-gradient(90deg, var(--magenta), var(--cyan)); }
.compare-legend .lb::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.compare-na { font-size: 13px; color: var(--text-dim); font-style: italic; }
@media (max-width: 640px) {
  .compare-selects { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; gap: 6px; }
}
.compare-bars .stat-row.est .stat-fill { background: repeating-linear-gradient(135deg, var(--yellow) 0 6px, rgba(255, 209, 102, 0.45) 6px 12px); box-shadow: none; }
.compare-bars .stat-row.b.est .stat-fill { background: repeating-linear-gradient(135deg, var(--orange) 0 6px, rgba(255, 122, 48, 0.45) 6px 12px); }

/* ---------- Carte interactive ---------- */
.map-filters { margin-top: 18px; }
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
  gap: 26px;
  align-items: start;
}
.map-frame {
  position: relative;
  background: radial-gradient(ellipse at 60% 70%, rgba(123, 47, 247, 0.25), transparent 70%), var(--bg-dark);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  overflow: hidden;
}
#leonida-map { display: block; width: 100%; height: auto; touch-action: none; user-select: none; }
.sea-label { fill: rgba(0, 229, 255, 0.35); font-family: var(--font-display); font-size: 11px; letter-spacing: 4px; text-anchor: middle; }
.zone {
  fill: rgba(123, 47, 247, 0.16);
  stroke: rgba(255, 47, 208, 0.55);
  stroke-width: 1.5;
  cursor: pointer;
  transition: fill 0.2s, stroke 0.2s;
}
.zone:hover, .zone:focus { fill: rgba(255, 47, 208, 0.22); outline: none; }
.zone.active { fill: rgba(0, 229, 255, 0.18); stroke: var(--cyan); stroke-width: 2.5; }
.zone-voisin { fill: rgba(255, 255, 255, 0.03); stroke-dasharray: 6 5; stroke: rgba(183, 167, 217, 0.4); }
.zone-label { fill: rgba(245, 240, 255, 0.55); font-family: var(--font-display); font-size: 11px; letter-spacing: 2px; text-anchor: middle; pointer-events: none; }
.pin { cursor: pointer; }
.pin:focus { outline: none; }
.pin-dot { stroke: #0d0221; stroke-width: 2; transition: r 0.15s; }
.pin-halo { fill: transparent; transition: fill 0.2s; }
.pin:hover .pin-halo, .pin:focus .pin-halo, .pin.active .pin-halo { fill: rgba(255, 255, 255, 0.18); }
.pin.active .pin-dot { stroke: #fff; }
.pin-region .pin-dot { fill: var(--magenta); }
.pin-ville .pin-dot { fill: var(--cyan); }
.pin-interet .pin-dot { fill: var(--yellow); }
.pin-eau .pin-dot { fill: #3b82f6; }
.pin-label { fill: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: #0d0221; stroke-width: 4px; pointer-events: none; }
.pin.is-hidden { display: none; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.map-zoom button {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-glow);
  background: rgba(13, 2, 33, 0.85);
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
}
.map-zoom button:hover { border-color: var(--cyan); color: var(--cyan); }
.map-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 18px;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}
.map-search input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-panel-light);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 16px;
}
.map-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-glow); margin-bottom: 12px; }
.map-card h3 { font-size: 20px; text-transform: none; letter-spacing: 0; margin: 6px 0 4px; }
.map-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.map-card .map-card-zone { color: var(--cyan); font-size: 13.5px; margin-bottom: 8px; }
.map-card-type { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--magenta); }
.map-card-empty { color: var(--text-dim); font-style: italic; }
.map-card-link { display: inline-block; font-size: 14px; padding: 9px 16px; }
.map-list-wrap { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 14px; }
.map-list-wrap h3 { font-size: 12px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 10px; }
.map-list { list-style: none; display: grid; gap: 4px; max-height: 260px; overflow: auto; }
.map-list button {
  width: 100%; text-align: left;
  background: none; border: 0;
  color: var(--text-light);
  font-family: var(--font-body); font-size: 15px;
  padding: 6px 8px; border-radius: 6px; cursor: pointer;
}
.map-list button:hover { background: rgba(255, 255, 255, 0.06); color: var(--cyan); }
.map-list-empty { color: var(--text-dim); font-size: 14px; font-style: italic; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; }
.dot-region { background: var(--magenta); } .dot-ville { background: var(--cyan); }
.dot-interet { background: var(--yellow); } .dot-eau { background: #3b82f6; }
.map-unplaced { margin-top: 26px; }
.map-unplaced h3 { font-size: 13px; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 8px; }
.map-unplaced ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.map-unplaced a { display: inline-block; padding: 7px 13px; border: 1px dashed var(--border-glow); border-radius: 999px; color: var(--text-light); font-size: 14px; }
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-panel { position: static; }
}

/* Bandeau d'accès à la carte (page Maps) */
.map-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.10), rgba(255, 47, 208, 0.10));
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 26px;
}
.map-cta h3 { margin-bottom: 4px; }
.map-cta p { color: var(--text-muted); margin: 0; }

/* ---------- Fiche technique (items / marques) ---------- */
.spec-panel .stat-list { margin-bottom: 12px; }
.spec-line { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 15px; }
.spec-k { color: var(--text-dim); }
.spec-v { color: var(--text-light); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-muted); }
.chip-hl { border-color: var(--magenta); color: var(--text-light); background: rgba(255, 47, 208, 0.15); }
@media (max-width: 560px) { .spec-line { grid-template-columns: 1fr; gap: 4px; } }

.source-note {
  font-size: 14px;
  color: var(--text-muted);
  border-left: 3px solid var(--border-glow);
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.source-note .tag { margin-right: 8px; }
