/* Yearhit · stijl van de app (ontwerp voorstel A, "Feestkaarten"):
   crème, dikke inktranden, harde schaduw recht naar onder, zware afgeronde letters. */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('/fonts/nunito-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('/fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #fff4de;
  --ink: #2b1d45;
  --ink-soft: #5a4d73;
  --panel: #ffffff;
  --indigo: #4b2fd6;
  --sun: #ffc83d;
  --right: #5cd08a;
  --wrong: #ff6f61;
  --band: #f3e6c8;
  --border: 3px;
  --radius: 20px;
  --shadow: 0 5px 0 var(--ink);
  --font: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* spelerskleuren */
  --orange: #ff9f43; --blue: #5aa9ff; --purple: #b28bff; --pink: #ff8fc4;
  --green: #4fd69c; --yellow: #ffd84d; --teal: #3fd6d0; --coral: #ff7a6b;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1e1630;
    --ink: #f6eedd;
    --ink-soft: #c9bfdc;
    --panel: #2c2243;
    --band: #2c2243;
    --shadow: 0 5px 0 #0d0818;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); font-weight: 800; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #b9a9ff; } }
h1, h2, h3 { line-height: 1.1; font-weight: 900; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.small { font-size: 0.9rem; color: var(--ink-soft); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

.sticker {
  background: var(--panel);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Kop */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: var(--border) solid var(--ink); }
.top-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font-size: 1.5rem; font-weight: 900; margin-right: auto; }
.brand img { border-radius: 10px; border: 2px solid var(--ink); }
.menu { display: flex; gap: 1.25rem; align-items: center; }
.menu a { color: var(--ink); text-decoration: none; }
.menu a:hover { text-decoration: underline; }
.menu-cta { white-space: nowrap; background: var(--sun); border: var(--border) solid var(--ink); border-radius: 14px; padding: 0.3rem 0.9rem; box-shadow: 0 3px 0 var(--ink); color: #2b1d45 !important; }
.lang { display: flex; gap: 0.25rem; font-size: 0.9rem; font-weight: 900; }
.lang a, .lang span { padding: 0.2rem 0.45rem; border-radius: 8px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.lang span[aria-current] { border-color: var(--ink); }
@media (max-width: 760px) { .menu a:not(.menu-cta) { display: none; } .top-inner { gap: 0.6rem; } .brand span { font-size: 1.25rem; } .menu-cta { font-size: 0.95rem; padding: 0.25rem 0.7rem; } }
@media (max-width: 440px) { .brand span { display: none; } .lang a, .lang span { padding: 0.15rem 0.3rem; } }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 56px; padding: 0 1.6rem;
  border: var(--border) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  font: inherit; font-weight: 900; font-size: 1.15rem; text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-secondary { background: var(--panel); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.badge { display: inline-block; background: var(--sun); color: #2b1d45; border: var(--border) solid var(--ink); border-radius: 999px; padding: 0.2rem 0.9rem; font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; box-shadow: 0 3px 0 var(--ink); transform: rotate(-2deg); }
.hero h1 { margin-top: 0.6rem; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 1rem; }
.note { font-size: 0.95rem; color: var(--ink-soft); }

.hero-art { position: relative; display: grid; justify-items: center; gap: 2rem; }
.app-icon { width: clamp(160px, 22vw, 240px); height: auto; border-radius: 22.5%; border: var(--border) solid var(--ink); box-shadow: 0 8px 0 var(--ink); transform: rotate(4deg); }
.timeline { display: flex; gap: 0.75rem; padding: 1rem; background: var(--band); border: var(--border) solid var(--ink); border-radius: 24px; }
.card { position: relative; width: clamp(64px, 9vw, 92px); aspect-ratio: 3 / 4; border: var(--border) solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 0.5rem; color: #2b1d45; }
.card .yr { font-weight: 900; font-size: clamp(1rem, 1.8vw, 1.35rem); }
.card svg { width: 22px; height: 22px; align-self: flex-end; }
.card.mystery { background: var(--indigo); color: #fff; align-items: center; justify-content: center; transform: rotate(-5deg) translateY(-10px); animation: bob 2.4s ease-in-out infinite; }
.card .q { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.card .here { font-size: 0.85rem; font-weight: 900; }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-16px); } }

.c-orange { background: var(--orange); } .c-blue { background: var(--blue); } .c-purple { background: var(--purple); } .c-pink { background: var(--pink); }
.c-green { background: var(--green); } .c-yellow { background: var(--yellow); } .c-teal { background: var(--teal); } .c-coral { background: var(--coral); }

/* Secties */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: color-mix(in srgb, var(--sun) 16%, var(--cream)); border-block: var(--border) solid var(--ink); }
@media (prefers-color-scheme: dark) { .section.alt { background: #251c3a; } }
.section-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }

.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 1.5rem; }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); color: #fff; border: var(--border) solid var(--ink); font-weight: 900; font-size: 1.3rem; margin-bottom: 0.75rem; }
.stars { display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; background: var(--sun); color: #2b1d45; }
.stars p { margin: 0; }
.stars h3 { margin-bottom: 0.25rem; }
.star { width: 56px; height: 56px; flex: none; fill: #fff4de; stroke: #2b1d45; stroke-width: 1.6; stroke-linejoin: round; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.feature { padding: 1.5rem; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); color: #fff; border: var(--border) solid var(--ink); margin-bottom: 0.9rem; }
.icon { width: 28px; height: 28px; }

.players { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.chip { width: 52px; height: 52px; display: grid; place-items: center; border: var(--border) solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); color: #2b1d45; }
.chip svg { width: 24px; height: 24px; }
.chip:nth-child(odd) { transform: rotate(-4deg); } .chip:nth-child(even) { transform: rotate(3deg); }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; align-items: start; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }
.pack { padding: 1.75rem 1.5rem 1.5rem; position: relative; }
.pack .tag { position: absolute; top: -16px; right: 16px; background: var(--panel); border: var(--border) solid var(--ink); border-radius: 999px; padding: 0.1rem 0.75rem; font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; transform: rotate(3deg); }
.pack .count { font-size: 2rem; font-weight: 900; margin: 0 0 0.5rem; line-height: 1.1; }
.pack p:last-child { margin: 0; }
.p-free { background: var(--right); color: #2b1d45; }
.p-full { background: var(--indigo); color: #fff; }
.p-full .tag { color: var(--ink); }
.p-theme { background: var(--panel); border-style: dashed; }

.tester { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .tester { grid-template-columns: 1fr; gap: 1.5rem; } }
.form { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.35rem; }
.label { font-weight: 900; }
.opt { font-weight: 600; color: var(--ink-soft); font-size: 0.9rem; }
.hint { font-size: 0.88rem; color: var(--ink-soft); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
input[type='text'], input[type='email'], select {
  width: 100%; min-height: 52px; padding: 0 0.9rem;
  font: inherit; font-weight: 700; color: var(--ink);
  background: var(--cream); border: var(--border) solid var(--ink); border-radius: 14px;
  appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
input[aria-invalid='true'] { border-color: var(--wrong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wrong) 35%, transparent); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 26px; height: 26px; flex: none; margin: 0; accent-color: var(--indigo); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 0.9rem 1rem; border: var(--border) solid var(--ink); border-radius: 14px; font-weight: 800; color: #2b1d45; }
.form-msg.ok { background: var(--right); }
.form-msg.err { background: var(--wrong); }
.form-status:empty { display: none; }

.faq { padding: 0; margin-bottom: 1rem; }
.faq summary { padding: 1.1rem 1.4rem; font-weight: 900; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--ink-soft); }

.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* Voet */
.foot { border-top: var(--border) solid var(--ink); padding: 2.5rem 0 3rem; }
.foot-inner { display: grid; gap: 1.25rem; }
.foot-brand { display: flex; gap: 0.75rem; align-items: center; }
.foot-brand img { border-radius: 8px; border: 2px solid var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.foot .small { margin: 0; }
