﻿/* ============================================
   WMC Kerkrade 2026 - Interactive Digital Narrative
   Based on WMC 2026 Styleguide (260326)
   Font: Aeonik -> DM Sans (closest free alternative)
   Colors: Official WMC kleurenpalet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,700;1,9..40,400&display=swap');

/* --- WMC 2026 Official Color Palette --- */
:root {
  --wmc-zwart: #000000;
  --wmc-wit: #ffffff;
  --wmc-geel: #ffdd00;
  --wmc-blauw: #1bafe6;
  --wmc-roze: #e73089;
  --wmc-paars: #59358b;
  --wmc-oranje: #ff6e00;
  --wmc-groen: #289b38;
  --wmc-rood: #e30513;
  --wmc-grijs-dark: #111111;
  --wmc-grijs-mid: #1a1a1a;
  --wmc-grijs-light: #2a2a2a;
  --wmc-grijs-border: #333333;
  --wmc-grijs-text: #999999;
  --scene-accent: #ffdd00;
  --transition-slow: 0.8s ease;
  --transition-med: 0.4s ease;
  --transition-fast: 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  background: radial-gradient(ellipse at 50% 0%, #0d0d0d 0%, #000000 70%);
  background-color: var(--wmc-zwart);
  color: var(--wmc-wit);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

#viva-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.18;
}

.wmc-circle-bg {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.06);
  pointer-events: none; z-index: 0;
}

#game-container {
  position: relative; z-index: 1; max-width: 720px;
  margin: 0 auto; padding: 2rem 1.5rem;
  min-height: 100vh; display: flex; flex-direction: column;
}

/* TITLE SCREEN */
#title-screen {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; min-height: 100vh; text-align: center;
  animation: fadeIn 2s ease;
}
#title-screen.hidden { display: none; }

/* LANGUAGE SELECTION SCREEN */
#language-screen {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 500; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 0%, #0d0d0d 0%, #000000 70%);
  animation: fadeIn 1s ease;
}
#language-screen.hidden {
  display: none;
}
.lang-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2rem;
}
.lang-inner .wmc-logo-img {
  width: 180px; max-width: 50vw; margin-bottom: 2.5rem;
}
.lang-title {
  font-weight: 700; font-size: 1.1rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--wmc-wit); margin-bottom: 2.5rem;
}
.lang-buttons {
  display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
}
.lang-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; width: 200px; padding: 2rem 1.5rem;
  background: var(--wmc-grijs-mid); border: 2px solid var(--wmc-grijs-border);
  color: var(--wmc-wit); cursor: pointer; transition: all var(--transition-med);
  font-family: 'DM Sans', sans-serif;
}
.lang-btn:hover {
  border-color: var(--wmc-geel); background: var(--wmc-grijs-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 221, 0, 0.1);
}
.lang-btn-label {
  font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.3rem;
}
.lang-btn-sub {
  font-size: 0.75rem; color: var(--wmc-grijs-text); font-weight: 400;
}

