/* ==========================================================================
   LANDINGSPAGINA (index.html)
   Uitleg over QuizMe voor nieuwe bezoekers. De themakeuze zelf staat op spelen.html.
   Kleuren enkel via de variabelen uit base.css, zodat Neon en Kerst allebei werken.
   Deze pagina moet ook goed werken op een gsm (bezoekers via social media).
   ========================================================================== */

body.landing-page {
  display: block;
  height: auto;
  min-height: 100vh;
  width: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 1.25rem;
}

.landing-page main,
.lp-nav {
  max-width: 1120px;
  margin: 0 auto;
}

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

/* --- Bouwstenen ---------------------------------------------------------- */
.lp-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.lp-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-btn-primary {
  background: var(--accent-gradient);
  color: var(--on-accent);
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.3);
}
.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.45);
}
.lp-btn-ghost {
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--text-main);
}
.lp-btn-ghost:hover { border-color: var(--accent-primary); }
.lp-btn-small { padding: 0.55rem 1rem; font-size: 0.9rem; }

/* --- Kop ----------------------------------------------------------------- */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.lp-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  text-decoration: none;
}
.lp-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lp-nav-links { display: flex; gap: 1.5rem; }
.lp-nav-links a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.lp-nav-links a:hover { color: var(--text-main); }

.lp-nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* --- Hero ---------------------------------------------------------------- */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.lp-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 1.1rem;
}

.lp-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.lp-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.lp-facts {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.lp-facts li { display: flex; flex-direction: column; }
.lp-facts strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-primary);
  line-height: 1.1;
}
.lp-facts span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Voorbeeld-tv. Tekst op de foto blijft wit/donker in elke stijl (zie CLAUDE.md). */
.lp-tv { margin: 0; }
.lp-tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 10px solid var(--surface);
  outline: 1px solid var(--card-border);
  box-shadow:
    0 0 60px rgba(var(--accent-rgb), 0.25),
    0 20px 50px rgba(var(--shadow-rgb), 0.5);
  background: var(--surface);
}
.lp-tv-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-tv-round {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lp-tv-clock {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  border: 3px solid var(--accent-primary);
  color: #fff;
  font-family: monospace;
  font-size: 1.3rem;
  font-weight: 900;
}
.lp-tv-teams {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding: 2.2rem 0.6rem 0.6rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.lp-tv-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.lp-tv-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-tv-team strong { font-family: monospace; font-size: 1rem; }
.lp-tv-team.is-turn {
  background: rgba(var(--accent-rgb), 0.35);
  box-shadow: inset 0 0 0 2px var(--accent-primary);
}
.lp-tv-stand {
  width: 30%;
  height: 10px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: var(--surface-3);
}

/* --- Secties ------------------------------------------------------------- */
.lp-section { padding: 3.5rem 0 0; }
.lp-section > h2,
.lp-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.lp-steps,
.lp-audience {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.lp-audience { grid-template-columns: repeat(4, 1fr); }
.lp-steps { counter-reset: step; }
.lp-steps li,
.lp-audience li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem;
}
.lp-steps li { counter-increment: step; }
.lp-steps li::after {
  content: counter(step);
  order: -1;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.4rem;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--on-accent);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-steps strong,
.lp-audience strong { font-size: 1.05rem; }
.lp-steps span,
.lp-audience span { color: var(--text-muted); line-height: 1.5; font-size: 0.95rem; }

/* Seconden = score */
.lp-highlight {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding: 2rem;
}
.lp-highlight h2 { margin-bottom: 0.6rem; }
.lp-highlight p { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }
.lp-highlight-clock {
  flex: 0 0 auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--accent-primary);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.35);
  font-family: monospace;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-primary);
}

/* Rondes */
.lp-rounds {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.lp-round { padding: 1.3rem; }
.lp-round-nr {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.6rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-round h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 0.4rem; }
.lp-round p { color: var(--text-muted); line-height: 1.5; font-size: 0.9rem; }

/* Thema's */
.lp-themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.lp-theme {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-theme:hover { transform: translateY(-3px); border-color: var(--accent-primary); }
.lp-theme img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.lp-theme div { padding: 1rem 1.1rem 1.2rem; }
.lp-theme h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: 0.35rem; }
.lp-theme p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }
.lp-center { text-align: center; }

/* Eigen thema */
.lp-maker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.5rem;
  padding: 2rem;
}
.lp-maker h2 { margin-bottom: 0.6rem; }
.lp-maker p { color: var(--text-muted); line-height: 1.6; max-width: 40rem; }
.lp-maker .lp-btn { flex: 0 0 auto; }

