/* =====================================================
   888 Casino FR — styles.css
   Mobile-first | Dark Gaming Theme | No external deps
   ===================================================== */

/* ─── 1. ROOT VARIABLES ─────────────────────────────── */
:root {
  --bg:            #050505;
  --bg-soft:       #101010;
  --bg-panel:      #151515;
  --bg-card:       #1a1a1a;
  --line:          rgba(255,255,255,.08);
  --text:          #f5f5f5;
  --muted:         #b9b9b9;
  --green:         #7dff2b;
  --green-deep:    #58d71b;
  --green-glow:    rgba(125,255,43,.15);
  --yellow:        #f2df1d;
  --yellow-deep:   #dcc600;
  --radius:        18px;
  --radius-sm:     12px;
  --radius-xs:     8px;
  --shadow-soft:   0 8px 24px rgba(0,0,0,.28);
  --shadow-card:   0 4px 16px rgba(0,0,0,.4);
  --header-h:      76px;
  --bottom-nav-h:  74px;
  --sidebar-w:     240px;
  --container:     1440px;
  --transition:    .18s ease;
}

/* ─── 2. RESET / BASE ───────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4 { line-height: 1.2; }

/* ─── 3. SKIP LINK ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--green);
  color: #000;
  padding: .5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius-xs) 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ─── 4. BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--yellow);
  color: #000;
}
.btn-primary:hover { background: var(--yellow-deep); box-shadow: 0 4px 18px rgba(242,223,29,.3); }

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover { background: var(--green-glow); }

.btn-green {
  background: var(--green);
  color: #000;
}
.btn-green:hover { background: var(--green-deep); box-shadow: 0 4px 18px rgba(125,255,43,.3); }

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1rem;
}

/* ─── 5. LAYOUT ─────────────────────────────────────── */
.page { display: flex; flex-direction: column; min-height: 100vh; }

.layout {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.site-main {
  flex: 1;
  min-width: 0;
  padding-bottom: calc(var(--bottom-nav-h) + 1rem);
}

/* ─── 6. HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  gap: .75rem;
}

.header-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.header-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.is-open span:nth-child(2) { opacity: 0; }
.header-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.header-logo { height: 36px; width: auto; }

.header-nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.header-cta { font-size: .8rem; padding: .55rem 1.1rem; }

/* Desktop header */
@media (min-width: 1200px) {
  .header-burger { display: none; }
  .header-brand { margin-right: 0; }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto 0 2rem;
  }
  .header-nav a {
    font-size: .875rem;
    color: var(--muted);
    transition: color var(--transition);
    position: relative;
  }
  .header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
  }
  .header-nav a:hover,
  .header-nav a.is-active { color: var(--text); }
  .header-nav a:hover::after,
  .header-nav a.is-active::after { transform: scaleX(1); }

  .header-cta { font-size: .875rem; padding: .65rem 1.4rem; }
}

/* ─── 7. MOBILE DRAWER ──────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 800;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: all; }

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-drawer.is-open .mobile-drawer__overlay { opacity: 1; }

.mobile-drawer__panel {
  position: absolute;
  top: 0; left: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-panel);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

.drawer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer-brand img { height: 32px; width: auto; }

.drawer-close {
  margin-left: auto;
  padding: .4rem;
  color: var(--muted);
  transition: color var(--transition);
}
.drawer-close:hover { color: var(--text); }

.drawer-menu { display: flex; flex-direction: column; gap: .25rem; }
.drawer-menu a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.drawer-menu a:hover,
.drawer-menu a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.drawer-menu a.is-active { color: var(--green); }
.drawer-menu svg { flex-shrink: 0; }

.drawer-cta { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.drawer-cta .btn { width: 100%; justify-content: center; }

/* ─── 8. SIDEBAR (DESKTOP) ──────────────────────────── */
.desktop-sidebar {
  display: none;
}