/* INTRO & HOW-TO SECTIONS */
.intro-text {
  font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.7);
  max-width: 520px; margin-bottom: 1.5rem; line-height: 1.8;
}
.intro-text strong {
  color: var(--wmc-geel); font-weight: 700;
}
.how-section {
  max-width: 480px; margin-bottom: 2.5rem; text-align: left;
  background: rgba(255,255,255,0.03); border: 1px solid var(--wmc-grijs-border);
  padding: 1.5rem 2rem; border-radius: 4px;
}
.how-title {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--wmc-geel); margin-bottom: 1rem;
}
.how-steps {
  list-style: none; counter-reset: how-counter; padding: 0; margin: 0;
}
.how-steps li {
  counter-increment: how-counter; position: relative;
  padding-left: 2rem; margin-bottom: 0.8rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.how-steps li::before {
  content: counter(how-counter);
  position: absolute; left: 0; top: 0;
  font-weight: 700; font-size: 0.8rem;
  color: var(--wmc-geel); width: 1.4rem; text-align: center;
}
.how-steps li strong {
  color: var(--wmc-wit); font-weight: 700;
}
#title-screen .wmc-logo-text {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--wmc-wit); margin-bottom: 1.5rem;
}
.wmc-logo-img {
  width: 220px; max-width: 60vw; height: auto; margin-bottom: 2rem;
  filter: brightness(1.1);
  animation: fadeIn 2s ease;
}
#title-screen h1 {
  font-weight: 700; font-size: 4rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--wmc-wit); margin-bottom: 0.4rem; line-height: 1.1;
}
#title-screen h1::after {
  content: ''; display: block; margin: 1rem auto 0; width: 200px; height: 4px;
  background: linear-gradient(90deg, var(--wmc-rood), var(--wmc-oranje), var(--wmc-geel), var(--wmc-groen), var(--wmc-blauw), var(--wmc-paars), var(--wmc-roze));
}
#title-screen .subtitle {
  font-size: 1rem; font-weight: 400; color: var(--wmc-grijs-text);
  margin-bottom: 0.3rem; letter-spacing: 0.1em;
}
#title-screen .year {
  font-weight: 700; font-size: 5rem; color: var(--wmc-geel);
  margin-bottom: 2.5rem; line-height: 1;
  text-shadow: 0 0 60px rgba(255,221,0,0.3);
}
#title-screen .tagline {
  font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.6);
  max-width: 520px; margin-bottom: 2rem; line-height: 1.9;
}

/* Viva la Vida floating shapes */
.viva-shape { position: absolute; border-radius: 50%; opacity: 0.9; pointer-events: none; }
.viva-shape-1 { width: 18px; height: 18px; background: var(--wmc-geel); top: 15%; left: 8%; }
.viva-shape-2 { width: 24px; height: 24px; background: var(--wmc-roze); top: 20%; right: 12%; }
.viva-shape-3 { width: 14px; height: 14px; background: var(--wmc-blauw); bottom: 25%; left: 5%; }
.viva-shape-4 { width: 20px; height: 20px; background: var(--wmc-groen); bottom: 18%; right: 8%; }
.viva-shape-5 { width: 12px; height: 12px; background: var(--wmc-oranje); top: 40%; left: 3%; }
.viva-shape-6 { width: 16px; height: 16px; background: var(--wmc-paars); top: 60%; right: 5%; }
.viva-shape-7 { width: 10px; height: 10px; background: var(--wmc-rood); bottom: 35%; left: 12%; }

@keyframes floatShape { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12px); } }
.viva-shape-1 { animation: floatShape 4s ease-in-out infinite; }
.viva-shape-2 { animation: floatShape 5s ease-in-out infinite 0.5s; }
.viva-shape-3 { animation: floatShape 3.5s ease-in-out infinite 1s; }
.viva-shape-4 { animation: floatShape 4.5s ease-in-out infinite 1.5s; }
.viva-shape-5 { animation: floatShape 3s ease-in-out infinite 0.3s; }
.viva-shape-6 { animation: floatShape 5.5s ease-in-out infinite 0.8s; }
.viva-shape-7 { animation: floatShape 4s ease-in-out infinite 1.2s; }

.start-btn {
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 0.9rem 2.8rem; background: var(--wmc-rood); color: var(--wmc-wit);
  border: none; cursor: pointer; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all var(--transition-med);
}
.start-btn:hover { background: var(--wmc-wit); color: var(--wmc-zwart); }

