/* =========================================================
   Ultimate Map Guide – hoofdstijlen
   Systeemfonts: geen externe fonts → sneller en AVG/GDPR-vriendelijk
   ========================================================= */

:root {
  --bg: #0d0a1a;
  --bg-2: #15102a;
  --surface: #1c1636;
  --surface-2: #251d47;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f1ff;
  --text-muted: #b3aacb;

  --pink: #ff4f8b;
  --orange: #ff9a5a;
  --yellow: #ffd36e;
  --teal: #3ee0cf;
  --purple: #9b6bff;

  --grad-sunset: linear-gradient(90deg, var(--yellow), var(--orange) 35%, var(--pink) 70%, var(--purple));
  --grad-ocean: linear-gradient(135deg, #3ee0cf, #3b82f6);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--pink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

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

.section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
  margin-bottom: 1.2em;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  border: 0; cursor: pointer;
  font: inherit; font-weight: 600;
  padding: .75em 1.4em;
  border-radius: 999px;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--orange), var(--pink));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255, 79, 139, .7);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 10, 26, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--pink); font-size: 1.45rem; line-height: 1; }
.brand-text { font-size: 1.1rem; letter-spacing: .02em; }
.brand-text strong {
  margin-left: .3em;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color .2s, background .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle .bar {
  display: block; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art .sunset { width: 100%; height: 100%; }
.hero-art .skyline { fill: #120a24; }
.hero-art .palm path { stroke: #0b0618; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(13,10,26,.35) 70%),
    linear-gradient(to bottom, rgba(13,10,26,.55) 0%, transparent 35%, transparent 70%, var(--bg) 100%);
}
.hero-grid {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 22%;
  background-image:
    linear-gradient(rgba(255, 79, 139, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 139, .35) 1px, transparent 1px);
  background-size: 60px 30px;
  transform: perspective(300px) rotateX(55deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent);
  z-index: 1;
}

.hero-content {
  text-align: center;
  padding-block: 80px 140px;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 211, 110, .35);
  padding: 6px 14px; border-radius: 999px;
  margin: 0 0 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.lead {
  max-width: 620px; margin: 0 auto 32px;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  color: #e8e2f8;
}

.search {
  display: flex; align-items: center; gap: 10px;
  max-width: 620px; margin-inline: auto;
  padding: 8px 8px 8px 18px;
  background: rgba(21, 16, 42, .85);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.search > i { color: var(--text-muted); flex-shrink: 0; }
.search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text); font: inherit;
  padding: 8px 0;
}
.search input::placeholder { color: var(--text-muted); }
.search:focus-within { border-color: var(--pink); }

/* ---------- Keuzedeel ---------- */
.choice {
  position: relative;
  margin-top: -60px;
  padding-bottom: 80px;
  z-index: 2;
}
.choice .section-title { text-align: center; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.choice-card {
  --accent: var(--pink);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.choice-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent-grad, var(--grad-sunset));
}
.card-guide { --accent: var(--teal); --accent-grad: var(--grad-ocean); }

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--accent) 55%, transparent);
}

