/* speelweiland.nl — onboarding guides for a first casino session.
   Colours and typography come from the TipTop brand palette. */

:root {
  --bg: #111213;
  --surface: #1a1b21;
  --surface-2: #202129;
  --button: #51fe9e;
  --button-hover: #9affd5;
  --button-text: #1f2028;
  --secondary-text: #ffffff;
  --font: #ffffff;
  --muted: #b3b7c4;
  --headers: #ffffff;
  --link: #5aef9f;
  --link-hover: #5dffc9;
  --border: #343641;
  --accent: #22d6e4;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1140px;
  --narrow: 820px;
  --gap: 28px;
  --font-family: Poppins, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--font);
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--headers);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(23px, 2.9vw, 31px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(18px, 2.1vw, 21px);
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--link);
  text-decoration-color: rgba(90, 239, 159, 0.4);
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

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

code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
  padding: 1px 6px;
}

strong {
  color: #fff;
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.wrap.narrow {
  max-width: var(--narrow);
}

.skip-link {
  background: var(--button);
  border-radius: 0 0 10px 0;
  color: var(--button-text);
  font-weight: 600;
  left: 0;
  padding: 10px 18px;
  position: absolute;
  top: -100px;
  z-index: 50;
}

.skip-link:focus {
  color: var(--button-text);
  top: 0;
}

/* ------------------------------------------------------------- age strip */

.age-strip {
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 8px 20px;
  text-align: center;
}

.age-strip svg {
  display: block;
  fill: none;
  height: 18px;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 18px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  background: rgba(17, 18, 19, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
}

.header-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 74px;
}

.brand {
  align-items: center;
  color: var(--headers);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

.brand-word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-dot {
  color: var(--accent);
}

.site-nav {
  flex: 1 1 auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 2px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--link-hover);
}

.site-nav a[aria-current='page'] {
  color: var(--font);
  box-shadow: inset 0 -2px 0 var(--button);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--font);
  cursor: pointer;
  display: none;
  font: inherit;
  font-size: 14px;
  gap: 8px;
  padding: 8px 14px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  background: var(--button);
  border-radius: 2px;
  content: '';
  display: block;
  height: 2px;
  width: 16px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 5px;
}

/* --------------------------------------------------------------- buttons */

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--button);
  color: var(--button-text);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--button-hover);
  color: var(--button-text);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--secondary-text);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--button);
  color: var(--link-hover);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 28px;
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 46px 0 8px;
  text-align: center;
}

.kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  max-width: 900px;
}

/* ----------------------------------------------------------------- promo */

.promo {
  padding: 34px 0 12px;
}

.promo-inner {
  align-items: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 62%, rgba(34, 214, 228, 0.16) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  padding: 34px 0 34px 34px;
}

.promo-copy {
  padding: 4px 0;
}

.badge {
  background: rgba(81, 254, 158, 0.12);
  border: 1px solid rgba(81, 254, 158, 0.34);
  border-radius: 999px;
  color: var(--button);
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  padding: 6px 14px;
  text-transform: uppercase;
}

.promo-copy h2 {
  font-size: clamp(22px, 2.7vw, 30px);
}

.promo-text {
  color: var(--muted);
  margin-bottom: 22px;
}

.promo-image {
  border-radius: var(--radius) 0 0 var(--radius);
  display: block;
  margin-right: -34px;
  object-fit: cover;
  width: 100%;
}

/* ----------------------------------------------------------------- intro */

.intro {
  padding: 30px 0 6px;
}

.intro p {
  color: var(--muted);
  font-size: 18px;
}

.intro p:first-child {
  color: var(--font);
}

.intro-cta {
  margin-top: 22px;
}

/* ------------------------------------------------------- table of contents */

.toc-section {
  padding: 18px 0 10px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 8px;
}

