@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  --bg1: #2b1055;
  --bg2: #7597de;
  --ink: #ffffff;
  --muted: rgba(255,255,255,.72);
  --card: rgba(255,255,255,.12);
  --card-strong: rgba(255,255,255,.2);
  --a0: #e5484d; /* rood  ▲ */
  --a1: #2f80ed; /* blauw ◆ */
  --a2: #f2b705; /* geel  ● */
  --a3: #22a06b; /* groen ■ */
  --good: #2ecc71;
  --bad: #e5484d;
  --gold: #ffd166;
  --font: 'Fredoka', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: radial-gradient(1200px 800px at 15% 10%, #6a3ddb 0%, transparent 60%),
              radial-gradient(1000px 700px at 90% 90%, #1fa2ff 0%, transparent 55%),
              linear-gradient(160deg, var(--bg1), #3a1c71 50%, #12355b);
  background-attachment: fixed;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; cursor: pointer; border: 0; }
input { font-family: inherit; }
.hidden { display: none !important; }

.shape { display: inline-block; width: 1em; height: 1em; flex: none; background: #fff; }
.shape-0 { clip-path: polygon(50% 6%, 96% 92%, 4% 92%); }
.shape-1 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.shape-2 { border-radius: 50%; }
.shape-3 { border-radius: 12%; transform: scale(.86); }
.ans-0 { background: var(--a0); }
.ans-1 { background: var(--a1); }
.ans-2 { background: var(--a2); }
.ans-3 { background: var(--a3); }

@keyframes pop { 0% { transform: scale(.6); opacity: 0 } 70% { transform: scale(1.06); opacity: 1 } 100% { transform: scale(1) } }
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.04) } }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
.pop { animation: pop .45s ease-out both; }
.fadeUp { animation: fadeUp .5s ease-out both; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
