/* ==========================================================================
   Simsinos Casino FR — Royal Purple & Gold
   ========================================================================== */

:root {
  --violet: #2c0366;
  --violet-2: #39037b;
  --violet-3: #5715b4;
  --gold: #ffb80e;
  --gold-2: #fab420;
  --lavande: #9753fc;
  --mauve: #97468a;
  --bleu: #5d7ce8;
  --bleu-2: #6a88f0;
  --blanc: #ffffff;
  --blanc-80: rgba(255, 255, 255, 0.8);
  --blanc-12: rgba(255, 255, 255, 0.12);
  --r-bloc: 15px;
  --r-pill: 50px;
  --r-btn: 10px;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--violet);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--violet);
  color: var(--blanc);
  font-family: Montserrat, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 2;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-bloc);
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typographie ---------- */

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
}

p {
  margin: 0 0 18px;
  color: var(--blanc-80);
  text-wrap: pretty;
}

ul,
ol {
  color: var(--blanc-80);
  padding-left: 22px;
  margin: 0 0 20px;
}

li {
  margin-bottom: 6px;
}

strong {
  color: var(--blanc);
  font-weight: 700;
}

/* ---------- Header ---------- */

.hdr {
  background-color: var(--violet);
  padding: 14px 0;
  position: relative;
  z-index: 30;
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hdr__logo {
  flex: 0 0 auto;
}

.hdr__logo img {
  width: 168px;
  height: auto;
  border-radius: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--blanc);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

.duo {
  display: flex;
  flex: 0 0 auto;
}

.duo--mob {
  display: none;
}

.duo__half {
  background-color: var(--gold);
  color: #3a047c;
  border: 2px solid var(--gold);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 22px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.duo__half--l {
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  border-right-width: 1px;
}

.duo__half--r {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  border-left-width: 1px;
}

.duo__half:hover,
.duo__half:focus-visible {
  background-color: var(--violet-3);
  color: var(--gold);
}

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--gold);
  border-radius: var(--r-btn);
  color: var(--gold);
  padding: 10px 11px;
  cursor: pointer;
  line-height: 1;
}

.burger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.burger__bar + .burger__bar {
  margin-top: 4px;
}

/* ---------- Boutons ---------- */

.cta,
.cta-pill,
.cta-blue {
  display: inline-block;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s;
}

/* CTA principal inline — animation "respiration" */
.cta {
  background-color: var(--gold);
  color: var(--violet-3);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  padding: 15px 30px;
  margin: 10px 0 26px;
  border-radius: var(--r-btn);
  min-width: 280px;
  max-width: 100%;
  border-color: var(--gold);
  box-shadow: 0 0 40px 40px rgba(255, 184, 14, 0.55) inset, 0 0 0 0 rgba(255, 184, 14, 0.5);
  animation: breathe 1.6s ease-in-out infinite;
  will-change: transform;
}

.cta:hover,
.cta:focus-visible {
  box-shadow: 0 0 10px 0 rgba(255, 184, 14, 0.8) inset, 0 0 10px 4px rgba(255, 184, 14, 0.6);
  text-decoration: none;
}

