/*
Theme Name: Minijeu Theme
Theme URI: https://github.com/navinnooli2/website-builder
Description: Theme EMD mono-jeu (Plinko, Aviator, Mines...) - calque plinko-birds.fr
Version: 1.0.0
Author: website-builder
Text Domain: minijeu-theme
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* CTA primaire (argent réel / vert) — défauts ; surchargés par functions.php depuis l'option minijeu_accent_color */
  --cta-primary: #28CE8A;
  --cta-primary-dark: #1faa6f;
  --cta-primary-bg: rgba(40,206,138,0.10);

  /* CTA démo (rose/rouge fixe plinko) */
  --cta-demo: #EA2F5D;
  --cta-demo-dark: #d72855;
  --cta-demo-bg: #FFE3EA;

  /* Fond de page */
  --bg: #f5f7fb;
  --bg-card: #ffffff;
  --bg-section-alt: #f1f2f4;

  /* Navy (textes, titres, header nav, footer fond) */
  --navy: #0f1c32;
  --navy-2: #132B46;
  --navy-3: #173774;

  /* Textes */
  --text-head: #0f1c32;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-dim: #a9adb9;
  --text-link: #1ea7e3;

  /* Bordures & zebra */
  --border: #dcdfe4;
  --border-light: #e7eaee;
  --table-head-bg: #e7eaee;
  --table-zebra: #f3f4f5;

  /* Accents sémantiques */
  --green: #28CE8A;
  --green-bg: #DDF7EC;
  --red: #f22d2d;
  --red-demo: #EA2F5D;
  --gold: #E9963D;
  --gold-light: #FFDF59;

  /* Misc */
  --radius: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow: 2px 4px 16px rgba(19,43,70,0.12);
  --shadow-md: 2px 4px 23px rgba(23,55,116,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ── */
.mj-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ══════════════════════════════
   HEADER STICKY — blanc, ombre légère
══════════════════════════════ */
.mj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(19,43,70,0.09);
}

.mj-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.mj-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
  flex-shrink: 0;
}
.mj-logo img { height: 36px; width: auto; }
.mj-logo-icon { font-size: 1.4rem; }
.mj-logo-text { color: var(--navy); }
.mj-logo-accent { color: var(--cta-primary); }

.mj-nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: nowrap;
  overflow: hidden;
}

.mj-nav-desktop a {
  color: var(--navy-2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.mj-nav-desktop a:hover {
  color: var(--navy);
  background: var(--bg-section-alt);
}

.mj-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mj-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.mj-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mj-hamburger.is-open span:nth-child(2) { opacity: 0; }
.mj-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mj-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}
.mj-nav-mobile a {
  color: var(--navy-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}
.mj-nav-mobile a:last-child { border-bottom: none; }
.mj-nav-mobile a:hover { color: var(--navy); }
.mj-nav-mobile.is-open { display: flex; }

/* ══════════════════════════════
   HERO + GAME PLAYER
══════════════════════════════ */
.mj-hero {
  background: #ffffff;
  padding: 40px 0 0;
  border-bottom: 1px solid var(--border);
}

.mj-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: center;
}

.mj-h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text-head);
}

.mj-update-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mj-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Game player ── */
.mj-game-player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--cta-primary) 100%);
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.mj-game-poster {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.mj-game-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mj-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15,28,50,0.45);
}

.mj-poster-game-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.mj-poster-play {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--cta-primary);
  border: none; cursor: pointer; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.mj-poster-play:hover { transform: scale(1.08); background: #fff; }

.mj-game-player .mj-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 5;
}

