/* ============================================================
   LugasFrei.de — main.css
   Theme: Deep Forest · Bricolage Grotesque + DM Sans
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Palette — Deep Forest */
  --primary:        #d97706;   /* amber-600 — акцент */
  --primary-hover:  #b45309;   /* amber-700 */
  --primary-light:  #fef3c7;   /* amber-100 */
  --primary-dim:    rgba(217,119,6,0.12);

  --forest:         #14532d;   /* deep green */
  --forest-mid:     #166534;
  --forest-light:   #15803d;

  --bg:             #0a1a0f;   /* майже чорний з зеленим відтінком */
  --bg-soft:        #0f2318;   /* трохи світліший */
  --bg-card:        #122b1a;   /* картки */
  --bg-card-hover:  #173320;

  --text:           #f0fdf4;   /* майже білий з зеленим */
  --text-muted:     #86efac;   /* green-300 */
  --text-subtle:    #4ade80;   /* green-400 */

  --border:         #1e4d2b;
  --border-light:   #16381f;

  --amber:          #fbbf24;   /* зірки */
  --red:            #ef4444;
  --green-badge:    #22c55e;

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Sizing */
  --radius-sm:  5px;
  --radius:     9px;
  --radius-md:  13px;
  --radius-lg:  18px;
  --radius-xl:  26px;

  --max-w:         1200px;
  --max-w-content:  920px;
  --nav-h:          72px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow:     0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.6);
  --shadow-amber: 0 0 20px rgba(217,119,6,.25);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography Scale ─────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--prose {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,26,15,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  white-space: nowrap;
  margin-right: auto;
  text-decoration: none;
}

.nav__logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--forest-light), var(--forest));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.nav__logo-accent {
  color: var(--primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.nav__link--active {
  color: var(--primary);
  background: var(--primary-dim);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  border-radius: var(--radius-sm);
  transition: background .18s;
}

.nav__burger:hover { background: var(--bg-soft); }

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ── Mobile Drawer ────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem 1.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  pointer-events: none;
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer__list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-drawer__list a {
  display: block;
  padding: .65rem .75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}

.mobile-drawer__list a:hover {
  color: var(--text);
  background: var(--bg-card);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(217,119,6,.3);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero__title {
  max-width: 800px;
  margin-bottom: .75rem;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__lead {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Hero Stats Rail */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .9rem;
  font-size: .85rem;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.hero__stat-label {
  color: var(--text-muted);
}

/* ── SECTION GENERIC ──────────────────────────────────────── */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__header {
  margin-bottom: 1.75rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .4rem;
}

.section__title {
  margin-bottom: .4rem;
}

.section__lead {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ── COMPACT LISTING (Top 10 table) ──────────────────────── */
.listing {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 2rem;
}

.listing__row {
  display: grid;
  grid-template-columns: 2rem 3.5rem 1fr 1fr auto;
  align-items: center;
  gap: .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem 1rem;
  transition: background .18s, border-color .18s, box-shadow .18s;
}

.listing__row:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-amber);
}

.listing__rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--text-muted);
  text-align: center;
}

.listing__rank--top {
  color: var(--primary);
}

.listing__logo {
  width: 48px;
  height: 30px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 2px;
}

.listing__name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}

.listing__bonus {
  font-size: .82rem;
  color: var(--text-muted);
}

.listing__stars {
  display: flex;
  gap: 1px;
  font-size: .75rem;
  color: var(--amber);
  white-space: nowrap;
}

.listing__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .18s;
}

.listing__cta:hover { background: var(--primary-hover); }

/* ── CASINO CARDS (Detail) ────────────────────────────────── */
.casino-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.casino-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-amber);
}

.casino-card__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
}

.casino-card__rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  background: var(--forest);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.casino-card__screenshot-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: block;
}

.casino-card__screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.casino-card__screenshot-wrap:hover .casino-card__screenshot {
  transform: scale(1.03);
}

.casino-card__screenshot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,26,15,.5) 0%, transparent 60%);
  pointer-events: none;
}

.casino-card__body {
  padding: 1.25rem 1.5rem;
}

.casino-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.casino-card__logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 3px 6px;
}

.casino-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.casino-card__stars {
  color: var(--amber);
  font-size: .85rem;
  display: flex;
  gap: 1px;
  margin-left: auto;
}

.casino-card__bonus-box {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-dim);
  border: 1px solid rgba(217,119,6,.3);
  border-radius: var(--radius-sm);
  padding: .35rem .75rem;
  margin-bottom: .9rem;
  font-size: .88rem;
  color: var(--primary);
  font-weight: 600;
}

.casino-card__text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.casino-card__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  transition: background .18s, color .18s, box-shadow .18s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px rgba(217,119,6,.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-soft);
}

.btn--sm {
  font-size: .82rem;
  padding: .45rem .9rem;
}

/* ── BONUS CODE COPY ──────────────────────────────────────── */
.bonus-code {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-soft);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: .35rem .75rem;
  font-family: monospace;
  font-size: .88rem;
  color: var(--primary);
  cursor: pointer;
  transition: background .18s;
  user-select: none;
}

.bonus-code:hover { background: var(--primary-dim); }

.bonus-code__icon {
  font-size: .8rem;
  opacity: .7;
}