/* CHAPTER SPLASH */
.chapter-splash {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 40vh; text-align: center;
  position: relative; margin-bottom: 2rem;
  animation: fadeIn 1.2s ease;
}
.chapter-accent-line {
  width: 60px; height: 4px; margin-bottom: 2rem;
  background: var(--scene-accent);
}
.chapter-splash .chapter-number {
  font-weight: 700; font-size: 0.85rem; color: var(--scene-accent);
  letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.chapter-splash .chapter-title {
  font-weight: 700; font-size: 2.5rem; text-transform: uppercase;
  color: var(--wmc-wit); letter-spacing: 0.06em; line-height: 1.1;
}

/* SCENE LOCATION */
.scene-location {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--wmc-grijs-text); margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--wmc-grijs-border);
}
.location-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; background: var(--scene-accent);
}

/* STORY SCENE */
#story-scene { display: none; flex-direction: column; flex: 1; animation: fadeIn 0.6s ease; }
#story-scene.active { display: flex; }

/* NARRATIVE TEXT */
.narrative-block { margin-bottom: 1.8rem; }

/* BEATS — revealed progressively */
.beat {
  animation: beatIn 0.6s ease forwards;
  margin-bottom: 0.5rem; padding-bottom: 0.5rem;
}
@keyframes beatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TAP TO CONTINUE */
.tap-continue {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin: 2rem auto; padding: 0.7rem 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s ease;
}
.tap-continue:hover {
  border-color: var(--scene-accent);
  color: var(--scene-accent);
}
.tap-arrow { font-size: 0.6rem; animation: tapBounce 1.5s ease-in-out infinite; }
@keyframes tapBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.narrative-text { font-size: 1.08rem; font-weight: 400; line-height: 1.9; color: rgba(255,255,255,0.92); margin-bottom: 1rem; }
.narrative-text p { margin-bottom: 1.2rem; }
.narrative-text p:last-child { margin-bottom: 0; }
.narrative-text em { color: var(--wmc-geel); font-style: italic; }
.narrative-text strong { font-weight: 700; color: var(--wmc-wit); }
.narrative-text .dialogue {
  font-style: italic; color: var(--wmc-wit); padding: 1rem 1.2rem;
  border-left: 3px solid var(--wmc-blauw); margin: 1.4rem 0; display: block;
  line-height: 1.7; background: rgba(255,255,255,0.03); border-radius: 0 4px 4px 0;
}
.narrative-text .speaker {
  font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.15em; display: block; margin-bottom: 0.3rem; font-style: normal;
  color: var(--wmc-blauw);
}
.narrative-text .scene-break {
  display: none;
}

/* Rotate speaker colors */
.narrative-text .dialogue:nth-of-type(3n+1) { border-left-color: var(--wmc-blauw); }
.narrative-text .dialogue:nth-of-type(3n+1) .speaker { color: var(--wmc-blauw); }
.narrative-text .dialogue:nth-of-type(3n+2) { border-left-color: var(--wmc-oranje); }
.narrative-text .dialogue:nth-of-type(3n+2) .speaker { color: var(--wmc-oranje); }
.narrative-text .dialogue:nth-of-type(3n) { border-left-color: var(--wmc-groen); }
.narrative-text .dialogue:nth-of-type(3n) .speaker { color: var(--wmc-groen); }

/* NARRATION HIGHLIGHT — currently spoken element */
.narration-highlight {
  background: rgba(255, 221, 0, 0.08);
  border-radius: 4px;
  transition: background 0.3s ease;
}

