/* ═══════════════════════════════════════════════════
   mini-games.click — style.css
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       #f7fff2;
  --surface:  #ffffff;
  --border:   rgba(60,120,20,.12);
  --shadow:   0 4px 18px rgba(60,120,20,.1);
  --shadow-h: 0 12px 40px rgba(60,120,20,.18);

  --green:    #63b82f;
  --green-l:  #7dd84a;
  --green-d:  #4a8f1e;
  --green-bg: #edfad9;
  --orange:   #f97316;
  --orange-d: #ea6c0a;
  --orange-bg:#fff1e6;
  --sky:      #0ea5e9;
  --sky-bg:   #e0f5ff;
  --amber:    #d97706;
  --amber-bg: #fef9e0;
  --purple:   #a855f7;
  --purple-bg:#f5f0ff;

  --text:     #1a2c08;
  --muted:    #5a7050;
  --radius:   20px;
  --nav-h:    82px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { background: var(--bg); color: var(--text); font-family: 'Nunito', system-ui, sans-serif; overflow-x: hidden; line-height: 1.5; }

.logo, h1, h2, h3,
.section-title, .card-name,
.btn-nav, .btn-banner, .btn-card,
.badge-new, .badge-hot, .badge-soon,
.card-tag, .soon-overlay,
.game-page-header h1, .ov-title {
  font-family: 'Paytone One', 'Nunito', system-ui, sans-serif;
  letter-spacing: -.2px;
}
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { font-family: inherit; cursor: pointer; }


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding: 0 5%;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(60,120,20,.07);
}
.navbar-premium {
  border-bottom-color: rgba(244,196,48,.45);
  box-shadow: 0 2px 18px rgba(217,119,6,.13);
}
.logo { display: flex; align-items: center; }
.logo-img {
  height: calc(var(--nav-h) - 12px);
  width: auto; display: block;
  transition: transform .2s;
}
.logo:hover .logo-img { transform: scale(1.04); }
.logo-img--footer {
  height: 90px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

.nav-links { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-links a {
  color: var(--muted); font-size: .9rem; font-weight: 900;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:6px 18px;border-radius:50px;transition:all .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-d); background: var(--green-bg); }

.btn-nav {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:6px 22px; background: var(--orange); color: #fff;
  border: none; border-radius: 50px; font-size: .88rem;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--orange-d); transform: translateY(-1px); }

/* ── Burger mobile ── */
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 8px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; z-index: 210;
  box-shadow: 0 6px 18px rgba(60,120,20,.10);
}
.burger span {
  display: block; height: 2.5px; border-radius: 2px;
  background: var(--green-d); transition: all .3s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Menu mobile déroulant ── */
.mobile-menu {
  display: none;
  position: fixed; top: calc(var(--nav-h) + 8px); left: 12px; right: 12px; z-index: 190;
  max-height: calc(100dvh - var(--nav-h) - 20px);
  overflow-y: auto;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(32,53,20,.18);
  flex-direction: column; align-items: stretch; padding: 14px; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display:flex; align-items:center; justify-content:center;
  min-height: 46px; padding: 12px 16px; border-radius: 16px;
  font-size: 1rem; font-weight: 900; color: var(--text); text-align:center;
  background: #f8fbf4; border: 1px solid rgba(99,184,47,.14);
  transition: transform .16s, color .2s, background .2s, border-color .2s;
}
.mobile-menu a:hover { color: var(--green-d); background: var(--green-bg); border-color: rgba(99,184,47,.34); transform: translateY(-1px); }
.mobile-menu a[href*="logout"] { background:#fff1f2; border-color:#fecdd3; color:#dc2626!important; }
.mobile-menu .btn-nav {
  margin-top: 8px; text-align: center; display: block;
  padding: 13px; font-size: .95rem;
}


/* ══════════════════════════════════════════
   BANNER
══════════════════════════════════════════ */
.page-banner {
  margin-top: var(--nav-h);
  background: linear-gradient(135deg, #3fa81a 0%, var(--green) 50%, var(--green-l) 100%);
  padding: 52px 6%;
  border-radius: 0 0 48px 48px;
  overflow: hidden; position: relative;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.page-banner::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  bottom: -200px; right: -100px;
  pointer-events: none;
}
.banner-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  gap: 40px; max-width: 1100px; margin: 0 auto;
}
.banner-text {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 18px;
}
.banner-text h1 {
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: #fff; line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.banner-text h1 span { color: var(--orange); }
.banner-text p {
  color: rgba(255,255,255,.88); font-size: 1.05rem;
  line-height: 1.7; max-width: 420px;
}

/* ── Perks ── */
.banner-perks {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.banner-perk {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 14px; padding: 10px 14px;
  font-size: .85rem; color: #fff; line-height: 1.3;
}
.banner-perk strong { display: block; font-weight: 400; }
.perk-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ── CTAs ── */
.banner-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.btn-banner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--orange); color: #fff;
  border: none; border-radius: 50px;
  font-family: 'Paytone One', system-ui; font-size: .95rem; font-weight: 400;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-banner:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.35); }
.btn-banner-secondary {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 50px;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  font-family: 'Paytone One', system-ui; font-size: .95rem; font-weight: 400;
  transition: background .2s, transform .15s;
}
.btn-banner-secondary:hover { background: rgba(255,255,255,.32); transform: translateY(-1px); }

.banner-logo-wrap {
  flex-shrink: 0; position: relative;
}
.banner-logo-wrap::before {
  content: '';
  position: absolute; inset: -12px; border-radius: 36px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
}
.banner-logo {
  width: clamp(180px, 26vw, 320px);
  height: auto; display: block; border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
  position: relative; z-index: 1; transition: transform .3s;
}
.banner-logo:hover { transform: scale(1.03) rotate(-1deg); }

.guest-banner .banner-inner {
  max-width: 1180px;
  gap: clamp(34px, 5vw, 72px);
}
.guest-banner .banner-text {
  max-width: 560px;
}
.guest-banner-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: .78rem;
  line-height: 1.2;
}
.guest-banner .banner-text h1 {
  max-width: 570px;
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
  line-height: 1.05;
}
.guest-banner .banner-text p {
  max-width: 520px;
}
.guest-banner .banner-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
.guest-banner .banner-perk {
  min-width: 0;
  padding: 11px 12px;
}
.guest-perk-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-family: 'Paytone One', system-ui;
  font-size: .72rem;
}
.guest-banner-note {
  color: rgba(255,255,255,.78);
  font-size: .76rem;
}
.guest-showcase {
  position: relative;
  flex: 0 1 440px;
  width: min(440px, 40vw);
  padding: 0 0 58px;
}
.guest-signup-visual {
  display: block;
  position: relative;
  width: min(370px, 100%);
  margin: 0 auto;
  border: 8px solid rgba(255,255,255,.34);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 50px rgba(25,91,10,.3);
  transform: rotate(1.5deg);
  transition: transform .25s, box-shadow .25s;
}
.guest-signup-visual:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 28px 58px rgba(25,91,10,.38);
}
.guest-signup-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.guest-game-samples {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(430px, 110%);
  height: 110px;
  transform: translateX(-50%);
  pointer-events: none;
}
.guest-game-sample {
  position: absolute;
  bottom: 0;
  display: block;
  width: 168px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20,75,10,.28);
  pointer-events: auto;
  transition: transform .2s, z-index .2s;
}
.guest-game-sample img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guest-game-sample-left {
  left: 0;
  transform: rotate(-8deg);
}
.guest-game-sample-center {
  left: 50%;
  z-index: 2;
  transform: translateX(-50%) translateY(7px);
}
.guest-game-sample-right {
  right: 0;
  transform: rotate(8deg);
}
.guest-game-sample:hover {
  z-index: 4;
  transform: translateY(-8px) rotate(0) scale(1.05);
}
.guest-game-sample-center:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.05);
}