.card-visual {
  height: 220px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.card-visual svg { width: 100%; height: 100%; max-width: 400px; }

/* mini-kaart */
.mini-map .land { fill: #2b2156; stroke: #4a3a8a; stroke-width: 2; }
.mini-map .road { fill: none; stroke: #6d5bb8; stroke-width: 3; stroke-dasharray: 6 6; }
.mini-map .dot { stroke: #0d0a1a; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.mini-map .d1 { fill: var(--yellow); }
.mini-map .d2 { fill: var(--pink); }
.mini-map .d3 { fill: var(--teal); }
.mini-map .d4 { fill: var(--purple); }
.mini-map .d5 { fill: var(--orange); }
.choice-card:hover .mini-map .dot { animation: pulse 1.2s ease-in-out infinite; }
.choice-card:hover .mini-map .d2 { animation-delay: .2s; }
.choice-card:hover .mini-map .d3 { animation-delay: .4s; }
.choice-card:hover .mini-map .d4 { animation-delay: .6s; }
.choice-card:hover .mini-map .d5 { animation-delay: .8s; }
@keyframes pulse { 50% { transform: scale(1.5); } }

/* mini-guide */
.mini-guide .page { stroke: #2f6f7a; stroke-width: 2; transition: transform .35s ease; }
.mini-guide .p1 { fill: #1d3c4a; }
.mini-guide .p2 { fill: #183341; }
.mini-guide .p3 { fill: #132a37; }
.mini-guide .line { fill: var(--teal); }
.mini-guide .line.light { fill: #3b6878; }
.mini-guide .check { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.choice-card:hover .mini-guide .p2 { transform: translateX(8px) rotate(2deg); }
.choice-card:hover .mini-guide .p3 { transform: translateX(16px) rotate(4deg); }

.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.card-body h3 { font-size: 1.6rem; }
.card-body p { color: var(--text-muted); margin: 0 0 16px; }
.card-features { margin-bottom: 24px; }
.card-features li {
  position: relative; padding-left: 26px; margin-bottom: 6px;
}
.card-features li::before {
  content: "\f00c"; position: absolute; left: 0;
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .85em; top: .15em;
  color: var(--accent); font-weight: 700;
}
.card-cta {
  margin-top: auto;
  font-weight: 700; color: var(--accent);
  display: inline-flex; gap: .4em;
}
.card-cta i { transition: transform .2s; align-self: center; font-size: .9em; }
.choice-card:hover .card-cta i { transform: translateX(5px); }

/* ---------- Snelle categorieën ---------- */
.quick { padding-bottom: 80px; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .2s, transform .2s, border-color .2s;
}
.quick-item:hover { background: var(--surface-2); transform: translateY(-2px); border-color: rgba(255,255,255,.18); }
.qi-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  font-weight: 800; font-size: .95rem;
}

/* ---------- Statistieken ---------- */
.stats[hidden] { display: none; }
.stats {
  padding-block: 50px;
  background: var(--bg-2);
  border-block: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800;
  background: var(--grad-sunset);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { color: var(--text-muted); }

/* ---------- Updates ---------- */
.updates { padding-block: 80px; }
.update-list { display: grid; gap: 14px; }
.update {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.update time { color: var(--orange); font-weight: 600; font-size: .9rem; padding-top: 2px; }
.update h3 { font-size: 1.1rem; margin-bottom: .25em; }
.update p { margin: 0; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #08061a;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  color: var(--text-muted);
  font-size: .95rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding-bottom: 30px;
}
.footer-brand .brand-text { color: var(--text); font-size: 1.2rem; }
.footer-brand p { margin: .4em 0 0; }
.site-footer nav ul { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a:hover { color: var(--text); }
.legal {
  border-top: 1px solid var(--border);
  padding-block: 22px 30px;
  font-size: .82rem;
  line-height: 1.6;
}
.legal p { margin: 0 0 .6em; max-width: 900px; }

/* ---------- Subpagina's ---------- */
.page-hero {
  padding-block: 90px 40px;
  background: radial-gradient(ellipse at top, #3a1450 0%, var(--bg) 70%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); }
.page-hero p { color: var(--text-muted); max-width: 640px; margin-inline: auto; }
.prose { max-width: 780px; padding-block: 30px 90px; }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose p, .prose li { color: #d9d2ec; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--teal); text-decoration: underline; }
.coming-soon { text-align: center; padding-block: 40px 100px; }
.coming-soon .btn { margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(13, 10, 26, .97);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .main-nav a { padding: 12px 14px; }
}
@media (max-width: 560px) {
  .quick-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .update { grid-template-columns: 1fr; gap: 6px; }
  .search { flex-wrap: wrap; border-radius: 20px; padding: 10px 14px; }
  .search .btn { width: 100%; }
  .card-body { padding: 22px; }
}

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

/* ---------- Account in de navigatie ---------- */
.main-nav .nav-login {
  display: inline-flex; align-items: center; gap: .45em;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.main-nav .nav-login:hover { border-color: var(--pink); background: var(--surface-2); }
.main-nav ul { align-items: center; }

/* ---------- Inloggen ---------- */
.auth-section {
  min-height: calc(100vh - 68px - 200px);
  display: grid; place-items: center;
  padding: 60px 20px;
  background: radial-gradient(ellipse at top, #3a1450 0%, var(--bg) 65%);
}
.auth-section[hidden] { display: none; }
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.auth-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.4rem; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}
.auth-card h1 { font-size: 1.7rem; margin-bottom: .2em; }
.auth-sub { color: var(--text-muted); margin: 0 0 20px; }
.auth-card label, .dash-form label { font-weight: 600; font-size: .9rem; margin: 10px 0 6px; }
.auth-input {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 0 12px;
}
.auth-input:focus-within { border-color: var(--pink); }
.auth-input > i { color: var(--text-muted); width: 16px; text-align: center; }
.auth-input input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0;
  color: var(--text); font: inherit; padding: 12px 0;
}
.pw-toggle { background: none; border: 0; color: var(--text-muted); cursor: pointer; padding: 6px; }
.pw-toggle:hover { color: var(--text); }
.auth-error, .auth-ok {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; font-size: .9rem;
}
.auth-error { background: rgba(255, 79, 139, .12); border: 1px solid rgba(255, 79, 139, .4); color: #ffb3c8; }
.auth-ok { background: rgba(104, 211, 145, .12); border: 1px solid rgba(104, 211, 145, .4); color: #b5f0c9; }
.auth-error[hidden], .auth-ok[hidden] { display: none; }
.auth-submit { margin-top: 20px; width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--pink); }

/* ---------- Dashboard ---------- */
.dash { padding-block: 40px 80px; }
.dash[hidden] { display: none; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head h1 { font-size: 2.2rem; margin-bottom: .1em; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dash-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
}
.dash-stat i { grid-row: span 2; font-size: 1.3rem; color: var(--pink); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 79, 139, .12); }
.dash-stat strong { font-size: 1.5rem; line-height: 1.1; }
.dash-stat span { color: var(--text-muted); font-size: .82rem; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.dash-card h2 { font-size: 1.1rem; display: flex; gap: .5em; align-items: center; }
.dash-card h2 i { color: var(--pink); }
.table-wrap { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dash-table th { text-align: left; color: var(--text-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.dash-table td { padding: 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.dash-table td i { color: var(--text-muted); margin-right: 4px; }
.dash-table .muted { color: var(--text-muted); }
.dash-table select, .dash-form input, .dash-form select {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 7px 9px; font: inherit;
}
.dash-table input[type=checkbox] { accent-color: var(--pink); width: 16px; height: 16px; }
.dash-form { display: flex; flex-direction: column; }
.dash-form .btn { margin-top: 16px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

/* ---------- Wachtwoord-venster (dashboard) ---------- */
.pw-dialog {
  width: min(420px, calc(100% - 32px)); padding: 24px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.pw-dialog::backdrop { background: rgba(5, 3, 15, .7); backdrop-filter: blur(3px); }
.pw-dialog h2 { font-size: 1.2rem; display: flex; gap: .5em; align-items: center; }
.pw-dialog h2 i { color: var(--pink); }
.pw-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.pw-actions .btn { margin-top: 0; }
.btn-sm {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .85rem; cursor: pointer;
}
.btn-sm:hover { border-color: var(--pink); }

/* ---------- Guides-pagina ---------- */
.page-hero .btn { margin-top: 16px; }
.guides-wrap { padding-block: 30px 90px; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.chip.active { color: #fff; background: linear-gradient(90deg, var(--orange), var(--pink)); border-color: transparent; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide-card {
  --accent: var(--teal);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: transform .2s, border-color .2s;
}
.guide-card:hover { transform: translateY(-3px); border-color: rgba(62, 224, 207, .5); }
.guide-card h3 { font-size: 1.2rem; margin: 4px 0 0; }
.guide-card p { color: var(--text-muted); margin: 0; flex: 1; }
.guide-card .card-tag { margin-bottom: 0; }
.guide-card:hover .card-cta i { transform: translateX(5px); }
.card-cta i { transition: transform .2s; }
.guide-empty { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.guide-empty[hidden] { display: none; }
.guide-empty > i { font-size: 2.4rem; color: var(--pink); margin-bottom: 12px; }
.guide-empty h2 { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dash-form textarea {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 11px; font: inherit; resize: vertical; min-height: 90px;
}
.dash-form input:focus, .dash-form textarea:focus, .dash-form select:focus { outline: none; border-color: var(--pink); }
.request-dialog { width: min(520px, calc(100% - 32px)); }

/* ---------- Eén guide ---------- */
.guide-article { max-width: 820px; padding-block: 40px 90px; }
.back-link { display: inline-flex; gap: .5em; align-items: center; color: var(--teal); font-weight: 600; margin-bottom: 24px; }
.guide-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.5vw, 2.8rem); margin: 12px 0 8px; }
.guide-head .card-tag { --accent: var(--teal); }
.lead-left { font-size: 1.1rem; color: #e8e2f8; margin: 0 0 6px; }
.guide-date { color: var(--text-muted); font-size: .85rem; margin: 0 0 24px; }
.guide-body { max-width: none; padding-block: 10px 0; border-top: 1px solid var(--border); }
.guide-body h2 { font-size: 1.4rem; }
.guide-body h3 { font-size: 1.15rem; margin-top: 1.4em; }
.guide-loading { color: var(--text-muted); }

/* ---------- Dashboard: guides & aanvragen ---------- */
.dash-stat.clickable { cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s, transform .2s; }
.dash-stat.clickable:hover { border-color: var(--pink); transform: translateY(-2px); }
.guides-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 40px); }
.gd-head { display: flex; justify-content: space-between; align-items: center; }
.gd-list { display: grid; gap: 8px; margin: 10px 0 20px; max-height: 260px; overflow-y: auto; }
.gd-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.gd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gd-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--text-muted); font-size: .85rem; }
.gd-form { border-top: 1px solid var(--border); padding-top: 16px; }
.gd-form h3 { font-size: 1.05rem; display: flex; gap: .5em; align-items: center; margin-bottom: 4px; }
.gd-form h3 i { color: var(--pink); }
.gd-from-request { background: rgba(62, 224, 207, .1); border: 1px solid rgba(62, 224, 207, .35); color: #b8f5ee; padding: 8px 12px; border-radius: 8px; font-size: .88rem; margin: 6px 0 0; }
.gd-from-request[hidden] { display: none; }
.hint-sm { color: var(--text-muted); font-size: .8rem; margin: 6px 0 0; }
.hint-sm code { background: var(--surface-2); padding: 0 5px; border-radius: 4px; }
.toggle-line { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; cursor: pointer; white-space: nowrap; }
.toggle-line input { accent-color: var(--pink); width: 16px; height: 16px; }
.btn-sm.danger { color: #ff9db6; }
.btn-sm.danger:hover { border-color: #ff4f8b; }
.btn-sm.primary { background: linear-gradient(90deg, var(--orange), var(--pink)); color: #fff; border-color: transparent; }
.btn-sm[hidden] { display: none; }

.requests-card { margin-top: 20px; }
.req-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.req-head h2 { margin: 0; }
.req-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.req-tabs .chip { padding: 5px 12px; font-size: .82rem; }
.badge-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--pink); color: #fff; font-size: .8rem; font-weight: 800;
}
.badge-count.zero { background: var(--surface-2); color: var(--text-muted); }
.req-list { display: grid; gap: 10px; }
.req-item {
  display: flex; gap: 16px; justify-content: space-between; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--border); border-left: 4px solid var(--pink);
  border-radius: 10px; padding: 14px 16px;
}
.req-item.status-done { border-left-color: #68d391; }
.req-item.status-rejected { border-left-color: var(--text-muted); opacity: .75; }
.req-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.req-details { margin: 0 0 6px; color: #d9d2ec; white-space: pre-line; }
.req-meta { margin: 0; color: var(--text-muted); font-size: .8rem; }
.req-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
@media (max-width: 700px) {
  .req-item { flex-direction: column; }
  .req-actions { justify-content: flex-start; }
  .gd-row { flex-wrap: wrap; }
}

/* ---------- Account in de navigatie + accountpagina ---------- */
.nav-user { display: inline-flex; align-items: center; gap: 4px; }
.nav-logout {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer;
}
.nav-logout:hover { color: #fff; border-color: var(--pink); background: var(--pink); }
.main-nav a.nav-login[aria-current="page"] { border-color: var(--pink); }
.account-wrap { max-width: 1000px; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.account-grid .dash-form .btn { align-self: flex-start; }
.acc-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.acc-facts dt { color: var(--text-muted); font-size: .88rem; }
.acc-facts dd { margin: 0; font-weight: 600; }
.u-mail { display: block; margin-left: 22px; font-size: .78rem; }
@media (max-width: 800px) { .account-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Platform-homepagina (index.html)
   ========================================================= */
.p-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 70px 90px; }
.p-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(155, 107, 255, .35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(255, 79, 139, .25), transparent 70%),
    linear-gradient(180deg, #120c26 0%, var(--bg) 100%);
}
.p-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.p-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.p-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .35em; }
.p-hero .lead-left { max-width: 560px; color: #d9d2ec; margin-bottom: 26px; }
.p-search { margin-inline: 0; max-width: 560px; }
.p-search > i { color: var(--text-muted); }
.p-quick { color: var(--text-muted); font-size: .9rem; margin-top: 14px; }
.p-quick a { color: var(--teal); }
.p-quick a:hover { text-decoration: underline; }
.search-results-home {
  position: absolute; z-index: 20; width: min(560px, calc(100% - 40px)); margin-top: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 6px;
}
.search-results-home[hidden] { display: none; }
.hr-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.hr-item:hover, .hr-item:focus-visible { background: var(--surface-2); }
.hr-item i { color: var(--pink); width: 18px; text-align: center; }
.hr-item span { flex: 1; font-weight: 600; }
.hr-item small { color: var(--text-muted); }
.hr-empty { padding: 10px 12px; color: var(--text-muted); }
.link-btn { background: none; border: 0; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* Zwevende kaartjes (eigen illustratie) */
.p-hero-art { position: relative; height: 400px; }
.float-card {
  position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  min-width: 220px; padding: 14px 18px;
  background: rgba(28, 22, 54, .85); border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
}
.float-card i {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-size: 1.1rem; background: linear-gradient(135deg, var(--orange), var(--pink));
}
.float-card span { font-weight: 700; }
.float-card em { font-style: normal; color: var(--text-muted); font-size: .85rem; }
.fc-1 { top: 10px; left: 8%; }
.fc-2 { top: 120px; right: 0; animation-delay: -1.5s; }
.fc-2 i { background: linear-gradient(135deg, #ffd36e, #ff9a5a); }
.fc-3 { top: 235px; left: 0; animation-delay: -3s; }
.fc-3 i { background: linear-gradient(135deg, var(--teal), #3b82f6); }
.fc-4 { bottom: 0; right: 10%; animation-delay: -4.5s; }
.fc-4 i { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.mini-progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.mini-progress b { display: block; height: 100%; background: var(--grad-ocean); }
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; z-index: -1; }
.orb-a { width: 220px; height: 220px; background: var(--pink); top: 60px; left: 30%; }
.orb-b { width: 160px; height: 160px; background: var(--teal); bottom: 20px; right: 20%; opacity: .3; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Secties */
.p-section { padding-block: 60px 20px; }
.p-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.p-section-head .section-title { margin-bottom: 0; }
.muted-lead { color: var(--text-muted); margin: 0; }
.link-more { color: var(--teal); font-weight: 600; display: inline-flex; gap: .4em; align-items: center; }

/* Game-kaarten */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.game-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .25s, border-color .25s;
}
.game-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--g2, #ff4f8b) 60%, transparent); }
.game-banner {
  position: relative; height: 140px; display: flex; align-items: flex-end; gap: 12px; padding: 18px 20px;
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
}
.game-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 14px 14px;
  mask-image: linear-gradient(to top, transparent, #000); -webkit-mask-image: linear-gradient(to top, transparent, #000);
}
.game-banner > i { position: absolute; right: 18px; bottom: 12px; font-size: 3.4rem; color: rgba(255,255,255,.28); }
.game-short { position: relative; z-index: 1; font-size: 1.9rem; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.game-live {
  position: relative; z-index: 1; margin-left: auto; align-self: flex-start;
  background: rgba(13,10,26,.6); color: #7dffb0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.game-live::before { content: "● "; }
.game-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.game-genre { color: var(--text-muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.game-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.game-desc { color: var(--text-muted); margin: 0 0 14px; flex: 1; }
.game-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.game-chips span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: #d9d2ec; }
.game-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.game-actions .btn { padding: .55em 1.05em; font-size: .9rem; }
.game-request {
  align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px;
  border: 2px dashed rgba(255,255,255,.15); background: transparent; box-shadow: none;
  color: var(--text); font: inherit; cursor: pointer; min-height: 300px;
}
.game-request > i {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem;
  color: var(--pink); background: rgba(255,79,139,.12);
}
.game-request p { color: var(--text-muted); margin: 0; max-width: 240px; }
.game-request:hover { border-color: var(--pink); }

/* Features */
.p-features { margin-top: 50px; padding-block: 60px; background: var(--bg-2); border-block: 1px solid var(--border); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feat > i {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px;
  color: var(--pink); background: rgba(255,79,139,.12);
}
.feat h3 { font-size: 1.1rem; }
.feat p { color: var(--text-muted); margin: 0; }

/* Aanvraag-blok */
.p-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 32px 36px; border-radius: var(--radius); margin-bottom: 60px;
  background: linear-gradient(120deg, rgba(255,154,90,.18), rgba(255,79,139,.18) 50%, rgba(155,107,255,.18));
  border: 1px solid rgba(255,79,139,.3);
}
.p-cta h2 { margin-bottom: .3em; }
.p-cta p { color: #d9d2ec; margin: 0; max-width: 560px; }

@media (max-width: 960px) {
  .p-hero-inner { grid-template-columns: 1fr; }
  .p-hero-art { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .p-cta { padding: 24px; }
  .p-search { flex-wrap: wrap; }
}

/* ---------- Game-label naast het logo (GTA VI-pagina's) ---------- */
.header-inner .brand { margin-right: auto; }
.game-badge {
  display: inline-flex; align-items: center; gap: .4em; margin-left: 12px; margin-right: auto;
  padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: linear-gradient(90deg, #ff9a5a, #ff4f8b 60%, #9b6bff);
}
.header-inner .brand:has(+ .game-badge) { margin-right: 0; }
.main-nav .nav-back { color: var(--text-muted); }
.main-nav .nav-back:hover { color: var(--text); }
@media (max-width: 560px) { .game-badge { margin-left: 8px; padding: 4px 9px; font-size: .75rem; } .brand-text { font-size: .95rem; } }

/* ---------- Spoilers ---------- */
.spoiler-bar {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 10px 20px; background: #2a2210; border-bottom: 1px solid rgba(255, 211, 110, .35); color: #ffe7a8;
  font-size: .9rem;
}
.spoiler-bar > i { color: var(--yellow); }
.spoiler-bar p { margin: 0; flex: 1; }
.spoiler-bar .btn-sm { background: rgba(255, 211, 110, .15); border-color: rgba(255, 211, 110, .4); color: #ffe7a8; }
.spoiler-note {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 20px; padding: 12px 16px; border-radius: 10px; font-size: .92rem;
  background: rgba(255, 211, 110, .1); border: 1px solid rgba(255, 211, 110, .35); color: #ffe7a8;
}
.spoiler-note p { margin: 0; flex: 1; }
.spoiler-note.level-story { background: rgba(255, 79, 139, .12); border-color: rgba(255, 79, 139, .45); color: #ffc2d3; }
.spoiler-note.level-story > i { color: var(--pink); }
.spoiler-hidden { filter: blur(9px); user-select: none; pointer-events: none; max-height: 320px; overflow: hidden; }
.spoiler-badge {
  align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #ffc2d3; background: rgba(255, 79, 139, .15); padding: 3px 9px; border-radius: 999px;
}
.game-chips .chip-spoiler { background: rgba(255, 211, 110, .12); color: #ffe7a8; }

/* ---------- Afbeeldingen in guides ---------- */
.guide-figure { margin: 1.6em 0; }
.guide-figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.guide-figure figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: .88rem; color: #d9d2ec; }
.guide-figure figcaption small { color: var(--text-muted); font-size: .76rem; }
.gd-body-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.gd-body-head label { margin-bottom: 6px; }

/* ---------- Donatiepagina ---------- */
.donate-wrap { padding-block: 30px 80px; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.donate-card p { color: #d9d2ec; }
.donate-btn { margin: 8px 0 16px; font-size: 1.05rem; }
.donate-btn[hidden] { display: none; }
.donate-soon { color: var(--yellow); font-weight: 600; }
.donate-soon[hidden] { display: none; }
.donate-note {
  display: flex; gap: 10px; font-size: .88rem; color: var(--text-muted) !important;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 0;
}
.donate-note i { color: var(--teal); margin-top: 3px; }
.cost-list { display: grid; gap: 8px; margin: 10px 0 14px; }
.cost-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--bg-2); border-radius: 8px; }
.cost-total { display: flex; justify-content: space-between; padding: 10px 12px; border-top: 1px solid var(--border); font-size: 1.05rem; }
.cost-progress { margin-top: 12px; }
.cost-progress[hidden] { display: none; }
.cost-progress .bar { height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.cost-progress .bar span { display: block; height: 100%; background: var(--grad-sunset); }
.cost-progress p { margin: 6px 0 0; }
.donate-faq { margin-top: 40px; max-width: 780px; }
.donate-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.donate-faq summary { cursor: pointer; font-weight: 600; }
.donate-faq details p { color: var(--text-muted); margin: 10px 0 0; }
.site-footer nav a i { color: var(--pink); margin-right: 3px; }

/* Dashboard: donatie-instellingen */
.donate-admin { margin-top: 20px; }
.donate-row { display: flex; gap: 12px; flex-wrap: wrap; }
.donate-row > div { display: flex; flex-direction: column; min-width: 160px; }
.donate-row .grow { flex: 1; }
.dn-costs { display: grid; gap: 6px; margin-bottom: 8px; }
.dn-cost { display: flex; gap: 8px; align-items: center; }
.dn-cost .dn-name { flex: 1; min-width: 0; }
.dn-small { width: 130px; }
.donate-form > .btn-sm { align-self: flex-start; }
.donate-form .btn-primary { align-self: flex-start; }
@media (max-width: 800px) { .donate-grid { grid-template-columns: 1fr; } }

/* ---------- Gekoppelde accounts ---------- */
.links-card { grid-column: 1 / -1; }
.link-list { display: grid; gap: 10px; margin-top: 12px; }
.link-item {
  --brand: #8b93a7;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border); border-left: 4px solid var(--brand);
  border-radius: 10px; padding: 12px 14px;
}
.brand-steam { --brand: #66c0f4; }
.brand-psn { --brand: #2f7fe0; }
.brand-xbox { --brand: #3dbb3d; }
.link-logo { font-size: 1.8rem; color: var(--brand); width: 36px; text-align: center; }
.link-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-info strong { display: inline; }
.link-status { font-size: .9rem; }
.is-linked .link-status { color: #7dffb0; }
.link-tag {
  align-self: flex-start;
  display: inline-block; margin-left: 0; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #ffe7a8; background: rgba(255, 211, 110, .12); padding: 2px 7px; border-radius: 999px; vertical-align: middle;
}
.btn-sm:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 560px) { .link-item { flex-wrap: wrap; } .link-actions { width: 100%; } }
