/* ==========================================================================
   NaughtyNaughty Events — Shared styles
   Aesthetic: near-black background, electric lime accent, deep crimson accent
   (matches existing fox/neon brand identity)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0b0e;
  --bg-raised: #15151a;
  --bg-card: #1b1b21;
  --line: #2a2a32;
  --text: #f2f0ea;
  --text-muted: #a7a4b0;
  --lime: #d7ff3f;
  --crimson: #c8203f;
  --crimson-soft: rgba(200, 32, 63, 0.18);
  --lime-soft: rgba(215, 255, 63, 0.12);
  --radius: 4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Work Sans', 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Aankondigingsbalk (admin > Instellingen > Algemeen) ---------- */
/* Los bovenaan <body> ingevoegd door main.js — staat vóór .site-header (die
   zelf sticky is), scrollt dus gewoon met de pagina mee weg. */

.announcement-bar {
  background: #ff3131;
  color: #fff;
  text-align: center;
  padding: 5px 20px;
  font-size: 13px;
  font-weight: 600;
}

.announcement-bar a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .announcement-bar { font-size: 12px; padding: 5px 16px; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 14, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 40px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--lime);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button.active {
  background: var(--lime);
  color: #14140f;
}

/* ---------- Mobile nav ---------- */

.site-header .wrap { position: relative; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-collapse { display: contents; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 24px;
    z-index: 60;
  }

  .nav-collapse.open { display: flex; }

  .main-nav { flex-direction: column; gap: 18px; }

  .header-right { flex-direction: column; align-items: stretch; gap: 16px; }

  .lang-switch { align-self: flex-start; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover { filter: brightness(1.08); }

.btn-primary {
  background: var(--lime);
  color: #14140f;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-crimson {
  background: var(--crimson);
  color: #fff;
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(200,32,63,0.28), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(215,255,63,0.08), transparent 50%),
    var(--bg);
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-media {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media.active { display: block; }

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,14,0.55), rgba(11,11,14,0.88)),
    radial-gradient(ellipse at 50% -10%, rgba(200,32,63,0.25), transparent 55%);
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lime);
  border: 1px solid rgba(215,255,63,0.35);
  background: var(--lime-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent { color: var(--crimson); font-style: normal; }

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Logo-marquee (partners/merken, onder de hero) ---------- */

.logo-marquee {
  display: none;
  padding: 18px 0;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logo-marquee.active { display: block; }

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation-name: logo-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.logo-marquee-track a {
  display: flex;
  align-items: center;
}

.logo-marquee-track img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.logo-marquee-track img:hover {
  opacity: 1;
  transform: scale(1.06);
}

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ---------- Sections ---------- */

section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 12px;
}

.section-head p { color: var(--text-muted); margin: 0; }

.section-alt { background: var(--bg-raised); }

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 20px;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 14px 0 8px;
}

.card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

.number-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: #14140f;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--text-muted); font-size: 14.5px; }
.check-list li::before { content: '✓'; color: var(--lime); font-weight: 700; flex-shrink: 0; }

/* Dresscode — iconkaarten per doelgroep (schoeisel/kleding/hygiëne-stijl grid) */
.dresscode-group { margin-bottom: 52px; }
.dresscode-group-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-align: center;
  margin: 0 0 26px;
}
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.icon-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  overflow: hidden;
}
.icon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
  pointer-events: none;
}
.icon-card-badge {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--lime-soft);
  border: 1px solid rgba(215,255,63,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card-badge svg { width: 28px; height: 28px; fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-card-badge img { width: 32px; height: 32px; object-fit: contain; }
.icon-card h4 { font-family: var(--font-display); font-size: 17px; margin: 0 0 8px; }
.icon-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* Showcase-stijl: grote foto naast tekst (titel + korte tekst + pijltjes),
   1 editie tegelijk zichtbaar. */
.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 40px;
  align-items: center;
}

.gallery-showcase-info { display: flex; flex-direction: column; gap: 4px; }

.gallery-counter {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 14px;
}

.gallery-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  min-height: 1.6em;
}