.loto-strip {
  padding: 28px 0 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.loto-strip-inner {
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,.96);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-h);
  padding: 14px;
  display: grid;
  grid-template-columns: 1.25fr 1.8fr auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.loto-strip-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.loto-strip-main > div {
  min-width: 0;
}
.loto-strip-main img {
  width: auto;
  height: 74px;
  max-width: 150px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(60,120,20,.12));
}
.loto-strip-main h2 {
  font-family: 'Paytone One', system-ui;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.1;
}
.loto-strip-main strong {
  display: block;
  font-family: 'Paytone One', system-ui;
  color: var(--orange);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.loto-strip-member-note {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.25;
}
.loto-strip-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.loto-strip-stat {
  min-height: 70px;
  background: #f7fbf3;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  min-width: 0;
}
.loto-strip-stat span,
.loto-strip-stat small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: .78rem;
  line-height: 1.2;
}
.loto-strip-stat strong {
  display: block;
  font-family: 'Paytone One', system-ui;
  color: var(--green-d);
  font-size: 1.08rem;
  line-height: 1.1;
  margin-top: 2px;
}
.loto-strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: 'Paytone One', system-ui;
  font-size: .92rem;
  box-shadow: 0 8px 22px rgba(249,115,22,.26);
  white-space: nowrap;
  transition: transform .15s, background .2s;
  min-width: 0;
}
.loto-strip-btn:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
}