/* AUDIO NARRATION BAR */
/* AUDIO FAB — small play/pause button, bottom-left */
.audio-fab {
  position: fixed;
  bottom: -60px;
  left: 1.5rem;
  z-index: 400;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 17, 17, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease,
              color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
.audio-fab.visible {
  bottom: 1.5rem;
  pointer-events: auto;
}
.audio-fab:hover {
  border-color: var(--scene-accent);
  color: var(--scene-accent);
}
.audio-fab.active {
  border-color: rgba(255, 221, 0, 0.4);
  color: var(--wmc-geel);
  background: rgba(17, 17, 17, 0.85);
  box-shadow: 0 0 12px rgba(255, 221, 0, 0.15);
}
.audio-fab-icon {
  font-size: 0.85rem;
  line-height: 1;
  margin-left: 2px; /* optical centering for ▶ */
}
.audio-fab.active .audio-fab-icon {
  margin-left: 0;
}

/* BLOB DECORATIONS — side decorations */
#blob-decorations {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2; overflow: hidden;
  opacity: 0; transition: opacity 1s ease;
}
#blob-decorations.active { opacity: 1; }
.blob-decor {
  position: absolute;
  width: 120px; height: auto;
  opacity: 0.12;
  filter: blur(0.5px);
  transition: all 1.5s ease;
  animation: blobFloat 6s ease-in-out infinite;
}
.blob-decor:nth-child(even) { animation-direction: reverse; }
.blob-decor.blob-left { left: 2vw; }
.blob-decor.blob-right { right: 2vw; }
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(3deg); }
  66% { transform: translateY(10px) rotate(-2deg); }
}

/* DIVIDERS */
.divider {
  text-align: center; margin: 2rem 0; display: flex;
  justify-content: center; gap: 8px; align-items: center;
}

/* CHOICES */
.choices-container {
  padding-top: 2rem; border-top: 1px solid var(--wmc-grijs-border);
}
.choices-prompt {
  font-weight: 700; font-size: 0.85rem; color: var(--wmc-geel);
  letter-spacing: 0.2em; margin-bottom: 1rem; text-transform: uppercase;
}
.choice-btn {
  display: block; width: 100%; text-align: left; padding: 1.5rem 1.8rem;
  margin-bottom: 1rem; background: var(--wmc-grijs-mid);
  border: 2px solid var(--wmc-grijs-border); color: var(--wmc-wit);
  font-family: 'DM Sans', sans-serif; font-size: 1rem; cursor: pointer;
  transition: all var(--transition-med); line-height: 1.6; position: relative; overflow: hidden;
}
.choice-btn::before {
  content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  transform: scaleY(0); transition: transform var(--transition-med);
}
.choice-btn:first-of-type::before { background: var(--wmc-rood); }
.choice-btn:nth-of-type(2)::before { background: var(--wmc-blauw); }
.choice-btn:hover {
  background: var(--wmc-grijs-light); border-color: var(--wmc-wit);
  padding-left: 2.2rem; transform: translateX(4px);
}
.choice-btn:hover::before { transform: scaleY(1); }
.choice-btn .choice-label {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--wmc-wit); display: block; margin-bottom: 0.4rem; font-size: 1.05rem;
}
.choice-btn:first-of-type:hover .choice-label { color: var(--wmc-rood); }
.choice-btn:nth-of-type(2):hover .choice-label { color: var(--wmc-blauw); }
.choice-btn .choice-desc { font-size: 0.9rem; color: var(--wmc-grijs-text); font-weight: 400; line-height: 1.6; }

/* CONTINUE BUTTON */
.continue-btn {
  display: inline-block; margin-top: 2.5rem; padding: 1rem 2.5rem;
  background: transparent; border: 2px solid var(--scene-accent); color: var(--scene-accent);
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all var(--transition-med); text-align: center; align-self: center;
}
.continue-btn:hover { background: var(--scene-accent); color: var(--wmc-zwart); }