.gallery-nav { display: flex; gap: 10px; }

.gallery-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-nav-btn:hover { border-color: var(--lime); color: var(--lime); }

.gallery-showcase-media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: none;
  background-size: cover;
  background-position: center;
}
.gallery-slide.active { display: block; }

.gallery-slide.g1 { background: radial-gradient(circle at 30% 20%, #4a1226, #1a0810); }
.gallery-slide.g2 { background: radial-gradient(circle at 70% 30%, #2c2a0f, #0f0f10); }
.gallery-slide.g3 { background: radial-gradient(circle at 40% 70%, #331b3a, #100913); }

@media (max-width: 780px) {
  .gallery-showcase { grid-template-columns: 1fr; gap: 24px; }
  .gallery-showcase-media { order: -1; aspect-ratio: 1/1; }
}


/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 8px;
  padding: 56px 32px;
  background: linear-gradient(135deg, rgba(200,32,63,0.25), rgba(215,255,63,0.08));
  border: 1px solid var(--line);
}

.cta-banner h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 14px; }
.cta-banner p { color: var(--text-muted); margin: 0 0 26px; }

/* Optionele achtergrondfoto (admin > Instellingen) — behoudt hetzelfde
   kleurverloop als transparante overlay bovenop de foto. */
.section-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.section-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
}

.cta-banner .section-bg-image::after {
  background: linear-gradient(135deg, rgba(122,10,32,0.82), rgba(11,11,14,0.75));
}

.cta-banner > *:not(.section-bg-image) { position: relative; z-index: 1; }

.telegram-card {
  position: relative;
  overflow: hidden;
}

.telegram-card .section-bg-image::after {
  background: linear-gradient(135deg, rgba(122,10,32,0.72), rgba(11,11,14,0.88));
}

.telegram-card > *:not(.section-bg-image) { position: relative; z-index: 1; }

.events-hero {
  position: relative;
  overflow: hidden;
}

.events-hero > *:not(.hero-media) { position: relative; z-index: 1; }

/* ---------- Forms ---------- */

.form-page-head {
  padding: 70px 0 20px;
  text-align: center;
}

.form-page-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--crimson);
  margin-bottom: 8px;
}

.form-page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 46px);
  margin: 0 0 20px;
}

.form-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
}

.form-intro strong { color: var(--text); }

.rule-list {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  max-width: 420px;
  display: grid;
  gap: 8px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14.5px;
  text-align: center;
}

form.signup {
  max-width: 720px;
  margin: 48px auto 0;
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.field .req { color: var(--crimson); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime);
}

.field .hint { font-size: 12px; color: #726f7d; margin-top: 6px; }

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  background: var(--bg-card);
  cursor: pointer;
}

.file-drop:hover { border-color: var(--lime); }
.file-drop span.main { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.file-drop span.sub { display: block; font-size: 12px; color: var(--text-muted); }

fieldset.type-toggle {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

fieldset.type-toggle label {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

fieldset.type-toggle input { display: none; }

fieldset.type-toggle input:checked + span {
  color: var(--lime);
}

fieldset.type-toggle label:has(input:checked) {
  border-color: var(--lime);
  background: var(--lime-soft);
}

.partner-fields {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
}

.partner-fields > p.label-block {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
}

.consent-block { display: grid; gap: 12px; }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.consent-row input { margin-top: 3px; }
.consent-row a { color: var(--lime); text-decoration: underline; }

/* ---------- Legal / consent content pages ---------- */

.legal-page { max-width: 720px; margin: 0 auto; padding: 70px 24px 100px; }
.legal-page h1 { font-family: var(--font-display); font-size: 38px; margin-bottom: 8px; }
.legal-page .kicker { color: var(--crimson); font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.legal-page h2 { font-family: var(--font-display); font-size: 22px; margin-top: 40px; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15px; }

/* ---------- Verhaal-pagina's (bijv. Our Mission) — cliffhanger-ritme ---------- */

/* Een korte, op zichzelf staande regel (bijv. "Fuck it.") die de vaart erin
   houdt tussen twee alinea's — groot, kort, en met veel lucht eromheen. */
.story-beat {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--lime);
  text-align: center;
  margin: 46px 0;
  line-height: 1.3;
}

.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--text);
  text-align: center;
  max-width: 560px;
  margin: 40px auto;
  line-height: 1.5;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 44px 0;
  text-align: center;
}
.story-stats .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--lime);
  display: block;
}
.story-stats .label { color: var(--text-muted); font-size: 13px; margin-top: 6px; }

