:root {
  --bg: #120018;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .78);
  --brand: #8b2bb8;
  --brand-deep: #6c2aa3;
  --magenta: #e55ddc;
  --accent: #ff7a1a;
  --gold: #ffd166;
  --ice: #7dd3ea;
  --winter: #1a8fb8;
  --surface: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .14);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: Inter, system-ui, "Segoe UI", sans-serif;
  --display: "Barlow Semi Condensed", Inter, system-ui, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--gold); }
a:hover { color: #ffe3a3; }
p { margin: 0 0 .8rem; }

.wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: #111;
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.h-underline {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h-underline::after,
.h-underline--sm::after {
  content: "";
  display: block;
  width: 148px;
  height: 5px;
  margin-top: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--magenta), var(--accent) 46%, var(--gold) 72%, var(--ice));
}
.h-underline--sm {
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.h-underline--sm::after {
  width: 92px;
  height: 4px;
  margin-top: 8px;
}

.site-header {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
}
.site-header__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(540px 280px at 8% 18%, rgba(229, 93, 220, .62), transparent 70%),
    radial-gradient(460px 260px at 86% 8%, rgba(255, 122, 26, .55), transparent 68%),
    radial-gradient(420px 240px at 62% 78%, rgba(26, 143, 184, .48), transparent 70%),
    radial-gradient(320px 180px at 28% 92%, rgba(255, 209, 102, .32), transparent 70%),
    linear-gradient(180deg, #3a0a5c 0%, #120018 78%);
}
.site-header__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(18, 0, 24, .15) 55%, var(--bg));
  pointer-events: none;
}

.nav-dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  pointer-events: none;
}
.nav-dock__inner {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 10px 16px 13px;
  background: rgba(108, 42, 163, .9);
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.nav-dock__inner::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--magenta), var(--accent), var(--gold), var(--ice));
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--gold), var(--accent) 45%, var(--magenta));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}
.nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: .95rem;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}
.nav a[aria-current="page"] {
  background: rgba(255, 122, 26, .28);
  border-color: rgba(255, 209, 102, .45);
}

.site-header__hero { position: relative; padding: 96px 0 18px; }
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--gold);
}
.hero-lead { max-width: 760px; }
.hero-lead p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; }
.hero-lead a { font-weight: 700; }

.explorer-wrap { padding: 6px 0 36px; }
.explorer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.filters-lead { color: var(--muted); margin: 0 0 14px; }
.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: 10px;
  align-items: end;
}
.search-field { position: relative; }
input[type="search"], select {
  width: 100%;
  font: inherit;
  color: #fff;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 12px;
}
input::placeholder { color: rgba(255, 255, 255, .55); }
.select-label {
  display: grid;
  gap: 4px;
  min-width: 190px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ice);
}
.select-label select { font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
input:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.suggestions {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #2a1038;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.suggestions button {
  width: 100%;
  text-align: left;
  font: inherit;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.suggestions button[aria-selected="true"],
.suggestions button:hover { background: rgba(255, 122, 26, .22); }
.place-row { margin: 10px 0 0; }
.place-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(139, 43, 184, .85), rgba(255, 122, 26, .85));
  color: #fff;
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  font-weight: 700;
}
.place-chip button {
  border: 0;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  border-radius: 999px;
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .22);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--accent)); }
.chip[aria-pressed="true"] {
  background: var(--chip, var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.chip[aria-pressed="true"] .dot { background: #fff; }
.chip-all[aria-pressed="true"] {
  background: linear-gradient(90deg, #8b2bb8, #ff7a1a 58%, #1a8fb8);
}
.note {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: rgba(255, 209, 102, .14);
  border: 1px solid rgba(255, 209, 102, .35);
  border-radius: 10px;
  color: #ffe7ad;
}

.board {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .9fr);
  gap: 12px;
  margin-top: 16px;
}
.map {
  min-height: 640px;
  height: 640px;
  border-radius: 16px;
  overflow: hidden;
  background: #123;
  box-shadow: 0 0 0 2px rgba(255, 122, 26, .35), 0 0 0 5px rgba(139, 43, 184, .28);
}
.list-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 640px;
}
.result-count {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}
.results {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  display: grid;
  gap: 8px;
}
.result {
  border: 1px solid var(--line);
  border-left: 4px solid var(--stripe, var(--accent));
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
  padding: 10px 12px;
}
.result.is-active {
  background: rgba(255, 122, 26, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, .45);
}
.result-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result button.title {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 2px 0;
  cursor: pointer;
  color: #fff;
}
.result .meta { color: var(--muted); font-size: .92rem; margin: 0; }
.result .out {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
}
.result .out:hover { color: #fff; }
.more-note { color: var(--muted); font-size: .9rem; padding: 4px 2px 8px; }

.popup-cat {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.popup-title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; color: #1a1020; }
.popup-meta { margin: 0 0 6px; color: #3d3148; font-size: .92rem; }
.popup a { font-weight: 800; }
.popup img { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.maplibregl-popup-content {
  border-radius: 14px;
  padding: 12px 14px 14px;
  font-family: var(--font);
  border-top: 4px solid var(--accent);
}
.maplibregl-ctrl-attrib { font-size: 11px; }

.prose-block { padding: 4px 0 42px; }
.prose-block .narrow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 8px;
  box-shadow: var(--shadow);
}
.prose-block p { color: rgba(255, 255, 255, .9); }
.cta-home { padding-bottom: 28px; }
.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), #ffb067);
  color: #1a0a00;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.button:hover { color: #1a0a00; filter: brightness(1.05); }

.site-footer {
  background: #07000c;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .82);
  padding: 28px 0 36px;
}
.site-footer a { color: #fff; }
.footer-links, .platform-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.platform-cards { gap: 12px; }
.platform-card {
  display: grid;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
}
.platform-card span {
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .9;
}
.platform-card strong {
  font-family: var(--display);
  font-size: 1.25rem;
}
.platform-card--kermis { background: linear-gradient(135deg, #8b2bb8, #e55ddc); }
.platform-card--vuurwerk { background: linear-gradient(135deg, #1e4a7a, #ff7a1a); }
.platform-card--winter { background: linear-gradient(135deg, #0e4a5c, #1a8fb8 55%, #d4a84b); }
.platform-card:hover { color: #fff; filter: brightness(1.08); }

@media (max-width: 860px) {
  .nav-dock__inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .search-row { grid-template-columns: 1fr; }
  .select-label { min-width: 0; }
  .board { grid-template-columns: 1fr; }
  .map { min-height: 68vh; height: 68vh; }
  .list-panel { max-height: none; }
  .results { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
