:root {
  --vert: #1ed760;
  --encre: #06210f;
  --fond: #0c1014;
  --flanc: #12181e;
  --panneau: #171e26;
  --ligne: #2a333c;
  --texte: #e8eeea;
  --muted: #93a099;
  --rayon: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
.barre-haut {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  margin-left: 248px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(12, 16, 20, .94);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px);
}
.btn-nav {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.btn-nav svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.logo-site { display: flex; align-items: center; margin-right: auto; }
.logo-site img { height: 28px; width: auto; display: block; }
.barre-haut-actions { display: flex; align-items: center; gap: 8px; }
.icn-chercher, .lien-connexion, .lien-inscrire {
  border: 0;
  cursor: pointer;
  background: transparent;
}
.icn-chercher {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.icn-chercher svg { width: 20px; height: 20px; stroke: #d7e0da; fill: none; stroke-width: 2; }
.lien-connexion {
  color: #fff;
  padding: 8px 10px;
  font-weight: 650;
}
.lien-inscrire, .btn-principal {
  background: var(--vert);
  color: var(--encre);
  font-weight: 750;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
}
.zone-recherche {
  position: absolute;
  left: 248px;
  right: 18px;
  top: 70px;
  z-index: 45;
}
.zone-recherche input {
  width: min(420px, 100%);
  margin-left: auto;
  display: block;
  background: #1c252e;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.zone-recherche input:focus { border-color: var(--vert); }
.menu-lateral {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  overflow: auto;
  background: var(--flanc);
  border-right: 1px solid var(--ligne);
  z-index: 50;
  padding: 12px 12px 96px;
}
.blocs-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.bloc-promo {
  min-height: 72px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.15;
}
.bloc-promo span { font-size: 12px; opacity: .85; }
.bloc-promo strong { font-size: 15px; }
.bloc-promo.bonus { background: #1ed760; color: var(--encre); }
.bloc-promo.remise { background: #123d28; color: #d8ffe8; }
.bloc-promo.fidelite { grid-column: 1 / -1; background: linear-gradient(90deg, #10261c, #1a3d2c); color: #fff; min-height: 58px; border: 1px solid #1f5a38; }
.titre-section {
  margin: 16px 8px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d8982;
  font-weight: 700;
}
.menu-lateral a.lien-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #d5ddd8;
  font-size: 13.5px;
}
.menu-lateral a.lien-menu:hover, .menu-lateral a.lien-menu.actif { background: #1c2630; color: #fff; }
.pastille {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vert);
  flex: 0 0 auto;
}
.fond-sombre { display: none; }
.contenu-principal { margin-left: 248px; padding: 22px 22px 120px; }
.contenu-principal h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.intro-texte { margin: 0 0 4px; color: var(--muted); }
.grille-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.carte-cat {
  position: relative;
  height: 112px;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #171717;
}
.carte-cat strong { position: relative; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.1; }
.carte-cat img {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.carte-cat.sportif { background-image: linear-gradient(252deg, #1ed760, rgba(23,23,23,0) 85%); }
.carte-cat.rapide { background-image: linear-gradient(252deg, #2e7bd7, rgba(23,23,23,0) 89%); }
.carte-cat.direct { background-image: linear-gradient(252deg, #df1818, rgba(23,23,23,0) 93%); }
.carte-cat.exclusif { background-image: linear-gradient(252deg, #e82375, rgba(23,23,23,0) 93%); }
.double-col { display: grid; grid-template-columns: 1.45fr .9fr; gap: 12px; margin-bottom: 22px; }
.encart {
  background: var(--panneau);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 22px;
}
.encart h2 { margin: 0 0 8px; font-size: 22px; }
.encart p { margin: 0 0 16px; color: #c5d0c9; }
.rangee-paiement {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 12px;
}
.rangee-paiement h2 { margin: 0; font-size: 20px; }
.rangee-paiement .compteur { color: var(--muted); font-size: 13px; }
.rangee-paiement a { margin-left: auto; color: var(--vert); font-weight: 700; font-size: 14px; }
.liste-jeux {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 148px;
  gap: 16px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.liste-jeux::-webkit-scrollbar { height: 8px; }
.liste-jeux::-webkit-scrollbar-thumb { background: #2c3842; border-radius: 8px; }
.liste-jeux.recherche-active {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.vignette-jeu { position: relative; width: 148px; }
.vignette-jeu img {
  width: 148px;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a222a;
}
.vignette-jeu figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 32px;
}
.overlay-jeu {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 198px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 12, .45);
  opacity: 0;
  transition: opacity .15s ease;
}
.vignette-jeu:hover .overlay-jeu, .vignette-jeu:focus-within .overlay-jeu { opacity: 1; }
.article-corps { max-width: 860px; margin-top: 28px; }
.article-corps h2 { font-size: 22px; margin: 28px 0 8px; }
.article-corps p, .article-corps li { color: #d5ddd8; }
.article-corps a { color: var(--vert); }
.logos-paiement { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.logos-paiement th, .logos-paiement td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ligne); }
.logos-paiement th { color: #9aa69f; font-weight: 650; }
.faq-question {
  width: 100%;
  text-align: left;
  background: #171e26;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 650;
}
.faq-reponse { padding: 8px 4px 4px; color: #d5ddd8; }
.date-update { color: var(--muted); font-size: 13px; }
.pied-page {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.pied-page h2 { margin: 0 0 6px; font-size: 18px; }
.pied-page p { margin: 0 0 4px; color: #c9d3cd; }
.plan-maps { border: 0; width: 100%; height: 220px; border-radius: 12px; background: #1a222a; }
.mentions-bas { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.mentions-bas a { color: var(--vert); margin-right: 12px; }
.barre-fixe-bas {
  position: fixed;
  left: 248px;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(12, 16, 20, .96);
  border-top: 1px solid var(--ligne);
}
.barre-fixe-bas a { min-width: min(280px, 100%); text-align: center; }
@media (max-width: 980px) {
  .btn-nav { display: grid; }
  .lien-connexion { display: none; }
  .barre-haut, .contenu-principal, .barre-fixe-bas { margin-left: 0; left: 0; }
  .zone-recherche { left: 12px; }
  .menu-lateral { transform: translateX(-105%); transition: transform .2s ease; }
  body.nav-ouverte .menu-lateral { transform: none; }
  body.nav-ouverte .fond-sombre { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; }
  .grille-cats, .double-col, .pied-page { grid-template-columns: 1fr 1fr; }
  .carte-cat { height: 96px; }
  .carte-cat strong { font-size: 16px; }
  .carte-cat img { width: 96px; height: 96px; top: 0; right: -4px; }
  .double-col, .pied-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grille-cats { grid-template-columns: 1fr 1fr; }
  .contenu-principal { padding: 16px 14px 120px; }
  .contenu-principal h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-lateral, .overlay-jeu { transition: none; }
}

.article-corps a.btn-principal {
  color: var(--encre) !important;
  background: var(--vert);
  font-weight: 750;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.article-corps a.btn-principal:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.article-corps ul, .article-corps ol {
  padding-left: 22px;
  margin: 12px 0 18px;
}
.article-corps li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-corps p {
  line-height: 1.65;
  margin: 14px 0;
}

/* Illustrations captures d ecran officielles Betify */
.article-media {
  margin: 28px 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #11171d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.article-media:hover {
  border-color: rgba(30, 215, 96, 0.35);
  transform: translateY(-2px);
}
.article-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}
.article-media figcaption {
  padding: 11px 18px;
  font-size: 13.5px;
  color: #a4b8ad;
  background: #141c23;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}
.article-media figcaption::before, .prose-media figcaption::before {
  content: "📸 ";
  font-size: 15px;
}

/* Tableaux riches type cartes flottantes style betify.footer-info.fr */
.tableau-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  -webkit-overflow-scrolling: touch;
}
.tableau-scroll table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  font-size: 14px;
  min-width: 520px;
}
.tableau-scroll thead th {
  background: #143521;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}
.tableau-scroll thead th:first-child {
  border-radius: 8px 0 0 8px;
}
.tableau-scroll thead th:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-scroll tbody tr {
  background: #141b22;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tableau-scroll tbody tr:nth-child(even) {
  background: #18222b;
}
.tableau-scroll tbody tr:hover {
  background: #1d2b36;
}
.tableau-scroll tbody td {
  padding: 12px 14px;
  color: #d1ded6;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}
.tableau-scroll tbody td:first-child {
  border-radius: 8px 0 0 8px;
  font-weight: 650;
  color: #ffffff;
}
.tableau-scroll tbody td:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-scroll td strong {
  color: var(--vert);
}

/* Style des puces vertes dans .article-corps */
.article-corps ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.article-corps ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.article-corps ul li::before, .prose ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--vert);
  font-size: 22px;
  line-height: 1;
}

/* Aliases de compatibilite */
.table-responsive { width: 100%; overflow-x: auto; margin: 24px 0 30px; -webkit-overflow-scrolling: touch; }
.prose-media { margin: 28px 0; padding: 0; border-radius: 14px; overflow: hidden; background: #11171d; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.prose-media img { display: block; width: 100%; height: auto; border-radius: 14px 14px 0 0; object-fit: cover; }
.prose-media figcaption { padding: 11px 18px; font-size: 13.5px; color: #a4b8ad; background: #141c23; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; gap: 8px; line-height: 1.45; }
.cta-wrap { margin: 20px 0; }