/* De allerlaatste regel van het verhaal, vlak voor de CTA — moet zwaarder
   wegen dan de tussentijdse story-beats, als een echte climax. */
.story-divider {
  width: 48px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  margin: 64px auto 30px;
}

.story-beat-finale {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.25;
  color: var(--lime);
  text-align: center;
  text-shadow: 0 0 28px rgba(215, 255, 63, 0.35);
  margin: 0 0 56px;
}

/* Kaarten met een genummerd badge (bijv. de drie beloftes) — badge en kop
   dicht bij elkaar, meer luchtte tussen kop en lopende tekst. */
.card .number-badge { margin-bottom: 16px; }
.card h3 { line-height: 1.3; }

@media (max-width: 640px) {
  .story-stats { grid-template-columns: 1fr; gap: 30px; }
  .story-beat { font-size: 22px; margin: 36px 0; }
  .story-beat-finale { font-size: 28px; margin-bottom: 40px; }
  .story-divider { margin: 46px auto 24px; }
}

/* ---------- Event card ---------- */

.event-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.event-flyer {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  background: radial-gradient(circle at 30% 20%, #4a1226, #14060c 75%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime);
  font-size: 15px;
  text-align: center;
  padding: 20px;
}

.event-body { padding: 30px; }
.event-body h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; color: var(--lime); }
.event-body .meta { color: var(--text-muted); font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.event-body p.desc { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; white-space: pre-line; }

.event-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.event-tabs button {
  flex: 1;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
}
.event-tabs button.active { background: var(--lime); color: #14140f; border-color: var(--lime); }

.event-panel { display: none; }
.event-panel.active { display: grid; gap: 12px; }

/* Ticket-embed (bijv. cm.com-iframe) — los van .event-card, want die heeft
   overflow:hidden (voor de afgeronde hoeken) en zou de iframe anders altijd
   afknippen op zijn eigen breedte. Op mobiel breekt deze bewust uit .wrap
   (volle viewportbreedte) zodat de ticketwidget genoeg ruimte krijgt om zijn
   eigen responsive layout goed te renderen. */
.ticket-embed-wrap { margin-top: 20px; }
.ticket-embed-wrap iframe { display: block; width: 100%; border: none; }

@media (max-width: 640px) {
  .ticket-embed-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 16px;
  }
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 13.5px;
}

footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

@media (max-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; } }

footer.site-footer h4 {
  color: var(--text);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

footer.site-footer a { display: block; margin-bottom: 8px; color: var(--text-muted); }
footer.site-footer a:hover { color: var(--lime); }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Qualify-funnel (/landing) ---------- */

.qualify-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 60px 20px 100px;
}

.qualify-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; color: var(--text-muted); font-size: 13px; }
.qualify-badges span { display: inline-flex; align-items: center; gap: 6px; }

.qualify-h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 40px);
  margin: 0 0 16px;
}

.qualify-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #14140f;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.qualify-lead { color: var(--text-muted); font-size: 15.5px; margin: 0 0 36px; max-width: 480px; }
.qualify-lead strong { color: var(--text); }

.qualify-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}

.qualify-step-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); }

