/* ═══════════════════════════════════════════════════════════════════════
   HACK ME PLEASE — Gemeente Eindhoven
   Volledig self-contained: geen externe fonts, geen CDN's.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Lichtstad-palet: diep nachtblauw + neon rood (Eindhoven) + cyaan gloed */
  --bg: #07090f;
  --bg-alt: #0b0e17;
  --panel: #10141f;
  --line: rgba(140, 170, 255, .12);
  --text: #e8ecf4;
  --muted: #bcc6da;
  --red: #ff2d4e;
  --red-soft: rgba(255, 45, 78, .14);
  --cyan: #37e8ff;
  --cyan-soft: rgba(55, 232, 255, .12);
  --amber: #ffc24b;
  --green: #43ffa4;
  --grad: linear-gradient(96deg, var(--red) 0%, #ff5f8f 38%, var(--cyan) 100%);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", ui-monospace, "Consolas", "SF Mono", Menlo, monospace;
  --shadow-red: 0 0 32px rgba(255, 45, 78, .35);
  --shadow-cyan: 0 0 32px rgba(55, 232, 255, .25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scanlines-overlay (subtiel CRT-effect) ─────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, .12) 2px 4px
  );
  opacity: .35;
  mix-blend-mode: overlay;
}

/* ── Navigatie ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 9, 15, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .8rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none !important;
}

.nav__logo {
  display: grid;
  place-items: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 8px;
  background: var(--red-soft);
  border: 1px solid rgba(255, 45, 78, .4);
  color: var(--red);
  font-size: 1.05rem;
  text-shadow: 0 0 12px var(--red);
}

.nav__name {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  font-size: 1rem;
}
.nav__name em { color: var(--red); font-style: normal; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav__menu a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s;
}
.nav__menu a:hover { color: var(--text); text-decoration: none; }

.nav__cta {
  color: #fff !important;
  background: var(--red);
  padding: .45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-red);
  transition: transform .2s, box-shadow .2s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 0 44px rgba(255,45,78,.55); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem 1.4rem 5rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 45, 78, .16), transparent 70%),
    radial-gradient(50% 40% at 80% 90%, rgba(55, 232, 255, .10), transparent 70%),
    radial-gradient(40% 40% at 15% 80%, rgba(255, 45, 78, .08), transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(16, 20, 31, .6);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(67, 255, 164, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(67, 255, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 255, 164, 0); }
}

.hero__title {
  font-family: var(--mono);
  font-size: clamp(2.6rem, 9.5vw, 6.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1em;
  margin-bottom: 1.6rem;
}

.caret {
  color: var(--cyan);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Glitch-effect */
.glitch {
  position: relative;
  color: var(--text);
  text-shadow: 0 0 40px rgba(232, 236, 244, .25);
}
.glitch--alt { color: var(--red); text-shadow: 0 0 46px rgba(255, 45, 78, .5); }

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  opacity: .85;
}
.glitch::before {
  color: var(--cyan);
  animation: glitch-a 3.2s infinite steps(1);
}
.glitch::after {
  color: var(--red);
  animation: glitch-b 2.7s infinite steps(1);
}
@keyframes glitch-a {
  0%, 91%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  92% { transform: translate(-4px, 2px); clip-path: inset(15% 0 60% 0); }
  94% { transform: translate(3px, -1px); clip-path: inset(60% 0 10% 0); }
  96% { transform: translate(-2px, 0); clip-path: inset(35% 0 40% 0); }
}
@keyframes glitch-b {
  0%, 88%, 100% { transform: none; clip-path: inset(0 0 100% 0); }
  89% { transform: translate(4px, -2px); clip-path: inset(50% 0 20% 0); }
  91% { transform: translate(-3px, 1px); clip-path: inset(10% 0 70% 0); }
  93% { transform: translate(2px, 2px); clip-path: inset(70% 0 5% 0); }
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 1.8rem;
}
.hero__sub strong { color: var(--green); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 2.4rem;
}

.chip {
  font-family: var(--mono);
  font-size: .86rem;
  color: var(--text);
  background: rgba(16, 20, 31, .7);
  border: 1px solid var(--line);
  padding: .5rem 1rem;
  border-radius: 999px;
}

