/* ===== WinBet Casino NL — system-font, no gradients, lean ===== */
:root {
  --bg: #0e1013;
  --surface: #16191e;
  --surface-2: #1d2128;
  --border: #2a2f38;
  --text: #e8eaed;
  --muted: #9aa2ad;
  --accent: #45ad6d;
  --accent-dark: #379a5d;
  --accent-ink: #06210f;
  --radius: 10px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html.theme { background: var(--bg); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* room for sticky cta on mobile */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; border-radius: var(--radius); padding: 10px 18px;
  border: 1px solid transparent; cursor: pointer; font-size: 0.95rem;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand img { height: 30px; width: auto; }
.header-tag { margin: 0; color: var(--muted); font-size: 0.82rem; text-align: center; flex: 1; }
.header-cta { display: flex; gap: 8px; }

/* ===== Hero (centered) ===== */
.hero { padding: 40px 0 26px; text-align: center; }
.hero-copy { max-width: 720px; margin: 0 auto; }
.hero-lead {
  font-size: 1.16rem; color: var(--accent); font-weight: 600;
  margin-top: 14px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; justify-content: center; }
.hero-facts { list-style: none; display: flex; gap: 10px; padding: 0; margin: 6px 0 0; flex-wrap: wrap; justify-content: center; }
.hero-facts li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 16px; min-width: 120px;
}
.hero-facts strong { display: block; font-size: 1.25rem; color: var(--accent); }
.hero-facts span { font-size: 0.8rem; color: var(--muted); }

/* ===== Centered mid-page feature visual ===== */
.feature-visual { display: flex; justify-content: center; margin: 26px 0; }
.feature-visual a { display: block; max-width: 520px; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.feature-visual img { width: 100%; }

/* ===== TOC (Easy TOC style) ===== */
.toc { margin: 8px 0 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.toc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-2); color: var(--text); border: 0; cursor: pointer;
  padding: 14px 16px; font-size: 1rem; font-weight: 700; font-family: var(--font);
}
.toc-arrow { width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease; }
.toc-head[aria-expanded="true"] .toc-arrow { transform: rotate(-135deg); }
.toc-body { padding: 8px 16px 14px; }
.toc-body ol { margin: 6px 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc-body li { margin: 6px 0; break-inside: avoid; }

/* ===== Sections ===== */
.section { padding: 26px 0; border-top: 1px solid var(--border); }
.answer-first {
  font-size: 1.08rem; font-weight: 600; color: var(--text);
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 14px;
}
.note { color: var(--muted); font-size: 0.92rem; }
.updated { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

/* ===== Tabs ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.tab {
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; cursor: pointer; font-family: var(--font); font-size: 0.9rem;
}
.tab.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ===== Games grid ===== */
.games-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.game-tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1 / 1;
}
.game-tile img { width: 100%; height: 100%; object-fit: cover; }
.game-tile .game-name {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px;
  font-size: 0.72rem; color: var(--text); background: rgba(14,16,19,.82); text-align: left;
}
.game-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(6,33,15,.72); opacity: 0; transition: opacity .15s ease;
}
.game-play .btn { padding: 9px 20px; }
.game-tile:hover .game-play, .game-tile:focus-within .game-play { opacity: 1; }

/* ===== Cards ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 8px 0 6px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card h3 { margin-top: 0; color: var(--accent); }
.card p { margin: 0; color: var(--muted); }

/* ===== Lists ===== */
.list-check { list-style: none; padding: 0; margin: 12px 0; }
.list-check li { position: relative; padding-left: 26px; margin: 8px 0; }
.list-check li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 6px; height: 11px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(40deg);
}

/* ===== Tables ===== */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; border-radius: var(--radius); }
.table-wrap .data-table { margin: 0; }
.data-table { width: 100%; border-collapse: collapse; margin: 12px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; min-width: 520px; }
.data-table th, .data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table th[scope="row"] { color: var(--muted); font-weight: 600; width: 42%; }
.data-table.compare thead th { background: var(--surface-2); color: var(--text); font-size: 0.86rem; text-transform: uppercase; letter-spacing: .02em; }
.data-table.compare tbody tr:hover { background: var(--surface-2); }

/* ===== Split (mobile section) ===== */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; }
.mobile-shot { border-radius: var(--radius); border: 1px solid var(--border); margin: 0 auto; }

/* ===== Promo banners ===== */
.promo-banner { display: block; margin: 22px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.promo-banner img { width: 100%; }

/* ===== CTA inline ===== */
.cta-inline { margin: 16px 0 4px; }

/* ===== FAQ ===== */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 30px; padding: 26px 0 40px; }
.disclaimer-banners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; margin-bottom: 22px; }
.disc-link { display: block; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.disc-link:hover { border-color: var(--accent); text-decoration: none; }
.disc-link img { width: 100%; height: auto; }
.footer-about p { color: var(--muted); font-size: 0.92rem; }
.copyright { font-size: 0.85rem; }

/* ===== Sticky CTA (visible on every screen) ===== */
.sticky-cta {
  position: fixed; z-index: 45; right: 20px; bottom: 20px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800;
  padding: 14px 24px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.sticky-cta:hover { background: var(--accent-dark); text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .header-tag { display: none; }
  .split { grid-template-columns: 1fr; }
  .toc-body ol { columns: 1; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .disclaimer-banners { grid-template-columns: repeat(2, 1fr); }
  .game-tile .game-name { font-size: 0.68rem; }
}
@media (max-width: 460px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .disclaimer-banners { grid-template-columns: 1fr; }
  .sticky-cta { right: 12px; bottom: 12px; padding: 12px 18px; font-size: 0.9rem; }
}

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