/* ============================================================
   Spin Million Casino — style.css
   Tokens en haut. Aucune valeur de couleur en dur ailleurs.
   ============================================================ */

:root {
  /* Couleurs */
  --color-bg: #1f3311;
  --color-bg-dark: #16260c;
  --color-bg-alt: #24390f;
  --color-surface: #2b4416;
  --color-surface-line: #3c5a22;
  --color-text: #f3f6ee;
  --color-text-muted: #c4d2b3;
  --color-accent: #e8742c;
  --color-accent-hover: #d4631d;
  --color-footer-bg: #0a0a0a;
  --color-footer-line: #2b4416;
  --color-white: #ffffff;
  --color-shadow: rgba(0, 0, 0, 0.35);

  /* Typographie (polices système uniquement) */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Espacements */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 36px;
  --space-xl: 64px;

  /* Mesures */
  --container-max: 1180px;
  --container-pad: 18px;
  --border-w: 2px;
  --transition: 0.18s ease;
  --mobile-bar-h: 64px;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0 0 var(--space-md); padding-left: 22px; }
li { margin-bottom: var(--space-xs); }
p { margin: 0 0 var(--space-md); }

.spinmillion-container-8424 {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Titres ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.2; color: var(--color-white); }
[id] { scroll-margin-top: 80px; }
h1 { font-size: 1.9rem; margin: 0 0 var(--space-md); }
h2 {
  font-size: 1.5rem;
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: var(--border-w) solid var(--color-accent);
}
h3 { font-size: 1.2rem; margin: var(--space-lg) 0 var(--space-sm); }

/* ---------- Boutons ---------- */
.sm-btn-1791 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: var(--border-w) solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.spinmillion-btn-primary-9711 {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.spinmillion-btn-primary-9711:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.spin-million-btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.spin-million-btn-outline:hover { background: var(--color-white); color: var(--color-bg-dark); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.sm-site-header-7499 {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-dark);
  border-bottom: var(--border-w) solid var(--color-surface-line);
}
.header-inner-4611 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 60px;
}
.spin-million-logo { display: inline-flex; align-items: center; }
.spin-million-logo img { width: 120px; height: auto; }
.spinmillion-header-cta { display: none; gap: var(--space-sm); }

/* Nav */
.spin-million-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: var(--border-w) solid var(--color-surface-line);
  border-radius: 0;
  cursor: pointer;
}
.spin-million-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.spin-million-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.spin-million-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.spin-million-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list-2584 {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--color-bg-dark);
  border-bottom: var(--border-w) solid var(--color-surface-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}
.nav-list-2584.open { max-height: 320px; }
.nav-list-2584 li { margin: 0; }
.nav-list-2584 a {
  display: block;
  padding: 14px var(--container-pad);
  font-weight: 700;
  border-top: 1px solid var(--color-surface-line);
}
.nav-list-2584 a:hover { background: var(--color-surface); color: var(--color-accent); }

/* ---------- Hero ---------- */
.hero-5557 {
  background: var(--color-bg);
  border-bottom: var(--border-w) solid var(--color-surface-line);
  padding: var(--space-xl) 0;
  text-align: center;
}
.spinmillion-hero-media {
  position: relative;
  max-width: 920px;
  margin: 0 auto var(--space-md);
  border: var(--border-w) solid var(--color-surface-line);
  overflow: hidden;
}
.spinmillion-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 6, 0.55);
}
.spinmillion-hero-img-5919 {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
}
.spinmillion-hero-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: var(--space-md);
  text-align: center;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--color-white);
}
.spin-million-hero-lead {
  max-width: 620px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.sm-hero-actions-7955 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}
.sm-hero-actions-7955 .sm-btn-1791 {
  font-size: 0.85rem;
  padding: 13px 26px;
}

/* ---------- Sections ---------- */
.spin-million-section { padding: var(--space-xl) 0; }
.spin-million-section-alt { background: var(--color-bg-alt); }
.spin-million-section p, .spin-million-section li { color: var(--color-text); }

/* ---------- Navigation (sommaire) ---------- */
.spinmillion-toc-7850 {
  margin: var(--space-lg) 0;
  border: var(--border-w) solid var(--color-surface-line);
  background: var(--color-surface);
}
.toc-head-5554 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-md);
  background: var(--color-bg-dark);
  border-bottom: var(--border-w) solid var(--color-accent);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.toc-head-5554::-webkit-details-marker { display: none; }
.spinmillion-toc-title-6604 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-white);
}
.sm-toc-arrow-3363 {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--transition);
}
.spinmillion-toc-7850[open] .sm-toc-arrow-3363 { transform: rotate(-135deg); }
.toc-nav-6977 { display: flex; flex-direction: column; }
.toc-nav-6977 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 14px var(--space-md);
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-surface-line);
  transition: background var(--transition), color var(--transition);
}
.toc-nav-6977 a:last-child { border-bottom: none; }
.toc-nav-6977 a::after {
  content: "";
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-accent);
  border-top: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--transition);
}
.toc-nav-6977 a:hover {
  background: var(--color-bg-dark);
  color: var(--color-accent);
}
.toc-nav-6977 a:hover::after { transform: rotate(45deg) translate(2px, -2px); }

/* ---------- Bannières ---------- */
.sm-banner-3471 { margin-bottom: var(--space-lg); overflow: hidden; }
.sm-banner-3471 img { width: 100%; height: auto; }