@keyframes breathe {
  0% {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.06, 1.06, 1.06);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

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

.cta-pill {
  background-color: var(--gold);
  color: var(--violet-3);
  border-color: var(--gold);
  border-radius: var(--r-pill);
  padding: 15px 32px;
  font-weight: 700;
  font-size: 1rem;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  background-color: var(--violet-3);
  color: var(--gold);
  text-decoration: none;
}

.cta-pill--ghost {
  background-color: transparent;
  color: var(--gold);
}

.cta-pill--ghost:hover {
  background-color: var(--gold);
  color: var(--violet-3);
}

.cta-blue {
  background-color: var(--bleu);
  border-color: var(--bleu);
  border-radius: var(--r-btn);
  color: var(--blanc);
  font-weight: 600;
  padding: 13px 26px;
}

.cta-blue:hover,
.cta-blue:focus-visible {
  background-color: var(--bleu-2);
  border-color: var(--bleu-2);
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 34px 0 10px;
}

.hero__card {
  background-color: var(--violet-2);
  border-radius: var(--r-bloc);
  overflow: hidden;
}

.hero__banner {
  position: relative;
}

.hero__banner img {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 1280 / 455;
  object-fit: cover;
}

.hero__body {
  padding: 26px 24px 34px;
  text-align: center;
}

.hero__body h1 {
  margin-bottom: 12px;
}

.hero__offer {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin: 6px 0 4px;
}

.hero__sub {
  color: var(--blanc-80);
  margin: 0 auto 18px;
  max-width: 640px;
  line-height: 1.7;
}

.hero__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 14px 0 0;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hero__badges li {
  background-color: var(--violet);
  border: 1px solid var(--blanc-12);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blanc);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Sections ---------- */

.sec {
  padding: 8px 0;
}

.sec--pad {
  padding: 26px 0;
}

/* ---------- Table of contents ---------- */

.toc {
  background-color: var(--violet-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-bloc);
  padding: 22px 24px;
  margin: 26px 0;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.toc ol {
  columns: 2;
  column-gap: 30px;
  margin: 0;
  padding-left: 20px;
}

.toc a {
  color: var(--blanc);
  font-size: 0.95rem;
  line-height: 1.8;
}

.toc a:hover {
  color: var(--gold);
}

/* ---------- Cartes ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 20px 0 26px;
}

.card {
  background-color: var(--violet-2);
  border: 1px solid var(--blanc-12);
  border-radius: var(--r-bloc);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--gold);
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

.card__big {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blanc);
  line-height: 1.3;
  margin-bottom: 4px;
}

/* ---------- Étapes ---------- */

.steps {
  list-style: none;
  counter-reset: st;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: st;
  background-color: var(--violet-2);
  border-radius: var(--r-bloc);
  padding: 16px 20px 16px 62px;
  position: relative;
  color: var(--blanc-80);
  line-height: 1.7;
  margin: 0;
}

.steps li::before {
  content: counter(st);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 30px;
  height: 30px;
  background-color: var(--gold);
  color: var(--violet);
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}

/* ---------- Tableaux ---------- */

.tbl-scroll {
  overflow-x: auto;
  margin: 20px 0 26px;
  border-radius: var(--r-bloc);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--violet-2);
  color: var(--blanc);
  border: 1px solid var(--gold);
  font-size: 14px;
  line-height: 1.6;
  min-width: 560px;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--gold);
  padding: 0 0 8px;
  font-size: 0.95rem;
}

th,
td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

thead th {
  background-color: var(--violet);
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

tbody tr:nth-child(even) {
  background-color: var(--mauve);
}

tbody tr:hover {
  background-color: var(--lavande);
}

/* ---------- Bannière bonus ---------- */

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  background-color: var(--violet-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-bloc);
  padding: 22px;
  margin: 30px 0;
}

.promo__img {
  flex: 1 1 300px;
  min-width: 260px;
}

.promo__txt {
  flex: 1 1 320px;
}

.promo__txt h2,
.promo__txt h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: var(--blanc);
}

.promo__amount {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
}

.promo__txt p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.promo__txt .cta {
  margin-bottom: 6px;
}

/* ---------- Jeux ---------- */

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.game {
  background-color: var(--violet-2);
  border-radius: var(--r-bloc);
  overflow: hidden;
  text-align: center;
  padding-bottom: 12px;
}

.game__media {
  position: relative;
  line-height: 0;
}

.game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.game__ov {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 1, 48, 0.78);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.game__play {
  background-color: var(--gold);
  color: var(--violet);
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  transform: translateY(6px);
  transition: transform 0.18s ease;
}

.game:hover .game__ov,
.game:focus-within .game__ov {
  opacity: 1;
}

.game:hover .game__play,
.game:focus-within .game__play {
  transform: translateY(0);
}