/* ── Stats bar (specs sous le hero) ── */
.mj-stats-bar {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mj-stat {
  flex: 1;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  text-align: center;
  background: #ffffff;
}
.mj-stat:last-child { border-right: none; }

.mj-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mj-stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ══════════════════════════════
   BOUTONS CTA
══════════════════════════════ */

/* Bouton argent réel — vert (couleur primaire, substitution accentColor) */
.mj-btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.mj-btn-play:hover {
  background: var(--cta-primary-dark);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.mj-btn-play--lg { padding: 20px 44px; font-size: 1.25rem; }

/* Bouton démo — rose/rouge fixe */
.mj-btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta-demo);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.mj-btn-demo:hover {
  background: var(--cta-demo-dark);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* ══════════════════════════════
   INTRO
══════════════════════════════ */
.mj-intro-text {
  padding: 32px 0 0;
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg);
}

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.mj-section {
  padding: 56px 0;
  background: var(--bg);
}

.mj-section--alt {
  background: var(--bg-card);
}

.mj-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-head);
  letter-spacing: -0.02em;
}

.mj-editorial { line-height: 1.75; }
.mj-editorial h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-head);
}
.mj-editorial p { margin-bottom: 14px; color: var(--text-body); }
.mj-editorial ul, .mj-editorial ol { margin: 0 0 14px 20px; color: var(--text-body); }
.mj-editorial li { margin-bottom: 6px; }
.mj-editorial strong { color: var(--text-head); }
.mj-editorial a { color: var(--text-link); }
.mj-editorial a.mj-btn-play, .mj-editorial a.mj-btn-play:hover { color: #fff; text-decoration: none; }
.mj-content-img { margin: 22px auto; max-width: 760px; }
.mj-content-img img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md); }

