/* Shared look for the information pages (over, spelregels, boxies, privacy, contact). */
:root {
  --ink: #2a1f4a;
  --paper: #fffaf0;
  --sky: #2f7bf5;
  --sun: #ffc21a;
  --leaf: #3cc34a;
  --shade: rgba(42, 31, 74, 0.18);
  --display: 'Fredoka', 'Comic Sans MS', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(#8fd0ff, #cdeeff 320px, #eaf7ff 700px) no-repeat, #eaf7ff;
  line-height: 1.6;
  font-size: 17px;
}
.wrap { width: min(780px, 100%); margin: 0 auto; padding: 18px 16px 40px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 700; font-size: 2.2rem; text-decoration: none; letter-spacing: -0.01em; }
.logo span { -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.play {
  display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; text-decoration: none;
  background: var(--leaf); color: #fff; padding: 10px 18px; border-radius: 14px; box-shadow: 0 5px 0 #23862f;
}
.play:active { transform: translateY(3px); box-shadow: 0 2px 0 #23862f; }
nav.pages { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
nav.pages a {
  font-family: var(--display); font-weight: 500; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, 0.75); padding: 6px 12px; border-radius: 999px;
}
nav.pages a[aria-current] { background: var(--ink); color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin: 18px 0 8px; }
h2 { font-size: 1.45rem; margin: 0 0 8px; }
h3 { font-size: 1.15rem; margin: 18px 0 4px; }
.card { background: var(--paper); border-radius: 18px; padding: 18px 20px; margin: 18px 0; box-shadow: 0 6px 0 var(--shade); }
.card p:first-child, .card ul:first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
a { color: var(--sky); }
.lead { font-size: 1.12rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid #eadfcb; }
.boxies { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.boxie { background: #fff; border-radius: 16px; padding: 12px; text-align: center; box-shadow: 0 4px 0 var(--shade); }
.boxie img { width: 96px; height: 96px; object-fit: contain; }
.boxie b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.boxie small { display: block; line-height: 1.35; }
.boxie em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 0.8rem; background: #eaf7ff; border-radius: 999px; padding: 2px 8px; }
.keys td:first-child { white-space: nowrap; }
.note { font-size: 0.92rem; opacity: 0.85; }
button.link { font: inherit; color: var(--sky); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
footer { margin-top: 30px; font-size: 0.9rem; text-align: center; }
footer a { margin: 0 6px; }

/* Advertising: always clearly labelled, in its own box, far from buttons and links.
   advertenties.js removes these boxes completely while there is no AdSense account. */
.ad { margin: 48px 0; padding: 10px 0 0; border-top: 2px dashed #b9c9d6; min-height: 120px; }
.ad::before { content: 'Advertentie'; display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; margin-bottom: 6px; }
