/* ═══════════════════════════════════════════════════════════════
   FreiSpiel24.de — main.css
   Theme: Deep Violet × Gold (Luxury Casino)
   Fonts: Fraunces (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

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

/* ── 1. Design Tokens ────────────────────────────────────────── */
:root {
  /* Palette */
  --primary:        #C9A84C;   /* gold accent */
  --primary-hover:  #b8962f;
  --primary-light:  #2a2240;   /* badge bg */
  --primary-glow:   rgba(201,168,76,0.18);

  --bg:             #120e1e;   /* deep violet-black */
  --bg-soft:        #1a1530;   /* card / section bg */
  --bg-card:        #221c3a;   /* casino card */
  --bg-header:      #0d0b17;   /* header darker */

  --text:           #f0ecff;   /* near-white with violet tint */
  --text-muted:     #9d94c4;   /* muted violet-grey */
  --text-gold:      #C9A84C;

  --border:         #2e2756;
  --border-gold:    rgba(201,168,76,0.35);

  --amber:          #f59e0b;   /* stars */
  --red:            #ef4444;   /* 18+ / warnings */
  --green:          #22c55e;   /* badge "Legal" */

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

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

  /* Radii */
  --radius-sm:      6px;
  --radius:         10px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Shadows */
  --shadow-card:    0 4px 24px rgba(0,0,0,0.45);
  --shadow-gold:    0 0 0 1px var(--border-gold), 0 4px 24px rgba(201,168,76,0.1);
  --shadow-btn:     0 4px 16px rgba(201,168,76,0.35);

  /* Transitions */
  --trans:          0.2s ease;

  /* Screenshot mockup (desktop) */
  --shot-w:         620px;     /* ширина рамки мокапа */
  --shot-h:         320px;     /* висота скріна у мокапі */
  --shot-chrome-h:  30px;      /* висота "хрому" браузера */
}