.bonus-code.copied {
  border-color: var(--green-badge);
  color: var(--green-badge);
}

/* ── COMPARISON TABLE ─────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.comparison-table th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table td {
  padding: .65rem 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td { background: var(--bg-card); }

.comparison-table .td-logo {
  width: 50px;
  height: 28px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 2px 4px;
}

.comparison-table .td-primary { color: var(--primary); font-weight: 600; }
.comparison-table .td-muted   { color: var(--text-muted); }

.badge-license {
  display: inline-block;
  font-size: .73rem;
  font-weight: 600;
  padding: .2rem .5rem;
  border-radius: 4px;
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(217,119,6,.25);
}

/* ── PROSE SECTIONS ───────────────────────────────────────── */
.section-prose {
  padding: 3rem 0;
}

.section-prose .section-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
}

.section-prose .section-card h2 {
  margin-bottom: .75rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.25rem;
}

.section-prose .section-card p {
  color: var(--text-muted);
  font-size: .95rem;
}

.section-prose .section-card ul,
.section-prose .section-card ol {
  list-style: none;
  padding: 0;
  margin: .75rem 0;
}

.section-prose .section-card ul li,
.section-prose .section-card ol li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .4rem;
  color: var(--text-muted);
  font-size: .93rem;
}

.section-prose .section-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: .75rem;
  top: .25rem;
}

/* Table of Contents */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.toc__list a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .18s;
}

.toc__list a:hover { color: var(--primary); }

/* Inline table (glossary etc.) */
.prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin: 1rem 0;
}

.prose-table th {
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .5rem .75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.prose-table td {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  vertical-align: top;
}

.prose-table tr:last-child td { border-bottom: none; }

/* Steps list */
.steps-list { list-style: none; padding: 0; counter-reset: steps; }

.steps-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 2.625rem;
  margin-bottom: .75rem;
  color: var(--text-muted);
  font-size: .93rem;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: .1em;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--primary-dim);
  border: 1px solid rgba(217,119,6,.3);
  border-radius: 50%;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { padding: 3rem 0; }

.faq__list { display: flex; flex-direction: column; gap: 1.25rem; }

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.faq__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.4;
}

.faq__item p {
  font-size: .93rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── AUTHOR BLOCK ─────────────────────────────────────────── */
.author-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.author-block__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}

.author-block__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

.author-block__role {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.author-block__bio {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── RESPONSIBLE GAMBLING BANNER ──────────────────────────── */
.rg-banner {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2rem 0;
}

.rg-banner__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.rg-banner__title {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .2rem;
  color: var(--text);
}

.rg-banner__text {
  font-size: .83rem;
  color: var(--text-muted);
  margin: 0;
}

.rg-banner__text a {
  color: var(--primary);
  text-decoration: underline;
}

/* ── PAGE HERO (службові сторінки) ───────────────────────── */
.page-hero {
  padding: 2rem 0 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem .7rem;
  margin-bottom: .75rem;
}

.page-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: .4rem;
}

.page-hero__lead {
  color: var(--text-muted);
  font-size: .95rem;
  margin: 0;
}

/* ── BREADCRUMBS ──────────────────────────────────────────── */
.breadcrumbs {
  padding: .75rem 0;
  font-size: .82rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: .4rem;
  color: var(--border);
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color .18s;
}

.breadcrumbs a:hover { color: var(--primary); }

.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .93rem;
  padding: .65rem .9rem;
  transition: border-color .18s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386efac' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
}

.form-group option { background: var(--bg-card); }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: .15rem;
  accent-color: var(--primary);
}

.form-honeypot { display: none !important; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

.footer__brand-name span { color: var(--primary); }

.footer__tagline {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.footer__18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
}

.footer__col-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.footer__links a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color .18s;
}

.footer__links a:hover { color: var(--primary); }

.footer__rg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer__rg strong { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--text-muted);
  transition: color .18s;
}

.footer__bottom a:hover { color: var(--primary); }

/* ── UTILITIES ────────────────────────────────────────────── */
.text-primary  { color: var(--primary); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.text-sm       { font-size: .85rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.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;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .listing__row {
    grid-template-columns: 1.5rem 2.5rem 1fr auto;
    gap: .5rem;
    padding: .55rem .75rem;
  }
  .listing__bonus { display: none; }

  .casino-card__header { grid-template-columns: 2.5rem 1fr; }
  .casino-card__rank-badge { width: 2.5rem; font-size: 1rem; }
  .casino-card__screenshot-wrap { height: 150px; }
  .casino-card__body { padding: 1rem; }

  .casino-card__actions { gap: .5rem; }
  .btn { font-size: .85rem; padding: .55rem 1rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 1.25rem; }

  .author-block { flex-direction: column; align-items: center; text-align: center; }

  .hero { padding: 1.75rem 0 1.5rem; }
  .hero__stats { gap: .5rem; }
  .hero__stat { padding: .4rem .7rem; }

  .section-prose .section-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
  .listing__row { grid-template-columns: 1.5rem 2.5rem 1fr auto; }
  .listing__stars { display: none; }

  .casino-card__stars { display: none; }
  .casino-card__meta { gap: .5rem; }

  .hero__stat-label { display: none; }

  .table-wrap { font-size: .8rem; }
  .comparison-table th,
  .comparison-table td { padding: .5rem .6rem; }
}

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}