/* Largeur de lecture : sections full-bleed (fond), contenu centré ~1100px */
.mj-section > *,
.mj-content > .mj-toc,
.mj-content > .mj-intro-text,
.mj-content > .mj-inline-cta {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* CTA inline : pleine largeur (colonne de lecture) + centré, robuste hors .mj-content (WP) */
.mj-inline-cta {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}
.mj-inline-cta .mj-btn-play {
  display: flex;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  padding: 22px 30px;
  font-size: 1.2rem;
  border-radius: 12px;
}

/* ══════════════════════════════
   RANKING BETIFY
══════════════════════════════ */
.mj-ranking-intro {
  color: var(--text-body);
  margin-bottom: 20px;
}

.mj-rank-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.mj-rank-card--gold { border-color: var(--gold); }

.mj-rank-badge {
  position: absolute; top: 0; left: 24px;
  width: 40px; height: 34px;
  background: var(--gold); color: #fff;
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 0 8px 8px;
}
.mj-rank-tag {
  position: absolute; top: 0; right: 24px;
  background: var(--gold); color: #fff;
  font-weight: 800; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 0 0 8px 8px;
}

.mj-rank-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

/* Marque */
.mj-rank-brand { text-align: center; flex-shrink: 0; }
.mj-rank-logo {
  width: 144px; height: 78px; border-radius: 10px;
  background: #11151c;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin: 0 auto 8px;
}
.mj-rank-logo img { width: 100%; height: 100%; object-fit: contain; }
.mj-rank-logo-text { color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }
.mj-rank-name { font-weight: 700; font-size: 0.95rem; color: var(--text-head); }

/* Offre */
.mj-rank-offer { min-width: 0; }
.mj-rank-bonus { font-size: 1.35rem; font-weight: 800; color: var(--text-head); line-height: 1.22; }
.mj-rank-features { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.mj-rank-features li { position: relative; padding-left: 24px; font-size: 0.88rem; color: var(--text-body); }
.mj-rank-features li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.mj-rank-pay { margin-top: 14px; }
.mj-rank-info-label { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.mj-rank-pay-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.mj-rank-pay-icons i {
  width: 32px; height: 24px; border: 1px solid var(--border); border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-body); font-size: 0.95rem; background: #fff;
}

/* Action */
.mj-rank-action { text-align: center; flex-shrink: 0; }
.mj-rank-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta-primary); color: #fff; font-weight: 800; font-size: 0.98rem;
  padding: 16px 30px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(40,206,138,0.32);
  transition: background 0.2s, transform 0.15s;
}
.mj-rank-cta:hover { background: var(--cta-primary-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }
.mj-rank-responsible { display: block; margin-top: 10px; font-size: 0.72rem; color: var(--text-dim); }

@media (max-width: 760px) {
  .mj-rank-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .mj-rank-features { justify-content: center; }
  .mj-rank-pay-icons { justify-content: center; }
  .mj-rank-cta { width: 100%; justify-content: center; }
}

/* ══════════════════════════════
   SOMMAIRE (TOC)
══════════════════════════════ */
.mj-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta-primary);
  border-radius: var(--radius);
  padding: 0 !important;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mj-toc > summary {
  cursor: pointer; list-style: none;
  padding: 14px 20px;
  font-weight: 700; font-size: 0.98rem; color: var(--text-head);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-section-alt);
}
.mj-toc > summary::-webkit-details-marker { display: none; }
.mj-toc > summary::after { content: '+'; font-size: 1.35rem; font-weight: 400; color: var(--text-muted); line-height: 1; }
.mj-toc[open] > summary::after { content: '−'; }
.mj-toc ul {
  list-style: none; margin: 0; padding: 14px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px;
}
.mj-toc li { margin: 0; }
.mj-toc li a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; color: var(--text-body); text-decoration: none; font-size: 0.9rem;
}
.mj-toc li a::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cta-primary);
}
.mj-toc li a:hover { color: var(--cta-primary); }
@media (max-width: 600px) { .mj-toc ul { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   TABLES
══════════════════════════════ */
.mj-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.mj-table-wrap table,
.mj-editorial table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mj-table-wrap table th,
.mj-editorial table th {
  background: var(--table-head-bg);
  color: var(--text-head);
  font-weight: 700;
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.mj-table-wrap table th:not(:last-child),
.mj-editorial table th:not(:last-child),
.mj-table-wrap table td:not(:last-child),
.mj-editorial table td:not(:last-child) {
  border-right: 1px solid var(--border-light);
}

.mj-table-wrap table td,
.mj-editorial table td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  vertical-align: top;
}

.mj-table-wrap table tbody tr:nth-child(even) td,
.mj-editorial table tbody tr:nth-child(even) td {
  background: var(--table-zebra);
}

.mj-table-wrap table tbody tr:last-child td,
.mj-editorial table tbody tr:last-child td {
  border-bottom: none;
}

.mj-table-wrap table tr:hover td,
.mj-editorial table tr:hover td {
  background: #f1f2f4;
}

/* Table specs — première colonne en label navy */
.mj-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
}
.mj-specs-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.mj-specs-table tr:last-child td { border-bottom: none; }
.mj-specs-table td:first-child {
  color: var(--text-head);
  font-weight: 600;
  white-space: nowrap;
  width: 220px;
  background: var(--table-head-bg);
}
.mj-specs-table td i { margin-right: 6px; color: var(--cta-primary); }

/* Pros/Cons — en-têtes colorés */
.mj-table-proscons th:first-child {
  color: var(--green);
  background: var(--green-bg);
}
.mj-table-proscons th:last-child {
  color: var(--red-demo);
  background: var(--cta-demo-bg);
}

/* ══════════════════════════════
   DEMO WIDGET
══════════════════════════════ */
.mj-demo-widget {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 800px;
  margin: 24px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f1f2f4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mj-demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(15,28,50,0.08);
  color: var(--text-head);
}

.mj-demo-widget .mj-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════
   FAQ — accordéon clair
══════════════════════════════ */
.mj-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mj-faq details[open] {
  border-color: var(--cta-primary);
  box-shadow: var(--shadow);
}
.mj-faq details summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.mj-faq details summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--cta-primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.mj-faq details[open] summary::after { transform: rotate(45deg); }
.mj-faq details p { padding: 0 20px 16px; color: var(--text-body); line-height: 1.7; }

/* Wrapper .faq-item de Claude */
.faq-item details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.faq-item details[open] {
  border-color: var(--cta-primary);
  box-shadow: var(--shadow);
}
.faq-item details summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-head);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.faq-item details summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--cta-primary);
  flex-shrink: 0;
}
.faq-item details[open] summary::after { content: '−'; }
.faq-item details p { padding: 0 20px 16px; color: var(--text-body); line-height: 1.7; }

