:root {
  --bg: #0d0e14;
  --bg-2: #101119;
  --surface: #14151d;
  --surface-2: #1a1b25;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f4f8;
  --muted: #9b9daf;
  --gold: #f7b32b;
  --gold-deep: #e8890c;
  --gold-soft: #ffd479;
  --gold-ink: #1f1302;
  --gold-grad: linear-gradient(135deg, #ffd166 0%, #f7b32b 45%, #f08a0c 100%);
  --pink: #ff2e63;
  --pink-2: #ff6a8e;
  --amber: #ffb020;
  --amber-2: #ffd37a;
  --green: #22c55e;
  --green-2: #4ade80;
  --red: #ef4444;
  --blue: #3b82f6;
  --radius: 18px;
  --side: 248px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Outfit", "Manrope", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { flex-shrink: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; border-radius: 6px; }

.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;
}
.skip {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.fine a, .prose a, .faq-item a, .check a, .callout a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.eyebrow {
  color: var(--gold-soft); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.accent { color: var(--gold); }
.accent-amber { color: var(--amber); }
.accent-celsius { color: #ff4f7b; }
.accent-betportal { color: #00ff67; }
.accent-velobet { color: #8ef02a; }
.link-accent { color: var(--gold-soft); font-weight: 700; font-size: 14px; white-space: nowrap; }
.link-accent:hover { color: #fff; }

/* ---------- layout ---------- */

.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.backdrop { display: none; }

.sidebar {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 12px; background: #0b0c11; border-right: 1px solid var(--line);
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 6px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.logo b { font-weight: 800; color: #fff; }
.logo em { font-style: normal; font-weight: 800; color: var(--gold); }
.logo span { display: inline-flex; gap: 3px; }

.quick { display: grid; gap: 6px; margin-bottom: 4px; }
.quick-card {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 12px;
  color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); transition: transform .15s, filter .15s;
}
.quick-card:hover { transform: translateY(-1px); filter: brightness(1.08); }
.quick-card span { display: grid; line-height: 1.2; }
.quick-card b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.quick-card small { font-size: 12.5px; opacity: .92; }
.quick-card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-card > .icon { flex: none; padding: 5px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.16); }
.q-telegram { background: linear-gradient(135deg, #0369a1, #229ed9); }
.q-rumble { background: linear-gradient(135deg, #2f6b12, #5fa321); }

.nav-label { margin: 10px 8px 3px; color: #6b6d7e; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nav-list { display: grid; gap: 1px; }
.nav-link {
  display: flex; align-items: center; gap: 11px; min-height: 33px; padding: 0 10px;
  border-radius: 10px; color: #c9cad6; font-size: 13.5px; font-weight: 600;
}
.nav-link:hover { background: rgba(255,255,255,.04); color: #fff; }
.nav-link.active { background: rgba(247,179,43,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(247,179,43,.22); }
.nav-link .icon { color: #8a8c9e; }
.nav-link.active .icon { color: var(--gold-soft); }
.nav-logo { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.nav-more summary { cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more .nav-list { margin-top: 1px; padding-left: 14px; }
.nav-more-link { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 11px; }
.nav-chevron { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -6px; border-radius: 8px; transition: transform .2s var(--ease), background .15s; }
.nav-chevron:hover { background: rgba(255,255,255,.08); }
.nav-more[open] .nav-chevron { transform: rotate(180deg); }
.nav-badge {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
  background: rgba(247,179,43,.15); color: var(--gold-soft); border: 1px solid rgba(247,179,43,.3);
}
.nav-badge.live { background: rgba(34,197,94,.1); color: var(--green-2); border-color: rgba(34,197,94,.3); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.side-discord {
  margin-top: auto; flex: none; display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: 14px; background: linear-gradient(135deg, #4f46e5, #6366f1); color: #fff;
  box-shadow: 0 10px 24px rgba(88,101,242,.25); transition: transform .2s var(--ease), filter .2s;
}
.side-discord:hover { transform: translateY(-1px); filter: brightness(1.08); }
.side-discord span { display: grid; line-height: 1.25; }
.side-discord b { font-size: 13.5px; }
.side-discord small { font-size: 12px; opacity: .85; }

@media (min-width: 961px) and (max-height: 920px) {
  .sidebar { padding-block: 10px; gap: 4px; }
  .quick { gap: 5px; }
  .quick-card { padding: 6px 10px; }
  .quick-card > .icon { width: 26px; height: 26px; padding: 4px; }
  .nav-label { margin: 7px 8px 2px; }
  .nav-link { min-height: 29px; }
  .side-discord { padding: 8px 12px; }
}
@media (min-width: 961px) and (max-height: 840px) {
  .quick-card small, .side-discord small { display: none; }
  .quick-card { padding: 6px 10px; }
  .nav-link { min-height: 26px; font-size: 13px; }
  .nav-label { margin: 5px 8px 1px; font-size: 9.5px; }
}
@media (min-width: 961px) and (max-height: 760px) {
  .sidebar { padding-block: 8px; gap: 3px; }
  .sidebar-head { padding-bottom: 2px; }
  .quick-card { padding: 4px 10px; }
  .quick-card > .icon { width: 24px; height: 24px; }
  .nav-link { min-height: 24px; }
  .side-discord { padding: 6px 12px; }
}

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 0 22px; background: rgba(13,14,20,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-spacer { flex: 1; }
.ticker + .topbar-spacer { display: none; }
.ticker {
  flex: 1; min-width: 0; height: 40px; margin-right: 10px; overflow: hidden; display: flex; align-items: center;
  border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tk-track { display: flex; width: max-content; animation: ticker var(--tk-duration, 40s) linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; flex: none; }
.tk-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; white-space: nowrap; font-size: 13px; color: var(--muted); transition: color .2s; }
.tk-item b { color: #fff; font-weight: 800; }
.tk-item:hover span { color: #fff; }
.tk-item img { border-radius: 50%; }
.tk-video .icon { color: #ff3355; }
.tk-draw .icon, .tk-draw b { color: var(--gold-soft); }
.tk-telegram .icon { color: #38b6ff; }
.tk-rumble .icon, .tk-rumble b { color: #a5e063; }
.tk-discord .icon { color: #8f9bff; }
.tk-betportal b { color: #5dff9d; }
.tk-celsius b { color: #ff7d9c; }
.tk-velobet b { color: #b6f56a; }
.tk-sep { flex: none; width: 4px; height: 4px; margin: 0 18px; border-radius: 50%; background: rgba(247,179,43,.55); }
@keyframes ticker { to { transform: translateX(-50%); } }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid transparent; background: transparent; color: #c9cad6;
}
.icon-btn:hover { background: rgba(255,255,255,.05); color: #fff; }
.coin-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,176,32,.08); border: 1px solid rgba(255,176,32,.25); color: var(--amber-2); font-weight: 800; font-variant-numeric: tabular-nums;
}
.only-mobile { display: none !important; }

.gw-bar {
  position: relative; display: flex; align-items: center; min-height: 56px;
  background:
    radial-gradient(120% 220% at 0% 50%, rgba(247,179,43,.45), transparent 55%),
    radial-gradient(80% 200% at 100% 50%, rgba(249,115,22,.25), transparent 60%),
    linear-gradient(90deg, #2a1a07, #170f05);
  border-bottom: 1px solid rgba(247,179,43,.3);
}
.gw-link { flex: 1; display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 22px; color: #fff; min-width: 0; }
.gw-link > .icon { color: #ffe8c2; }
.gw-text { min-width: 0; font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-text b { font-weight: 800; }
.gw-text span { color: #ffe2a6; font-weight: 700; }
.gw-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px;
  background: var(--gold-grad); color: var(--gold-ink); font-weight: 800; font-size: 14px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(247,179,43,.35);
}
.gw-close { width: 44px; height: 44px; margin-right: 8px; border: 0; background: transparent; color: #f1dcb2; display: grid; place-items: center; border-radius: 10px; }
.gw-close:hover { background: rgba(255,255,255,.07); }
.gw-hidden .gw-bar { display: none; }

.content { width: min(980px, 100% - 40px); margin: 0 auto; padding: 28px 0 64px; flex: 1; }
.content-wide { width: min(1240px, 100% - 40px); }

.footer { border-top: 1px solid rgba(247,179,43,.2); padding: 36px 22px 24px; background: #0b0c11; }
.footer-grid { width: min(1100px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid > div { display: grid; align-content: start; gap: 9px; }
.footer-grid a:not(.logo):not(.social) { color: #c9cad6; font-size: 14px; }
.footer-grid a:not(.logo):not(.social):hover { color: #fff; }
.footer-grid .muted { font-size: 14px; max-width: 36ch; }
.footer-title { color: #7b7d8f; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: #c9cad6; }
.social:hover { color: #fff; border-color: var(--line-2); }
.footer-bottom { width: min(1100px, 100%); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; color: #6f7184; font-size: 12.5px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 800; font-size: 14.5px; white-space: nowrap; transition: filter .15s, transform .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15.5px; text-transform: uppercase; letter-spacing: .02em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gold-grad); color: var(--gold-ink); box-shadow: 0 10px 28px rgba(232,137,12,.35); }
.btn-telegram { background: #229ed9; color: #fff; box-shadow: 0 10px 28px rgba(34,158,217,.3); }
.btn-youtube { background: #ff0033; color: #fff; box-shadow: 0 10px 28px rgba(255,0,51,.28); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.07); }
.btn-rumble { background: #85c742; color: #10210a; box-shadow: 0 10px 28px rgba(133,199,66,.28); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 10px 28px rgba(88,101,242,.35); }
.btn-celsius { background: linear-gradient(135deg, #ff2e63, #ff5a7e); color: #fff; box-shadow: 0 10px 28px rgba(255,46,99,.3); }
.btn-velobet { background: linear-gradient(135deg, #63d813, #b6f56a); color: #0f1f02; box-shadow: 0 10px 28px rgba(126,232,26,.22); }
.btn-betportal { background: linear-gradient(135deg, #00d957, #5dff9d); color: #00230f; box-shadow: 0 10px 28px rgba(0,255,103,.22); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; filter: none; transform: none; }

/* ---------- sections ---------- */

.section { margin-top: 44px; }
.section:first-child, .sr-only:first-child + .section { margin-top: 0; }
.section.narrow { width: min(900px, 100%); margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-head h2 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.section-head h2 span { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.page-hero { margin-bottom: 26px; display: grid; gap: 10px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero.center { justify-items: center; text-align: center; padding: 40px 0; }
.lead { color: #c4c5d3; font-size: 16.5px; max-width: 62ch; }
.page-hero.center .lead { margin: 0 auto; }
.big-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(247,179,43,.12); color: var(--gold-soft); border: 1px solid rgba(247,179,43,.25); margin-bottom: 6px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

/* ---------- casino cards ---------- */

.casino-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-top: 14px; }
/* Tablette et petit PC : le N°1 en carte large au-dessus des deux autres. */
.casino-grid > .is-top:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
/* Grand écran : la grille déborde de la colonne de texte, le N°1 passe au centre, plus large et plus haut. */
@media (min-width: 1320px) {
  .casino-grid {
    --w: min(1340px, 100vw - var(--side) - 64px);
    width: var(--w); margin-inline: calc(50% - var(--w) / 2);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr) minmax(0, 1fr); padding-block: 38px 24px;
  }
  .casino-grid > .is-top:first-child:nth-last-child(odd) { grid-column: auto; }
  .casino-grid > .casino-card { order: 3; }
  .casino-grid > .casino-card:nth-child(2) { order: 1; }
  .casino-grid > .is-top { order: 2; margin-block: -24px; }
  .is-top .cc-in { padding-block: 52px 30px; gap: 24px; }
  .is-top .cc-big { font-size: clamp(76px, 32cqi, 124px); }
  .is-top .cc-sub { font-size: 20px; }
  .is-top .cc-cta { min-height: 68px; font-size: 18px; }
}
.casino-card {
  --a: var(--gold); --a2: var(--gold-soft); --a-rgb: 247,179,43; --a-ink: var(--gold-ink);
  position: relative; display: flex; container: card / inline-size;
  border-radius: 26px; border: 1px solid transparent;
  background:
    radial-gradient(90% 44% at 50% 0%, rgba(var(--a-rgb), .2), transparent 72%) padding-box,
    linear-gradient(180deg, #171820, #101118) padding-box,
    linear-gradient(170deg, rgba(var(--a-rgb), .6), rgba(var(--a-rgb), .12) 36%, rgba(255,255,255,.07) 68%, rgba(var(--a-rgb), .32)) border-box;
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.casino-card::before {
  content: ""; position: absolute; top: -1px; left: 14%; right: 14%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--a), transparent); box-shadow: 0 0 18px var(--a);
}
.casino-card.is-top {
  border-width: 2px;
  background:
    radial-gradient(110% 52% at 50% 0%, rgba(var(--a-rgb), .3), transparent 72%) padding-box,
    radial-gradient(90% 30% at 50% 100%, rgba(var(--a-rgb), .12), transparent 75%) padding-box,
    linear-gradient(180deg, #191b20, #101118) padding-box,
    linear-gradient(170deg, var(--a), rgba(var(--a-rgb), .3) 40%, rgba(var(--a-rgb), .2) 62%, var(--a)) border-box;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 90px rgba(var(--a-rgb), .16);
}
.theme-celsius { --a: #ff2e63; --a2: #ff8aa6; --a-rgb: 255,46,99; --a-ink: #fff; }
.theme-velobet { --a: #7ee81a; --a2: #c4ff7a; --a-rgb: 126,232,26; --a-ink: #0f1f02; }
.theme-betportal { --a: #00e35f; --a2: #7dffb3; --a-rgb: 0,255,103; --a-ink: #00230f; }

.cc-ribbon {
  position: absolute; z-index: 2; top: 0; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 15px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: #1b1c26; color: var(--a2); border: 1px solid rgba(var(--a-rgb), .45); box-shadow: 0 6px 16px rgba(0,0,0,.45);
}
.cc-ribbon b { color: #fff; font-weight: 800; }
.is-top .cc-ribbon { height: 34px; padding: 0 18px; font-size: 12.5px; background: var(--gold-grad); color: var(--gold-ink); border-color: transparent; box-shadow: 0 8px 22px rgba(247,179,43,.45); }

.cc-in { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 34px 24px 18px; }
.cc-main { display: grid; gap: 18px; }
.cc-head { display: flex; align-items: center; gap: 13px; }
.cc-logo { flex: none; width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 26px rgba(var(--a-rgb), .45); }
.cc-name { flex: 1; min-width: 0; }
.cc-name h3 { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-name p { margin-top: 3px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.cc-score { flex: none; display: grid; justify-items: end; gap: 4px; }
.cc-score b { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-score small { margin-left: 1px; color: var(--muted); font-size: 13px; font-weight: 700; }
.stars {
  font-size: 13px; line-height: 1; letter-spacing: .06em; margin-right: -.06em;
  background: linear-gradient(90deg, var(--gold) var(--fill, 100%), rgba(255,255,255,.28) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.cc-offer { container-type: inline-size; display: block; text-align: center; padding: 4px 0 0; border-radius: 16px; }
.cc-offer > span { display: block; }
.cc-kicker { color: var(--a2); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.cc-big {
  margin-top: 6px; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 30cqi, 108px);
  line-height: 1; letter-spacing: -0.03em; filter: drop-shadow(0 0 26px rgba(var(--a-rgb), .32));
  transition: transform .35s var(--ease), filter .35s;
}
a.cc-offer:hover .cc-big { transform: scale(1.04); filter: drop-shadow(0 0 34px rgba(var(--a-rgb), .5)); }
.cc-grad { background: linear-gradient(135deg, #fff 0%, var(--a2) 45%, var(--a) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cc-sub { margin-top: 10px; font-weight: 800; font-size: 18px; line-height: 1.3; text-wrap: balance; }

.cc-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.cc-feats li {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px 8px 8px; border-radius: 13px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  color: #e6e7f0; font-size: 13.5px; font-weight: 700; line-height: 1.2;
}
.cc-feats i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(var(--c, 247,179,43), .14); color: var(--ci, var(--gold-soft)); }
.feat-pink { --c: 255,46,99; --ci: #ff8aa6; }
.feat-orange { --c: 249,115,22; --ci: #fb923c; }
.feat-green { --c: 34,197,94; --ci: var(--green-2); }
.feat-yellow { --c: 234,179,8; --ci: #facc15; }
.feat-mint { --c: 0,255,103; --ci: #5dff9d; }

.cc-act { margin-top: auto; display: grid; gap: 11px; }
.cc-act .cc-cta { min-height: 62px; border-radius: 16px; font-size: 16.5px; }
.cc-act .cc-cta .icon { transition: transform .25s var(--ease); }
.cc-act .cc-cta:hover .icon { transform: translateX(4px); }
.is-top .cc-act .cc-cta:not(.is-disabled) { animation: cta-pulse 2.6s var(--ease) infinite; }
@keyframes cta-pulse {
  0% { box-shadow: 0 12px 30px rgba(var(--a-rgb), .3), 0 0 0 0 rgba(var(--a-rgb), .55); }
  70%, 100% { box-shadow: 0 12px 30px rgba(var(--a-rgb), .3), 0 0 0 16px rgba(var(--a-rgb), 0); }
}
.cc-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; color: #d5d6e2; font-size: 12.5px; font-weight: 700; }
.cc-assure li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cc-assure .icon { color: var(--a2); }
.cc-micro { margin-top: -5px; text-align: center; color: #8a8c9e; font-size: 12px; font-weight: 600; }
.cc-proof { display: flex; align-items: center; justify-content: center; gap: 8px; color: #c9cad6; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.cc-proof b { color: var(--a2); font-variant-numeric: tabular-nums; }
.cc-proof .pulse, .cc-proof .icon { flex: none; }
.cc-proof .icon { color: var(--a2); }
.cc-ticket {
  display: flex; align-items: center; gap: 11px; padding: 10px 13px 10px 10px; border-radius: 15px;
  background: rgba(247,179,43,.07); border: 1px dashed rgba(247,179,43,.42);
  color: #eadfc8; font-size: 13.5px; font-weight: 600; line-height: 1.3; transition: background .2s, border-color .2s;
}
.cc-ticket:hover { background: rgba(247,179,43,.14); border-color: rgba(247,179,43,.7); }
.cc-ticket i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(247,179,43,.16); color: var(--gold-soft); }
.cc-ticket > span { flex: 1; min-width: 0; }
.cc-ticket b { color: #ffe2a6; font-weight: 800; }
.cc-ticket .nw { white-space: nowrap; }
.cc-timer { display: block; white-space: nowrap; margin-top: 4px; color: #cdbf9f; font-size: 12px; font-weight: 700; }
.cc-timer b { color: #fff; font-variant-numeric: tabular-nums; }
.cc-timer .icon { display: inline-block; vertical-align: -2px; margin-right: 3px; color: var(--gold-soft); }
.cc-ticket > .icon { color: var(--gold-soft); transition: transform .25s var(--ease); }
.cc-ticket:hover > .icon { transform: translateX(3px); }
.cc-review { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; color: var(--muted); font-size: 13.5px; font-weight: 700; }
.cc-review:hover { color: #fff; }

/* Carte étroite : hauteurs réservées pour garder les cartes voisines alignées. */
@container card (max-width: 364px) {
  .cc-in { padding-inline: 16px; }
  .cc-head { gap: 10px; }
  .cc-logo { width: 46px; height: 46px; }
  .cc-name h3 { font-size: 22px; }
  .cc-feats li { min-height: 50px; font-size: 12.5px; gap: 8px; }
  .cc-feats i { width: 28px; height: 28px; }
  .cc-proof { min-height: 37px; font-size: 12.5px; }
  .cc-sub { font-size: 16px; }
  .cc-ticket { font-size: 12.5px; }
  .cc-timer { font-size: 11.5px; }
  .cc-act .cc-cta { font-size: 15px; padding-inline: 12px; }
  @media (min-width: 721px) { .cc-sub { min-height: 2.6em; } }
}
/* Carte large (N°1 sur tablette) : offre à gauche, avantages et bouton à droite. */
@container card (min-width: 600px) {
  .cc-in {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "main feats" "main act";
    align-items: start; gap: 16px 36px; padding: 40px 32px 24px;
  }
  .cc-main { grid-area: main; align-self: center; gap: 24px; }
  .cc-feats { grid-area: feats; }
  .cc-act { grid-area: act; margin-top: 0; }
}

/* Barre fixe mobile : l'offre N°1 reste sous le pouce une fois les cartes dépassées. */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .casino-grid { gap: 32px; }
  .sticky-cta {
    position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 18px;
    background: rgba(18,19,27,.94); backdrop-filter: blur(14px); border: 1px solid rgba(var(--a-rgb), .5);
    box-shadow: 0 16px 40px rgba(0,0,0,.65), 0 0 30px rgba(var(--a-rgb), .12);
    transform: translateY(150%); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s;
  }
  .sticky-cta.show { transform: none; opacity: 1; visibility: visible; }
  .sticky-cta img { flex: none; border-radius: 50%; }
  .sticky-cta p { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .sticky-cta p b { font-family: var(--display); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta p small { color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .cc-cta { flex: none; width: auto; min-height: 46px; padding: 0 16px; border-radius: 13px; font-size: 13.5px; }
  .has-sticky .footer { padding-bottom: 96px; }
  .has-sticky .toast { bottom: 88px; }
}
.cc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid; }
.tag-pink { color: #ff8aa6; background: rgba(255,46,99,.08); border-color: rgba(255,46,99,.3); }
.tag-orange { color: #fb923c; background: rgba(249,115,22,.08); border-color: rgba(249,115,22,.3); }
.tag-green { color: var(--green-2); background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.3); }
.tag-yellow { color: #facc15; background: rgba(234,179,8,.08); border-color: rgba(234,179,8,.3); }
.tag-amber { color: var(--amber-2); background: rgba(255,176,32,.08); border-color: rgba(255,176,32,.3); }
.tag-mint { color: #5dff9d; background: rgba(0,255,103,.07); border-color: rgba(0,255,103,.3); }
.cc-code { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(var(--a-rgb), .45); background: rgba(0,0,0,.2); }
.cc-code-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cc-code b { font-family: var(--display); letter-spacing: .1em; }
.cc-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--a2); font-weight: 700; font-size: 12.5px; }
.cc-cta {
  width: 100%; min-height: 56px; border-radius: 14px; text-transform: uppercase; letter-spacing: .03em; font-size: 15.5px;
  background: linear-gradient(135deg, var(--a), var(--a2)); color: var(--a-ink); box-shadow: 0 12px 30px rgba(var(--a-rgb), .3);
}
.cc-cta.is-disabled { background: rgba(255,255,255,.06); color: var(--muted); box-shadow: none; border: 1px solid var(--line-2); opacity: 1; }
.cc-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 12px; background: rgba(247,179,43,.1); border: 1px solid rgba(247,179,43,.35); color: #ffeccc;
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-align: center;
}
.cc-secondary:hover { background: rgba(247,179,43,.18); }

/* ---------- steps, banner, games tiles, faq ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(247,179,43,.18); color: var(--gold-soft); font-weight: 800; }
.step h3 { font-size: 17px; font-weight: 800; }
.step p { color: var(--muted); font-size: 14px; }

.discord-banner {
  position: relative; overflow: hidden; margin-top: 44px; padding: 44px 24px; border-radius: 24px; text-align: center;
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(245,158,11,.55), transparent 60%),
    radial-gradient(50% 70% at 90% 80%, rgba(249,115,22,.35), transparent 60%),
    radial-gradient(40% 60% at 80% 10%, rgba(250,204,21,.18), transparent 60%),
    linear-gradient(135deg, #2b1a06, #3d2508 50%, #1f1405);
  border: 1px solid rgba(255,212,121,.4);
  display: grid; justify-items: center; gap: 12px;
}
.db-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(253,224,71,.8) 1.5px, transparent 2px), radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1.5px);
  background-size: 90px 90px, 53px 53px; background-position: 10px 20px, 30px 5px;
  mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
.discord-banner > * { position: relative; }
.discord-banner .eyebrow { color: #ffe8c2; }
.discord-banner h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.02em; }
.db-sub { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff3dc; }
.db-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: #ffe9c2; font-size: 14px; font-weight: 600; }
.db-features li { display: inline-flex; align-items: center; gap: 7px; }
.db-ctas, .hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* steps panel */
.steps-box { margin-top: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.sb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.sb-head h2 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.sb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-steps li { display: flex; gap: 14px; padding: 18px 22px; }
.sb-steps li + li { border-left: 1px solid var(--line); }
.sb-steps h3 { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.sb-steps p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.sb-steps .step-num { flex: none; width: 30px; height: 30px; font-size: 13px; }

/* gift banner */
.gift-banner {
  position: relative; overflow: hidden; margin-top: 28px; padding: 46px clamp(24px, 13%, 150px) 40px; border-radius: 24px; text-align: center; isolation: isolate;
  background:
    radial-gradient(55% 90% at 12% 50%, rgba(255,46,99,.35), transparent 60%),
    radial-gradient(50% 90% at 88% 50%, rgba(99,76,255,.4), transparent 60%),
    radial-gradient(70% 60% at 50% 0%, rgba(247,179,43,.35), transparent 60%),
    linear-gradient(180deg, #1d1230, #120d1c);
  border: 1px solid rgba(255,212,121,.35);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.gb-art { position: absolute; z-index: -1; bottom: -24px; width: clamp(160px, 24%, 300px); height: auto; opacity: .95; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.gb-left { left: -16px; }
.gb-right { right: -16px; }
.gb-body { display: grid; justify-items: center; gap: 12px; max-width: 640px; margin: 0 auto; }
.gift-banner .eyebrow { color: #ffe8c2; }
.gift-banner h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 50px); line-height: 1; letter-spacing: -0.02em; text-shadow: 0 6px 30px rgba(0,0,0,.5); }
.gb-sub { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-soft); font-size: 14px; }
.gift-banner .db-features { color: #efe6ff; }
.gift-banner .db-features .is-live b { color: var(--gold-soft); }
.gb-fine, .db-winner { color: rgba(255,255,255,.65); font-size: 12.5px; }
.db-winner { display: inline-flex; align-items: center; gap: 6px; color: #ffe2a6; font-weight: 600; }
.db-winner .icon { color: var(--gold); }

/* community band */
.community-band {
  margin: 44px 0 8px; padding: 36px 24px; border-radius: 22px; text-align: center; display: grid; justify-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(88,101,242,.1), rgba(88,101,242,.03)), var(--surface); border: 1px solid rgba(99,102,241,.45);
}
.community-band h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.community-band p { color: var(--muted); max-width: 56ch; font-size: 15px; }
.cb-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* trust */
.trust { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.trust li { display: flex; gap: 11px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.trust li > .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.trust b { display: block; font-size: 13.5px; }
.trust small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.t-green > .icon { background: rgba(34,197,94,.14); color: var(--green-2); }
.t-pink > .icon { background: rgba(255,46,99,.14); color: #ff8aa6; }
.t-gold > .icon { background: rgba(247,179,43,.16); color: var(--gold-soft); }
.t-blue > .icon { background: rgba(88,101,242,.18); color: #a5b4fc; }

/* editorial & guides */
.editorial .ed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ed-grid > div { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ed-grid h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }
.ed-grid p { color: #c4c5d3; font-size: 14px; line-height: 1.6; }
.ed-grid a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.ed-ic, .gd-ic { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.gd-ic { width: 46px; height: 46px; border-radius: 12px; }
.ic-green { background: rgba(34,197,94,.14); color: var(--green-2); }
.ic-pink { background: rgba(255,46,99,.14); color: #ff8aa6; }
.ic-gold { background: rgba(247,179,43,.16); color: var(--gold-soft); }
.ic-orange { background: rgba(249,115,22,.14); color: #fb923c; }
.ic-blue { background: rgba(88,101,242,.18); color: #a5b4fc; }
.guide-list { display: grid; gap: 10px; }
.guide-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.guide-card:hover { border-color: rgba(247,179,43,.45); transform: translateX(3px); }
.guide-card > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.guide-card small { color: var(--muted); font-size: 13.5px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.crumbs a { color: #c9cad6; }
.prose-wide { max-width: 78ch; }
.prose h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.prose p { line-height: 1.65; }

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.game-tile {
  position: relative; display: block; height: 118px; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.game-tile:hover { border-color: rgba(247,179,43,.45); transform: translateY(-2px); }
.tile-art { position: absolute; inset: 0; display: grid; place-items: center; }
.tile-name { position: absolute; left: 14px; bottom: 12px; font-family: var(--display); font-weight: 800; font-size: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.tile-blackjack { background: radial-gradient(100% 120% at 30% 0%, #0f6b4c, #0a3b2c 55%, #10131a); }
.tile-crash { background: radial-gradient(80% 100% at 90% 0%, rgba(34,197,94,.18), transparent 60%), #0f1116; }
.tile-mines { background: linear-gradient(180deg, #1e1a12, #15130f); }
.tile-plinko { background: linear-gradient(180deg, #1a1610, #12110d); }
.tile-roulette { background: radial-gradient(80% 100% at 70% 30%, rgba(239,68,68,.16), transparent 60%), #121218; }
.tile-all { display: grid; align-content: end; padding: 14px; }
.tile-all .tile-name { position: static; color: #ffe2a6; }
.tile-arrow { color: var(--gold-soft); margin-bottom: 6px; }
.art-cards { display: flex; gap: 6px; transform: translate(30px, -6px) rotate(-6deg); }
.pcard { width: 44px; height: 62px; border-radius: 7px; background: #f8fafc; color: #111827; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px rgba(0,0,0,.4); position: relative; }
.pcard i { position: absolute; bottom: 4px; right: 6px; font-style: normal; font-size: 14px; }
.pcard.red { color: #dc2626; transform: rotate(10deg) translateY(4px); }
.art-crash { width: 80%; transform: translate(10px, -6px); }
.art-mines { display: grid; grid-template-columns: repeat(6, 22px); gap: 5px; transform: translate(26px, -10px); }
.art-mines i { width: 22px; height: 22px; border-radius: 5px; background: #2b2620; }
.art-mines i.gem { background: linear-gradient(135deg, #f7b32b, #ffe0a0); box-shadow: 0 0 12px rgba(247,179,43,.6); }
.art-mines i.bomb { background: #3b1220; box-shadow: inset 0 0 0 2px #ef4444; }
.art-plinko { width: 130px; transform: translateY(-8px); }
.art-roulette span {
  display: block; width: 78px; height: 78px; border-radius: 50%; transform: translate(40px, -8px);
  background: repeating-conic-gradient(#b91c1c 0 9.73deg, #111827 9.73deg 19.46deg);
  box-shadow: 0 0 0 5px #3f2a14, 0 10px 24px rgba(0,0,0,.5);
  -webkit-mask: radial-gradient(circle, transparent 18px, #000 19px);
  mask: radial-gradient(circle, transparent 18px, #000 19px);
}

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-soft); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 16px; color: #c4c5d3; font-size: 14px; }

/* ---------- concours ---------- */

.draw-hero { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 12px 0 8px; }
.draw-hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 7vw, 76px); line-height: .95; letter-spacing: -0.012em; word-spacing: .06em; }
.draw-hero .accent { color: var(--gold); text-shadow: 0 0 40px rgba(247,179,43,.35); }
.draw-hero .lead { margin: 0 auto; }
.draw-hero .lead b { color: #fff; }
.countdown { display: flex; gap: 10px; justify-content: center; }
.countdown div { min-width: 74px; padding: 10px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); display: grid; justify-items: center; }
.countdown b { font-family: var(--display); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.countdown-lg div { min-width: 84px; padding: 14px 10px; }
.countdown-lg b { font-size: 38px; }

.entry-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.entry-panel { border-color: rgba(247,179,43,.3); background: radial-gradient(100% 50% at 50% 0%, rgba(247,179,43,.1), transparent 70%), var(--surface); }
.entry-form { display: grid; gap: 14px; }
.entry-form h2, .rules h2, .entry-success h2 { font-family: var(--display); font-size: 22px; font-weight: 800; }
.casino-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.casino-pick legend { font-weight: 700; font-size: 13.5px; margin-bottom: 8px; color: #d4d5e1; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-body { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s; }
.pick-body img { width: 32px; height: 32px; border-radius: 50%; }
.pick-body .icon { margin-left: auto; opacity: 0; color: #fff; }
.pick-celsius input:checked + .pick-body { border-color: var(--pink); background: rgba(255,46,99,.1); }
.pick-velobet input:checked + .pick-body { border-color: #7ee81a; background: rgba(126,232,26,.08); }
.pick-betportal input:checked + .pick-body { border-color: #00e35f; background: rgba(0,255,103,.08); }
.pick input:checked + .pick-body .icon { opacity: 1; }
.pick input:focus-visible + .pick-body { outline: 2px solid var(--gold-soft); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: 13.5px; color: #d4d5e1; }
.field input, .field select, .bp-field input, .bp-field select {
  width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-2); outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .bp-field input:focus, .bp-field select:focus { border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field.inline { grid-auto-flow: column; align-items: center; gap: 10px; }
.field.inline select { min-height: 38px; }
.field-error { color: #fca5a5; font-size: 12.5px; min-height: 0; }
.field-error:empty { display: none; }
.hint { color: var(--muted); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #d4d5e1; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 10px 12px; border-radius: 12px; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); color: #fecaca; font-size: 14px; }
.form-msg.ok { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); color: #bbf7d0; }
.entry-success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.success-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.15); color: var(--green-2); border: 1px solid rgba(34,197,94,.4); }
.rule-list { display: grid; gap: 10px; margin: 14px 0 16px; }
.rule-list li { position: relative; padding-left: 22px; color: #c4c5d3; font-size: 14px; }
.rule-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.winner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.winner .icon { color: var(--amber); }
.winner div { display: grid; }
.winner span { color: var(--muted); font-size: 12.5px; }
.winner em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--green-2); }

/* ---------- casino page ---------- */

.casino-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 24px; align-items: center;
  padding: 28px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(80% 90% at 0% 0%, rgba(var(--a-rgb), .2), transparent 60%), #15130f;
  border: 1px solid rgba(var(--a-rgb), .32);
}
.ch-main { display: grid; gap: 10px; justify-items: start; }
.ch-logo { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 34px rgba(var(--a-rgb), .5); }
.casino-hero h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.ch-offer { font-weight: 800; font-size: 19px; }
.ch-offer .cc-grad { font-family: var(--display); font-size: 30px; }
.casino-hero .cc-tags { justify-content: flex-start; }
.ch-side { display: grid; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stat { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.stat dt { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.stat dd { margin: 4px 0 0; font-family: var(--display); font-size: 22px; font-weight: 800; }
.perk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.perk h3 { font-size: 16.5px; margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.compare thead th img { display: inline-block; vertical-align: middle; margin-right: 6px; border-radius: 50%; }
.compare tbody th { color: #d4d5e1; font-weight: 700; white-space: nowrap; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.pay-block { display: grid; gap: 10px; }
.pay-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.cta-band { margin: 44px 0 18px; padding: 24px; border-radius: 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(232,137,12,.22), rgba(232,137,12,.06)); border: 1px solid rgba(247,179,43,.35); }
.cta-band h2 { font-family: var(--display); font-size: 22px; font-weight: 800; margin-bottom: 4px; }

/* ---------- prose ---------- */

.prose { max-width: 72ch; display: grid; gap: 12px; color: #c4c5d3; }
.prose h2 { color: #fff; font-size: 19px; margin-top: 14px; }
.prose ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.prose b { color: #fff; }
.callout { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,176,32,.06); border: 1px solid rgba(255,176,32,.25); color: #e8dcc0; font-size: 14px; }
.callout .icon { color: var(--amber); margin-top: 2px; }

/* ---------- games list ---------- */

.game-list { display: grid; gap: 10px; }
.game-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.game-card:hover { border-color: rgba(247,179,43,.45); }
.game-card > span:nth-child(2) { display: grid; }
.game-card small { color: var(--muted); font-size: 13.5px; }
.gc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(247,179,43,.14); color: var(--gold-soft); }
.gc-play { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--green-2); font-weight: 800; font-size: 13.5px; text-transform: uppercase; }

/* ---------- game shell ---------- */

.demo-banner {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(247,179,43,.18), rgba(247,179,43,.04)); border: 1px solid rgba(247,179,43,.3); color: #ffe9c2; font-size: 13.5px;
}
.demo-banner .icon { color: var(--gold-soft); }
.game-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); min-height: 560px; }
.bet-panel { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-right: 1px solid var(--line); background: #0f1017; }
.bp-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 13.5px; }
.bp-balance { color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.bet-input { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; }
.bet-input > .icon { margin-left: 12px; color: var(--amber-2); }
.bet-input input { flex: 1; min-width: 0; height: 44px; padding: 0 8px; border: 0; background: transparent; outline: none; font-weight: 800; font-variant-numeric: tabular-nums; }
.bet-input button { height: 44px; padding: 0 11px; border: 0; border-left: 1px solid var(--line-2); background: transparent; color: #c9cad6; font-weight: 700; font-size: 13px; }
.bet-input button:hover { background: rgba(255,255,255,.05); color: #fff; }
.bet-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.bet-presets button { min-width: 44px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: #c9cad6; font-weight: 700; font-size: 13px; }
.bet-presets button.on { border-color: var(--green); color: var(--green-2); background: rgba(34,197,94,.08); }
.bp-extra { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp-field { display: grid; gap: 6px; font-weight: 700; font-size: 13.5px; }
.bp-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9b9daf 50%), linear-gradient(135deg, #9b9daf 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.bp-suffix { position: relative; }
.bp-suffix em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); }
.bp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-stat { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; }
.bp-stat span { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bp-stat b { font-variant-numeric: tabular-nums; font-size: 15px; }
.bp-hint { color: var(--muted); font-size: 13px; }
.bp-bottom { margin-top: auto; display: grid; gap: 8px; }
.btn-play { width: 100%; min-height: 54px; background: linear-gradient(180deg, #22c55e, #16a34a); color: #052e16; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; box-shadow: 0 4px 0 #15803d, 0 14px 30px rgba(34,197,94,.22); }
.btn-play.is-cashout { background: linear-gradient(180deg, #fbbf24, #f59e0b); color: #2a1700; box-shadow: 0 4px 0 #b45309, 0 14px 30px rgba(245,158,11,.25); }
.btn-cashout { width: 100%; background: linear-gradient(180deg, #fbbf24, #f59e0b); color: #2a1700; }
.game-stage { display: flex; flex-direction: column; min-width: 0; padding: 18px; gap: 14px; }
.stage-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.stage-head h1 { font-size: 20px; font-weight: 800; margin-top: 4px; }
.stage-head .eyebrow { color: var(--muted); letter-spacing: .14em; font-size: 11px; }
.stage-status { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: #c9cad6; white-space: nowrap; }
.stage-status.win { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.4); color: var(--green-2); }
.stage-status.lose { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.4); color: #fca5a5; }
.stage-status.live { background: rgba(247,179,43,.14); border-color: rgba(247,179,43,.4); color: #ffe9c2; }
.stage-msg { text-align: center; color: var(--muted); font-size: 14px; }
.game-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 6px; color: var(--muted); font-size: 12.5px; }
.game-foot a { display: inline-flex; align-items: center; gap: 6px; color: #c9cad6; font-weight: 700; }
.game-rules { max-width: 72ch; display: grid; gap: 10px; color: #c4c5d3; }
.game-rules h2 { font-family: var(--display); color: #fff; font-size: 22px; font-weight: 800; }
.history { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; }
.history li { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); }
.history li.good { color: var(--green-2); border-color: rgba(34,197,94,.3); }
.history li.bad { color: #fca5a5; border-color: rgba(239,68,68,.3); }
.history li.r-red { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.history li.r-black { background: #1f2937; border-color: #374151; color: #fff; }
.history li.r-green { background: #15803d; border-color: #15803d; color: #fff; }

/* crash */
.crash-stage { container-type: size; position: relative; flex: 1; min-height: 360px; border-radius: 16px; overflow: hidden; background: radial-gradient(70% 70% at 50% 40%, rgba(247,179,43,.06), transparent), #0c0d13; border: 1px solid var(--line); }
.crash-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash-mult { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: clamp(34px, min(15cqi, 22cqh), 92px); color: rgba(255,255,255,.14); font-variant-numeric: tabular-nums; pointer-events: none; }
.crash-mult.live { color: #fff; text-shadow: 0 0 40px rgba(34,197,94,.45); }
.crash-mult.crashed { color: #f87171; text-shadow: 0 0 40px rgba(239,68,68,.45); }
.crash-mult.cashed { color: var(--green-2); }
.crash-msg { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }

/* mines */
.mines-board { flex: 1; align-self: center; width: min(460px, 100%); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 2vw, 10px); align-content: center; }
.mine-cell {
  aspect-ratio: 1; border-radius: 14px; border: 0; background: linear-gradient(180deg, #2e2921, #242019);
  box-shadow: 0 4px 0 #1a160f; display: grid; place-items: center; transition: transform .12s, background .2s;
}
.mine-cell:not(:disabled):hover { transform: translateY(-2px); background: linear-gradient(180deg, #3a3328, #2e2920); }
.mine-cell:disabled { cursor: default; }
.mine-cell.gem { background: linear-gradient(180deg, #221d16, #1a160f); box-shadow: inset 0 0 0 2px rgba(247,179,43,.6), 0 0 20px rgba(247,179,43,.25); }
.mine-cell.bomb { background: linear-gradient(180deg, #3b1220, #2a0d17); box-shadow: inset 0 0 0 2px #ef4444; }
.mine-cell.dim { opacity: .45; }
.mine-cell .gem-shape { width: 46%; height: 46%; transform: rotate(45deg); border-radius: 4px; background: linear-gradient(135deg, #ffe0a0, #f7b32b); box-shadow: 0 0 16px rgba(255,212,121,.8); }
.mine-cell .bomb-shape { width: 44%; height: 44%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fca5a5, #b91c1c 60%, #450a0a); box-shadow: 0 0 16px rgba(239,68,68,.7); }

/* plinko */
.plinko-stage { position: relative; flex: 1; min-height: 380px; }
.plinko-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.plinko-slots { display: grid; gap: 3px; font-size: 11.5px; }
.plinko-slot { padding: 7px 0; border-radius: 7px; text-align: center; font-size: 1em; letter-spacing: -0.02em; overflow: hidden; font-weight: 800; color: #1a0a00; font-variant-numeric: tabular-nums; transition: transform .15s; }
.plinko-slot.hit { transform: translateY(4px); filter: brightness(1.25); }

/* roulette */
.roulette-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.wheel-wrap { position: relative; width: 240px; height: 240px; }
.wheel { width: 100%; height: 100%; border-radius: 50%; transition: transform 5s cubic-bezier(.12,.68,.08,1); box-shadow: 0 0 0 6px #3a2614, 0 0 0 8px #6b4a24, 0 20px 50px rgba(0,0,0,.5); }
.wheel-pointer { position: absolute; z-index: 2; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.wheel-result { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #0c0d13; border: 3px solid #6b4a24; font-family: var(--display); font-weight: 800; font-size: 26px; }
.wheel-result.r-red { color: #f87171; }
.wheel-result.r-green { color: var(--green-2); }
.roulette-top .history { max-width: 220px; }
.board-scroll { overflow-x: auto; padding: 8px 6px 4px; }
.roulette-board { display: grid; grid-template-columns: 52px repeat(12, minmax(0, 1fr)); gap: 4px; min-width: 600px; user-select: none; }
.rb-cell {
  position: relative; min-height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center; font-weight: 800; font-size: 13.5px; color: #fff; padding: 0;
}
.rb-cell:hover { filter: brightness(1.2); }
.rb-red { background: #b91c1c; }
.rb-black { background: #1f2937; }
.rb-green { background: #15803d; grid-row: span 3; }
.rb-out { background: #17182a; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.rb-dozen { grid-column: span 4; }
.rb-even { grid-column: span 2; }
.rb-cell.win { box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(255,255,255,.5); }
.chip {
  position: absolute; right: -4px; top: -6px; z-index: 1; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #1a0f00;
  background: radial-gradient(circle, #fde68a 0 45%, #f59e0b 46%); border: 2px dashed #fff8;
}

/* blackjack */
.bj-table { flex: 1; display: grid; grid-template-rows: 1fr auto 1fr; gap: 16px; padding: 22px; border-radius: 18px; background: radial-gradient(90% 90% at 50% 50%, #0f6b4c, #0a3b2c 70%, #072a20); border: 6px solid #3a2614; min-height: 400px; }
.bj-row { display: grid; justify-items: center; align-content: center; gap: 8px; }
.bj-label { color: rgba(255,255,255,.65); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hand { display: flex; justify-content: center; min-height: 104px; }
.hands { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; min-height: 104px; }
.hands .hand { position: relative; padding: 6px; border-radius: 14px; transition: box-shadow .2s, background .2s; }
.hands .hand.is-active { background: rgba(255,255,255,.08); box-shadow: 0 0 0 2px rgba(247,179,43,.85), 0 0 24px rgba(247,179,43,.3); }
.hand-tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: #0c0d13; border: 1px solid var(--line-2); color: #c9cad6; white-space: nowrap; }
.hand-tag.win { color: var(--green-2); border-color: rgba(34,197,94,.5); }
.hand-tag.lose { color: #fca5a5; border-color: rgba(239,68,68,.5); }
.hand-bet { position: absolute; top: -8px; right: -4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: #1a0f00; background: radial-gradient(circle, #fde68a 0 45%, #f59e0b 46%); border: 2px dashed #fff8; }
.hand-total { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 7px; margin-left: 6px; border-radius: 999px; font-size: 12px; letter-spacing: 0; background: rgba(0,0,0,.35); color: #fff; font-variant-numeric: tabular-nums; vertical-align: middle; }
.hand-total.bust { background: rgba(239,68,68,.5); }
.hand-total.top { background: rgba(247,179,43,.6); color: #1a0f00; }
.card {
  width: 72px; height: 102px; border-radius: 9px; position: relative; margin-left: -18px;
  transform-style: preserve-3d; transition: transform .45s var(--ease); color: #111827;
}
.card .c-face, .card .c-back { box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.card.deal { animation: deal .32s var(--ease) both; }
.card:first-child { margin-left: 0; }
.card.red { color: #dc2626; }
.card .c-face, .card .c-back { position: absolute; inset: 0; border-radius: 9px; }
.card .c-face { background: #f8fafc; }
.card .c-back { background: repeating-linear-gradient(45deg, #b45309 0 6px, #e8890c 6px 12px); border: 3px solid #f8fafc; visibility: hidden; }
.card.back .c-face { visibility: hidden; }
.card.back .c-back { visibility: visible; }
.card .c-top { position: absolute; top: 6px; left: 8px; font-weight: 800; font-size: 17px; line-height: 1; text-align: center; }
.card .c-mid { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; }
@keyframes deal { from { transform: translate(60px, -60px) rotate(8deg); opacity: 0; } }
.card.reveal .c-face { animation: face-in .5s var(--ease) both; }
@keyframes face-in { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
.card.reveal .c-back { visibility: visible; animation: back-out .5s var(--ease) both; }
@keyframes back-out { 0% { transform: rotateY(0); visibility: visible; } 49% { visibility: visible; } 50%, 100% { transform: rotateY(90deg); visibility: hidden; } }
.bj-msg { white-space: pre-line; text-align: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.bj-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.bj-actions .btn { padding: 0 6px; font-size: 13px; gap: 6px; }
.bj-actions kbd { font: 700 10px/1 var(--display); padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- moteur commun des jeux ---------- */

.stage-tools { display: flex; align-items: center; gap: 8px; }
.sound-btn { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #c9cad6; }
.sound-btn:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.sound-btn i { position: absolute; left: 50%; top: 50%; width: 2px; height: 0; background: #fca5a5; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); transition: height .15s; }
.sound-btn.is-off { color: var(--muted); }
.sound-btn.is-off i { height: 22px; }

.session-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.session-stats > div { display: grid; gap: 2px; min-width: 0; }
.session-stats span { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.session-stats b { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.session-stats b.up { color: var(--green-2); }
.session-stats b.down { color: #fca5a5; }
.ss-reset { align-self: center; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); }
.ss-reset:hover { color: #fff; border-color: rgba(255,255,255,.3); }

.bp-balance.up { color: var(--green-2); }
.bp-balance.down { color: #fca5a5; }
.bp-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.bp-presets button { flex: 1; min-width: 44px; height: 32px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: #c9cad6; font-weight: 700; font-size: 12.5px; }
.bp-presets button:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.bp-presets button.on { border-color: var(--gold); color: var(--gold-soft); background: rgba(247,179,43,.1); }
.bp-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 13.5px; }
.bp-toggle input { appearance: none; flex: 0 0 auto; width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .2s; cursor: pointer; }
.bp-toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.bp-toggle input:checked { background: var(--gold); }
.bp-toggle input:checked::after { transform: translateX(16px); }
.bp-toggle span { display: grid; }
.bp-toggle small { color: var(--muted); font-weight: 600; font-size: 12px; }
.bp-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bp-btns .btn { padding: 0 6px; font-size: 12.5px; gap: 5px; }

.game-stage { position: relative; }
.game-stage.flash-win::after, .game-stage.flash-lose::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; border-radius: inherit; animation: stage-flash .9s ease-out forwards; }
.game-stage.flash-win::after { box-shadow: inset 0 0 0 3px rgba(34,197,94,.7), inset 0 0 80px rgba(34,197,94,.25); }
.game-stage.flash-lose::after { box-shadow: inset 0 0 0 3px rgba(239,68,68,.6), inset 0 0 80px rgba(239,68,68,.2); }
@keyframes stage-flash { from { opacity: 1; } to { opacity: 0; } }

.bigwin { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; overflow: hidden; }
.bigwin.out .bw-card { animation: bw-out .4s var(--ease) forwards; }
.bw-card { display: grid; justify-items: center; gap: 2px; padding: 20px 34px; border-radius: 20px; background: rgba(12,13,19,.86); border: 1px solid rgba(247,179,43,.5); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(247,179,43,.25); backdrop-filter: blur(6px); animation: bw-in .5s var(--ease) both; }
.bw-label { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--gold-soft); }
.bw-amount { font-family: var(--display); font-size: clamp(30px, 6vw, 48px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bw-mult { font-weight: 800; color: #c9cad6; }
@keyframes bw-in { from { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } to { transform: scale(1); } }
@keyframes bw-out { to { transform: scale(.9) translateY(10px); opacity: 0; } }
.bw-p { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; background: hsl(var(--h) 90% 60%); animation: bw-fall var(--d) ease-in forwards; }
.bw-p:nth-child(3n) { border-radius: 50%; width: 7px; height: 7px; }
@keyframes bw-fall { to { transform: translateY(720px) rotate(var(--r)); opacity: 0; } }

.history li.gold { color: var(--gold-soft); border-color: rgba(247,179,43,.5); background: rgba(247,179,43,.1); }
.crash-target { position: absolute; top: 12px; right: 14px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(247,179,43,.12); border: 1px dashed rgba(247,179,43,.5); color: var(--gold-soft); }

.mine-cell { transform-style: preserve-3d; }
.mine-cell.flip { animation: cell-flip .4s var(--ease); }
@keyframes cell-flip { 0% { transform: rotateY(0) scale(1); } 50% { transform: rotateY(90deg) scale(1.08); } 100% { transform: rotateY(0) scale(1); } }
.mines-board.shake { animation: shake .45s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }

.roulette-side { display: grid; gap: 10px; max-width: 240px; }
.hot-cold { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hot-cold > div { display: grid; gap: 4px; }
.hot-cold span { color: var(--muted); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hot-cold b { display: flex; gap: 4px; }
.hot-cold b span { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 999px; font-size: 11.5px; letter-spacing: 0; color: #fff; text-transform: none; }
.hot-cold .r-red { background: #b91c1c; }
.hot-cold .r-black { background: #1f2937; }
.hot-cold .r-green { background: #15803d; }
.ball-orbit { position: absolute; inset: 10px; z-index: 1; border-radius: 50%; pointer-events: none; transition: transform 5s cubic-bezier(.1,.7,.1,1); }
.ball-orbit i { position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cbd5e1 70%, #64748b); box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.chip.settled { opacity: .5; }

/* ---------- admin ---------- */

.admin-login { width: min(400px, 100%); margin: 40px auto; display: grid; justify-items: center; gap: 14px; text-align: center; }
.admin-login form { width: 100%; display: grid; gap: 12px; text-align: left; }
.admin-login h1 { font-family: var(--display); font-size: 26px; font-weight: 800; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.admin-head h1 { font-family: var(--display); font-size: 30px; font-weight: 800; margin: 4px 0; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tab { flex: none; padding: 10px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 800; }
.tab.active { color: #fff; border-color: var(--gold); }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.admin-counts { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-counts span { padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.toolbar-actions { margin-left: auto; display: flex; gap: 8px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th, .admin-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.admin-table td.email { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.status { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; border: 1px solid; }
.status-en_attente { color: #fde68a; border-color: rgba(253,230,138,.35); background: rgba(253,230,138,.06); }
.status-valide { color: var(--green-2); border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.06); }
.status-refuse { color: #fca5a5; border-color: rgba(252,165,165,.35); background: rgba(252,165,165,.06); }
.wh-ok { color: var(--green-2); }
.wh-erreur, .wh-non_configure { color: #fca5a5; }
.wh-en_attente { color: var(--muted); }
.row-actions { display: flex; gap: 4px; }
.row-actions button { height: 30px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: #c9cad6; font-size: 12px; font-weight: 700; }
.row-actions button:hover { background: rgba(255,255,255,.06); color: #fff; }
.row-actions .ok:hover { border-color: var(--green); color: var(--green-2); }
.row-actions .ko:hover, .row-actions .del:hover { border-color: var(--red); color: #fca5a5; }
.empty { padding: 30px; text-align: center; color: var(--muted); }
.draw-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.draw-grid .panel { display: grid; gap: 12px; }
.draw-grid h2 { font-size: 18px; }
.winner-box { padding: 16px; border-radius: 14px; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.35); display: grid; gap: 4px; }
.winner-box b { font-size: 18px; }
.settings-form { display: grid; gap: 14px; max-width: 900px; }
.settings-form fieldset { display: grid; gap: 12px; margin: 0; }
.settings-form legend { float: left; width: 100%; font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.field-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* QR codes dynamiques */
.qr-warn { margin-bottom: 14px; }
.qr-new { display: grid; gap: 12px; margin-bottom: 16px; }
.qr-new h2 { font-family: var(--display); font-size: 20px; font-weight: 800; }
.qr-new .btn { justify-self: start; }
.qr-new-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 12px; align-items: start; }
.qr-list { display: grid; gap: 14px; }
.qr-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.qr-img { width: 180px; height: 180px; border-radius: 12px; background: #fff; image-rendering: pixelated; }
.qr-body { display: grid; gap: 12px; min-width: 0; }
.qr-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.qr-top h3 { font-family: var(--display); font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.qr-scans { color: var(--muted); font-size: 13px; font-weight: 700; }
.qr-scans b { color: var(--gold-soft); font-size: 15px; }
.qr-fixed { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 9px 12px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--line-2); font-size: 13px; }
.qr-fixed span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.qr-fixed code { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; color: #fff; overflow-wrap: anywhere; }
.qr-copy { border: 0; background: transparent; color: var(--gold-soft); font-weight: 800; font-size: 12.5px; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-actions .qr-del { margin-left: auto; }
.qr-actions .qr-del:hover { border-color: var(--red); color: #fca5a5; }
@media (max-width: 720px) {
  .qr-new-grid, .qr-card { grid-template-columns: 1fr; }
  .qr-img { justify-self: center; }
  .qr-actions .qr-del { margin-left: 0; }
  .qr-fixed span { flex-basis: 100%; }
}

/* ---------- youtube ---------- */

.yt-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.yt-card { display: grid; gap: 12px; align-content: start; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: inherit; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s, opacity .7s var(--ease), translate .7s var(--ease); }
.yt-card:hover { border-color: rgba(247,179,43,.4); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(247,179,43,.08); }
.yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); pointer-events: none; }
.yt-card:hover .yt-thumb img { transform: scale(1.06); }
.yt-play {
  position: absolute; z-index: 1; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 3px; color: #fff; background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .25s, color .25s;
}
.yt-card:hover .yt-play, .yt-short:hover .yt-play { transform: scale(1.1); background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.yt-feature .yt-play { width: 74px; height: 74px; }
.yt-feature .yt-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,212,121,.5); animation: ring 2.4s var(--ease) infinite; }
.yt-badge { position: absolute; z-index: 1; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.82); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.yt-live { display: inline-flex; align-items: center; gap: 6px; background: #e11d48; }
.yt-live .pulse { background: #fff; }
.yt-info { display: grid; gap: 5px; padding: 0 4px 4px; min-width: 0; }
.yt-info b { font-weight: 800; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-feature .yt-info b { font-family: var(--display); font-size: clamp(18px, 2.1vw, 23px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.yt-info small { color: var(--muted); font-size: 12.5px; }
.yt-new { display: inline-flex; align-items: center; gap: 6px; color: #ff5c7a; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.yt-side { display: grid; gap: 12px; container-type: inline-size; }
.yt-side .yt-card { grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px; }
.yt-side .yt-thumb { border-radius: 10px; }
.yt-side .yt-play { width: 36px; height: 36px; }
.yt-side .yt-info { padding: 0; }
.yt-side .yt-info b { font-size: 13.5px; }
@container (max-width: 360px) {
  .yt-side .yt-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .yt-side .yt-info { padding: 0 4px 4px; }
  .yt-side .yt-info b { font-size: 14.5px; }
}
.yt-shorts-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.yt-shorts-head h3 { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 19px; font-weight: 700; }
.yt-shorts-head h3 .icon { color: var(--gold); }
.yt-shorts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding: 4px 0 8px; scrollbar-width: thin; }
.yt-shorts > li { scroll-snap-align: start; }
.yt-shorts-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); overflow: visible; }
.yt-short { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.yt-short:hover { border-color: rgba(247,179,43,.45); transform: translateY(-3px); }
.yt-short img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt-short:hover img { transform: scale(1.06); }
.yt-short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85)); }
.yt-short-info { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 3px; }
.yt-short-info b { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yt-short-info small { color: #d4d5e1; font-size: 11.5px; font-weight: 700; }
.yt-empty { display: grid; justify-items: center; gap: 12px; padding: 36px 20px; text-align: center; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); }
.yt-empty .big-icon { color: #ff4d6d; background: rgba(255,0,51,.1); border-color: rgba(255,0,51,.25); }
.yt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.yt-grid .yt-feature { grid-column: span 2; grid-row: span 2; }
.yt-hero .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #ff6b85; }
.hero-ctas.left { justify-content: flex-start; }

.vbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 56px 18px 18px; background: rgba(5,5,8,.88); backdrop-filter: blur(10px); animation: fade-in .2s ease-out; }
.vbox-frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 0 1px rgba(247,179,43,.25); animation: pop-in .35s var(--ease); }
.vbox.is-short .vbox-frame { width: auto; height: min(84vh, 780px); max-width: 100%; }
.vbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.vbox-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; }
.vbox-close:hover { background: rgba(255,255,255,.12); }
.vbox-out { position: absolute; top: 12px; left: 18px; right: 70px; display: flex; align-items: center; gap: 8px; min-height: 44px; color: #d4d5e1; font-size: 13.5px; font-weight: 700; overflow: hidden; }
.vbox-out span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vbox-out a { flex: none; color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- motion ---------- */

body { background: radial-gradient(1200px 500px at 70% -10%, rgba(247,179,43,.07), transparent 60%), var(--bg); background-attachment: fixed; }

@media (prefers-reduced-motion: no-preference) {
  :where(.js) :where(.section-head, .casino-card, .steps-box, .gift-banner, .community-band, .trust li, .ed-grid > div, .guide-card, .step, .game-grid > li, .faq-item, .yt-card, .yt-shorts > li, .yt-empty, .discord-banner, .winner, .perk, .stat, .entry-panel, .rules, .game-card, .cta-band, .page-hero, .draw-hero > *, .casino-hero, .prose > *):not(.in) {
    opacity: 0; translate: 0 18px;
  }
}
:where(.section-head, .step, .game-grid > li, .faq-item, .yt-shorts > li, .yt-empty, .discord-banner, .winner, .perk, .stat, .entry-panel, .rules, .cta-band, .page-hero, .draw-hero > *, .casino-hero, .prose > *) {
  transition: opacity .7s var(--ease), translate .7s var(--ease);
}

.casino-card { transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, opacity .7s var(--ease), translate .7s var(--ease); }
.casino-card:hover { transform: translateY(-4px); border-color: rgba(var(--a-rgb), .55); box-shadow: 0 34px 70px rgba(0,0,0,.45), 0 0 50px rgba(var(--a-rgb), .14); }
.casino-card::before { animation: glow-line 3.2s ease-in-out infinite; }
.casino-card:hover .cc-logo { transform: rotate(-8deg) scale(1.06); }
.gb-float { animation: float 5s ease-in-out infinite; }
.gb-float-slow { animation: float 7s ease-in-out infinite reverse; }
.gb-coins { animation: float 4s ease-in-out infinite; }
.gift-banner h2 { animation: none; }
.guide-card, .trust li, .ed-grid > div, .community-band, .steps-box, .gift-banner { transition: opacity .7s var(--ease), translate .7s var(--ease); }
.cc-logo, .ch-logo { transition: transform .4s var(--ease); }
.ch-logo { animation: float 5s ease-in-out infinite; }

.cc-grad, .draw-hero .accent, .gold-text {
  background: linear-gradient(110deg, #fff 0%, var(--a2, #ffe2a6) 30%, var(--a, #f7b32b) 55%, #fff4d6 70%, var(--a, #f7b32b) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
.draw-hero .accent { text-shadow: none; filter: drop-shadow(0 0 26px rgba(247,179,43,.35)); }

.btn-primary, .cc-cta, .gw-cta, .btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .cc-cta::after, .gw-cta::after, .btn-shine::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
.cc-cta.is-disabled::after { display: none; }
.btn { transition: filter .15s, transform .2s var(--ease), background .15s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(247,179,43,.45); }

.gw-link > .icon { animation: wiggle 3.5s ease-in-out infinite; transform-origin: 50% 80%; }
.db-glow { animation: drift 24s linear infinite; }
.big-icon { animation: float 4.5s ease-in-out infinite; }
.step { transition: border-color .25s, transform .3s var(--ease), opacity .7s var(--ease), translate .7s var(--ease); }
.step:hover { border-color: rgba(247,179,43,.35); transform: translateY(-3px); }
.step-num { box-shadow: 0 0 0 0 rgba(247,179,43,.4); }
.step:hover .step-num { animation: ping 1.2s var(--ease); }
.game-tile { transition: border-color .2s, transform .3s var(--ease), box-shadow .3s, opacity .7s var(--ease), translate .7s var(--ease); }
.game-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(247,179,43,.15); }
.game-tile .tile-art { transition: transform .5s var(--ease); }
.game-tile:hover .tile-art { transform: scale(1.06); }
.game-card { transition: border-color .2s, transform .3s var(--ease), opacity .7s var(--ease), translate .7s var(--ease); }
.game-card:hover { transform: translateX(4px); }
.faq-item { transition: border-color .2s, opacity .7s var(--ease), translate .7s var(--ease); }
.faq-item:hover, .faq-item[open] { border-color: rgba(247,179,43,.3); }
.faq-item[open] p { animation: fade-down .35s var(--ease); }
.faq-item summary::after { transition: transform .3s var(--ease); }
.nav-link .icon { transition: transform .25s var(--ease), color .2s; }
.nav-link:hover .icon { transform: translateX(2px); color: var(--gold-soft); }
.logo img { transition: transform .5s var(--ease); }
.logo:hover img { transform: rotate(-10deg) scale(1.08); }
.countdown b.tick { animation: tick .45s var(--ease); }
.countdown div { transition: border-color .3s; }
.countdown div:last-child { border-color: rgba(247,179,43,.35); }
.success-icon { animation: pop-in .5s var(--ease); }
.coin-chip .icon { animation: spin-y 6s ease-in-out infinite; }

@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes glow-line { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-12deg); } 88% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } 96% { transform: rotate(4deg); } }
@keyframes drift { to { background-position: 100px 110px, -23px 58px; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(247,179,43,.5); } 100% { box-shadow: 0 0 0 12px rgba(247,179,43,0); } }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes tick { 0% { transform: translateY(-35%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } }
@keyframes spin-y { 0%, 85% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: #f4f4f8; color: #111; font-weight: 800; font-size: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4); transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .game-shell { grid-template-columns: 270px minmax(0, 1fr); }
  .field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .app { display: block; }
  .sidebar {
    position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(300px, 86vw); height: 100%;
    transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.5);
  }
  .menu-open .sidebar { transform: none; }
  .backdrop { display: none; }
  .menu-open .backdrop { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); }
  .only-mobile { display: inline-flex !important; }
  .topbar { padding: 0 12px; }
  .entry-grid, .casino-hero, .draw-grid { grid-template-columns: 1fr; }
  .game-shell { grid-template-columns: minmax(0, 1fr); }
  .bet-panel { border-right: 0; border-bottom: 1px solid var(--line); order: 2; }
  .game-stage { order: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .yt-layout { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .sb-steps { grid-template-columns: 1fr; }
  .sb-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .gb-art { width: 150px; opacity: .55; }
}

@media (max-width: 720px) {
  .content, .content-wide { width: calc(100% - 28px); padding-top: 18px; }
  .casino-grid, .steps, .faq-grid, .perk-grid, .trust { grid-template-columns: 1fr; }
  .gift-banner { padding: 36px 18px 32px; }
  .gb-art { display: none; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-text span { display: none; }
  .gw-link { padding-left: 14px; }
  .gw-cta { padding: 8px 14px; }
  .hide-xs { display: none !important; }
  .topbar { flex-wrap: wrap; height: auto; min-height: 58px; padding: 8px 12px 0; row-gap: 8px; }
  [id] { scroll-margin-top: 104px; }
  .ticker { order: 10; flex: 0 0 calc(100% + 24px); height: 34px; margin: 0 -12px; border-radius: 0; border-width: 1px 0 0; background: rgba(247,179,43,.04); }
  .tk-item { font-size: 12.5px; }
  .tk-sep { margin: 0 14px; }
  .ticker + .topbar-spacer { display: block; }
  .session-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .session-stats .ss-reset { grid-column: 3; justify-self: end; }
  .roulette-side { max-width: 100%; }
  .countdown div { min-width: 64px; }
  .countdown-lg b { font-size: 30px; }
  .cta-band { flex-direction: column; align-items: stretch; text-align: center; }
  .field-grid, .field-grid.two { grid-template-columns: 1fr 1fr; }
  .section-head { flex-wrap: wrap; }
  .section-head h2 span { display: block; margin: 4px 0 0; }
  .yt-grid { grid-template-columns: 1fr; }
  .yt-grid .yt-feature { grid-column: auto; grid-row: auto; }
  .yt-side .yt-card { grid-template-columns: 124px minmax(0, 1fr); }
  .yt-shorts { grid-auto-columns: 42%; }
  .yt-shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vbox { padding: 64px 0 0; place-items: start center; }
  .vbox-frame { border-radius: 0; }
  .vbox.is-short .vbox-frame { height: auto; width: 100%; max-height: calc(100vh - 80px); aspect-ratio: 9 / 16; }
}

@media (max-width: 420px) {
  .topbar .logo span { display: none; }
  .topbar .btn { padding-left: 12px; padding-right: 12px; }
  .casino-pick { grid-template-columns: 1fr; }
  .card { width: 60px; height: 86px; }
}

/* ---------- bannière stream Rumble ---------- */

.stream-banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  margin-bottom: 18px; padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid rgba(133,199,66,.32);
  background: radial-gradient(120% 180% at 0% 50%, rgba(133,199,66,.2), transparent 60%), var(--surface);
}
.sb-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #85c742; color: #10210a; }
.sb-body { min-width: 0; }
.sb-eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; color: #a5e063; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stream-banner h2 { margin: 0; font-family: var(--display); font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.sb-text { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; max-width: 58ch; }
.sb-ctas { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.sb-ctas.is-stacked { flex-direction: column; }
.sb-ctas.is-stacked .btn { min-height: 46px; }

@media (max-width: 1100px) {
  .stream-banner { grid-template-columns: auto minmax(0, 1fr); }
  .sb-ctas { grid-column: 1 / -1; justify-content: flex-start; }
  .sb-ctas.is-stacked { flex-direction: row; }
}
@media (max-width: 720px) {
  .stream-banner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .sb-mark { width: 48px; height: 48px; border-radius: 13px; }
  .sb-mark .icon { width: 26px; height: 26px; }
  .sb-ctas .btn { width: 100%; }
}