.qualify-progress { height: 5px; background: var(--bg-raised); border-radius: 3px; overflow: hidden; margin-bottom: 30px; }
.qualify-progress-fill { height: 100%; background: var(--lime); border-radius: 3px; transition: width 0.3s ease; }

.qualify-question { font-family: var(--font-display); font-size: 22px; margin: 0 0 6px; }
.qualify-hint { color: var(--text-muted); font-size: 13.5px; margin: 0 0 22px; }

.qualify-options { display: grid; gap: 12px; margin-bottom: 26px; }

.qualify-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  color: var(--text);
}
.qualify-option:hover { border-color: var(--lime); }
.qualify-option.selected { border-color: var(--lime); background: var(--lime-soft); color: var(--lime); }
.qualify-option .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.qualify-option.selected .dot { border-color: var(--lime); background: var(--lime); }

.qualify-age-input {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  padding: 14px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.qualify-age-input:focus { outline: none; border-color: var(--lime); }

.qualify-trust { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.qualify-trust span {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.qualify-step { display: none; }
.qualify-step.active { display: block; }

.qualify-denied { text-align: center; padding: 20px 0; }
.qualify-denied h2 { font-family: var(--font-display); font-size: 24px; margin: 0 0 14px; }
.qualify-denied p { color: var(--text-muted); font-size: 15px; max-width: 440px; margin: 0 auto 26px; }

/* ---------- Accepted landingspagina (/accepted) ---------- */

.accepted-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 70px 20px 50px;
  background: linear-gradient(180deg, rgba(200,32,63,0.14), transparent 60%);
}
.accepted-hero .wrap { position: relative; z-index: 1; }

.accepted-h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 52px);
  margin: 14px 0 16px;
}
.accepted-h1 .accent { color: var(--crimson); font-style: normal; }

.accepted-lead { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 0 auto 30px; }

.gallery-block { margin-bottom: 44px; }
.gallery-block:last-child { margin-bottom: 0; }
.gallery-block-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.gallery-block-head h3 { font-family: var(--font-display); font-size: 22px; margin: 0; }
.gallery-block-head span { color: var(--text-muted); font-size: 13px; }

.photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 780px) {
  .photo-wall { grid-template-columns: 1fr; }
}
.photo-wall .tile {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--bg-raised);
  border: 1px solid var(--line);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 10px;
  background: var(--bg-card);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--lime); font-size: 20px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-muted); font-size: 14.5px; padding-bottom: 18px; margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; max-width: 620px; margin: 0 auto; }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(21, 21, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 2px solid rgba(215, 255, 63, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.sticky-cta-bar.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

.sticky-cta-inner { max-width: 1100px; margin: 0 auto; }
.sticky-cta-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.sticky-cta-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.sticky-cta-progress { height: 5px; background: var(--bg-raised); border-radius: 3px; overflow: hidden; }
.sticky-cta-progress-fill { height: 100%; width: 0%; background: var(--lime); border-radius: 3px; transition: width 0.1s linear; }

/* ---------- Admin ---------- */

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-raised);
  border-right: 1px solid var(--line);
  padding: 26px 18px;
}

.admin-sidebar .logo { margin-bottom: 30px; }
.admin-sidebar .logo .site-logo { height: 30px; }

.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: var(--bg-card); color: var(--lime); }

.admin-main { flex: 1; padding: 34px 40px; max-width: 1100px; min-width: 0; }
.admin-main h1 { font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; }
.admin-main .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }

.table-scroll { width: 100%; overflow-x: auto; }

@media (max-width: 860px) {
  .admin-shell { flex-direction: column; min-height: 0; }

  .admin-sidebar {
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
  }

  .admin-sidebar .logo { margin-bottom: 0; flex-shrink: 0; }

  .admin-sidebar nav {
    display: flex;
    grid-auto-flow: unset;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    padding-bottom: 2px;
  }

  .admin-sidebar nav a {
    white-space: nowrap;
    padding: 8px 12px;
    margin-top: 0 !important;
  }

  .admin-main { padding: 20px 16px; }
}