/* Vragen */
.lp-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.lp-faq details { padding: 1rem 1.2rem; }
.lp-faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  color: var(--accent-primary);
  font-weight: 900;
}
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p {
  margin-top: 0.7rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Afsluiter */
.lp-final {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}



/* --- Kleinere schermen ---------------------------------------------------- */
/* 4 kaarten: 4 → 2 → 1 kolommen, zodat er nooit één kaart alleen op een rij staat */
@media (max-width: 1000px) {
  .lp-rounds { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .lp-themes,
  .lp-audience { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
  .lp-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem 0 2.5rem;
  }
  .lp-faq { grid-template-columns: 1fr; }
  .lp-maker { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body.landing-page { padding: 0 1rem; }
  .lp-steps,
  .lp-themes,
  .lp-audience { grid-template-columns: 1fr; }
  .lp-nav-actions [data-style-toggle] { display: none; }
  .lp-facts { gap: 1.4rem; }
  .lp-highlight { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.5rem; }
  .lp-highlight-clock { width: 5rem; height: 5rem; font-size: 1.9rem; }
  .lp-tv-screen { border-width: 6px; }
  .lp-tv-teams { grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding: 1.5rem 0.35rem 0.35rem; }
  .lp-tv-team { flex-direction: column; align-items: flex-start; gap: 0; font-size: 0.6rem; padding: 0.25rem 0.4rem; }
  .lp-tv-team strong { font-size: 0.85rem; }
  .lp-tv-clock { width: 2.4rem; height: 2.4rem; font-size: 1rem; border-width: 2px; }
  .lp-tv-round { font-size: 0.6rem; }
}

/* "Juist"-flits op de voorbeeld-tv (js/landing.js) */
.lp-tv-team.is-correct {
  background: rgba(var(--correct-rgb), 0.55);
  box-shadow: inset 0 0 0 2px var(--correct);
}

/* Inschrijven */
.lp-signup {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  padding: 2rem;
}
.lp-signup-text p { color: var(--text-muted); line-height: 1.6; }
.lp-signup-text h2 { margin-bottom: 0.6rem; }
.lp-form { display: flex; flex-direction: column; gap: 0.9rem; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.lp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
}
.lp-optional { color: var(--text-muted); font-weight: 600; }
.lp-field :is(input, select) {
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background-color: var(--surface);
  color: var(--text-main);
}
.lp-field :is(input, select):focus { border-color: var(--accent-primary); outline: none; }
.lp-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.lp-check input { margin-top: 0.25rem; accent-color: var(--accent-primary); width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.lp-check a,
.lp-faq a { color: var(--accent-primary); }
.lp-form .lp-btn { align-self: flex-start; border: none; cursor: pointer; font-family: inherit; }
.lp-form .lp-btn:disabled { opacity: 0.6; cursor: wait; }
.lp-hp { position: absolute; left: -9999px; }
.lp-form-status {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: rgba(var(--correct-rgb), 0.15);
  border: 1px solid rgba(var(--correct-rgb), 0.5);
  font-weight: 700;
}
.lp-form-status.is-error {
  background: rgba(var(--danger-rgb), 0.15);
  border-color: rgba(var(--danger-rgb), 0.5);
}
.lp-maker p + p { margin-top: 0.6rem; }

@media (max-width: 860px) {
  .lp-signup { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .lp-signup { padding: 1.5rem; }
  .lp-form-row { grid-template-columns: 1fr; }
}

/* Privacyverklaring (privacy.html) */
.lp-legal {
  max-width: 760px;
  padding: 2rem 0 3rem;
  line-height: 1.65;
}
.lp-legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 0.3rem; }
.lp-legal h2 { font-size: 1.3rem; font-weight: 900; margin: 2rem 0 0.6rem; }
.lp-legal h3 { font-size: 1.02rem; font-weight: 800; margin: 1.2rem 0 0.3rem; }
.lp-legal p,
.lp-legal li { color: var(--text-muted); }
.lp-legal p + p { margin-top: 0.7rem; }
.lp-legal ul { padding-left: 1.3rem; margin: 0.5rem 0; }
.lp-legal li + li { margin-top: 0.3rem; }
.lp-legal strong { color: var(--text-main); }
.lp-legal a { color: var(--accent-primary); }
.lp-legal-date { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Voettekst (zelfde uitzicht als op spelen.html, maar selection.css laadt hier niet) */
.lp-footer { text-align: center; padding: 0.5rem 0 2rem; }
.lp-footer a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.lp-footer a:hover { color: var(--accent-primary); }
.lp-footer .footer-sep { color: var(--text-muted); margin: 0 0.5rem; font-size: 0.85rem; }

/* Knop "Blijf op de hoogte" in de kop: korter label op een gsm */
.lp-short { display: none; }
@media (max-width: 560px) {
  .lp-long { display: none; }
  .lp-short { display: inline; }
  .lp-nav-actions { gap: 0.5rem; }
  .lp-nav-actions .lp-btn-small { padding: 0.5rem 0.75rem; }
}

/* Logo: stopwatch-Q (inline SVG, kleuren volgen de stijl) + woordmerk in Outfit (fonts/, SIL OFL) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/outfit-800-latin.woff2') format('woff2');
}
.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: -0.03em;
}
.lp-logo-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