@media (min-width: 1200px) {
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--bg-soft);
    border-right: 1px solid var(--line);
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }

  .sidebar-top {
    background: linear-gradient(160deg, #0a1f06 0%, #0e2b08 100%);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-brand img { height: 44px; width: auto; }

  .sidebar-profile {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }
  .sidebar-profile__label {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .sidebar-profile__btns {
    display: flex;
    gap: .5rem;
  }
  .sidebar-profile__btns .btn {
    flex: 1;
    font-size: .75rem;
    padding: .5rem .5rem;
  }

  .sidebar-menu {
    padding: 1rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .125rem;
  }
  .sidebar-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem .9rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
  }
  .sidebar-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
  .sidebar-link.is-active {
    color: var(--green);
    background: rgba(125,255,43,.1);
    border-left: 3px solid var(--green);
  }
  .sidebar-link svg { flex-shrink: 0; opacity: .7; }
  .sidebar-link.is-active svg { opacity: 1; }

  .sidebar-promo-card {
    margin: .5rem .75rem 1rem;
    background: linear-gradient(135deg, #0e2b08, #1a4010);
    border: 1px solid rgba(125,255,43,.2);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
  }
  .sidebar-promo-card p {
    font-size: .8125rem;
    color: var(--muted);
    margin-bottom: .75rem;
    line-height: 1.4;
  }
  .sidebar-promo-card .btn { width: 100%; justify-content: center; font-size: .8rem; }
}

/* ─── 9. MOBILE BOTTOM NAV ──────────────────────────── */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--bottom-nav-h);
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  display: flex;
}
.mobile-bottom-nav__list {
  display: flex;
  width: 100%;
  height: 100%;
}
.mobile-bottom-nav__item { flex: 1; }
.mobile-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  height: 100%;
  color: var(--muted);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav__link svg { transition: transform var(--transition); }
.mobile-bottom-nav__link:hover,
.mobile-bottom-nav__link.is-active { color: var(--green); }
.mobile-bottom-nav__link.is-active svg { transform: scale(1.15); filter: drop-shadow(0 0 6px var(--green)); }

@media (min-width: 1200px) {
  .mobile-bottom-nav { display: none; }
}

/* ─── 10. HERO SECTION ──────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  --hero-banner-image: url("images/banner1.webp");
  position: relative;
  cursor: pointer;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(6,33,8,.9) 0%, rgba(10,46,10,.84) 40%, rgba(7,26,4,.92) 100%),
    var(--hero-banner-image);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  cursor: default;
  padding: 2rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  flex: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}
.hero-title span { color: var(--green); }

.hero-text {
  font-size: .9375rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-note {
  font-size: .7rem;
  color: rgba(185,185,185,.6);
  line-height: 1.4;
  max-width: 360px;
}

/* Hero slider dots */
.hero-dots {
  display: flex;
  gap: .5rem;
  padding: .75rem 1.25rem 1.25rem;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.hero-dot.is-active {
  background: var(--green);
  transform: scale(1.4);
}

@media (min-width: 768px) {
  .hero-banner {
    min-height: 340px;
  }
}

@media (min-width: 1200px) {
  .hero-banner {
    min-height: 420px;
    border-radius: var(--radius);
    margin: 1rem;
  }
  .hero-content {
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    max-width: 55%;
  }
}

/* ─── 11. SECTIONS SHARED ───────────────────────────── */
.games-section,
.promo-section,
.trust-section,
.faq-section {
  padding: 1.5rem 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 1rem 1rem;
}

.section-accent {
  display: block;
  width: 4px;
  height: 26px;
  background: var(--green);
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(125,255,43,.5);
}

.section-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.section-header-actions {
  margin-left: auto;
}
.section-link {
  font-size: .8125rem;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
}
.section-link:hover { color: var(--green-deep); }

@media (min-width: 1200px) {
  .games-section,
  .promo-section,
  .trust-section,
  .faq-section { padding: 2rem 1rem; }

  .section-header { padding: 0 0 1.25rem; }
  .section-title { font-size: 1.25rem; }
}

/* ─── 12. GAMES ROW (horizontal scroll mobile) ──────── */
.games-row {
  display: flex;
  gap: .75rem;
  padding: 0 1rem .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.games-row::-webkit-scrollbar { display: none; }

.games-row .game-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
}

/* Grid for desktop */
@media (min-width: 1200px) {
  .games-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    overflow: visible;
    padding: 0;
  }
  .games-row .game-card { flex: none; }
}