.toc h2 {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li + li {
  border-top: 1px solid var(--border);
}

.toc a {
  align-items: baseline;
  color: var(--font);
  display: flex;
  gap: 14px;
  padding: 12px 2px;
  text-decoration: none;
}

.toc a:hover .toc-label,
.toc a:focus .toc-label {
  color: var(--link-hover);
}

.toc-index {
  color: var(--accent);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* ----------------------------------------------------------------- topic */

.topic {
  padding: 34px 0 6px;
}

.topic-head {
  align-items: center;
  background: linear-gradient(90deg, rgba(81, 254, 158, 0.18) 0%, rgba(34, 214, 228, 0.12) 46%, rgba(26, 27, 33, 0) 100%);
  border-left: 3px solid var(--button);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 22px;
}

.topic-head h2 {
  margin: 0;
}

.topic-index {
  color: var(--button);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.topic-body {
  max-width: var(--narrow);
}

.topic-body-wide {
  max-width: none;
}

/* ---------------------------------------------------------------- blocks */

.bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.bullets li {
  padding-left: 26px;
  position: relative;
}

.bullets li + li {
  margin-top: 10px;
}

.bullets li::before {
  background: var(--button);
  border-radius: 50%;
  content: '';
  height: 7px;
  left: 4px;
  position: absolute;
  top: 12px;
  width: 7px;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.steps li {
  counter-increment: step;
  padding-left: 48px;
  position: relative;
}

.steps li + li {
  margin-top: 14px;
}

.steps li::before {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--button);
  content: counter(step);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 1px;
  width: 32px;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 22px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 520px;
  width: 100%;
}

caption {
  color: var(--muted);
  font-size: 14px;
  padding: 12px 16px;
  text-align: left;
}

th,
td {
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-2);
  color: var(--headers);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody th {
  color: var(--headers);
  font-weight: 600;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:nth-child(even) {
  background: rgba(32, 33, 41, 0.5);
}

.note {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px 20px;
}

.note p {
  margin: 0;
}

.note-icon svg,
.check-icon svg,
.trust-icon svg,
.icon-mark svg {
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.note-icon svg {
  height: 24px;
  width: 24px;
}

.shot {
  margin: 0 0 22px;
}

.shot img {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
  width: 100%;
}

figcaption {
  color: var(--muted);
  font-size: 14px;
  padding-top: 10px;
}

.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.stats-value {
  color: var(--button);
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stats-label {
  color: var(--muted);
  display: block;
  font-size: 14px;
  margin-top: 4px;
}

.checklist {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.checklist li {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  padding: 14px 16px;
}

.checklist li + li {
  margin-top: 10px;
}

.check-icon svg {
  height: 22px;
  width: 22px;
}

/* -------------------------------------------------------------- showcase */

.showcase {
  padding: 40px 0 10px;
}

.showcase-lead,
.grid-lead,
.faq-lead,
.related-lead {
  color: var(--muted);
  max-width: var(--narrow);
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

.tab {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
}

.tab[aria-selected='true'] {
  background: var(--button);
  border-color: var(--button);
  color: var(--button-text);
}

.game-grid,
.icon-grid,
.related-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 14px;
}

.game-card img {
  aspect-ratio: 263 / 156;
  display: block;
  object-fit: cover;
  width: 100%;
}

.game-card h3 {
  font-size: 15px;
  margin: 12px 14px 4px;
}

.game-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 14px;
}

/* ------------------------------------------------------------ icon grids */

.icon-grid-section {
  padding: 34px 0 10px;
}

.icon-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 20px;
}

.icon-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}

.icon-mark {
  display: inline-flex;
  margin-bottom: 10px;
}

.icon-mark svg {
  height: 28px;
  width: 28px;
}

.icon-name {
  color: var(--headers);
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.icon-caption {
  color: var(--muted);
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 4px;
}

/* ------------------------------------------------------------------- faq */

.faq {
  padding: 40px 0 10px;
}

.accordion {
  margin-top: 20px;
}

.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.acc-item + .acc-item {
  margin-top: 10px;
}

.acc-item h3 {
  margin: 0;
}

.acc-trigger {
  align-items: center;
  background: none;
  border: 0;
  color: var(--headers);
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 20px;
  text-align: left;
  width: 100%;
}

.acc-sign {
  border: 1px solid var(--border);
  border-radius: 8px;
  flex: 0 0 auto;
  height: 26px;
  position: relative;
  width: 26px;
}

.acc-sign::before,
.acc-sign::after {
  background: var(--button);
  content: '';
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.acc-sign::before {
  height: 2px;
  width: 12px;
}

.acc-sign::after {
  height: 12px;
  width: 2px;
}

.acc-trigger[aria-expanded='true'] .acc-sign::after {
  display: none;
}

.acc-panel {
  border-top: 1px solid var(--border);
  padding: 16px 20px 2px;
}

.acc-panel p {
  color: var(--muted);
}

/* --------------------------------------------------------------- related */

.related {
  padding: 40px 0 10px;
}

.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 20px;
}

.related-grid a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
  height: 100%;
  padding: 18px 20px;
  text-decoration: none;
}

.related-grid a:hover,
.related-grid a:focus {
  border-color: var(--button);
}

.related-path {
  color: var(--accent);
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.related-title {
  color: var(--headers);
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0 6px;
}

.related-text {
  color: var(--muted);
  display: block;
  font-size: 14px;
}

/* ----------------------------------------------------------------- about */

.about {
  padding: 40px 0 20px;
}

.about-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 18px 0 0;
  padding: 6px 22px;
}

.about-list > div {
  padding: 14px 0;
}

.about-list > div + div {
  border-top: 1px solid var(--border);
}

.about-list dt {
  color: var(--headers);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.about-list dd {
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 38px 0 34px;
}

.footer-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
}

.brand-footer img {
  height: 38px;
}

.trust {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.trust-icon svg {
  height: 20px;
  width: 20px;
}

.footer-cols {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px 0;
}

.footer-cols h2 {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-cols ul {
  color: var(--muted);
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li + li {
  margin-top: 8px;
}

.footer-cols a {
  text-decoration: none;
}

.footer-warning {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--font);
  font-size: 14px;
  margin: 0 0 14px;
  padding: 14px 18px;
}

.footer-note,
.copyright {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 8px;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    flex-basis: 100%;
    order: 3;
  }

  .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding-bottom: 12px;
  }

  .site-nav li + li {
    border-top: 1px solid var(--border);
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
  }

  .header-actions {
    flex-basis: 100%;
    order: 4;
    padding-bottom: 14px;
  }

  .promo-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 22px;
  }

  .promo-image {
    border-radius: var(--radius);
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .game-grid,
  .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .topic-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }

  .acc-trigger {
    font-size: 16px;
    padding: 14px 16px;
  }

  .header-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media print {
  .site-header,
  .age-strip,
  .showcase,
  .icon-grid-section,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