.game__ov:focus-visible {
  opacity: 1;
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* Écrans tactiles : pas de survol, le bouton reste visible */
@media (hover: none) and (pointer: coarse) {
  .game__ov {
    opacity: 1;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    background-image: linear-gradient(to top, rgba(20, 1, 48, 0.85) 0%, rgba(20, 1, 48, 0) 60%);
    background-color: transparent;
  }
  .game__play {
    transform: none;
    padding: 9px 20px;
    font-size: 0.82rem;
  }
}

.game__name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 8px 2px;
  line-height: 1.4;
}

.game__prov {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.center {
  text-align: center;
}

/* ---------- Avis / Trustpilot ---------- */

.avis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
  margin: 22px 0 26px;
}

.avis__card {
  background-color: var(--violet-2);
  border: 1px solid var(--blanc-12);
  border-radius: var(--r-bloc);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.avis__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars span {
  width: 20px;
  height: 20px;
  display: block;
  background-color: #00b67a;
  position: relative;
}

.stars span::before {
  content: "★";
  position: absolute;
  inset: 0;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
}

.stars span.off {
  background-color: rgba(255, 255, 255, 0.22);
}

.avis__date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.avis__card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--blanc);
}

.avis__card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.7;
}

.avis__who {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: auto;
  line-height: 1.6;
}

.avis__who b {
  color: var(--blanc);
}

.avis__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background-color: var(--violet-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-bloc);
  padding: 16px 20px;
  margin: 22px 0 0;
}

.avis__score strong {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1.2;
}

.avis__score span {
  font-size: 0.9rem;
  color: var(--blanc-80);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq {
  margin: 20px 0 10px;
  display: grid;
  gap: 12px;
}

.faq details {
  background-color: var(--violet-2);
  border: 1px solid var(--blanc-12);
  border-radius: var(--r-bloc);
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  color: var(--blanc);
  line-height: 1.6;
  position: relative;
  padding-right: 34px;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

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

.faq details > p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Sticky CTA desktop ---------- */

.sticky {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  background-color: var(--violet-2);
  border: 2px solid var(--gold);
  border-radius: var(--r-bloc);
  padding: 14px 18px;
  max-width: 260px;
  box-shadow: none;
}

.sticky p {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--blanc);
  line-height: 1.5;
  font-weight: 600;
}

.sticky .cta {
  margin: 0;
  min-width: 0;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.sticky__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background-color: var(--violet);
  color: var(--gold);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

/* ---------- Footer ---------- */

.ftr {
  background-color: var(--violet);
  padding: 40px 0 30px;
  margin-top: 30px;
  border-top: 1px solid var(--blanc-12);
  text-align: center;
}

.ftr__logo {
  width: 160px;
  margin: 0 auto 16px;
  border-radius: 0;
}

.ftr__links {
  list-style: none;
  padding: 0;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  max-width: 820px;
}

.ftr__links li {
  margin: 0;
}

.ftr__links a {
  color: var(--blanc-80);
  font-size: 0.88rem;
}

.ftr__links a:hover {
  color: var(--gold);
}

.ftr__legal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 780px;
  margin: 0 auto 12px;
  line-height: 1.8;
}

.ftr__copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.7;
}

.age {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .toc ol {
    columns: 1;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--violet-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px;
    border-top: 1px solid var(--gold);
    margin: 0;
  }
  .nav.open {
    display: flex;
  }
  .burger {
    display: block;
  }
  .duo--desk {
    display: none;
  }
  .nav .duo--mob {
    display: flex;
    margin-top: 10px;
  }
  .sticky {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }
  .sticky p {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.8rem;
  }
  .sticky .cta {
    width: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.4rem;
    margin-top: 32px;
  }
  .hero__offer {
    font-size: 1.6rem;
  }
  .cta {
    min-width: 0;
    width: 100%;
    padding: 14px 18px;
    letter-spacing: 1px;
    font-size: 0.82rem;
  }
  .promo {
    padding: 16px;
  }
}