/* ENDING SCREEN */
.ending-screen { text-align: center; padding: 3rem 0; }
.ending-screen .ending-title {
  font-weight: 700; font-size: 2rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--wmc-geel); margin-bottom: 1.5rem;
}
.ending-screen .ending-text {
  font-size: 1.05rem; line-height: 1.85; color: var(--wmc-wit);
  margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.ending-screen .score-reveal {
  padding: 1.5rem; background: var(--wmc-grijs-dark);
  border: 1px solid var(--wmc-grijs-border); margin: 2rem auto; max-width: 400px;
}
.ending-screen .score-label {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; display: block; margin-bottom: 0.5rem;
}
.ending-screen .score-label:first-of-type { color: var(--wmc-oranje); }
.ending-screen .score-label:nth-of-type(2) { color: var(--wmc-blauw); }
.ending-screen .score-bar-container {
  background: var(--wmc-grijs-light); height: 8px; margin-bottom: 1.2rem;
  position: relative; overflow: hidden;
}
.ending-screen .score-bar { height: 100%; transition: width 1.5s ease; width: 0; }
.ending-screen .score-bar#bar-stadstrots { background: var(--wmc-oranje); }
.ending-screen .score-bar#bar-openheid { background: var(--wmc-blauw); }

.restart-btn {
  margin-top: 2rem; padding: 0.8rem 2rem; background: var(--wmc-rood);
  border: none; color: var(--wmc-wit); font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 1rem; cursor: pointer; letter-spacing: 0.15em;
  text-transform: uppercase; transition: all var(--transition-med);
}
.restart-btn:hover { background: var(--wmc-wit); color: var(--wmc-zwart); }

/* PROGRESS BAR */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--wmc-rood), var(--wmc-oranje), var(--wmc-geel), var(--wmc-groen), var(--wmc-blauw), var(--wmc-paars), var(--wmc-roze));
  background-size: 200% 100%; transition: width var(--transition-slow); z-index: 100;
}

/* CHAPTER INDICATOR */
#chapter-indicator {
  position: fixed; top: 1rem; right: 1.5rem; font-weight: 700; font-size: 0.7rem;
  color: var(--wmc-grijs-text); letter-spacing: 0.2em; text-transform: uppercase;
  z-index: 100; opacity: 0; transition: opacity var(--transition-med);
}
#chapter-indicator.visible { opacity: 1; }

/* TOAST */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--wmc-zwart); border: 2px solid var(--wmc-geel);
  color: var(--wmc-geel); font-weight: 700; font-size: 0.8rem;
  padding: 0.7rem 1.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  z-index: 200; opacity: 0; transition: all 0.5s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.8s ease forwards; }
.fade-out { animation: fadeOut 0.6s ease forwards; }
.slide-up { animation: slideUp 0.6s ease forwards; }