/* Countdown */
.count {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  background: rgba(16, 20, 31, .65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.8rem;
  margin-bottom: 2.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.count__cell { display: grid; justify-items: center; min-width: 3.6rem; }

.count__num {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(55, 232, 255, .5);
  font-variant-numeric: tabular-nums;
}

.count__lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
}

.count__sep {
  font-family: var(--mono);
  font-size: 1.8rem;
  color: var(--red);
  transform: translateY(-.5rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .85rem 1.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn--primary {
  background: var(--grad);
  color: #0b0e17;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 52px rgba(255, 45, 78, .55); }

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(16, 20, 31, .5);
}
.btn--ghost:hover { border-color: var(--cyan); box-shadow: var(--shadow-cyan); transform: translateY(-2px); }

.btn--big { font-size: 1.05rem; padding: 1rem 2.2rem; }

/* Scroll-indicator */
.hero__scroll {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__mouse {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  position: relative;
}
.hero__mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  animation: wheel 1.6s infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── Ticker ─────────────────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: .8rem 0;
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  font-family: var(--mono);
  font-size: .9rem;
  letter-spacing: .22em;
  color: var(--red);
  text-shadow: 0 0 14px rgba(255, 45, 78, .5);
  animation: ticker 28s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Secties ────────────────────────────────────────────────────────── */
.section { padding: 6.5rem 1.4rem; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section__inner { max-width: 1200px; margin: 0 auto; }
.section__inner--narrow { max-width: 780px; }
.section__inner--split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.kicker {
  font-family: var(--mono);
  color: var(--red);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.4rem;
  letter-spacing: -.02em;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; max-width: 62ch; }
.lead strong { color: var(--text); }

.quote {
  margin-top: 2rem;
  border-left: 3px solid var(--red);
  background: var(--red-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
}
.quote p { font-size: 1.05rem; font-style: italic; margin-bottom: .5rem; }
.quote cite { color: var(--muted); font-style: normal; font-size: .9rem; }

/* ── Terminal ───────────────────────────────────────────────────────── */
.term {
  background: #0a0d14;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), var(--shadow-cyan);
}

.term__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  background: #131826;
  border-bottom: 1px solid var(--line);
}
.term__dot { width: 11px; height: 11px; border-radius: 50%; }
.term__dot--r { background: #ff5f57; }
.term__dot--y { background: #febc2e; }
.term__dot--g { background: #28c840; }
.term__title {
  margin-left: .6rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
}

.term__body {
  padding: 1.2rem 1.3rem;
  font-family: var(--mono);
  font-size: .88rem;
  line-height: 1.75;
  min-height: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}
.term__body .t-prompt { color: var(--green); }
.term__body .t-cmd { color: var(--text); }
.term__body .t-out { color: var(--muted); }
.term__body .t-ok { color: var(--green); text-shadow: 0 0 10px rgba(67,255,164,.6); }
.term__body .t-warn { color: var(--amber); }
.term__body .t-cursor {
  display: inline-block;
  width: .55em; height: 1.05em;
  background: var(--cyan);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

/* ── Stats ──────────────────────────────────────────────────────────── */
.stats {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
  transition: transform .25s, border-color .25s;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(55, 232, 255, .4); }

.stat__num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat__lbl {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ── Cards ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.4rem; margin-top: 3rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 78, .35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.card:hover::before { opacity: 1; }

.card__icon {
  font-size: 1.7rem;
  width: 3.2rem; height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-soft);
  border: 1px solid rgba(55, 232, 255, .25);
  margin-bottom: 1.1rem;
}

.card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card strong, .card em { color: var(--text); }

/* ── Spelregels ─────────────────────────────────────────────────────── */
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.rule {
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.rule--ok { border-top: 3px solid var(--green); }
.rule--no { border-top: 3px solid var(--red); }
.rule--info { border-top: 3px solid var(--cyan); }

.rule h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.rule ul { list-style: none; }
.rule li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .7rem;
}
.rule li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.rule--no li::before { color: var(--red); }
.rule--ok li::before { color: var(--green); }

/* ── Timeline ───────────────────────────────────────────────────────── */
.timeline {
  list-style: none;
  margin-top: 3rem;
  position: relative;
  max-width: 720px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5.4rem;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--cyan));
  opacity: .45;
}

.timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 2.6rem;
  padding: 1.1rem 0 1.1rem;
  position: relative;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 5.4rem;
  top: 1.75rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  transform: translateX(-4.5px);
  box-shadow: 0 0 12px rgba(55, 232, 255, .6);
}
.timeline__item--hot::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 18px rgba(255, 45, 78, .9);
}

.timeline__time {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--cyan);
  font-size: .95rem;
  padding-top: .15rem;
  text-align: right;
}

.timeline__item h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.timeline__item--hot h3 {
  font-family: var(--mono);
  color: var(--red);
  text-shadow: 0 0 16px rgba(255, 45, 78, .6);
  letter-spacing: .06em;
}
.timeline__item p { color: var(--muted); font-size: .95rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { margin-top: 2.6rem; display: grid; gap: .9rem; }

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(55, 232, 255, .4); }

.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--red);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--cyan); }

.faq details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: .96rem;
}

