/* ==========================================================================
   Aphrodite Casino FR — feuille de style unique
   Base sombre neutre + accents dorés / lime, radius 10px
   ========================================================================== */

:root {
  --bg: #090910;
  --bg-2: #0f1120;
  --surface: #171a2b;
  --surface-2: #1f2338;
  --surface-3: #262646;
  --line: #2b2f49;
  --text: #ffffff;
  --muted: #a8a6b3;
  --muted-2: #c2c0ce;
  --gold-1: #fdcc06;
  --gold-2: #ffea00;
  --lime-1: #f2f55d;
  --lime-2: #fbff21;
  --blue-1: #1f35fa;
  --blue-2: #4e17a5;
  --orange-1: #ff5f1b;
  --orange-2: #ff422d;
  --indigo-1: #14193e;
  --indigo-2: #030045;
  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --ff: Arial, Helvetica, Verdana, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 14px; text-wrap: balance; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin: 0 0 16px; text-wrap: pretty; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
a { color: var(--gold-1); text-decoration: underline; }
a:hover { color: var(--gold-2); }
strong { color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.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;
}

/* ---------- Boutons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px;
  font: 700 16px/1 var(--ff); text-align: center; text-decoration: none;
  border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background .3s ease-in-out, color .3s ease-in-out, transform .15s ease;
  position: relative; overflow: hidden; user-select: none;
}
.btn:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 2px; }

.btn-primary { background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%); color: #090909; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%,70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-primary::after { animation: none; opacity: 0; } }
.btn-primary:hover { background: var(--muted); color: #090909; }

.btn-secondary {
  background: transparent; color: var(--gold-1);
  box-shadow: inset 0 0 0 2px var(--gold-1);
}
.btn-secondary:hover { background: var(--gold-1); color: #090909; }

.btn-lime { background: linear-gradient(138deg, var(--lime-1) 0%, var(--lime-2) 74.32%); color: #090909; }
.btn-lime:hover { background: linear-gradient(138deg, var(--lime-2) 0%, var(--lime-1) 74.32%); }

.btn-ghost { background: var(--surface-2); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface-3); }

.btn-lg { min-height: 56px; padding: 16px 40px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,9,16,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 8px; }
.logo { flex: 0 0 auto; }
.logo img { width: 122px; height: auto; }
.nav {
  flex: 1 1 100%; order: 3; margin: 0 -16px; padding: 0 16px 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav ul { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.nav li { margin: 0; }
.nav a {
  color: var(--muted-2); font-size: 13px; font-weight: 700; white-space: nowrap;
  text-decoration: none; text-transform: uppercase; letter-spacing: .3px;
}
.nav a:hover { color: var(--gold-2); }
.header-cta { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.header-cta .btn { min-height: 38px; padding: 9px 14px; font-size: 13px; }

/* ---------- Hero ------------------------------------------------------- */
.hero {
  text-align: center;
  padding: 54px 0 44px;
  background:
    radial-gradient(1100px 420px at 50% -10%, rgba(253,204,6,.16) 0%, transparent 62%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 900px; margin: 0 auto 16px; font-size: 32px; }
.hero-lead {
  max-width: 780px; margin: 0 auto 22px;
  color: var(--muted-2); font-size: 18px;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 26px auto 0; max-width: 900px; padding: 0; list-style: none;
}
.hero-strip li {
  margin: 0; padding: 9px 14px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; color: var(--muted-2);
}
.hero-strip b { color: var(--gold-2); }

/* ---------- Sections --------------------------------------------------- */
section { padding: 46px 0; border-bottom: 1px solid rgba(43,47,73,.6); }
section:last-of-type { border-bottom: 0; }
.lede { color: var(--muted-2); }

/* ---------- Cartes ----------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.cards.c2 { grid-template-columns: 1fr; }
.card {
  margin: 0; padding: 18px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.card h3 { margin: 0 0 6px; font-size: 17px; color: var(--gold-2); }
.card p { margin: 0; color: var(--muted-2); font-size: 16px; }
.card .big { display: block; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 2px; }

/* ---------- Sommaire --------------------------------------------------- */
.toc {
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(138deg, var(--surface) 0%, var(--surface-3) 120%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.toc h2 { font-size: 20px; margin-bottom: 12px; }
.toc ol { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: #fff; text-decoration: none; font-size: 16px;
}
.toc a::before { content: counter(toc) ". "; color: var(--gold-1); font-weight: 700; }
.toc a:hover { background: rgba(255,255,255,.06); color: var(--gold-2); }

/* ---------- Bannières promo ------------------------------------------- */
.promo {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  margin: 26px 0; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(138deg, var(--blue-1) 0%, var(--blue-2) 74.32%);
}
.promo::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 46%;
  background: rgba(255,255,255,.14);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}
.promo::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 20%;
  background: rgba(9,9,16,.18);
  clip-path: polygon(0 0, 100% 0, 46% 100%, 0 100%);
}
.promo-orange { background: linear-gradient(138deg, var(--orange-1) 0%, var(--orange-2) 74.32%); }
.promo-indigo { background: linear-gradient(138deg, var(--indigo-1) 0%, var(--indigo-2) 74.32%); }
.promo-gold { background: linear-gradient(138deg, #3a2c00 0%, #12121c 74.32%); }
.promo-txt { position: relative; z-index: 1; }
.promo h2, .promo h3 { margin: 0 0 6px; font-size: 22px; }
.promo p { margin: 0; font-size: 16px; color: rgba(255,255,255,.92); }
.promo .btn { position: relative; z-index: 1; align-self: flex-start; }
.promo-img { position: relative; z-index: 1; border-radius: var(--radius-sm); }

/* ---------- Tableaux --------------------------------------------------- */
.table-scroll { overflow-x: auto; margin: 0 0 22px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); }
caption {
  padding: 14px 16px; text-align: left; font-weight: 700; color: var(--muted-2);
  background: var(--surface-2); font-size: 15px;
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-3); color: #fff; font-size: 15px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; color: var(--muted-2); }
td b { color: var(--gold-2); }
.yes { color: #7ddf6a; font-weight: 700; }
.no { color: #ff8a7a; font-weight: 700; }

/* ---------- Onglets jeux ---------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tab {
  padding: 10px 16px; border: 0; border-radius: var(--radius);
  background: var(--surface-2); color: var(--muted-2);
  font: 700 15px/1 var(--ff); cursor: pointer; transition: .2s;
}
.tab:hover { background: var(--surface-3); color: #fff; }
.tab[aria-selected="true"] { background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%); color: #090909; }
.tab:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 2px; }

.grid-games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.game {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.game > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.game-meta { padding: 10px 12px; }
.game-meta strong { display: block; font-size: 14px; }
.game-meta span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.game-over {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 12px;
  background: rgba(9,9,16,.86); opacity: 0; transition: opacity .25s ease;
}
.game-over .btn { min-height: 40px; padding: 10px 18px; font-size: 14px; width: 100%; max-width: 150px; }
.game:hover .game-over,
.game:focus-within .game-over { opacity: 1; }
.game > img { transition: transform .35s ease; }
.game:hover > img, .game:focus-within > img { transform: scale(1.05); }
@media (hover: none) and (pointer: coarse) {
  .game-over { position: static; opacity: 1; background: transparent; flex-direction: row; padding: 10px 12px 12px; }
  .game-over .btn { max-width: none; }
  .game:hover > img { transform: none; }
}

/* ---------- Logos ------------------------------------------------------ */
.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.logos li {
  margin: 0; display: flex; align-items: center; justify-content: center;
  min-height: 76px; padding: 12px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.logos img { max-height: 48px; width: auto; opacity: .92; }
.logos-pay li { background: #f3f3f7; box-shadow: none; }
.logos-pay img { max-height: 32px; }
.logos-pay li { min-height: 58px; }

/* ---------- Étapes ---------------------------------------------------- */
.steps { counter-reset: st; margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li {
  counter-increment: st; position: relative; margin: 0;
  padding: 16px 16px 16px 58px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.steps li::before {
  content: counter(st); position: absolute; left: 16px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: #090909; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted-2); font-size: 16px; }

/* ---------- Avis ------------------------------------------------------- */
.rating-box {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding: 18px; margin: 0 0 20px; border-radius: var(--radius);
  background: linear-gradient(138deg, var(--surface) 0%, var(--surface-3) 130%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.rating-num { font-size: 40px; font-weight: 700; color: var(--gold-2); line-height: 1; }
.stars { color: var(--gold-1); letter-spacing: 2px; font-size: 18px; }
.reviews { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.review {
  margin: 0; padding: 18px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(138deg, var(--blue-1) 0%, var(--blue-2) 100%);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.review-head b { display: block; font-size: 16px; }
.review-head span { font-size: 13px; color: var(--muted); }
.review p { margin: 0; color: var(--muted-2); }
.review .stars { font-size: 15px; }

/* ---------- FAQ ------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
details {
  border-radius: var(--radius); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
summary {
  padding: 16px; font-weight: 700; font-size: 17px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold-1); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
summary:hover { color: var(--gold-2); }
details .answer { padding: 0 16px 16px; color: var(--muted-2); }
details .answer p:last-child { margin-bottom: 0; }

/* ---------- Barre CTA fixe -------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(15,17,32,.97); border-top: 1px solid var(--line);
}
.sticky-cta p { margin: 0; font-size: 14px; color: var(--muted-2); flex: 1 1 auto; }
.sticky-cta .btn { min-height: 44px; flex: 0 0 auto; }
body { padding-bottom: 96px; }
html { scroll-padding-top: 116px; }

/* ---------- Pied de page ---------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 34px 0 26px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
.footer h2 { font-size: 15px; text-transform: uppercase; color: var(--muted); letter-spacing: .5px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted-2); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--gold-2); text-decoration: underline; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0 0 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-badges img { max-height: 30px; width: auto; opacity: .7; }
.legal { color: var(--muted); font-size: 14px; }
.legal p { margin: 0 0 10px; }
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-right: 10px;
  background: var(--orange-1); color: #fff; font-weight: 700; font-size: 13px;
}

/* ---------- Divers ---------------------------------------------------- */
.figure { margin: 0 0 22px; }
.figure img { border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 8px; }
.note {
  padding: 14px 16px; margin: 0 0 20px; border-radius: var(--radius);
  background: var(--surface-2); border-left: 4px solid var(--gold-1);
  color: var(--muted-2); font-size: 16px;
}
.note strong { color: #fff; }
[data-cta] { cursor: pointer; }

/* ---------- Points de rupture ----------------------------------------- */
@media (min-width: 700px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
  .grid-games { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .promo { flex-direction: row; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 28px; }
  .promo-img { max-width: 300px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
  .header-in { flex-wrap: nowrap; min-height: 68px; padding-top: 0; }
  .logo img { width: 150px; }
  .nav { flex: 1 1 auto; order: 0; margin: 0; padding: 0; overflow: visible; }
  .nav ul { gap: 18px; }
  .nav a { font-size: 14px; }
  .header-cta .btn { min-height: 40px; padding: 10px 18px; font-size: 14px; }
  .grid-games { grid-template-columns: repeat(5, 1fr); }
  .logos { grid-template-columns: repeat(5, 1fr); }
  .logos-pay { grid-template-columns: repeat(6, 1fr); }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-top: 84px; }
}
