/* ============================================================
   EduGamez — ontwerpsysteem
   Gebaseerd op de Axynt-huisstijl: warm cream doek, bijna-zwarte
   tekst, goud voor handelingen, teal als accent. Voor kinderen
   iets speelser (ronde hoeken, felle accenten, emoji).
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=IBM+Plex+Sans:wght@400;450;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --cream: #faf7f0;
  --sand: #f5ebd8;
  --sand-soft: #f8eede;
  --mist: #e6f0ef;
  --white: #fffdf8;
  --ink: #14110f;
  --ink-soft: #56504a;
  --ink-faint: #857e76;
  --line: #e2d9c8;
  --line-soft: #ede5d6;
  --teal: #15706b;
  --teal-deep: #0e4f4b;
  --gold: #f2b33d;
  --gold-deep: #d99a22;
  --clay: #c4603f;
  --sky: #a9cfd4;
  --purple: #7b5cb8;
  --green: #4c9a5a;

  --display: 'Outfit', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --r-pill: 999px;
  --r-panel: 20px;
  --r-inset: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; margin-top: 0; line-height: 1.08; }
p { margin-top: 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--gold); border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.brand-word { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.brand-word em { font-style: normal; color: var(--teal); }
nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 600; }
nav > a:not(.nav-cta) { color: var(--ink); transition: color .18s; }
nav > a:not(.nav-cta):hover, nav > a[aria-current="page"] { color: var(--teal); }
.nav-cta {
  background: var(--gold); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--r-pill); padding: 9px 22px; font-family: var(--display);
  font-weight: 700; font-size: 14.5px; transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

/* ---------- Knoppen ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 14px 32px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); font-family: var(--display); font-size: 16px;
  font-weight: 700; letter-spacing: -.01em; transition: background .18s, transform .18s, color .18s;
  cursor: pointer;
}
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.button-teal { background: var(--teal); color: #fff; border-color: var(--teal-deep); }
.button-teal:hover { background: var(--teal-deep); transform: translateY(-2px); }
.button-ghost { background: transparent; color: var(--ink); }
.button-ghost:hover { background: var(--sand); }
.button-sm { min-height: 44px; padding: 9px 20px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); }
.hero h1 .hl { color: var(--teal); }
.hero h1 .hl2 { color: var(--clay); }
.hero p.lede { font-size: 20px; color: var(--ink-soft); max-width: 520px; margin: 20px 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: relative; min-height: 320px; display: grid; place-items: center;
}
.hero-badge {
  position: absolute; background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--r-panel); padding: 14px 18px; font-weight: 600; font-size: 15px;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-badge.b1 { top: 6%; left: 2%; transform: rotate(-4deg); }
.hero-badge.b2 { bottom: 12%; right: 0; transform: rotate(3deg); }
.hero-badge.b3 { bottom: 2%; left: 10%; transform: rotate(-2deg); }
.hero-badge .big { font-size: 30px; display: block; line-height: 1.1; }
.hero-tiles { display: grid; grid-template-columns: repeat(3, 74px); gap: 12px; }
.hero-tile {
  width: 74px; height: 74px; border-radius: 18px; border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 34px; background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
.hero-tile.t-gold { background: var(--gold); } .hero-tile.t-teal { background: var(--mist); }
.hero-tile.t-clay { background: var(--sand-soft); } .hero-tile.t-purple { background: #ece5f6; }

/* ---------- Secties ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--sand-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--ink-soft); font-size: 18px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-panel);
  padding: 26px; box-shadow: 4px 4px 0 var(--ink);
}
.card .ico { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); margin: 0; }

.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 2px solid var(--ink); border-radius: 26px;
  padding: 30px; box-shadow: 5px 5px 0 var(--ink);
}
.feature .big-emoji { font-size: 72px; line-height: 1; }
.feature .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--ink); border-radius: var(--r-pill);
  padding: 4px 14px; font-size: 13.5px; font-weight: 600; background: var(--mist);
}
.pill.gold { background: var(--gold); }
.pill.clay { background: var(--sand-soft); }

/* ---------- Filter (spellenpagina) ---------- */
.filters {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-panel);
  padding: 22px; margin-bottom: 32px; box-shadow: 4px 4px 0 var(--ink);
}
.filters .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.filters .row:last-child { margin-bottom: 0; }
.filters .label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); min-width: 92px; }
.chip {
  border: 2px solid var(--ink); background: var(--cream); color: var(--ink);
  border-radius: var(--r-pill); padding: 7px 16px; font-family: var(--display);
  font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.chip:hover { transform: translateY(-1px); }
.chip.on { background: var(--teal); color: #fff; border-color: var(--teal-deep); }
.chip.reset { background: transparent; border-style: dashed; color: var(--ink-faint); font-family: var(--sans); font-weight: 600; }

/* ---------- Spellen grid ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--r-panel); overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .15s;
}
.game-card:hover { transform: translateY(-3px); }
.game-thumb {
  height: 150px; display: grid; place-items: center; font-size: 64px;
  background: linear-gradient(135deg, var(--gold), var(--clay));
  border-bottom: 2px solid var(--ink);
}
.game-thumb.t-teal { background: linear-gradient(135deg, var(--sky), var(--teal)); }
.game-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game-body h3 { font-size: 22px; margin: 0; }
.game-body .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.game-body p { color: var(--ink-soft); margin: 0; flex: 1; }
.empty {
  text-align: center; padding: 60px 20px; color: var(--ink-soft);
  border: 2px dashed var(--line); border-radius: var(--r-panel);
}
.empty .big { font-size: 44px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 24px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 20px; }
.axynt-line { color: var(--ink-faint); font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.axynt-line a { font-weight: 600; color: var(--teal); }
.axynt-line a:hover { color: var(--teal-deep); }
.footer-note { color: var(--ink-faint); font-size: 13.5px; margin-top: 18px; }

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
  .hero-grid, .cards3, .games-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; }
  .hero-tiles { grid-template-columns: repeat(3, 64px); }
  .hero-tile { width: 64px; height: 64px; font-size: 28px; }
  .feature { grid-template-columns: 1fr; }
  .filters .label { min-width: 0; width: 100%; }
}
