:root {
  --ink: #2A3048;
  --muted: #5D6480;
  --coral: #FF9268;
  --coral-deep: #E2522F;
  --on-coral: #1E2030;
  --cream: #FFFCF8;
  --card: #FFFFFF;
  --sky: #BFE6FF;
  --peach: #FFE3D1;
  --mint: #CFF5E7;
  --lilac: #E7DBFF;
  --radius: 32px;
  --shadow: 0 18px 50px rgba(42, 48, 72, .14);
  --font: 'Nunito', ui-rounded, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 12px; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 8px; }

/* Concept-banner */
.draft { background: #FFE27A; color: var(--ink); text-align: center; font-weight: 800; padding: 6px 16px; font-size: 14px; }
.todo { background: #FFE27A; border-radius: 6px; padding: 0 4px; }

/* Menubalk */
.nav { position: sticky; top: 14px; z-index: 20; display: flex; justify-content: center; padding: 0 16px; margin-top: 14px; }
.nav-inner { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 6px 6px 6px 14px; box-shadow: 0 8px 28px rgba(42,48,72,.12); max-width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 900; font-size: 18px; margin-right: 8px; }
.nav-logo img { width: 28px; height: 32px; }
.nav a.link { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a.link:hover { background: var(--peach); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
@media (max-width: 640px) { .nav a.link.hide-s { display: none; } .nav-logo span { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #DDF1FF 45%, var(--peach) 100%); margin-top: -64px; padding: 120px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: end; gap: 24px; }
.hero-text { text-align: center; padding-bottom: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.wordmark img { width: clamp(64px, 9vw, 104px); height: auto; filter: drop-shadow(0 8px 14px rgba(42,48,72,.18)); }
.wordmark span { font-weight: 900; font-size: clamp(44px, 7.4vw, 86px); letter-spacing: -1.5px; line-height: 1; color: var(--coral);
  text-shadow: 0 4px 0 #fff, 0 -4px 0 #fff, 4px 0 0 #fff, -4px 0 0 #fff, 3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, -3px -3px 0 #fff, 0 10px 0 var(--coral-deep), 0 16px 22px rgba(194,73,27,.3); }
.wordmark span b { color: var(--ink); font-weight: 900; }
h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; margin: 0 0 16px; font-weight: 900; letter-spacing: -1px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 22px; font-weight: 800; font-size: 17px; text-decoration: none; }
.store svg { width: 22px; height: 22px; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.scene { position: relative; border-radius: 40px 40px 0 0; overflow: hidden; aspect-ratio: 3 / 4.2; box-shadow: var(--shadow); border: 6px solid #fff; border-bottom: 0; }
.scene > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.scene .critter { position: absolute; width: 62%; left: 19%; bottom: 10%; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 14px 12px rgba(0,0,0,.18)); }
.scene .tag { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.scene.left { transform: rotate(-4deg) translateY(30px); }
.scene.right { transform: rotate(4deg) translateY(30px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-text { grid-column: 1 / -1; grid-row: 1; padding-bottom: 8px; }
  .scene { aspect-ratio: 3 / 3.4; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-7deg); } 88% { transform: rotate(7deg); } 92% { transform: rotate(-4deg); } 96% { transform: rotate(3deg); } }

/* Secties */
section { padding: 96px 0; }
.center { text-align: center; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin: 0 0 14px; font-weight: 900; letter-spacing: -.8px; }
.sub { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 40px; }

/* Rij met kaarten */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 28px; margin: 0 -16px; scrollbar-width: thin; }
.card { scroll-snap-align: center; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 470px; color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; isolation: isolate; }
.card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; z-index: -2; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--tint) 0%, transparent 55%); }
.card h3 { margin: 24px 22px 6px; font-size: 30px; line-height: 1.05; font-weight: 900; text-transform: uppercase; letter-spacing: -.3px;
  text-shadow: 0 3px 0 rgba(0,0,0,.12), 0 0 18px rgba(0,0,0,.12); }
.card p { margin: 0 22px; font-weight: 700; font-size: 16px; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.card .hero-img { margin: auto auto 34px; width: 64%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.25)); }
.card .egg { width: 48%; animation: wiggle 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.card .flame { position: absolute; right: 22px; bottom: 30px; background: #fff; color: var(--coral-deep); border-radius: 999px; font-weight: 900; padding: 6px 14px; font-size: 20px; box-shadow: var(--shadow); }
.card .trio { display: flex; justify-content: center; align-items: flex-end; margin: auto 10px 34px; }
.card .trio img { width: 42%; margin: 0 -6%; filter: drop-shadow(0 10px 10px rgba(0,0,0,.25)); }
.card .trio img:nth-child(2) { width: 50%; z-index: 1; }

/* Dieren */
.animals { background: linear-gradient(180deg, var(--cream), var(--mint)); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; padding: 10px 0 24px; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.critter-card { width: 190px; flex: none; background: var(--card); border-radius: 28px; padding: 16px 12px 14px; text-align: center; box-shadow: 0 10px 30px rgba(42,48,72,.1); }
.critter-card img { width: 150px; height: 150px; margin: 0 auto 6px; object-fit: contain; }
.critter-card b { display: block; font-size: 16px; }
.critter-card small { color: var(--muted); font-weight: 700; }
.tier { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 800; margin-top: 6px; }
.tier.common { background: #EEE9E2; } .tier.unique { background: #CDEBFF; } .tier.legendary { background: #FFE08A; }
.secret img { filter: brightness(0) opacity(.22); }

/* Werelden */
.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.world { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 10px 24px rgba(42,48,72,.1); }
.world img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.world span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 14px; }
@media (max-width: 800px) { .worlds { grid-template-columns: repeat(2, 1fr); } }

/* Voordelen */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: 28px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(42,48,72,.08); }
.feature .icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.feature p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Afsluiter */
.cta { background: linear-gradient(180deg, var(--lilac), var(--peach)); border-radius: 48px; padding: 72px 24px; text-align: center; margin: 0 auto 64px; }
.cta img.icon { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 28px; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 22px; }

/* Voettekst */
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 18px; }
.langs a { text-decoration: none; padding: 4px 12px; border-radius: 999px; background: #fff; font-weight: 700; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
.company { text-align: center; }

/* Tekstpagina’s */
.doc-head { background: linear-gradient(180deg, var(--sky), var(--cream)); margin-top: -64px; padding: 120px 0 24px; }
.doc { width: min(760px, 100% - 32px); margin: 0 auto 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin: 36px 0 8px; letter-spacing: 0; }
.doc li { margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; }
.notice { background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 6px 20px rgba(42,48,72,.08); }
details { background: #fff; border-radius: 20px; padding: 16px 20px; margin-bottom: 12px; box-shadow: 0 6px 20px rgba(42,48,72,.07); }
summary { font-weight: 800; cursor: pointer; font-size: 18px; }
details p { margin: 10px 0 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; scroll-behavior: auto !important; } }