.demo-banner {
  background: var(--crimson-soft);
  border: 1px solid rgba(200,32,63,0.4);
  color: #ffb3bf;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius);
  margin-bottom: 26px;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.settings-tabs button {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.settings-tabs button:hover { border-color: var(--lime); color: var(--text); }
.settings-tabs button.active { background: var(--lime); color: #14140f; border-color: var(--lime); }

.settings-tab-panel { display: none; margin-bottom: 16px; }
.settings-tab-panel.active { display: block; }

#settingsForm { max-width: 640px; }

.settings-section-body {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.admin-table th {
  text-align: left;
  color: var(--text-muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
table.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }

.badge { padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.badge.pending { background: #3a3620; color: #e4d97f; }
.badge.approved { background: #1e3a24; color: #8fd99f; }
.badge.rejected { background: #3a1e22; color: #d9909a; }

.row-actions { display: flex; gap: 8px; }
.row-actions button {
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
}
.row-actions button.approve:hover { border-color: var(--lime); color: var(--lime); }
.row-actions button.reject:hover { border-color: var(--crimson); color: #ff8290; }

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 20%, rgba(200,32,63,0.2), transparent 60%), var(--bg);
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}

.login-card h1 { font-family: var(--font-display); font-size: 22px; margin: 0 0 4px; text-align: center; }
.login-card .sub { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-bottom: 26px; }
.login-card form { display: grid; gap: 16px; }
.login-error {
  display: none;
  background: var(--crimson-soft);
  color: #ffb3bf;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-top: 4px;
}

/* ---------- Kandidaat-detailmodal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}

.modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 720px;
  width: 100%;
  padding: 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 4px;
  padding-right: 40px;
}

.modal .modal-sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }

.modal-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.modal-photos a {
  display: block;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-raised);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.modal-photos a span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: var(--text);
  font-size: 11.5px;
  padding: 16px 8px 6px;
  text-align: center;
}

.modal-photos .no-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #726f7d;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}

.member-photo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-raised);
}

.member-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover { background: rgba(0, 0, 0, 0.8); color: var(--lime); }
.carousel-arrow.left { left: 8px; }
.carousel-arrow.right { right: 8px; }

.carousel-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: var(--text);
  font-size: 11.5px;
  padding: 16px 10px 6px;
}

.modal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 24px;
}

.modal-fields div { font-size: 14px; }
.modal-fields .modal-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.modal-message {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  white-space: pre-wrap;
}

@media (max-width: 640px) {
  .modal-fields { grid-template-columns: 1fr; }
}

/* ---------- Analytics ---------- */

.stat-bar-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 13px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2px;
}

.stat-bar-row .bar-fill {
  position: absolute;
  inset: 0;
  right: auto;
  background: var(--lime-soft);
  border-radius: 4px;
  z-index: 0;
}

.stat-bar-row span { position: relative; z-index: 1; }
.stat-bar-row .bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-bar-row .bar-value { color: var(--text-muted); font-weight: 600; flex-shrink: 0; }
.stat-bar-empty { color: #726f7d; font-size: 13px; padding: 8px 10px; }

.count-pill {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.stat-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
}

/* ---------- Gallery Manager (admin, /accepted landingspagina) ---------- */

.gallery-manager-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.gallery-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.gallery-card-head h3 { margin: 0; font-size: 16.5px; }
.gallery-card-date { color: var(--text-muted); font-size: 12.5px; margin-bottom: 10px; }
.gallery-card-count { color: var(--text-muted); font-size: 12.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.gallery-card-actions { display: grid; gap: 8px; }
.gallery-card-actions button { width: 100%; }

.gallery-photo-tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-raised);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.gallery-photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--crimson);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-photo-delete:hover { background: #a01730; }
