* {
  box-sizing: border-box;
}

:root {
  --bg: #050510;
  --panel: rgba(7, 7, 15, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --gold: #ffd65a;
  --gold-dark: #c99a21;
  --green: #42bd63;
  --blue: #2585e5;
  --blue-light: #61b4ff;
  --text: #f7f7fa;
  --muted: #c6c6cf;
  --border: rgba(218, 178, 60, 0.58);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(5, 5, 16, 0.7), rgba(5, 5, 16, 0.92)),
    url("images/fond-poker.jpg") center top / cover fixed no-repeat;
  line-height: 1.65;
}

a {
  color: var(--gold);
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  top: -70px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: #050505;
  background: var(--gold);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.banner-poker,
nav,
.content,
footer {
  width: min(1200px, calc(100% - 28px));
  margin-left: auto;
  margin-right: auto;
}

.banner-poker {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner-poker img {
  display: block;
  width: 100%;
  height: auto;
}

nav {
  margin-top: 18px;
  margin-bottom: 24px;
  padding: 7px;
  text-align: center;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--border);
  border-radius: 12px;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 4px 2px;
  padding: 0 14px;
  color: #ffffff;
  background: linear-gradient(180deg, #5ccf69, #2b9947 60%, #17652f);
  border: 1px solid #79dc8c;
  border-radius: 7px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

nav a.active {
  color: #111111;
  background: linear-gradient(180deg, #ffe68a, #ffbf27 62%, #d88a00);
  border-color: #ffe49b;
}

.content {
  padding-bottom: 40px;
}

.hero,
.responsible-box {
  margin-bottom: 22px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero h1,
.hero h2,
.hero h3,
.responsible-box h2 {
  line-height: 1.24;
}

.hero h1 {
  max-width: 900px;
  margin: 8px auto 16px;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 44px);
  text-align: center;
}

.hero h2,
.responsible-box h2 {
  margin: 4px 0 16px;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 30px);
}

.hero h3 {
  color: var(--gold);
}

.hero-intro {
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: #f0c84f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.lead {
  max-width: 850px;
  margin: 0 auto 20px;
  color: #eeeeF4;
  font-size: 18px;
}

.update-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 5px 10px;
  color: #dff8e6;
  background: rgba(32, 139, 64, 0.2);
  border: 1px solid rgba(78, 205, 111, 0.52);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.update-dot {
  width: 7px;
  height: 7px;
  background: #64df80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(100, 223, 128, 0.8);
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.trust-row span {
  padding: 7px 12px;
  color: #eeeeF4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}


.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section-heading p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.comparatif {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.comparatif caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.comparatif th {
  padding: 14px 12px;
  color: #14110a;
  background: linear-gradient(180deg, #ffe584, #d8aa31);
  font-size: 14px;
  text-align: left;
}

.comparatif td {
  padding: 16px 12px;
  color: #f3f3f7;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  vertical-align: middle;
}

.comparatif tbody tr:hover td {
  background: rgba(255, 255, 255, 0.07);
}

.comparatif .featured-row td {
  background: rgba(35, 126, 222, 0.09);
}

.site-name {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 17px;
}

.table-badge,
.verified {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.table-badge {
  color: #e8f8ed;
  background: rgba(45, 161, 75, 0.22);
  border: 1px solid rgba(91, 209, 121, 0.48);
}

.verified {
  color: #dceeff;
  background: rgba(37, 133, 229, 0.18);
  border: 1px solid rgba(97, 180, 255, 0.43);
}

.comparatif small {
  display: block;
  margin-top: 5px;
  color: #bdbdc7;
  font-size: 11px;
  line-height: 1.4;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  color: #ffffff !important;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-primary {
  background: linear-gradient(180deg, #4eacff, #176dce);
  border: 1px solid #76c2ff;
}

.cta-secondary {
  background: linear-gradient(180deg, #54c76e, #20873c);
  border: 1px solid #77dc8d;
}

.cta-note {
  display: block;
  margin-top: 6px;
  color: #aaaaB5;
  font-size: 10px;
  text-align: center;
}

.mobile-comparison {
  display: none;
}

.choice-grid,
.criteria-grid,
.guide-links {
  display: grid;
  gap: 15px;
}

.choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid article,
.criteria-card {
  padding: 19px;
  background: var(--panel-soft);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
}

.choice-grid h3,
.criteria-card h3 {
  margin: 5px 0 8px;
  font-size: 19px;
}

.choice-grid p,
.criteria-card p {
  margin: 0;
  color: #d7d7df;
  font-size: 14px;
}

.choice-icon {
  color: var(--gold);
  font-size: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.criteria-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-list {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.check-list div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
}

.check-list span {
  display: inline-flex;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: #151109;
  background: var(--gold);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.check-list p {
  margin: 1px 0 0;
  color: #ddddE4;
  font-size: 14px;
}

.guide-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-links a {
  display: block;
  min-height: 110px;
  padding: 17px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 11px;
  text-decoration: none;
}

.guide-links a:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: var(--gold);
}

.guide-links strong,
.guide-links span {
  display: block;
}

.guide-links strong {
  margin-bottom: 6px;
  color: var(--gold);
}

.guide-links span {
  color: #c8c8d0;
  font-size: 13px;
}

.faq-section details {
  margin: 11px 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 10px;
}

.faq-section summary {
  position: relative;
  padding: 15px 45px 15px 16px;
  color: #f6d56f;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gold);
  font-size: 22px;
  transform: translateY(-50%);
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  margin: 0;
  padding: 0 16px 16px;
  color: #d6d6de;
}

.responsible-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background:
    linear-gradient(90deg, rgba(24, 104, 50, 0.33), rgba(4, 16, 9, 0.88));
  border-color: rgba(88, 207, 116, 0.54);
}

.responsible-box h2 {
  color: #8ee7a4;
}

.responsible-box p {
  max-width: 780px;
  margin-bottom: 0;
  color: #d9eee0;
}

.responsible-link {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #ffffff;
  background: rgba(70, 186, 96, 0.18);
  border: 1px solid rgba(112, 222, 138, 0.58);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

footer {
  margin-top: 2px;
  margin-bottom: 28px;
  padding: 22px;
  text-align: center;
  background: rgba(0, 0, 0, 0.86);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.footer-logos a {
  display: inline-flex;
}

.footer-logos img {
  width: auto;
  max-height: 25px;
}

.warning {
  max-width: 830px;
  margin: 9px auto 14px;
  color: #e2e2e7;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.hero,
.operator-card,
.criteria-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 260px;
}

@media (max-width: 900px) {
  .criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .section-heading p:last-child {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .banner-poker,
  nav,
  .content,
  footer {
    width: calc(100% - 20px);
  }

  .banner-poker {
    margin-top: 10px;
  }

  nav {
    margin-top: 10px;
    margin-bottom: 16px;
  }

  nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero,
  .responsible-box {
    padding: 20px 17px;
    border-radius: 13px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .lead {
    font-size: 16px;
  }

  .table-responsive {
    display: none;
  }

  .mobile-comparison {
    display: grid;
    gap: 14px;
  }

  .operator-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 13px;
  }

  .featured-card {
    background: rgba(35, 126, 222, 0.11);
    border-color: rgba(87, 174, 255, 0.55);
  }

  .operator-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .operator-top h3 {
    margin: 7px 0 0;
    color: #ffffff;
    font-size: 22px;
  }

  .offer-line {
    margin: 18px 0 2px;
    color: var(--gold);
    font-size: 21px;
    font-weight: 900;
  }

  .offer-detail {
    margin: 0 0 15px;
    color: #c9c9d2;
    font-size: 13px;
  }

  .operator-card dl {
    margin: 0 0 17px;
  }

  .operator-card dl div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .operator-card dt {
    color: #aeb0bb;
    font-size: 12px;
  }

  .operator-card dd {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
  }

  .cta-full {
    width: 100%;
  }

  .legal-note {
    display: block;
    margin-top: 8px;
    color: #aeb0bb;
    font-size: 10px;
    text-align: center;
  }

  .choice-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .responsible-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .responsible-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero h2,
  .responsible-box h2 {
    font-size: 22px;
  }

  .trust-row {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-row span {
    width: 100%;
    border-radius: 8px;
  }

  .guide-links {
    grid-template-columns: 1fr;
  }

  .guide-links a {
    min-height: 0;
  }

  .footer-logos img {
    max-height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.comparison-note{
  margin:12px 0 0;
  color:#bdbdc7;
  font-size:12px;
  text-align:center;
}


/* ===== Tableau vert premium ===== */
.comparatif{
border:1px solid #49c46a;
border-radius:16px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.comparatif th{
background:linear-gradient(180deg,#4fd06d,#238a43);
color:#fff;
text-align:center;
font-size:15px;
}
.comparatif td{
background:rgba(33,110,58,.18);
border-top:1px solid rgba(95,214,129,.22);
text-align:center;
}
.comparatif tbody tr:nth-child(even) td{
background:rgba(48,136,73,.26);
}
.comparatif tbody tr:hover td{
background:rgba(78,193,111,.30);
}
.featured-row td{
background:rgba(56,170,90,.36)!important;
}
.site-name{
color:#fff;
font-size:18px;
font-weight:700;
}

/* ===== Ajustements finaux comparatif poker ===== */
.disclosure a,
.faq-section a {
  color: var(--blue-light);
  font-weight: 700;
}

.disclosure a:visited,
.faq-section a:visited {
  color: var(--blue-light);
}

.disclosure a:hover,
.faq-section a:hover {
  color: var(--gold);
}

/* Cinq guides : grille équilibrée sans agrandir inutilement la page. */
.guide-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1050px) {
  .guide-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .guide-links {
    grid-template-columns: 1fr;
  }
}


/* ===== Optimisation SEO avancée du comparatif ===== */
.decision-section{
  border-color:rgba(97,180,255,.52);
}

.decision-section > h2{
  text-align:center;
}

.decision-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}

.decision-grid article{
  padding:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(212,175,55,.38);
  border-radius:12px;
}

.decision-grid h3{
  margin:0 0 9px;
  color:var(--gold);
}

.decision-grid p{
  margin:0;
  color:#d7d7df;
  font-size:14px;
}

.decision-note{
  max-width:900px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

@media (max-width:768px){
  .decision-grid{
    grid-template-columns:1fr;
  }
}