/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.loto-win-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.loto-win-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.loto-win-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 32, 4, .52);
  backdrop-filter: blur(4px);
}
.loto-win-card {
  position: relative;
  width: min(430px, 100%);
  background: linear-gradient(180deg, #fffefa, #f4ffe8);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(13, 32, 4, .25);
  padding: clamp(20px, 4vw, 28px);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  transform: translateY(8px) scale(.98);
  transition: transform .2s ease;
  overflow: hidden;
}
.loto-win-popup.is-visible .loto-win-card {
  transform: translateY(0) scale(1);
}
.loto-win-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(109,164,71,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(109,164,71,.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.loto-win-card > * { position: relative; }
.loto-win-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--green-d);
  font-family: 'Paytone One', system-ui;
  font-size: 1.35rem;
  cursor: pointer;
}
.loto-win-card img {
  width: auto;
  max-width: min(220px, 70vw);
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(60,120,20,.16));
}
.loto-win-kicker {
  color: var(--orange);
  font-family: 'Paytone One', system-ui;
  font-size: .88rem;
}
.loto-win-card h2 {
  font-family: 'Paytone One', system-ui;
  color: var(--text);
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.05;
}
.loto-win-card p {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}
.loto-win-gain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 22px;
  border-radius: 999px;
  background: #eaffd8;
  color: var(--green-d);
  border: 1px solid #b9e59a;
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.4rem, 5vw, 2.1rem);
}
.loto-win-numbers {
  width: 100%;
  display: grid;
  gap: 7px;
}
.loto-win-numbers span {
  display: block;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  color: var(--text);
  font-weight: 400;
}
.loto-win-check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 400;
  font-size: .9rem;
  cursor: pointer;
}
.loto-win-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}
.loto-win-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2px;
}
.loto-win-btn {
  min-height: 46px;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  background: var(--orange);
  color: #fff;
  font-family: 'Paytone One', system-ui;
  box-shadow: 0 8px 20px rgba(249,115,22,.25);
  cursor: pointer;
  text-decoration: none;
}
.loto-win-btn.secondary {
  background: #fff;
  color: var(--green-d);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legends-promo {
  width: 100%;
  margin: 48px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: #f1fbe8;
  background-image:
    linear-gradient(rgba(99,184,47,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,184,47,.065) 1px, transparent 1px);
  background-size: 48px 48px;
  box-shadow: inset 0 14px 34px rgba(60,120,20,.035),
              inset 0 -14px 34px rgba(60,120,20,.035);
}
.legends-promo-inner {
  width: min(1440px, 90%);
  min-height: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(390px,.9fr);
  align-items: center;
  gap: 28px;
  padding: 34px clamp(26px,4vw,56px);
}
.legends-promo-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.legends-promo-logo {
  display: block;
  width: min(330px,78%);
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 12px rgba(60,120,20,.18));
}
.legends-promo-kicker {
  margin-top: 12px;
  color: var(--orange);
  font-family: 'Paytone One', system-ui;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.legends-promo h2 {
  max-width: 600px;
  margin-top: 7px;
  color: var(--text);
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.55rem,2.8vw,2.35rem);
  font-weight: 400;
  line-height: 1.12;
}
.legends-promo-text {
  max-width: 590px;
  margin-top: 13px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
}
.legends-promo-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.legends-promo-highlights span {
  padding: 7px 11px;
  border: 1px solid rgba(99,184,47,.22);
  border-radius: 7px;
  background: rgba(255,255,255,.82);
  color: var(--green-d);
  font-size: .76rem;
  font-weight: 400;
  box-shadow: 0 3px 10px rgba(60,120,20,.06);
}
.legends-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 21px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: 'Paytone One', system-ui;
  font-size: .9rem;
  box-shadow: 0 9px 24px rgba(249,115,22,.24);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.legends-promo-btn:hover {
  background: var(--orange-d);
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(249,115,22,.3);
}
.legends-promo-cards {
  position: relative;
  width: min(440px,100%);
  height: 330px;
  justify-self: center;
}
.legends-promo-card {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 138px;
  height: auto;
  border-radius: 7px;
  filter: drop-shadow(0 15px 15px rgba(49,89,27,.25));
  transform-origin: 50% 92%;
  transition: transform .3s ease;
}
.legends-card-back {
  z-index: 0;
  transform: translateX(-50%) translateY(-28px) rotate(-2deg) scale(.92);
  opacity: .7;
}
.legends-card-left {
  z-index: 1;
  transform: translateX(-146%) rotate(-15deg);
}
.legends-card-center {
  z-index: 3;
  transform: translateX(-50%) translateY(-15px) scale(1.12);
}
.legends-card-right {
  z-index: 2;
  transform: translateX(46%) rotate(15deg);
}
.legends-card-front {
  z-index: 4;
  width: 105px;
  transform: translateX(75%) translateY(34px) rotate(7deg);
}
.legends-promo:hover .legends-card-left {
  transform: translateX(-153%) rotate(-18deg) translateY(-4px);
}
.legends-promo:hover .legends-card-center {
  transform: translateX(-50%) translateY(-24px) scale(1.15);
}
.legends-promo:hover .legends-card-right {
  transform: translateX(53%) rotate(18deg) translateY(-4px);
}

