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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 16px;
}

header {
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

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

.brand {
  font-size: 24px;
  font-weight: 700;
  color: #dc2626;
}

.nav a {
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav a:hover {
  background: #fef2f2;
  color: #dc2626;
}

main {
  padding: 40px 0 60px;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  margin: 0 0 20px;
  color: #dc2626;
  font-weight: 800;
}

h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 50px 0 20px;
  color: #1a1a1a;
  font-weight: 700;
  border-bottom: 3px solid #dc2626;
  padding-bottom: 10px;
}

h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin: 35px 0 15px;
  color: #dc2626;
  font-weight: 600;
}

p {
  margin: 15px 0;
  color: #374151;
  line-height: 1.7;
}

.intro {
  background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
  padding: 40px;
  border-radius: 12px;
  margin: 30px 0;
  border-left: 5px solid #dc2626;
}

.intro p {
  font-size: 18px;
  margin: 10px 0;
}

.update-date {
  background: #dc2626;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  margin: 10px 0;
}

.btn {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #16a34a !important;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid #16a34a !important;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.btn-secondary {
  background: #ffffff !important;
  color: #16a34a !important;
  border: 2px solid #16a34a !important;
}

.btn-secondary:hover {
  background: #16a34a !important;
  color: #ffffff !important;
}

.btn-small {
  padding: 8px 18px;
  font-size: 14px;
}

.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
  padding: 20px;
  background: #f9fafb;
  border-radius: 10px;
}

.anchors a {
  background: white;
  color: #dc2626;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  border: 2px solid #dc2626;
  font-weight: 500;
  transition: all 0.2s;
}

.anchors a:hover {
  background: #dc2626;
  color: white;
}

.stats-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  margin: 40px 0;
  overflow-x: auto;
  padding-bottom: 10px;
}

.stat-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  flex: 0 0 220px;
}

.stat-card:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1);
  transform: translateY(-5px);
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: #9ca3af;
}

.table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
  background: white;
}

.table-wrap th {
  background: #1f2937;
  color: white;
  padding: 16px 12px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-wrap td {
  padding: 16px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
}

.table-wrap tr:hover td {
  background: #fef2f2;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.casino-name {
  font-weight: 700;
  color: #dc2626;
  font-size: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-new {
  background: #dcfce7;
  color: #166534;
}

.badge-old {
  background: #fef3c7;
  color: #92400e;
}

.badge-warning {
  background: #fee2e2;
  color: #991b1b;
}

ul, ol {
  margin: 20px 0;
  padding-left: 30px;
}

li {
  margin: 12px 0;
  color: #374151;
  line-height: 1.7;
}

li strong {
  color: #dc2626;
}

.casino-section {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 35px;
  margin: 30px 0;
  transition: all 0.3s;
}

.casino-section:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1);
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.casino-header h3 {
  margin: 0;
}

.note {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 16px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 14px;
  color: #78350f;
}

.callout {
  background: #fef2f2;
  border-left: 4px solid #dc2626;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.callout strong {
  color: #dc2626;
  font-size: 18px;
}

.info-box {
  background: #f0f9ff;
  border: 2px solid #0ea5e9;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
}

.info-box h4 {
  color: #0c4a6e;
  margin-bottom: 12px;
  font-size: 18px;
}

.info-box .info-title {
  color: #0c4a6e;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  display: block;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.data-item {
  background: #f9fafb;
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
}

.data-item strong {
  display: block;
  color: #dc2626;
  margin-bottom: 5px;
  font-size: 13px;
}

.data-item span {
  color: #374151;
  font-size: 15px;
}

footer {
  background: #1f2937;
  color: white;
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
}

footer p,
footer a,
footer li {
  color: rgba(255, 255, 255, 0.92);
}

footer a {
  text-decoration: underline;
}

.legacy-page {
  background: #ffffff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 22px;
  margin: 30px 0;
  overflow: hidden;
}

.legacy-page img {
  max-width: 100%;
  height: auto;
}

.legacy-page table {
  max-width: 100%;
}

.legacy-page a {
  color: #dc2626;
}

.legacy-page font,
.legacy-page td,
.legacy-page p,
.legacy-page div {
  color: #374151;
}

.legacy-page [bgcolor="white"] {
  background: #ffffff;
}

.author-footer {
  margin-top: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  text-align: left;
}

.author-footer__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  border: 0;
  padding: 0;
}

.author-footer__text {
  margin: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
}

.author-footer__meta {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

.highlight {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #fecaca;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .stat-card {
    padding: 20px;
  }

  .casino-section {
    padding: 25px 20px;
  }

  .intro {
    padding: 25px 20px;
  }

  table {
    font-size: 12px;
  }

  th, td {
    padding: 10px 8px;
  }
}

@media (min-width: 1024px) {
  /* Sur desktop : toutes les cartes "Chiffres clés" sur une seule ligne sans scroll */
  .stats-grid {
    overflow-x: visible;
  }
  .stat-card {
    flex: 1 1 0;
    min-width: 0;
  }
}

.comparison-table {
  margin: 40px 0;
}

.checklist {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
}

.checklist li {
  list-style-type: none;
  position: relative;
  padding-left: 30px;
}

.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
  font-size: 18px;
}

.warning-list {
  background: #fef2f2;
  border: 2px solid #fecaca;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
}

.warning-list li {
  list-style-type: none;
  position: relative;
  padding-left: 30px;
}

.warning-list li:before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-size: 18px;
}

/* FAQ (accordéon) */
.faq {
  margin: 18px 0 30px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin: 12px 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: #111827;
  list-style: none;
}

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

.faq-item summary:after {
  content: "+";
  float: right;
  color: #dc2626;
  font-weight: 800;
}

.faq-item[open] summary:after {
  content: "–";
}

.faq-item summary:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.35);
  outline-offset: 2px;
  border-radius: 10px;
}

.faq-answer {
  border-top: 1px solid #f3f4f6;
  padding: 0 16px 14px;
}

.faq-answer p {
  margin: 12px 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 12px 0 16px;
}
.image-frame {
    display: flex;            
    justify-content: center;   
    align-items: center;       
    margin: 24px auto;
    overflow: hidden;
    border-radius: 16px;
    max-width: 100%;
}

.image-frame img {
    max-width: 100%;
    height: auto;
    image-rendering: auto;      
    object-fit: contain;     
}