/* ─── 13. GAME CARDS ────────────────────────────────── */
.game-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(125,255,43,.2);
}
.game-card:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }

.game-card__link {
  display: block;
}

.game-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.game-card__body {
  padding: .5rem .6rem .6rem;
}

.game-card__title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .game-card:hover { transform: none; }
  .btn { transition: none; }
}

/* ─── 14. PROMO SECTION ─────────────────────────────── */
.promo-section { padding: 0 0 1.5rem; }

.promo-banner {
  --promo-banner-image: url("images/banner2.webp");
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6,15,3,.92) 0%, rgba(13,37,8,.86) 50%, rgba(7,21,4,.92) 100%),
    var(--promo-banner-image);
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.promo-banner--first { --promo-banner-image: url("images/banner2.webp"); }
.promo-banner--second { --promo-banner-image: url("images/banner3.webp"); }

.promo-banner__content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.25rem;
  flex: 1;
}

.promo-banner__eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.promo-banner__title {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.promo-banner__title span { color: var(--yellow); }

.promo-banner__text {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  max-width: 400px;
}

.promo-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.promo-banner__note {
  font-size: .7rem;
  color: rgba(185,185,185,.5);
  margin-top: .75rem;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(125,255,43,.07) 0%, transparent 70%),
    linear-gradient(0deg, rgba(0,0,0,.22), rgba(0,0,0,.22));
  pointer-events: none;
}

@media (min-width: 768px) {
  .promo-banner { min-height: 240px; }
}

@media (min-width: 1200px) {
  .promo-section { padding: 0 1rem 2rem; }
  .promo-banner {
    border-radius: var(--radius);
    min-height: 280px;
  }
  .promo-banner__content { padding: 2.5rem 2.5rem 2.5rem 2rem; }
}

/* ─── 15. TRUST SECTION ─────────────────────────────── */
.trust-section { padding: 1.5rem 1rem 2rem; }

.trust-inner { display: flex; flex-direction: column; gap: 2rem; }

.trust-block-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.trust-block-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: var(--green);
  border-radius: 3px;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.payment-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .6rem 1rem;
  min-width: 90px;
  height: 44px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  gap: .4rem;
  transition: border-color var(--transition), color var(--transition);
}
.payment-card:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.payment-card svg { flex-shrink: 0; }

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.badge-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .5rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.badge-card svg { flex-shrink: 0; }
.badge-card--green { border-color: rgba(125,255,43,.25); color: var(--green); }

@media (min-width: 1200px) {
  .trust-inner { flex-direction: row; gap: 3rem; }
  .trust-inner > div { flex: 1; }
}

/* ─── 16. FAQ SECTION ───────────────────────────────── */
.faq-section { padding: 1.5rem 1rem 2rem; }

.faq-list { display: flex; flex-direction: column; gap: .5rem; max-width: 860px; }

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item.is-open { border-color: rgba(125,255,43,.2); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
  transition: color var(--transition);
}
.faq-trigger:hover { color: var(--green); }
.faq-trigger:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

.faq-trigger__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.faq-item.is-open .faq-trigger__icon {
  background: var(--green-glow);
  transform: rotate(180deg);
}
.faq-item.is-open .faq-trigger__icon svg { color: var(--green); }

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.faq-panel__inner {
  padding: 0 1.1rem 1.1rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel { transition: none; }
}

/* ─── 17. SEO TEXT SECTION ──────────────────────────── */
#seo-text { min-height: 0; }

.seo-text-section {
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.seo-text-inner {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seo-text-inner p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.75;
}

.seo-h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
  padding-left: .875rem;
  border-left: 4px solid var(--green);
}

