/* ===========================================================
   Welke film moet ik kijken? — stylesheet
   =========================================================== */

:root {
  --bg: #0b0d14;
  --bg-soft: #12151f;
  --bg-card: #171a26;
  --bg-card-hover: #1d2130;
  --border: #262a3a;
  --text: #f2f3f7;
  --text-muted: #9497ab;
  --text-faint: #6b6e82;
  --accent: #ef2d56;
  --accent-2: #ff6b6b;
  --accent-gradient: linear-gradient(135deg, #ef2d56 0%, #ff7a45 100%);
  --yellow: #ffcb45;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --max-width: 1160px;
}

html[data-theme="light"] {
  --bg: #f6f6fa;
  --bg-soft: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f2f8;
  --border: #e3e4ee;
  --text: #14151f;
  --text-muted: #52546a;
  --text-faint: #85879c;
  --shadow: 0 20px 50px rgba(20, 21, 31, 0.10);
}

html[data-theme="light"] .site-header {
  background: rgba(246, 246, 250, 0.88);
}

html[data-theme="light"] .kicker {
  background: rgba(239, 45, 86, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; color: var(--text-muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 44px; width: auto; }
.brand-logo-small { height: 34px; margin-bottom: 10px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.site-nav a.active { color: var(--accent-2); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
}
.lang-switch a { color: var(--text-faint); }
.lang-switch a.active { color: var(--accent-2); }
.lang-sep { color: var(--text-faint); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  margin-left: 6px;
  padding: 0;
}
.theme-toggle:hover { border-color: var(--text-faint); }
.theme-icon { font-size: 1rem; line-height: 1; position: absolute; transition: opacity 0.15s ease, transform 0.15s ease; }
.theme-icon-moon { opacity: 1; }
.theme-icon-sun { opacity: 0; transform: scale(0.7); }
html[data-theme="light"] .theme-icon-moon { opacity: 0; transform: scale(0.7); }
html[data-theme="light"] .theme-icon-sun { opacity: 1; transform: scale(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(239, 45, 86, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(239, 45, 86, 0.5); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-faint); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(239, 45, 86, 0.25), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.kicker {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(239, 45, 86, 0.12);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-note { font-size: 0.85rem; color: var(--text-faint); }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}
.step-card h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 10px; }
.step-card p { margin: 0; font-size: 0.95rem; }

.seo-block {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.seo-block .container { max-width: 760px; text-align: center; }
.seo-block h2 { font-size: 1.6rem; }
.seo-block p { font-size: 1rem; }

.cta-block { text-align: center; }
.cta-block h2 { margin-bottom: 26px; font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- Advertentiebanner ---------- */
.ad-banner { padding: 0 0 40px; }
.ad-banner-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 26px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.ad-label {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 2px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.ad-banner-box h3 { font-size: 1.15rem; margin-bottom: 6px; }
.ad-banner-box p { font-size: 0.9rem; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-soft);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.footer-brand p { max-width: 380px; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 640px; margin: 0 auto; padding: 60px 0 100px; }
.quiz-header { text-align: center; margin-bottom: 34px; }
.quiz-header h1 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}
.progress-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 40px;
}

.quiz-step { display: none; animation: fadeIn 0.25s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }

.quiz-step h2 { font-size: 1.4rem; text-align: center; margin-bottom: 6px; }
.quiz-step .step-subtitle { text-align: center; font-size: 0.9rem; margin-bottom: 26px; }

.option-list { display: flex; flex-direction: column; gap: 12px; }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.option-card {
  position: relative;
  display: block;
  cursor: pointer;
}
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card .option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.option-card input:checked + .option-label {
  border-color: var(--accent-2);
  background: linear-gradient(135deg, rgba(239,45,86,0.16), rgba(255,122,69,0.10));
}
.option-card:hover .option-label { border-color: var(--text-faint); }
.option-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
}
.option-card input:checked ~ .option-label .option-check { border-color: var(--accent-2); }
.option-card input:checked ~ .option-label .option-check::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
label.chip { display: inline-flex; align-items: center; }
label.chip:has(input:checked) {
  border-color: var(--accent-2);
  background: linear-gradient(135deg, rgba(239,45,86,0.18), rgba(255,122,69,0.12));
  color: #fff;
}

.tag-input-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 12px 14px;
}
.tag-input-wrap input[type="text"] {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  padding: 6px 4px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  border-radius: 999px;
  background: rgba(239, 45, 86, 0.14);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
}
.tag-pill button {
  background: transparent;
  border: none;
  color: var(--accent-2);
  cursor: pointer;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
}
.tag-pill button:hover { background: rgba(239,45,86,0.25); }

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.quiz-nav .spacer { flex: 1; }

/* ---------- Resultaat ---------- */
.result-wrap { max-width: 880px; margin: 0 auto; padding: 60px 0 100px; }
.result-kicker { text-align: center; font-size: 1.05rem; font-weight: 700; color: var(--accent-2); margin-bottom: 24px; }

.result-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.result-poster {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.result-poster img { width: 100%; height: 100%; object-fit: cover; }
.result-poster .poster-fallback {
  color: rgba(255,255,255,0.9);
  font-weight: 800;
  font-size: 1.3rem;
  text-align: center;
  padding: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.result-poster .poster-icon { font-size: 3rem; margin-bottom: 10px; display:block; }

.result-body { display: flex; flex-direction: column; }
.match-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.match-badge .num { font-size: 1.15rem; }
.match-badge .txt { font-size: 0.8rem; opacity: 0.9; }

.result-title { font-size: 1.9rem; margin-bottom: 4px; }
.result-year { color: var(--text-faint); font-weight: 600; margin-bottom: 18px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.meta-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.why-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.why-box h3 { font-size: 0.95rem; margin-bottom: 6px; color: var(--text); }
.why-box p { margin: 0; font-size: 0.92rem; }

.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.result-empty, .result-exhausted {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ---------- Blogs ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 0 60px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.blog-card:hover { border-color: var(--text-faint); transform: translateY(-2px); }
.blog-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(239, 45, 86, 0.12);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.92rem; flex: 1; }
.blog-meta { font-size: 0.78rem; color: var(--text-faint); margin: 10px 0 14px; }
.blog-card .btn { align-self: flex-start; }

.blog-post-wrap { max-width: 720px; margin: 0 auto; padding: 50px 0 90px; }
.blog-post-back { display: inline-block; margin-bottom: 20px; color: var(--text-faint); font-weight: 600; font-size: 0.9rem; }
.blog-post-back:hover { color: var(--text); }
.blog-post-tag { margin-bottom: 14px; }
.blog-post-wrap h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.blog-post-meta { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 34px; }
.blog-post-body p { font-size: 1.04rem; color: var(--text-muted); margin-bottom: 1.3em; }
.blog-featured {
  margin: 34px 0;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.blog-featured h3 { font-size: 0.9rem; margin-bottom: 12px; }
.blog-featured .chip-grid { justify-content: flex-start; }
.blog-featured .chip { cursor: default; }
.blog-post-cta {
  text-align: center;
  margin-top: 44px;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.blog-post-cta h3 { font-size: 1.25rem; margin-bottom: 6px; }

/* ---------- Over ons / Contact ---------- */
.page-hero {
  text-align: center;
  padding: 70px 0 20px;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); }

.content-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0;
}
.content-block h2 { font-size: 1.4rem; margin-bottom: 12px; }
.content-block p { font-size: 1.02rem; }

.roadmap-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.roadmap-tags span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field input,
.form-field textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent-2); }
.form-field textarea { resize: vertical; min-height: 130px; }

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-alert.success { background: rgba(60, 200, 120, 0.14); color: #4fd88a; border: 1px solid rgba(60,200,120,0.3); }
.form-alert.error { background: rgba(239, 45, 86, 0.12); color: var(--accent-2); border: 1px solid rgba(239,45,86,0.3); }

.social-links { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
}
.social-links a:hover { color: var(--text); border-color: var(--text-faint); }

/* ---------- Scroll-animaties ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .result-poster { max-width: 220px; margin: 0 auto; }
  .blog-grid { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 16px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .lang-switch { border-left: none; padding-left: 0; margin-left: 0; }
  .option-grid { grid-template-columns: 1fr; }
}