.section { padding: 52px 5%; }
.section-header { margin-bottom: 28px; }
.section-title {
  font-size: 1.6rem; font-weight: 900; color: var(--text);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.section-title::after {
  content: ''; flex: 1; height: 3px; max-width: 44px;
  background: var(--orange); border-radius: 3px;
}
.section-sub { color: var(--muted); font-size: .9rem; }

/* ── Filtres ── */
.filters-wrap {
  margin-top: 18px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.filters-wrap::-webkit-scrollbar { display: none; }
.filters { display: flex; gap: 8px; width: max-content; padding-bottom: 4px; }
.filter {
  padding: 8px 18px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50px; color: var(--muted);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: .85rem; font-weight: 400;
  box-shadow: var(--shadow); transition: all .2s; white-space: nowrap;
}
.filter:not(.active):hover { border-color: var(--green); color: var(--green-d); background: var(--green-bg); }
.filter.active {
  background: var(--green); border-color: var(--green);
  color: #fff; box-shadow: 0 4px 14px rgba(99,184,47,.35);
}


/* ══════════════════════════════════════════
   GAME CARDS
══════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.game-card {
  position: relative; background: var(--surface);
  border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  color: var(--text); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.game-card:hover  { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.game-card:active { transform: scale(.98); }
.game-card.disabled { pointer-events: none; opacity: .5; }

.card-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.6rem; position: relative; overflow: hidden;
  border-bottom: 2px solid rgba(0,0,0,.06);
}
.card-thumb > span,
.card-thumb > div { filter: drop-shadow(0 2px 8px rgba(0,0,0,.2)); }
.card-thumb-img {
  display: block;
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  object-position: center;
  padding: 0;
  image-rendering: auto;
}

.game-card.cat-puzzle    .card-thumb { background: var(--green);  background-image: linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 22px 22px; }
.game-card.cat-arcade    .card-thumb { background: var(--orange); background-image: repeating-linear-gradient(-45deg,transparent,transparent 10px,rgba(255,255,255,.08) 10px,rgba(255,255,255,.08) 11px); }
.game-card.cat-grattage  .card-thumb { background: #f59e0b; background-image: radial-gradient(circle at 22% 28%,rgba(255,255,255,.22) 0 5px,transparent 6px), radial-gradient(circle at 72% 66%,rgba(255,255,255,.18) 0 7px,transparent 8px), repeating-linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.1) 9px,transparent 9px,transparent 18px); }
.game-card.cat-memoire   .card-thumb { background: var(--sky);    background-image: radial-gradient(rgba(255,255,255,.18) 1px,transparent 1px); background-size: 16px 16px; }
.game-card.cat-strategie .card-thumb { background: var(--amber);  background-image: repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(255,255,255,.08) 10px,rgba(255,255,255,.08) 11px); }
.game-card.cat-action    .card-thumb { background: #ef4444;       background-image: repeating-linear-gradient(90deg,transparent,transparent 14px,rgba(255,255,255,.07) 14px,rgba(255,255,255,.07) 15px); }
.game-card.cat-mot       .card-thumb { background: var(--purple); background-image: radial-gradient(rgba(255,255,255,.15) 1px,transparent 1px); background-size: 18px 18px; }

.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; gap: 6px; min-width: 0; }
.card-tag {
  font-size: .7rem; font-weight: 400; letter-spacing: .5px;
  text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
  white-space: nowrap; min-width: 0;
}
.game-card.cat-puzzle    .card-tag { background: var(--green-bg);  color: var(--green-d); }
.game-card.cat-arcade    .card-tag { background: var(--orange-bg); color: var(--orange-d); }
.game-card.cat-grattage  .card-tag { background: #fff7ed; color: #c2410c; }
.game-card.cat-memoire   .card-tag { background: var(--sky-bg);    color: #0369a1; }
.game-card.cat-strategie .card-tag { background: var(--amber-bg);  color: #92400e; }
.game-card.cat-action    .card-tag { background: #fee2e2;          color: #b91c1c; }
.game-card.cat-mot       .card-tag { background: var(--purple-bg); color: #7e22ce; }

.badge-new  { font-size: .68rem; padding: 3px 9px; border-radius: 50px; font-weight: 400; background: var(--orange-bg); color: var(--orange-d); white-space: nowrap; }
.badge-hot  { font-size: .68rem; padding: 3px 9px; border-radius: 50px; font-weight: 400; background: #fee2e2; color: #dc2626; white-space: nowrap; }
.badge-soon { font-size: .68rem; padding: 3px 9px; border-radius: 50px; font-weight: 700; background: #f1f5f9; color: var(--muted); white-space: nowrap; }

.card-name { font-size: 1rem; font-weight: 400; color: var(--text); }
.card-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; flex: 1; }
.btn-card {
  margin-top: 10px; padding: 10px; text-align: center;
  border-radius: 50px; font-size: .85rem;
  border: 2px solid var(--border); color: var(--muted);
  background: var(--bg); transition: all .2s;
}
.game-card.cat-puzzle:hover    .btn-card { background: var(--green-bg);  border-color: var(--green);  color: var(--green-d); }
.game-card.cat-arcade:hover    .btn-card { background: var(--orange-bg); border-color: var(--orange); color: var(--orange-d); }
.game-card.cat-grattage:hover  .btn-card { background: #fff7ed; border-color: #f97316; color: #c2410c; }
.game-card.cat-memoire:hover   .btn-card { background: var(--sky-bg);    border-color: var(--sky);    color: #0369a1; }
.game-card.cat-strategie:hover .btn-card { background: var(--amber-bg);  border-color: var(--amber);  color: #92400e; }

.soon-overlay {
  position: absolute; inset: 0;
  background: rgba(247,255,242,.82); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--muted);
  font-size: .9rem; letter-spacing: 3px; text-transform: uppercase;
  border-radius: calc(var(--radius) - 2px);
}


/* ══════════════════════════════════════════
   MINI-GAMES CLASSIC - ACCUEIL
══════════════════════════════════════════ */
.home-classic {
  padding: 58px 5%;
  background:
    radial-gradient(circle at 10% 10%, rgba(124,58,237,.18), transparent 24%),
    radial-gradient(circle at 90% 90%, rgba(249,115,22,.14), transparent 25%),
    #17142f;
  color: #fff;
}
.home-classic-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.home-classic-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}
.home-classic-kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: #c4b5fd;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .9px;
}
.home-classic-heading h2 {
  margin: 0 0 6px;
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
}
.home-classic-heading p {
  color: rgba(255,255,255,.68);
  font-weight: 700;
  line-height: 1.5;
}
.home-classic-heading > a {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
}
.home-classic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 17px;
}
.home-classic-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 19px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 38px rgba(0,0,0,.2);
  color: #fff;
  transition: transform .18s, background .18s;
}
.home-classic-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}
.home-classic-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(145deg, #0a0b18, #493786);
  font-size: 4.4rem;
}
.home-classic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-classic-cover b {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #7c3aed;
  color: #fff;
  font-size: .61rem;
  letter-spacing: .8px;
}
.home-classic-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px;
}
.home-classic-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.home-classic-title-row h3 {
  font-family: 'Paytone One', system-ui;
  font-size: 1.12rem;
}
.home-classic-title-row strong {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: .72rem;
}
.home-classic-body > p {
  margin: 8px 0 15px;
  color: rgba(255,255,255,.68);
  font-size: .84rem;
  line-height: 1.45;
}
.home-classic-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  color: #c4b5fd;
  font-size: .75rem;
  font-weight: 900;
}
.home-classic-footer em {
  color: #fdba74;
  font-style: normal;
}
@media (max-width: 680px) {
  .home-classic { padding: 42px 4%; }
  .home-classic-heading { align-items: flex-start; flex-direction: column; }
  .home-classic-heading > a { width: 100%; text-align: center; }
  .home-classic-card { grid-template-columns: 110px minmax(0, 1fr); min-height: 160px; }
  .home-classic-cover { min-height: 160px; font-size: 3.2rem; }
  .home-classic-body { padding: 14px; }
  .home-classic-title-row { display: grid; }
  .home-classic-title-row strong { justify-self: start; }
}