.seo-h2 {
  font-size: clamp(1rem, 2.5vw, 1.3125rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  padding-left: .875rem;
  border-left: 3px solid rgba(125,255,43,.45);
  margin-top: .5rem;
}

/* Tables */
.seo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.seo-table-caption {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .65rem 1rem .4rem;
  background: rgba(125,255,43,.04);
  border-bottom: 1px solid var(--line);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 460px;
}

.seo-table thead tr {
  background: rgba(255,255,255,.04);
}

.seo-table th {
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.seo-table td {
  padding: .65rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.04);
  line-height: 1.5;
  vertical-align: top;
}
.seo-table td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.seo-table tbody tr:last-child td { border-bottom: none; }
.seo-table tbody tr:hover td { background: rgba(255,255,255,.025); }

/* ─── Mobile tables: no horizontal scroll ─────────────── */
@media (max-width: 639px) {
  .seo-table-wrap {
    overflow-x: hidden; /* avoid sideways scrolling */
  }

  .seo-table {
    min-width: 0;
    table-layout: fixed; /* helps keep columns within viewport */
    font-size: .82rem;
  }

  .seo-table th {
    font-size: .72rem;
    padding: .6rem .6rem;
    word-break: break-word;
    white-space: normal;
  }

  .seo-table td {
    padding: .55rem .6rem;
    font-size: .82rem;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Allow wrapping in the first column too */
  .seo-table td:first-child {
    white-space: normal;
  }
}

/* FAQ SEO */
.seo-faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}

.seo-faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.seo-faq-q {
  font-size: .9375rem !important;
  font-weight: 700;
  color: var(--text) !important;
  margin-bottom: .4rem;
  line-height: 1.4 !important;
}

.seo-faq-a {
  font-size: .875rem !important;
  color: var(--muted) !important;
  line-height: 1.65 !important;
}

@media (min-width: 1200px) {
  .seo-text-section { padding: 2.5rem 1rem 3rem; }
}

/* ─── 18. FOOTER ────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-bottom: var(--bottom-nav-h);
}

@media (min-width: 1200px) {
  .site-footer { margin-bottom: 0; }
}

.footer-top {
  padding: 2.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-brand img { height: 36px; width: auto; }
.footer-brand p {
  font-size: .8125rem;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .footer-columns { grid-template-columns: repeat(4, 1fr); }
}

.footer-column__title {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: .75rem;
}

.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  font-size: .8125rem;
  color: var(--muted);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-links a:hover { color: var(--green); }

.footer-safe {
  background: rgba(125,255,43,.04);
  border: 1px solid rgba(125,255,43,.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
}
.footer-safe__badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--green);
}
.footer-safe__text {
  font-size: .775rem;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.footer-bottom {
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  align-items: center;
}
.footer-legal a {
  font-size: .7375rem;
  color: rgba(185,185,185,.5);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--muted); }
.footer-legal span {
  font-size: .7375rem;
  color: rgba(185,185,185,.3);
}

.footer-copy {
  font-size: .7375rem;
  color: rgba(185,185,185,.4);
}

@media (min-width: 1200px) {
  .footer-top { padding: 3rem 2rem 2.5rem; }
  .footer-brand { margin-bottom: 2rem; }
  .footer-columns { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .footer-safe { margin: 2rem 2rem 0; }
  .footer-bottom { padding: 1.25rem 2rem; }
}

/* ─── 19. SECTION BG VARIATIONS ────────────────────── */
.section-alt { background: var(--bg-soft); }

/* ─── 20. CONTAINER ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ─── 21. UTILITIES ─────────────────────────────────── */
.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;
}

.text-green { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-muted { color: var(--muted); }
.font-black { font-weight: 900; }
.text-sm { font-size: .875rem; }

/* ─── 22. SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ─── 23. FOCUS VISIBLE ─────────────────────────────── */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ─── 24. SELECTION ─────────────────────────────────── */
::selection { background: rgba(125,255,43,.25); color: var(--text); }

/* ─── 25. BODY LOCK (menu open) ─────────────────────── */
.body-locked { overflow: hidden; }

/* ─── 26. BADGE 18+ ─────────────────────────────────── */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 900;
  flex-shrink: 0;
}