/* ══════════════════════════════
   VERDICT CTA
══════════════════════════════ */
.mj-verdict-cta {
  text-align: center;
  margin-top: 28px;
}

.mj-verdict { font-size: 1.05rem; }

/* ══════════════════════════════
   FOOTER — fond navy foncé, texte clair
══════════════════════════════ */
.mj-footer {
  background: var(--navy);
  border-top: none;
  padding: 40px 0 28px;
  text-align: center;
}
.mj-footer-badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 22px;
}
.mj-badge-18 {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid #e3344a; color: #e3344a;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
}
.mj-badge-txt {
  display: inline-flex; align-items: center; gap: 5px;
  color: #c2c6d6; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18); padding: 6px 12px; border-radius: 6px;
}
.mj-badge-txt b { color: #fff; }

.mj-disclaimer {
  font-size: 0.8rem;
  color: #b0b3c4;
  margin: 0 auto 8px;
  max-width: 900px;
  line-height: 1.5;
}

.mj-footer-copy {
  font-size: 0.78rem;
  color: #7e8394;
}

/* ══════════════════════════════
   FICHE AUTEUR (E-E-A-T)
══════════════════════════════ */
.mj-author {
  max-width: min(1100px, calc(100% - 40px));
  margin: 34px auto;
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--cta-primary);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-md);
}
.mj-author-avatar {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--cta-primary), var(--navy-2));
  color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.mj-author-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mj-author-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 700; }
.mj-author-name { font-size: 1.05rem; font-weight: 800; color: var(--text-head); display: flex; align-items: center; gap: 6px; }
.mj-author-check { color: var(--cta-primary); font-size: 1rem; }
.mj-author-role { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.mj-author-bio { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; margin: 0; }

/* ══════════════════════════════
   STICKY CTA — barre navy enrichie (vignette + live + CTA bonus)
══════════════════════════════ */
.mj-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  padding: 9px 20px;
  box-shadow: 0 -4px 20px rgba(15,28,50,0.3);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mj-sticky-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mj-sticky-game { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mj-sticky-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.mj-sticky-meta { display: flex; flex-direction: column; min-width: 0; }
.mj-sticky-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mj-sticky-sub { font-size: 0.73rem; color: #aeb3c6; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.mj-sticky-sub b { color: #fff; }
.mj-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #28CE8A; display: inline-block; animation: mj-pulse 1.8s infinite; }
@keyframes mj-pulse { 0%{box-shadow:0 0 0 0 rgba(40,206,138,0.5)} 70%{box-shadow:0 0 0 7px rgba(40,206,138,0)} 100%{box-shadow:0 0 0 0 rgba(40,206,138,0)} }
.mj-sticky-btn { flex-shrink: 0; }
@media (max-width: 560px) {
  .mj-sticky-thumb { display: none; }
  .mj-sticky-btn { padding: 12px 16px; font-size: 0.85rem; }
  .mj-author { flex-direction: column; gap: 12px; }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE ≤ 768px
══════════════════════════════ */
@media (max-width: 900px) {
  .mj-nav-desktop { display: none; }
  .mj-hamburger { display: flex; }
}

@media (max-width: 768px) {
  .mj-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mj-hero-left { order: 2; }
  .mj-game-player { order: 1; }

  .mj-h1 { font-size: 1.5rem; }

  .mj-stats-bar { flex-wrap: wrap; }
  .mj-stat { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .mj-stat:nth-child(odd) { border-right: 1px solid var(--border); }

  .mj-section { padding: 40px 0; }
  .mj-section h2 { font-size: 1.25rem; }

  .mj-hero-actions { flex-direction: column; }
  .mj-btn-play, .mj-btn-demo { justify-content: center; }
}

@media (max-width: 480px) {
  .mj-table-wrap { overflow-x: auto; }
  .mj-table-wrap table { font-size: 0.82rem; }
  .mj-table-wrap table th,
  .mj-table-wrap table td { padding: 9px 10px; }
}