/* ══════════════════════════════════════════
   PAGE JEU
══════════════════════════════════════════ */
.home-seo {
  width: 100%;
  padding: 68px 5%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(247,255,242,.98)),
    radial-gradient(rgba(99,184,47,.12) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  border-top: 1px solid var(--border);
}
.home-seo-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.home-seo-header {
  max-width: 820px;
  margin-bottom: 42px;
}
.home-seo-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange-d);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.home-seo-header h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}
.home-seo-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.home-seo-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 54px;
}
.home-seo-columns article {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--green);
}
.home-seo-columns article:nth-child(even) {
  border-top-color: var(--orange);
}
.home-seo h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: 'Paytone One', system-ui;
  font-size: 1.18rem;
  line-height: 1.3;
}
.home-seo-columns p,
.home-seo-faq p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.82;
}
.home-seo a:not(.home-seo-primary):not(.home-seo-secondary) {
  color: var(--green-d);
  text-decoration: underline;
  text-decoration-color: rgba(63,168,26,.35);
  text-underline-offset: 3px;
}
.home-seo a:not(.home-seo-primary):not(.home-seo-secondary):hover {
  color: var(--orange-d);
  text-decoration-color: currentColor;
}
.home-seo-faq {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.home-seo-faq h3 {
  margin-bottom: 18px;
}
.home-seo-faq details {
  border-bottom: 1px solid var(--border);
}
.home-seo-faq summary {
  position: relative;
  padding: 16px 42px 16px 0;
  color: var(--text);
  font-size: .94rem;
  cursor: pointer;
  list-style: none;
}
.home-seo-faq summary::-webkit-details-marker {
  display: none;
}
.home-seo-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-d);
  transform: translateY(-50%);
}
.home-seo-faq details[open] summary::after {
  content: '−';
}
.home-seo-faq details p {
  max-width: 850px;
  padding: 0 40px 15px 0;
}
.home-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.home-seo-primary,
.home-seo-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 50px;
  font-family: 'Paytone One', system-ui;
  font-size: .88rem;
  transition: transform .2s, background .2s, border-color .2s;
}
.home-seo-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(249,115,22,.24);
}
.home-seo-secondary {
  border: 2px solid var(--green);
  background: #fff;
  color: var(--green-d);
}
.home-seo-primary:hover,
.home-seo-secondary:hover {
  transform: translateY(-2px);
}

