:root {
  --ink: #27405e;
  --soft: #5b7391;
  --sky: #7ad7ff;
  --sky-light: #e8f9ff;
  --orange: #ff8a3d;
  --green: #36b37e;
  --blue: #3a7bd5;
  --pink: #ff7fae;
  --purple: #6a3fd6;
  --font: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --edge: 0 6px 0 rgba(0, 0, 0, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(#7ad7ff 0, #bdeeff 520px, #eafaff 1100px, #fff 100%);
  background-repeat: no-repeat;
  background-color: #fff;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
img, video, canvas { max-width: 100%; }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 6vw, 44px); text-align: center; margin-bottom: 8px; }
p { margin: 0 0 12px; }
.sub { text-align: center; color: var(--soft); font-weight: 700; margin-bottom: 20px; }
.small { font-size: 14px; color: var(--soft); font-weight: 700; }
section, header, footer { padding: 56px 16px; }
.band { background: rgba(255, 255, 255, 0.72); }

/* knoppen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  background: var(--green);
  padding: 14px 24px;
  border-radius: 22px;
  box-shadow: var(--edge);
  transition: transform 0.12s;
  text-align: center;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16); }
.btn.big { font-size: clamp(22px, 5vw, 30px); padding: 18px 38px; background: var(--orange); border-radius: 28px; }
.btn.ghost { background: #fff; color: var(--ink); }
.link { background: none; border: 0; font: inherit; font-weight: 800; color: var(--blue); cursor: pointer; text-decoration: underline; padding: 8px; }
:focus-visible { outline: 4px solid var(--purple); outline-offset: 3px; }

/* hero */
.hero { text-align: center; padding-top: max(40px, env(safe-area-inset-top)); overflow: hidden; }
.kicker { font-weight: 900; font-size: clamp(16px, 4vw, 24px); color: #fff; text-shadow: 0 3px 0 #2f6fb3, 2px 0 0 #2f6fb3, -2px 0 0 #2f6fb3; margin-bottom: 4px; }
h1 {
  font-size: clamp(56px, 17vw, 128px);
  color: #fff;
  text-shadow: 0 6px 0 #2f6fb3, 4px 0 0 #2f6fb3, -4px 0 0 #2f6fb3, 0 -4px 0 #2f6fb3;
  letter-spacing: -1px;
}
h1 i { color: #ffd93d; font-style: normal; }
.lead { max-width: 640px; margin: 18px auto 22px; font-size: clamp(18px, 4.4vw, 24px); font-weight: 800; }
.lead b { background: #fff6b8; padding: 0 6px; border-radius: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 18px; }
.chips { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 640px; }
.chips li { background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); }
.chips li::before { content: "✓ "; color: var(--green); }

.stage { position: relative; max-width: 860px; margin: 50px auto 0; }
.stage video { display: block; width: 100%; aspect-ratio: 1280 / 672; object-fit: cover; border: 6px solid #fff; border-radius: 30px; box-shadow: 0 18px 40px rgba(39, 64, 94, 0.28); background: #cfeeb0; }
.stage-play {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95); color: var(--ink); text-decoration: none; font-weight: 900;
  padding: 10px 20px; border-radius: 999px; box-shadow: var(--edge); white-space: nowrap;
}
.buddy { position: absolute; z-index: 2; width: clamp(76px, 17vw, 140px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; top: clamp(-60px, -8vw, -34px); box-shadow: 0 8px 18px rgba(39, 64, 94, 0.28); animation: bob 3s ease-in-out infinite; }
.buddy-l { left: -4px; }
.buddy-r { right: -4px; animation-delay: 0.8s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

.stats { list-style: none; padding: 0; margin: 28px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; }
.stats li { background: #fff; border-radius: 20px; padding: 12px 6px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1); }
.stats b { display: block; font-size: clamp(24px, 6vw, 38px); color: var(--orange); }
.stats span { font-weight: 800; font-size: clamp(12px, 3vw, 15px); color: var(--soft); }

/* stappen */
.steps { list-style: none; padding: 0; margin: 28px auto 0; display: grid; gap: 16px; max-width: 920px; }
.steps li { background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--edge); position: relative; }
.steps .n { position: absolute; top: -14px; left: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18); }
.steps h3 { font-size: 22px; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--soft); font-weight: 700; }

/* kaarten */
.meet { max-width: 920px; margin: 0 auto; }
.cards { display: grid; gap: 18px; margin-top: 22px; }
.card { background: #fff; border-radius: 30px; padding: 22px; text-align: center; box-shadow: var(--edge); border: 5px solid transparent; transition: transform 0.15s; }
.card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.c-gifty { border-color: #8fcdec; }
.c-diva { border-color: #ffc9dd; }
.card h3 { font-size: 30px; margin: 4px 0 8px; }
.card .power { font-weight: 900; color: var(--blue); }
.card p { color: var(--soft); font-weight: 700; }
.card .portrait { display: block; width: 100%; max-width: 340px; height: auto; aspect-ratio: 1; object-fit: cover; margin: 0 auto 14px; border-radius: 24px; }

/* vriendjes van het eiland */
.friends { text-align: center; }
.f-group { font-size: clamp(20px, 4.6vw, 26px); margin: 30px 0 14px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 210px)); justify-content: center; gap: 14px; max-width: 1120px; margin: 0 auto; }
.friend { background: #fff; border-radius: 24px; padding: 10px 10px 14px; box-shadow: var(--edge); transition: transform 0.15s; }
.friend:hover { transform: translateY(-4px) rotate(-0.6deg); }
.friend img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 18px; margin-bottom: 8px; }
.friend h4 { font-size: 19px; margin: 0 0 4px; }
.friend p { margin: 6px 0 0; font-size: 15px; line-height: 1.35; color: var(--soft); font-weight: 700; }
.where { display: inline-block; font-size: 12px; font-weight: 900; background: #eafaf2; color: var(--green); border-radius: 999px; padding: 2px 10px; }
.where.plus { background: #f1ebff; color: var(--purple); }
.f-note { margin-top: 18px; }
@media (max-width: 420px) { .f-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .friend p { font-size: 14px; } }

/* quiz */
.quiz { text-align: center; }
.quiz-box { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 30px; padding: 24px 18px; box-shadow: var(--edge); }
.q-step { font-weight: 900; color: var(--soft); margin-bottom: 6px; }
.q-text { font-size: clamp(22px, 5vw, 28px); font-weight: 900; margin-bottom: 16px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-opt { border: 4px solid #e3ecf6; background: #f7fbff; border-radius: 22px; padding: 18px 8px; font: inherit; font-weight: 900; font-size: 18px; color: var(--ink); cursor: pointer; transition: transform 0.12s, border-color 0.12s; }
.q-opt:hover { transform: translateY(-3px); border-color: var(--sky); }
.q-opt span { display: block; font-size: 44px; margin-bottom: 4px; }
.result { max-width: 560px; margin: 20px auto 0; }
.result-line { font-size: clamp(24px, 6vw, 34px); font-weight: 900; }
.name-label { display: block; font-weight: 900; margin: 8px 0 6px; }
.name-label small { color: var(--soft); font-weight: 700; }
#kid-name { width: min(100%, 320px); font: inherit; font-weight: 900; font-size: 22px; text-align: center; padding: 12px 14px; border: 4px solid #cfe3f5; border-radius: 18px; color: var(--ink); background: #fff; }
#card { display: block; width: min(100%, 420px); height: auto; margin: 20px auto; border-radius: 26px; box-shadow: 0 14px 34px rgba(39, 64, 94, 0.3); background: #fff; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hint { min-height: 24px; margin-top: 10px; font-weight: 800; color: var(--green); }

/* leeftijden */
.ages { max-width: 860px; margin: 0 auto; }
.age-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.age-tab { border: 4px solid transparent; border-radius: 20px; background: #fff; padding: 10px 16px; font: inherit; font-weight: 900; font-size: 17px; color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1); }
.age-tab[aria-selected="true"] { border-color: var(--green); background: #eafaf2; }
.age-panel { background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--edge); display: grid; gap: 14px; }
.age-panel h3 { font-size: 20px; margin-bottom: 4px; }
.age-panel p { margin: 0; color: var(--soft); font-weight: 700; }
@media (min-width: 640px) { .age-panel { grid-template-columns: 1fr 1fr; } }

/* ouders */
.parents { max-width: none; }
.trust { list-style: none; padding: 0; margin: 20px auto; display: grid; gap: 10px; max-width: 720px; }
.trust li { background: #fff; border-radius: 20px; padding: 14px 16px 14px 46px; position: relative; font-weight: 700; color: var(--soft); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08); }
.trust li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; }
.trust b { color: var(--ink); }
.forward { text-align: center; margin-top: 28px; }
.forward h3 { font-size: 22px; margin-bottom: 14px; }

/* deel-banner, boven alles */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--orange));
  background-size: 200% 100%;
  animation: promo-shift 6s ease-in-out infinite;
  color: #fff; text-decoration: none; font-weight: 800; font-size: clamp(13px, 2.6vw, 16px);
  padding: 11px 16px; text-align: center;
}
.promo-bar b { font-weight: 900; }
.promo-bar .arrow { transition: transform 0.15s; }
.promo-bar:hover .arrow { transform: translateX(4px); }
@keyframes promo-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* deel & speel gratis */
.delen { text-align: center; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 620px; margin: 24px auto; }
.tier { background: #fff; border-radius: 22px; padding: 18px 10px; box-shadow: var(--edge); }
.tier b { display: block; font-size: clamp(30px, 7vw, 40px); color: var(--purple); }
.tier span { display: block; font-size: 13px; font-weight: 700; color: var(--soft); }
.tier small { display: block; margin-top: 8px; font-weight: 900; color: var(--green); font-size: 14px; }
.delen > p { max-width: 560px; margin: 0 auto 22px; }

.final { text-align: center; }
.duo { display: flex; justify-content: center; gap: 14px; }
.duo img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 8px 18px rgba(39, 64, 94, 0.25); animation: bob 3s ease-in-out infinite; }
.duo img + img { animation-delay: 0.8s; }
.final h2 { margin: 12px 0 18px; }
.final .small { margin-top: 16px; }

footer { text-align: center; padding-top: 20px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
footer p { margin-bottom: 4px; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buddy, .duo img, .btn, .card, .friend, .promo-bar { animation: none; transition: none; }
}

/* intro: tik om te beginnen, dan de film, dan de onthulling van de pagina */
#intro { display: none; }
html.intro-on #intro { display: block; position: fixed; inset: 0; z-index: 1000; background: #0b1630; color: #fff; }
html.intro-on, html.intro-on body { overflow: hidden; height: 100%; }
html.intro-on:not(.intro-playing) #intro-video { visibility: hidden; }
#intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b1630; border: 0; border-radius: 0; }
.intro-start { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: radial-gradient(ellipse at 50% 35%, #3a2a8c 0%, #1a1f5c 45%, #0b1630 100%); transition: opacity 0.5s; }
.intro-playing .intro-start { opacity: 0; pointer-events: none; }
.intro-start .kicker { position: relative; }
.intro-title { position: relative; font-size: clamp(60px, 18vw, 150px); color: #fff; text-shadow: 0 6px 0 #2f6fb3, 4px 0 0 #2f6fb3, -4px 0 0 #2f6fb3, 0 -4px 0 #2f6fb3; margin-bottom: 28px; }
.intro-title i { color: #ffd93d; font-style: normal; }
.intro-go { position: relative; animation: intro-pulse 1.8s ease-in-out infinite; }
@keyframes intro-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 0 0 0 rgba(255,138,61,.6); } 50% { transform: scale(1.05); box-shadow: 0 6px 0 rgba(0,0,0,.25), 0 0 0 18px rgba(255,138,61,0); } }
.intro-hint { position: relative; margin-top: 18px; font-weight: 800; color: #cfe3ff; }
.intro-skip-start { position: relative; color: #cfe3ff; margin-top: 4px; }
.intro-stars { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 12% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 28% 62%, #fff, transparent), radial-gradient(2px 2px at 44% 30%, #ffe9a8, transparent), radial-gradient(1.5px 1.5px at 63% 78%, #fff, transparent), radial-gradient(2px 2px at 78% 22%, #fff, transparent), radial-gradient(1.5px 1.5px at 90% 55%, #ffe9a8, transparent), radial-gradient(1.5px 1.5px at 6% 84%, #fff, transparent), radial-gradient(2px 2px at 54% 10%, #fff, transparent), radial-gradient(1.5px 1.5px at 35% 90%, #ffe9a8, transparent), radial-gradient(1.5px 1.5px at 82% 88%, #fff, transparent); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }
.intro-skip { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 3; border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 900; color: #fff; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); cursor: pointer; }
.intro-skip:hover { background: rgba(0, 0, 0, 0.65); }
#intro.intro-out { opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
html.intro-reveal .hero { animation: reveal 1.1s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro-go, .intro-stars { animation: none; } }
