/* ArtGames: gedeelde stijl voor alle pagina's van artgames.nl */
:root {
  --blue: #2f7fe8; --green: #3fae6b; --orange: #f39a2b; --red: #e5484d; --purple: #6a5cf0;
  --ink: #15222a; --muted: #56656d; --line: #e3ebe8; --bg: #f7faf9; --card: #ffffff; --soft: #eef5ff;
  --brand: linear-gradient(135deg, #3392f5 0%, #65cf8a 55%, #feae42 100%);
  --radius: 22px;
  --shadow: 0 14px 34px rgba(10,40,80,.08);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eaf1f3; --muted: #a3b2b8; --line: #26343d; --bg: #0e151a; --card: #16212a; --soft: #142334; --blue: #6aa8ff; --shadow: 0 14px 34px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Menubalk */
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 700; text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav.on-brand .logo, .nav.on-brand .nav-links a { color: #fff; }
.nav.on-brand .logo img { box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.pill { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); padding: 7px 14px; border-radius: 999px; }
.nav:not(.on-brand) .pill { background: var(--soft); border-color: transparent; color: var(--ink) !important; }

/* Kop met kleurverloop */
.top { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.top::after { content: ""; position: absolute; inset: auto -10% -1px -10%; height: 70px; background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.top h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 10px; text-shadow: 0 2px 18px rgba(10,40,80,.18); }
.top .lead { font-size: 1.15rem; max-width: 40ch; margin: 0; opacity: .96; }
.crumbs { font-size: .92rem; font-weight: 700; margin-bottom: 10px; opacity: .92; }
.crumbs a { color: #fff; }

/* Kaarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(10,40,80,.14); }
.card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 6px; background: var(--soft); }
.card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); flex: 1; font-size: .97rem; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; font-size: .92rem; }
.tag { background: var(--soft); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: .82rem; font-weight: 700; }
.go { color: var(--blue); white-space: nowrap; }
.card.soon { opacity: .55; box-shadow: none; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 14px; font-weight: 700; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0b0f12; color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.18); line-height: 1.15; }
.store svg { width: 22px; height: 22px; fill: #fff; }
.store small { display: block; font-weight: 500; font-size: .72rem; opacity: .8; }

/* Keuzeknoppen (niveau en vak) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { font: inherit; font-weight: 700; font-size: .98rem; border: 2px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .12s ease; }
.choice:hover { border-color: var(--blue); }
.choice[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice .dim { opacity: .55; font-weight: 600; }

section { padding: 56px 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; }
.intro { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin: 0 0 24px; }

footer.site { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: .92rem; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
@media (max-width: 560px) { .nav-links a:not(.pill) { display: none; } }