.game-page { padding-top: var(--nav-h); min-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.game-page-header { text-align: center; padding: 24px 5% 16px; }
.game-page-header h1 { font-size: 1.7rem; font-weight: 900; color: var(--text); margin-bottom: 5px; }
.game-page-header p  { color: var(--muted); font-size: .88rem; }
.back-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--muted);
  padding: 10px 5%; border-radius: 50px; transition: all .2s;
}
.back-link:hover { color: var(--green-d); background: var(--green-bg); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(99,184,47,.20), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(249,115,22,.15), transparent 30%),
    linear-gradient(180deg,#203514 0%,#172609 62%,#101b08 100%);
  border-top:2px solid rgba(99,184,47,.22); margin-top:auto; color:rgba(255,255,255,.76);
}
.footer-inner { max-width:1180px; margin:0 auto; padding:44px 5% 24px; }
.footer-main { display:grid; grid-template-columns:minmax(240px,1.8fr) repeat(3,minmax(130px,1fr)); gap:34px; align-items:start; }
.footer-logo { width:118px; height:auto; display:block; background:#fff; border-radius:16px; padding:6px; filter:drop-shadow(0 5px 14px rgba(0,0,0,.22)); }
.footer-brand p { font-size:.9rem; line-height:1.75; color:rgba(255,255,255,.58); max-width:360px; margin:12px 0 14px; }
.footer-badges { display:flex; flex-wrap:wrap; gap:7px; }
.footer-badges span { display:inline-flex; align-items:center; padding:7px 11px; border-radius:50px; background:rgba(255,255,255,.10); color:rgba(255,255,255,.88); font-size:.78rem; font-weight:900; border:1px solid rgba(255,255,255,.08); }
.footer-socials { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.footer-socials a { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:8px 13px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.90); font-size:.78rem; font-weight:900; transition:color .2s,background .2s,border-color .2s,transform .2s; }
.footer-socials a:hover { color:#fff; background:rgba(249,115,22,.2); border-color:rgba(249,115,22,.7); transform:translateY(-1px); }
.footer-socials a:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.footer-col h4 { font-size:.78rem; font-weight:1000; margin-bottom:12px; color:#fff; letter-spacing:.9px; text-transform:uppercase; }
.footer-col a { display:block; font-size:.9rem; color:rgba(255,255,255,.66); margin-bottom:10px; font-weight:800; transition:color .2s,transform .2s; }
.footer-col a:hover { color:var(--orange); transform:translateX(2px); }
.footer-bottom { margin-top:30px; padding-top:18px; border-top:1px solid rgba(255,255,255,.09); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; font-size:.8rem; color:rgba(255,255,255,.38); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1120px) {
  .loto-strip-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
    max-width: 920px;
  }
  .loto-strip-btn {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(360px, 100%);
  }
}

@media (max-width: 900px) {
  .legends-promo {
    width: 100%;
    margin: 34px 0;
  }
  .legends-promo-inner {
    grid-template-columns: minmax(0,1fr) 320px;
    min-height: 350px;
    padding: 28px;
  }
  .legends-promo-cards {
    width: 320px;
    height: 290px;
  }
  .legends-promo-card { width: 118px; }
  .legends-card-front { width: 88px; }
  .section { padding: 44px 4%; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .banner-inner { gap: 28px; }
  .banner-logo { width: clamp(150px, 30vw, 240px); }
  .guest-banner .banner-inner { gap: 28px; }
  .guest-banner .banner-perks { grid-template-columns: 1fr; max-width: 390px; }
  .guest-showcase { width: min(370px, 42vw); padding-bottom: 48px; }
  .guest-game-samples { width: min(370px, 115%); height: 92px; }
  .guest-game-sample { width: 142px; }
  .loto-strip-inner { grid-template-columns: 1fr; }
  .loto-strip-main { justify-content: center; text-align: center; }
  .loto-strip-stats { width: min(520px, 100%); margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; text-align:center; }
  .footer-logo { margin:0 auto; }
  .footer-brand p { margin-left:auto; margin-right:auto; }
  .footer-badges, .footer-socials { justify-content:center; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav-links, .navbar > .btn-nav, .navbar > .membre-wrap,
  .navbar > .quota-pill, .navbar > .nav-actions { display: none; }
  .burger { display: flex; }

  .legends-promo {
    width: 100%;
    margin: 28px 0;
  }
  .legends-promo-inner {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 24px 18px 20px;
    text-align: center;
  }
  .legends-promo-copy { align-items: center; }
  .legends-promo-logo {
    width: min(280px,86%);
    object-position: center;
  }
  .legends-promo h2 { font-size: 1.45rem; }
  .legends-promo-text { font-size: .88rem; }
  .legends-promo-highlights { justify-content: center; }
  .legends-promo-cards {
    order: -1;
    width: min(330px,100%);
    height: 235px;
    margin-bottom: -8px;
  }
  .legends-promo-card { width: 96px; }
  .legends-card-center {
    transform: translateX(-50%) translateY(-8px) scale(1.1);
  }
  .legends-card-left { transform: translateX(-142%) rotate(-14deg); }
  .legends-card-right { transform: translateX(42%) rotate(14deg); }
  .legends-card-front {
    width: 70px;
    transform: translateX(68%) translateY(24px) rotate(7deg);
  }
  .legends-promo:hover .legends-card-left { transform: translateX(-142%) rotate(-14deg); }
  .legends-promo:hover .legends-card-center { transform: translateX(-50%) translateY(-8px) scale(1.1); }
  .legends-promo:hover .legends-card-right { transform: translateX(42%) rotate(14deg); }

  .page-banner { padding: 30px 14px 34px; border-radius: 0 0 28px 28px; }
  .banner-inner { flex-direction: column-reverse; align-items: center; text-align: center; gap: 24px; }
  .banner-text  { align-items: center; }
  .banner-text h1 { font-size: 1.6rem; }
  .banner-text p  { font-size: .9rem; }
  .banner-perks   { justify-content: center; }
  .banner-perk    { font-size: .78rem; padding: 8px 11px; }
  .banner-ctas    { flex-direction: column; width: 100%; }
  .btn-banner, .btn-banner-secondary { width: 100%; justify-content: center; }
  .banner-logo { width: clamp(130px, 45vw, 200px); }
  .banner-logo-wrap::before { display: none; }
  .guest-banner { padding-top: 24px; }
  .guest-banner .banner-inner {
    flex-direction: column;
    gap: 28px;
  }
  .guest-showcase {
    order: 1;
    width: min(340px, 94vw);
    padding-bottom: 43px;
  }
  .guest-banner .banner-text {
    order: 2;
    width: 100%;
  }
  .guest-signup-visual {
    width: min(270px, 78vw);
    border-width: 5px;
    border-radius: 20px;
  }
  .guest-game-samples {
    width: min(330px, 96vw);
    height: 74px;
  }
  .guest-game-sample {
    width: 112px;
    border-width: 3px;
    border-radius: 9px;
  }
  .guest-banner-kicker {
    margin: 0 auto;
    font-size: .72rem;
  }
  .guest-banner .banner-text h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
  .guest-banner .banner-text p {
    max-width: 360px;
  }
  .guest-banner .banner-perks {
    grid-template-columns: 1fr;
    width: min(360px, 100%);
  }
  .guest-banner .banner-perk {
    text-align: left;
  }
  .guest-banner-note {
    max-width: 300px;
  }
  .home-seo {
    padding: 48px 18px;
  }
  .home-seo-header {
    margin-bottom: 32px;
  }
  .home-seo-header h2 {
    font-size: 1.65rem;
  }
  .home-seo-header p {
    font-size: .92rem;
    line-height: 1.72;
  }
  .home-seo-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-seo-columns article {
    padding-top: 14px;
  }
  .home-seo-columns p,
  .home-seo-faq p {
    font-size: .87rem;
    line-height: 1.75;
  }
  .home-seo-faq {
    margin-top: 38px;
    padding-top: 24px;
  }
  .home-seo-faq summary {
    padding: 15px 38px 15px 0;
  }
  .home-seo-faq details p {
    padding-right: 0;
  }
  .home-seo-actions {
    flex-direction: column;
  }
  .home-seo-primary,
  .home-seo-secondary {
    width: 100%;
  }
  .loto-strip {
    width: min(420px, 100%);
    margin: 28px auto 0;
    padding: 0;
  }
  .loto-strip-inner {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(255,255,255,.97);
    border: 1.5px solid var(--border);
    box-shadow: 0 12px 34px rgba(60,120,20,.16);
    padding: 12px;
    border-radius: 16px;
    gap: 12px;
    justify-items: stretch;
  }
  .loto-strip-main {
    display: grid;
    grid-template-columns: 76px minmax(0,1fr);
    gap: 10px;
    justify-content: stretch;
    text-align: left;
  }
  .loto-strip-main img { height: 54px; width: 76px; max-width: 76px; }
  .loto-strip-main h2 { font-size: .9rem; }
  .loto-strip-main strong { font-size: 1.18rem; }
  .loto-strip-stats { grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .loto-strip-stat { min-height: 54px; text-align: center; padding: 8px 10px; }
  .loto-strip-stat span,
  .loto-strip-stat small { font-size: .72rem; }
  .loto-strip-stat strong { font-size: .98rem; }
  .loto-strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    font-family: 'Paytone One', system-ui;
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    white-space: normal;
    text-align: center;
    box-shadow: 0 8px 22px rgba(249,115,22,.24);
  }

  .section { padding: 36px 4%; }
  .section-title { font-size: 1.3rem; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-thumb { height: auto; font-size: 2.8rem; }
  .card-thumb-img { padding: 0; }
  .card-body { padding: 10px 12px 12px; }
  .card-meta { gap: 5px; justify-content: flex-start; flex-wrap: wrap; }
  .card-tag, .badge-new, .badge-hot { font-size: .58rem; line-height: 1; padding: 4px 7px; letter-spacing: 0; max-width: 100%; }
  .card-name { font-size: .9rem; }
  .card-desc { display: none; }
  .btn-card  { padding: 8px; font-size: .78rem; margin-top: 8px; }
  .footer-inner { padding: 34px 4% 22px; }
  .footer-main  { grid-template-columns: 1fr; gap: 26px; text-align:center; }
  .footer-brand { grid-column: auto; }
  .footer-col a { width:max-content; max-width:100%; margin-left:auto; margin-right:auto; }
  .footer-bottom { flex-direction: column; align-items: center; text-align:center; }
}

@media (max-width: 380px) {
  .games-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card-thumb { height: auto; font-size: 2.4rem; }
  .card-body  { padding: 9px 9px 11px; }
  .card-tag, .badge-new, .badge-hot { font-size: .54rem; padding: 4px 6px; }
  .page-banner { padding-left: 10px; padding-right: 10px; }
  .loto-strip { width: 100%; margin-top: 24px; }
  .loto-strip-main {
    grid-template-columns: 64px minmax(0,1fr);
  }
  .loto-strip-main img {
    width: 64px;
    max-width: 64px;
    height: 48px;
  }
  .loto-strip-main h2 { font-size: .82rem; }
  .loto-strip-main strong { font-size: 1rem; }
  .loto-strip-stats { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-page{padding-top:var(--nav-h);min-height:100vh;background:var(--cream)}
.faq-hero{background:#58bd2d;color:#fff;padding:64px 5%}
.faq-hero-inner{width:min(920px,100%);margin:auto;text-align:center}
.faq-kicker{display:inline-block;color:#173607;background:#fff;padding:7px 14px;border-radius:999px;margin-bottom:16px}
.faq-hero h1{font-family:'Paytone One',system-ui;font-size:clamp(2rem,5vw,4rem);line-height:1}
.faq-hero p{max-width:680px;margin:16px auto 0;font-size:1.08rem}
.faq-search{display:block;max-width:620px;margin:28px auto 0;text-align:left}
.faq-search span{display:block;margin:0 0 7px 4px}
.faq-search input{width:100%;border:0;border-radius:8px;padding:16px 18px;font:inherit;box-shadow:0 10px 28px rgba(28,80,10,.2)}
.faq-content{width:min(1040px,92%);margin:auto;padding:44px 0 72px}
.faq-category-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.faq-category-nav button{border:1px solid var(--border);background:#fff;color:var(--dark);padding:10px 14px;border-radius:999px;cursor:pointer}
.faq-category-nav button.active{background:var(--orange);border-color:var(--orange);color:#fff}
.faq-category-nav button span{margin-left:6px;opacity:.75}
.faq-list{border-top:1px solid var(--border)}
.faq-item{border-bottom:1px solid var(--border);background:#fff}
.faq-item summary{display:grid;grid-template-columns:120px 1fr 24px;gap:16px;align-items:center;padding:20px;cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary span{color:var(--orange);font-size:.78rem;text-transform:uppercase}
.faq-item summary strong{font-family:'Paytone One',system-ui;font-weight:400;font-size:1.05rem}
.faq-item summary i::before{content:'+';font-style:normal;font-size:1.5rem}
.faq-item[open] summary i::before{content:'−'}
.faq-answer{padding:0 64px 22px 156px;color:var(--muted);line-height:1.75}
.faq-contact{margin-top:38px;padding:26px;background:#173607;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:8px}
.faq-contact h2{font-family:'Paytone One',system-ui;font-weight:400;font-size:1.35rem;margin-top:4px}
.faq-contact a,.home-seo-faq-link{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;padding:12px 18px;border-radius:999px;text-decoration:none}
.home-seo-faq-link{margin-top:14px}
.faq-empty,.faq-no-result{padding:30px;text-align:center;background:#fff;border:1px solid var(--border);border-radius:8px}
@media(max-width:650px){
 .faq-hero{padding:42px 5%}.faq-content{padding-top:28px}
 .faq-item summary{grid-template-columns:1fr 24px;gap:8px;padding:16px}
 .faq-item summary span,.faq-item summary strong{grid-column:1}
 .faq-item summary i{grid-column:2;grid-row:1/3}.faq-answer{padding:0 16px 18px}
 .faq-contact{align-items:flex-start;flex-direction:column}.faq-contact a{width:100%}
}
.game-seo-copy {
  width: min(900px, 94vw);
  max-width: 100%;
  margin: 18px auto 42px;
  padding: 24px 26px;
  color: var(--muted);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.game-seo-copy h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: 'Paytone One', system-ui;
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 400;
  line-height: 1.2;
}

.game-seo-copy p {
  margin: 8px 0 0;
  line-height: 1.65;
}

.game-seo-copy a {
  color: var(--green-d);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .game-seo-copy {
    width: calc(100% - 24px);
    margin: 14px auto 30px;
    padding: 19px 17px;
  }
}