/* ── 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 {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--primary-hover); }
ul, ol { list-style: none; }

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

.section { padding-block: 4rem; }
.section--tight { padding-block: 2.5rem; }

.prose-wrap {
  max-width: var(--max-w-content);
  margin-inline: auto;
}

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

h1 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
h4 { font-size: 1rem; font-weight: 600; }

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

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

/* ── 5. Site Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: var(--nav-h);
  backdrop-filter: blur(8px);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #C9A84C 0%, #8B6914 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
  text-decoration: none;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: var(--primary-glow);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}

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

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

/* ── 6. Mobile Drawer ────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-drawer.is-open { transform: translateX(0); }

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

.mobile-drawer__list a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans);
  text-decoration: none;
}

.mobile-drawer__list a:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

/* ── 7. Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #1e1840 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--text);
  margin-bottom: 0.85rem;
}

.hero h1 span { color: var(--primary); }

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

/* Hero stats rail */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* ── 8. Section headings ─────────────────────────────────────── */
.section-title {
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── 9. Compact Listing (Top 10 table) ───────────────────────── */
.listing {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.listing-row {
  display: grid;
  grid-template-columns: 40px 120px 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--trans);
}

.listing-row:last-child { border-bottom: none; }
.listing-row:hover { background: var(--bg-card); }

.listing-row__rank {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

.listing-row__logo {
  height: 36px;
  width: 100px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 3px 6px;
}

.listing-row__logo-link {
  display: flex;
  align-items: center;
}

.listing-row__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row__bonus {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.listing-row__stars {
  display: flex;
  gap: 1px;
  white-space: nowrap;
}

.star { color: var(--amber); font-size: 0.85rem; }
.star--empty { color: var(--border); }

/* ── 10. Casino Detail Cards ─────────────────────────────────── */
.casino-cards { display: flex; flex-direction: column; gap: 1.5rem; }

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

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

.casino-card__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.casino-card__rank-badge {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
}

.casino-card__logo-wrap {
  display: flex;
  align-items: center;
}

.casino-card__logo {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.casino-card__meta { text-align: right; }
.casino-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.casino-card__stars { justify-content: flex-end; }

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

.casino-card__bonus-box {
  background: var(--primary-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.casino-card__bonus-icon { font-size: 1.4rem; }

.casino-card__bonus-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.casino-card__bonus-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Bonus Code */
.bonus-code-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d0b17;
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  width: fit-content;
}

.bonus-code-wrap:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
}

.bonus-code-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.bonus-code-value {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.bonus-code-copy-icon { font-size: 0.9rem; color: var(--text-muted); }

.bonus-code-wrap.copied .bonus-code-copy-icon::before { content: '✓'; color: var(--green); }
.bonus-code-wrap:not(.copied) .bonus-code-copy-icon::before { content: '⧉'; }

.casino-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.casino-card__footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

/* ── 11. Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #C9A84C 0%, #b8962f 100%);
  color: #0d0b17;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #dbb85e 0%, #C9A84C 100%);
  box-shadow: 0 6px 22px rgba(201,168,76,0.5);
  transform: translateY(-1px);
  color: #0d0b17;
}

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

.btn--outline:hover {
  border-color: var(--border-gold);
  color: var(--primary);
  background: var(--primary-glow);
}

.btn--lg { font-size: 1rem; padding: 0.8rem 1.75rem; }
.btn--sm { font-size: 0.78rem; padding: 0.45rem 0.9rem; }

/* ── 12. Table of Contents ───────────────────────────────────── */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.toc__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc__list { display: flex; flex-direction: column; gap: 0.3rem; counter-reset: toc-counter; }

.toc__list li {
  counter-increment: toc-counter;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.toc__list li::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.toc__list a {
  color: var(--text-muted);
  transition: color var(--trans);
}

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

/* ── 13. Prose Sections ──────────────────────────────────────── */
.prose-section { padding-block: 2.5rem 0; }

.prose-section h2 {
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.prose-section h2::before {
  content: '◆ ';
  color: var(--primary);
  font-size: 0.7em;
}

.prose-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── 14. Comparison Table ────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-block: 1.5rem;
}

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

.comparison-table th {
  background: var(--bg-card);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

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

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-soft); }

.comparison-table td strong { color: var(--text); }

.badge-yes { color: var(--green); font-weight: 700; }
.badge-no  { color: var(--red);   font-weight: 700; }

/* ── 15. FAQ ─────────────────────────────────────────────────── */
.faq-section { padding-block: 3rem; }

.faq-section h2 { margin-bottom: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding-block: 1.5rem;
}

.faq-item:first-of-type { border-top: 1px solid var(--border); }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
  display: flex;
  gap: 0.6rem;
}

.faq-item h3::before {
  content: 'Q';
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.35rem;
}

/* ── 16. Author Block ────────────────────────────────────────── */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-block__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
  flex-shrink: 0;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.author-block__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.author-block__title {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.65rem;
}

.author-block__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 17. RG Banner ───────────────────────────────────────────── */
.rg-banner {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-block: 2rem;
}

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

.rg-banner__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.rg-banner__text strong { color: var(--red); }

.rg-banner a { color: var(--red); }
.rg-banner a:hover { text-decoration: underline; }

/* ── 18. Site Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}

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

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.footer-col__links { display: flex; flex-direction: column; gap: 0.45rem; }

.footer-col__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--trans);
}

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

.footer-rg {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-rg a { color: var(--red); }

.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: 0.75rem;
}

.footer-bottom__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.55;
}

/* ── 19. Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs__list a { color: var(--text-muted); }
.breadcrumbs__list a:hover { color: var(--primary); }
.breadcrumbs__sep { color: var(--border); }

/* ── 20. Page Hero (service pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #1e1840 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
  padding-block: 3rem 2rem;
}

.page-hero .hero__badge { margin-bottom: 0.85rem; }

.page-hero h1 { margin-bottom: 0.65rem; }

/* ── 21. Prose Cards (service pages) ────────────────────────── */
.section-prose { padding-block: 3rem; }

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

.section-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.section-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.section-card ul,
.section-card ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-card ul li { list-style: disc; }
.section-card ol li { list-style: decimal; }

.section-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 22. Über uns specifics ──────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.team-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--border-gold);
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.team-card__role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── 23. Responsible Gambling extras ────────────────────────── */
.rg-checklist { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }

.rg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.rg-checklist li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.helpline-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.helpline-card__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.helpline-card__phone {
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.helpline-card__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── 24. Casino Screenshots — базові (мобільні) стилі ────────── */
/* На мобільних скрін залишається як був: фіксована висота бокса +
   object-fit: cover, тож усі картки однакові за висотою. */
.casino-card__screenshot-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.casino-card__screenshot-link {
  display: block;
  width: 100%;
  height: 100%;
}

.casino-card__screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

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

.casino-card__screenshot-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.25rem 1.25rem 0.9rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(to top, rgba(13,11,23,0.94) 0%, rgba(13,11,23,0.55) 60%, transparent 100%);
  pointer-events: none;
}

.casino-card__screenshot-overlay .btn {
  pointer-events: auto;
}

/* ── 24b. Casino Screenshots — Desktop Browser-Mockup ────────── */
/* На десктопі скрін більше не розтягується на всю ширину картки —
   через це вузькі зображення доводилось збільшувати в рази
   («зумнутий» вигляд), а широкі майже не масштабувались.
   Тепер скрін живе у рамці-«вікні браузера» фіксованого розміру
   (--shot-w × --shot-h), однаковій для всіх 10 карток, а зображення
   заповнює її через object-fit: cover від верхнього краю.
   Різницю форматів вихідних файлів компенсує рамка + фон-«сцена»,
   а не масштабування картинки на всю ширину картки.
   Не залежить від атрибутів width/height у HTML. */
@media (min-width: 769px) {
  .casino-card__screenshot-wrap {
    height: auto;                 /* висоту тепер задає сам мокап */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2.25rem 2rem 0;
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 65%),
      linear-gradient(165deg, #1e1840 0%, #15112b 100%);
  }

  /* Рамка «вікна» */
  .casino-card__screenshot-link {
    position: relative;
    display: block;
    width: min(var(--shot-w), 100%);
    height: auto;
    padding-top: var(--shot-chrome-h);
    background: #0f0c1f;
    border: 1px solid var(--border-gold);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  /* Титульний бар із трьома «кнопками» */
  .casino-card__screenshot-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--shot-chrome-h);
    z-index: 2;
    border-bottom: 1px solid var(--border);
    background:
      radial-gradient(circle 4px at 16px 15px, #ff5f57 97%, transparent 100%),
      radial-gradient(circle 4px at 33px 15px, #febc2e 97%, transparent 100%),
      radial-gradient(circle 4px at 50px 15px, #28c840 97%, transparent 100%),
      linear-gradient(#1c1739 0%, #15112c 100%);
  }

  /* Умовний адресний рядок */
  .casino-card__screenshot-link::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 68px;
    right: 16px;
    height: 12px;
    border-radius: 6px;
    background: rgba(201,168,76,0.13);
    z-index: 2;
  }

  .casino-card__screenshot {
    position: static;
    display: block;
    width: 100%;                  /* заповнює рамку по ширині */
    height: var(--shot-h);        /* однакова висота у всіх картках */
    max-width: none;
    aspect-ratio: auto;           /* нехтуємо атрибутами width/height у HTML */
    object-fit: cover;
    object-position: top center;
  }

  /* Кнопка тепер лежить на «сцені», а не поверх скріна */
  .casino-card__screenshot-overlay {
    inset: auto 1.5rem 1.25rem auto;
    padding: 0;
    background: none;
  }

  .casino-card__screenshot-wrap:hover .casino-card__screenshot-link {
    transform: translateY(-4px);
    box-shadow: 0 -14px 48px rgba(0,0,0,0.6), 0 0 0 1px var(--border-gold);
  }
}

/* ── 25. Utility ─────────────────────────────────────────────── */
.text-gold  { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.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;
}

/* ── 26. Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  /* Трохи компактніший мокап на невеликих ноутбуках */
  :root {
    --shot-w: 520px;
    --shot-h: 280px;
  }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .listing-row {
    grid-template-columns: 32px 80px 1fr auto;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
  }

  .listing-row__stars { display: none; }

  .casino-card__header {
    grid-template-columns: 36px 1fr;
    gap: 0.85rem;
  }

  .casino-card__meta { display: none; }

  .casino-card__screenshot-wrap {
    height: 200px;
  }

  .casino-card__screenshot-overlay {
    padding: 1.75rem 0.9rem 0.75rem;
  }

  .casino-card__footer { flex-direction: column; }
  .casino-card__footer .btn { width: 100%; justify-content: center; }

  .author-block { flex-direction: column; gap: 1rem; }
  .author-block__avatar { width: 64px; height: 64px; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero__stats { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero { padding-block: 1.75rem 1.5rem; }
  .listing-row { grid-template-columns: 28px 70px 1fr; }
  .listing-row__stars,
  .listing-row .btn { display: none; }

  .casino-card__screenshot-wrap {
    height: 170px;
  }

  .casino-card__screenshot-overlay .btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
  }
}

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