/* RESPONSIVE */
@media (max-width: 768px) {
  html { font-size: 17px; }
  #game-container { padding: 1.5rem 1.25rem; }
  #title-screen h1 { font-size: 2.8rem; }
  #title-screen .year { font-size: 3.5rem; margin-bottom: 2rem; }
  #title-screen .tagline { font-size: 0.95rem; }
  .chapter-splash { min-height: 30vh; }
  .chapter-splash .chapter-title { font-size: 2rem; }
  .narrative-text { font-size: 1.05rem; line-height: 1.85; }
  .narrative-text .dialogue { padding: 0.85rem 1rem; margin: 1.2rem 0; }
  .narrative-text .speaker { font-size: 0.75rem; }
  .choice-btn { padding: 1.2rem 1.4rem; }
  .choice-btn .choice-label { font-size: 0.95rem; }
  .choice-btn .choice-desc { font-size: 0.85rem; }
  .continue-btn { padding: 0.85rem 2rem; font-size: 0.9rem; }
  .wmc-circle-bg { width: 400px; height: 400px; }
  .wmc-logo-img { width: 180px; }
  .lang-btn { width: 170px; padding: 1.5rem 1rem; }
  .how-section { padding: 1.2rem 1.5rem; }
  .how-steps li { font-size: 0.85rem; }
  .intro-text { font-size: 0.95rem; }
  .blob-decor { width: 80px; opacity: 0.08; }
  .audio-fab { width: 36px; height: 36px; }
  .audio-fab-icon { font-size: 0.8rem; }
}
@media (max-width: 480px) {
  html { font-size: 16px; }
  #game-container { padding: 1.25rem 1rem; max-width: 100%; }
  #title-screen h1 { font-size: 2.2rem; letter-spacing: 0.06em; }
  #title-screen .year { font-size: 2.8rem; margin-bottom: 1.5rem; }
  #title-screen .subtitle { font-size: 0.85rem; }
  #title-screen .tagline { font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; }
  .chapter-splash { min-height: 25vh; margin-bottom: 1.5rem; }
  .chapter-splash .chapter-number { font-size: 0.75rem; }
  .chapter-splash .chapter-title { font-size: 1.6rem; }
  .narrative-text { font-size: 1rem; line-height: 1.8; }
  .narrative-text .dialogue { padding: 0.75rem 0.85rem; margin: 1rem 0; line-height: 1.65; font-size: 0.95rem; }
  .narrative-text .speaker { font-size: 0.7rem; letter-spacing: 0.12em; }
  .tap-continue { padding: 0.6rem 1.5rem; font-size: 0.72rem; margin: 1.5rem auto; }
  .choice-btn { padding: 1rem 1.1rem; font-size: 0.95rem; }
  .choice-btn .choice-label { font-size: 0.9rem; }
  .choice-btn .choice-desc { font-size: 0.82rem; }
  .continue-btn { padding: 0.75rem 1.8rem; font-size: 0.85rem; }
  .choices-prompt { font-size: 0.75rem; }
  .scene-location { font-size: 0.68rem; margin-bottom: 1.5rem; }
  .ending-screen .ending-title { font-size: 1.6rem; }
  .ending-screen .ending-text { font-size: 0.95rem; }
  .viva-shape { display: none; }
  .wmc-circle-bg { width: 300px; height: 300px; }
  .wmc-logo-img { width: 150px; }
  .lang-buttons { flex-direction: column; gap: 1rem; }
  .lang-btn { width: 220px; }
  .lang-title { font-size: 0.95rem; }
  .how-section { padding: 1rem 1.2rem; }
  .how-steps li { font-size: 0.82rem; padding-left: 1.6rem; }
  .intro-text { font-size: 0.9rem; }
  .blob-decor { width: 60px; opacity: 0.06; }
  .audio-fab { width: 34px; height: 34px; left: 1rem; bottom: 1rem; }
  .audio-fab.visible { bottom: 1rem; }
  .audio-fab-icon { font-size: 0.75rem; }
  .start-btn { font-size: 0.9rem; padding: 0.8rem 2rem; }
  .restart-btn { font-size: 0.9rem; padding: 0.7rem 1.5rem; }
}
@media (max-width: 375px) {
  html { font-size: 15px; }
  #game-container { padding: 1rem 0.75rem; }
  #title-screen h1 { font-size: 1.9rem; }
  #title-screen .year { font-size: 2.4rem; }
  #title-screen .tagline { font-size: 0.85rem; }
  .chapter-splash .chapter-title { font-size: 1.4rem; }
  .narrative-text { font-size: 0.95rem; line-height: 1.75; }
  .narrative-text .dialogue { padding: 0.65rem 0.75rem; font-size: 0.9rem; }
  .choice-btn { padding: 0.85rem 1rem; }
  .choice-btn .choice-label { font-size: 0.85rem; }
  .choice-btn .choice-desc { font-size: 0.78rem; }
  .wmc-logo-img { width: 130px; }
  .how-section { padding: 0.85rem 1rem; }
  .how-steps li { font-size: 0.78rem; }
  .intro-text { font-size: 0.85rem; }
  .lang-btn { width: 200px; padding: 1.2rem 0.8rem; }
  .lang-btn-label { font-size: 1.05rem; }
  .audio-fab { width: 32px; height: 32px; }
  .audio-fab-icon { font-size: 0.7rem; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--wmc-zwart); }
::-webkit-scrollbar-thumb { background: var(--wmc-grijs-border); }
::-webkit-scrollbar-thumb:hover { background: var(--wmc-grijs-text); }
::selection { background: var(--wmc-geel); color: var(--wmc-zwart); }