/* ── Aanmeldformulier ───────────────────────────────────────────────── */
.section--cta {
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(255, 45, 78, .12), transparent 70%),
    var(--bg);
}

.form {
  margin-top: 2.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: grid;
  gap: 1.3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form__field { display: grid; gap: .45rem; }

.form__field label {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__opt { text-transform: none; letter-spacing: 0; opacity: .7; }

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(55, 232, 255, .15);
}
.form textarea { resize: vertical; }
.form select { appearance: none; cursor: pointer; }

/* Honeypot: visueel én voor screenreaders verborgen */
.form__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__error {
  color: var(--red);
  font-family: var(--mono);
  font-size: .88rem;
  background: var(--red-soft);
  border: 1px solid rgba(255, 45, 78, .4);
  border-radius: 10px;
  padding: .8rem 1rem;
}

.form__note { font-size: .82rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 4rem 1.4rem 2rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__brand { font-size: 1.05rem; margin-bottom: .8rem; }
.footer__col p { color: var(--muted); font-size: .92rem; }
.footer__col h3 {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .9rem;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: .5rem; color: var(--muted); font-size: .92rem; }
.footer__col a { color: var(--muted); }
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .82rem;
}

.footer__hint { font-family: var(--mono); opacity: .55; }

/* ── Easter egg ─────────────────────────────────────────────────────── */
.egg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(7, 9, 15, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.egg[hidden] { display: none; }

.egg__box {
  text-align: center;
  background: var(--panel);
  border: 1px solid rgba(67, 255, 164, .5);
  border-radius: var(--radius);
  padding: 3rem 2.6rem;
  max-width: 480px;
  margin: 1rem;
  box-shadow: 0 0 80px rgba(67, 255, 164, .25);
}
.egg__title {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 24px rgba(67, 255, 164, .8);
  letter-spacing: .1em;
  margin-bottom: 1rem;
  animation: blink 1.2s steps(1) infinite;
}
.egg__box p { color: var(--muted); margin-bottom: 1.6rem; }

/* ── Nyan cat ───────────────────────────────────────────────────────── */
.nyan {
  position: fixed;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  pointer-events: none;
  transform: translateX(-110%);
  animation: nyan-fly 9s linear forwards;
  /* Donkere schaduw eronder geeft diepte, vleugje rood houdt de gloed */
  filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .5))
          drop-shadow(0 0 18px rgba(255, 45, 78, .22));
}

.nyan img {
  width: 110px;
  height: auto;
  image-rendering: pixelated;
  z-index: 1;
}

/* 3D-regenbooglint: halfdoorzichtige banen (bg schemert erdoorheen),
   perspectief + taps toelopen richting de staart, en een licht/donker
   'buis'-schaduw voor rondheid. Het masker lost de staart op in de bg. */
.nyan__trail {
  width: 40vw;
  height: 52px;
  margin-right: -24px; /* net achter de pop-tart schuiven */
  transform-origin: 100% 50%;
  background:
    linear-gradient(to bottom,
      rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .05) 32%,
      rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .40) 100%),
    linear-gradient(to bottom,
      rgba(255, 51, 85, .72) 0 16.66%,
      rgba(255, 159, 46, .72) 16.66% 33.33%,
      rgba(255, 225, 77, .70) 33.33% 50%,
      rgba(77, 255, 98, .66) 50% 66.66%,
      rgba(55, 161, 255, .66) 66.66% 83.33%,
      rgba(138, 77, 255, .68) 83.33% 100%);
  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
  -webkit-mask-image: linear-gradient(to left, #000 45%, transparent 97%);
  mask-image: linear-gradient(to left, #000 45%, transparent 97%);
  animation: nyan-wave 1.1s ease-in-out infinite alternate;
}

@keyframes nyan-fly {
  to { transform: translateX(100vw); }
}
/* Zachte golf: het lint deint mee met de kat */
@keyframes nyan-wave {
  from { transform: perspective(500px) rotateY(5deg) translateY(-7px); }
  to   { transform: perspective(500px) rotateY(5deg) translateY(-2px); }
}

/* ── Reveal-animaties ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .section__inner--split { grid-template-columns: 1fr; gap: 3rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 9, 15, .97);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.4rem 1.2rem;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li { padding: .55rem 0; }
  .nav__cta { display: inline-block; text-align: center; margin-top: .5rem; }

  .grid--3 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .count { gap: .5rem; padding: .9rem 1rem; }
  .count__cell { min-width: 2.9rem; }
  .count__sep { display: none; }
  .timeline::before, .timeline__item::before { left: 4.6rem; }
  .timeline__item { gap: 1.8rem; }
  .section { padding: 4.5rem 1.2rem; }
}

/* ── Reduced motion: alles rustig aan ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
  .ticker__track { animation: none; }
  .nyan { display: none; }
}