/* ---------- Tables ---------- */
.spinmillion-table-intro-2199 { margin-bottom: var(--space-sm); color: var(--color-text-muted); }
.spin-million-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 var(--space-md);
  border: var(--border-w) solid var(--color-surface-line);
}
.sm-data-table-9779 {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 460px;
}
.sm-data-table-9779 th, .sm-data-table-9779 td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-surface-line);
}
.sm-data-table-9779 thead th {
  background: var(--color-bg-dark);
  color: var(--color-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
}
.sm-data-table-9779 tbody tr:nth-child(even) { background: var(--color-surface); }
.sm-data-table-9779 td:first-child { font-weight: 600; }

/* ---------- Promo grid ---------- */
.spin-million-promo-grid-9974 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.spin-million-promo-card-4078 {
  background: var(--color-surface);
  border: var(--border-w) solid var(--color-surface-line);
  padding: var(--space-md);
  transition: border-color var(--transition), transform var(--transition);
}
.spin-million-promo-card-4078:hover { border-color: var(--color-accent); transform: translateY(-3px); }
.sm-promo-icon { width: 48px; height: 48px; margin-bottom: var(--space-sm); }
.spin-million-promo-card-4078 h3 { margin-top: 0; }
.spin-million-promo-card-4078 p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.sm-steps-4622 { counter-reset: step; list-style: none; padding-left: 0; }
.sm-steps-4622 li {
  position: relative;
  padding-left: 52px;
  margin-bottom: var(--space-md);
  min-height: 36px;
  display: flex;
  align-items: center;
}
.sm-steps-4622 li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 800;
}

/* ---------- Pros / Cons ---------- */
.sm-proscons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.pros-9785, .spinmillion-cons-6146 {
  background: var(--color-surface);
  border: var(--border-w) solid var(--color-surface-line);
  padding: var(--space-md);
}
.proscons-title-2291 {
  margin-top: 0;
  padding-bottom: var(--space-sm);
  border-bottom: var(--border-w) solid var(--color-surface-line);
}
.pros-9785 { border-left: 5px solid var(--color-accent); }
.spinmillion-cons-6146 { border-left: 5px solid var(--color-text-muted); }
.sm-proscons ul { margin-bottom: 0; }

/* ---------- Games grid ---------- */
.sm-games-grid-2144 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin: var(--space-md) 0 var(--space-lg);
}
.spinmillion-game-card-5070 {
  display: block;
  background: var(--color-surface);
  border: var(--border-w) solid var(--color-surface-line);
  overflow: hidden;
}
.spinmillion-game-card-5070 img { width: 100%; height: auto; display: block; }
.spinmillion-game-name {
  display: block;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Footer ---------- */
.spinmillion-site-footer {
  background: var(--color-footer-bg);
  border-top: var(--border-w) solid var(--color-footer-line);
  padding: var(--space-xl) 0 calc(var(--space-xl) + var(--mobile-bar-h));
  text-align: center;
}
.sm-footer-logo { width: 180px; height: auto; margin: 0 auto var(--space-lg); }
.sm-footer-text-2408 {
  max-width: 760px;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.sm-footer-copy-1950 { margin: 0; font-weight: 700; color: var(--color-text); }

/* ---------- Mobile sticky bar ---------- */
.sm-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: var(--space-sm);
  padding: 10px var(--container-pad);
  background: var(--color-bg-dark);
  border-top: var(--border-w) solid var(--color-surface-line);
}
.sm-mobile-bar .sm-btn-1791 { flex: 1; }

/* ---------- Scroll to top ---------- */
.sm-to-top-3181 {
  position: fixed;
  right: 16px;
  bottom: calc(var(--mobile-bar-h) + 16px);
  z-index: 55;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  line-height: 1;
  background: var(--color-bg-dark);
  color: var(--color-white);
  border: var(--border-w) solid var(--color-accent);
  border-radius: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.sm-to-top-3181.visible { opacity: 1; pointer-events: auto; }
.sm-to-top-3181:hover { background: var(--color-accent); }

/* ============================================================
   Tablette
   ============================================================ */
@media (min-width: 640px) {
  .sm-games-grid-2144 { grid-template-columns: repeat(3, 1fr); }
  .spin-million-promo-grid-9974 { grid-template-columns: repeat(2, 1fr); }
  .sm-proscons { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Desktop : menu horizontal, header CTA, plus de barre mobile
   ============================================================ */
@media (min-width: 920px) {
  body { font-size: 18px; }
  h1 { font-size: 2.6rem; }
  .spinmillion-hero-img-5919 { height: 340px; }
  .spinmillion-hero-title { font-size: 2.4rem; padding: var(--space-lg); }
  .sm-hero-actions-7955 .sm-btn-1791 { font-size: 0.95rem; padding: 15px 34px; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.35rem; }

  .spin-million-nav-toggle { display: none; }
  .nav-list-2584 {
    position: static;
    display: flex;
    gap: var(--space-md);
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
  }
  .nav-list-2584 a { padding: 8px 4px; border-top: none; border-bottom: var(--border-w) solid transparent; }
  .nav-list-2584 a:hover { background: transparent; border-bottom-color: var(--color-accent); }

  .spinmillion-header-cta { display: flex; }
  .spin-million-logo img { width: 150px; }

  .sm-games-grid-2144 { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .spin-million-promo-grid-9974 { grid-template-columns: repeat(3, 1fr); }

  .sm-mobile-bar { display: none; }
  .spinmillion-site-footer { padding-bottom: var(--space-xl); }
  .sm-to-top-3181 { bottom: 24px; }
}

@media (min-width: 1140px) {
  .sm-games-grid-2144 { grid-template-columns: repeat(6, 1fr); }
}

/* Réduction des animations si demandé */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
