/* ============================================================
   THE WATCHABLE MCU: DOOMSDAY PREP MANUAL
   Comic book edition
============================================================ */

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

/* Design tokens — comic book palette */
:root {
  /* Core comic palette */
  --color-bg: #003566;            /* deep comic blue background */
  --color-bg-soft: #FFF1A6;        /* softer yellow for variation */
  --color-bg-panel: #FFFFFF;       /* pure white panel — pops against blue */
  --color-bg-cream: #F4EFD8;       /* warm cream panel option */
  --color-bg-dark: #1A1A1F;        /* night panel */
  --color-ink: #0F0F12;            /* comic black outlines */
  --color-text: #1A1A1F;           /* on light panels */
  --color-text-on-dark: #FFF8E7;
  --color-text-muted: #5A5A66;
  --color-body-text: #FFF8E7;      /* default text against blue body */

  /* Comic accents */
  --color-red: #E63946;            /* Marvel red */
  --color-red-deep: #B8252F;
  --color-yellow: #FFD60A;         /* POW yellow */
  --color-yellow-deep: #FFB300;
  --color-blue: #003566;           /* Captain America blue */
  --color-blue-bright: #1D4ED8;
  --color-purple: #6B2FBA;         /* Thanos / cosmic */
  --color-cream: #F1E9D2;          /* aged paper callout */

  /* Typography */
  --font-display: 'Bangers', 'Bebas Neue', Impact, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Borders */
  --border-thick: 4px solid var(--color-ink);
  --border-medium: 3px solid var(--color-ink);
  --border-thin: 2px solid var(--color-ink);

  /* Shadows — comic book hard shadows */
  --shadow-panel: 6px 6px 0 var(--color-ink);
  --shadow-panel-sm: 4px 4px 0 var(--color-ink);
  --shadow-panel-lg: 10px 10px 0 var(--color-ink);
  --shadow-red: 6px 6px 0 var(--color-red);
  --shadow-yellow: 6px 6px 0 var(--color-yellow);
  --shadow-blue: 6px 6px 0 var(--color-blue);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --max-width: 820px;
  --max-width-wide: 1180px;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;
  --text-4xl: 3.75rem;
  --text-5xl: 5.5rem;
}

/* ============================================================
   BASE
============================================================ */

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-body-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(230, 57, 70, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 214, 10, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(230, 57, 70, 0.15) 0%, transparent 50%);
}

/* Halftone dot pattern overlay — visible on blue */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 248, 231, 0.08) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 1;
}

.page { position: relative; z-index: 10; min-height: 100vh; }

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

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ============================================================
   PAGE TURN ANIMATION (intro)
============================================================ */

.page-turn-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--color-bg-cream);
  transform-origin: left center;
  animation: pageTurn 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  box-shadow: 30px 0 60px rgba(0, 0, 0, 0.4);
}

.page-turn-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(15, 15, 18, 0.08) 1px, transparent 1px);
  background-size: 12px 12px;
}

.page-turn-overlay::after {
  content: 'OPENING FILE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--color-red);
  letter-spacing: 0.1em;
  text-shadow: 4px 4px 0 var(--color-ink);
  -webkit-text-stroke: 2px var(--color-ink);
  opacity: 0;
  animation: pageTurnText 1.2s ease-out forwards;
}

@keyframes pageTurn {
  0% { transform: perspective(2000px) rotateY(0); }
  50% { transform: perspective(2000px) rotateY(0); }
  100% { transform: perspective(2000px) rotateY(-180deg); }
}

@keyframes pageTurnText {
  0% { opacity: 0; }
  20% { opacity: 1; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   CLASSIFIED BAR
============================================================ */

.classified-bar {
  background: var(--color-ink);
  color: var(--color-yellow);
  padding: var(--space-3) 0;
  border-bottom: var(--border-thick);
  position: relative;
  z-index: 100;
}

.classified-bar-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.classified-bar-inner > span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.classified-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-red);
  border-radius: 50%;
  border: 1px solid var(--color-yellow);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============================================================
   HERO PANEL — the big opening comic panel
============================================================ */

.hero {
  padding: var(--space-7) 0 var(--space-7);
  position: relative;
}

.hero-panel {
  background: var(--color-bg-panel);
  border: var(--border-thick);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-panel-lg);
  overflow: hidden;
}

/* Halftone burst in hero corner */
.hero-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle, var(--color-yellow) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.6;
  border-radius: 50%;
}

.hero-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(circle, var(--color-red) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.4;
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.file-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  background: var(--color-ink);
  color: var(--color-yellow);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-4);
  border: var(--border-thin);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, var(--text-5xl));
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  color: var(--color-red);
  -webkit-text-stroke: 2px var(--color-ink);
  text-shadow: 5px 5px 0 var(--color-ink), 5px 5px 0 var(--color-yellow);
  transition: transform 0.2s ease;
}

.hero-title:hover { transform: translate(-2px, -2px); }

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, var(--text-2xl));
  letter-spacing: 0.05em;
  color: var(--color-blue);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--color-ink);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-yellow);
  border: var(--border-thin);
  padding: var(--space-4) var(--space-5);
  margin: var(--space-4) 0;
  box-shadow: var(--shadow-panel-sm);
  line-height: 1.5;
}

.hero-source-link {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 0 2px;
}

.hero-source-link:hover {
  color: var(--color-yellow);
  background: var(--color-text);
  text-decoration: none;
}

/* Stamp */
.stamp {
  display: inline-block;
  border: 4px solid var(--color-red);
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.1em;
  padding: var(--space-3) var(--space-5);
  text-transform: uppercase;
  transform: rotate(-4deg);
  opacity: 0;
  animation: stampIn 0.6s 1.4s ease-out forwards;
  position: relative;
  margin: var(--space-4) 0 0 0;
  background: var(--color-bg-panel);
  font-weight: 400;
  z-index: 1;
}

.stamp::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px solid var(--color-red);
  opacity: 0.4;
}

@keyframes stampIn {
  0% { transform: rotate(-25deg) scale(2.5); opacity: 0; }
  60% { transform: rotate(-4deg) scale(1.15); opacity: 1; }
  100% { transform: rotate(-4deg) scale(1); opacity: 1; }
}

/* ============================================================
   COMIC PANELS — universal panel system
============================================================ */

.panel {
  background: var(--color-bg-panel);
  border: var(--border-medium);
  padding: var(--space-6);
  margin: var(--space-6) 0;
  box-shadow: var(--shadow-panel);
  position: relative;
  color: var(--color-text);
}

/* Force readable text inside light panels — overrides body cream */
.panel,
.panel p,
.panel li,
.dedication,
.dedication p,
.callout,
.callout p,
.callout li,
.film-entry,
.film-entry p { color: var(--color-text); }

.panel-tilted-left { transform: rotate(-0.5deg); }
.panel-tilted-right { transform: rotate(0.5deg); }

.panel-yellow {
  background: var(--color-yellow);
  box-shadow: var(--shadow-panel);
}
.panel-yellow,
.panel-yellow p,
.panel-yellow li { color: var(--color-text); }

.panel-blue {
  background: var(--color-blue);
  box-shadow: var(--shadow-panel);
}
.panel-blue,
.panel-blue p,
.panel-blue li { color: var(--color-text-on-dark); }
.panel-blue strong { color: var(--color-yellow); }

.panel-red {
  background: var(--color-red);
  box-shadow: var(--shadow-panel);
}
.panel-red,
.panel-red p,
.panel-red li { color: var(--color-text-on-dark); }
.panel-red strong { color: var(--color-yellow); }
.panel-red em { color: var(--color-yellow); }

.panel-dark {
  background: var(--color-bg-dark);
  box-shadow: var(--shadow-red);
}
.panel-dark,
.panel-dark p,
.panel-dark li { color: var(--color-text-on-dark); }
.panel-dark strong { color: var(--color-yellow); }

/* ============================================================
   ONOMATOPOEIA — comic word bursts
============================================================ */

.boom {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--color-yellow);
  -webkit-text-stroke: 3px var(--color-ink);
  text-shadow: 4px 4px 0 var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(-5deg);
  margin: var(--space-3) 0;
}

.boom-burst {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-7) 0;
  position: relative;
}

.boom-burst-shape {
  background: var(--color-yellow);
  border: var(--border-thick);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-panel);
  text-align: center;
  position: relative;
}

.boom-burst-shape::before,
.boom-burst-shape::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--color-red);
  border: var(--border-thin);
  border-radius: 50%;
}

.boom-burst-shape::before { top: -15px; left: -15px; }
.boom-burst-shape::after { bottom: -15px; right: -15px; }

/* ============================================================
   SECTION DIVIDERS — comic style with icon
============================================================ */

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-8) 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-body-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 4px;
  background: var(--color-yellow);
  position: relative;
}

.divider .icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-red);
}

.divider-label {
  background: var(--color-bg-panel);
  border: var(--border-thin);
  padding: var(--space-2) var(--space-4);
  box-shadow: 3px 3px 0 var(--color-red);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-red);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  letter-spacing: 0.03em;
  margin: var(--space-7) 0 var(--space-4);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--color-red);
  -webkit-text-stroke: 1px var(--color-ink);
  text-shadow: 3px 3px 0 var(--color-ink);
}

.subsection-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.05em;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--color-yellow);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.subsection-heading .icon { width: 24px; height: 24px; }

/* ============================================================
   TYPOGRAPHY
============================================================ */

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

strong { color: var(--color-red); font-weight: 700; }
em { font-style: italic; color: var(--color-blue); font-weight: 500; }

a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.2s ease;
}

a:hover { color: var(--color-ink); background: var(--color-yellow); }

a.inline-link {
  background-image: linear-gradient(var(--color-red), var(--color-red));
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}

a.inline-link:hover {
  background-size: 100% 100%;
  color: var(--color-yellow);
  background-color: var(--color-red);
}

/* Dedication — special treatment with yellow background and bold border */
.dedication {
  background: var(--color-cream);
  border: var(--border-thick);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-5) 0;
  box-shadow: var(--shadow-yellow);
  position: relative;
}

.dedication strong {
  color: var(--color-ink);
  font-style: normal;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--space-3);
  font-weight: 400;
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--color-ink);
  text-shadow: 3px 3px 0 var(--color-yellow);
}

/* ============================================================
   NAV GRID — landing page section cards
============================================================ */

.nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

@media (min-width: 700px) {
  .nav-grid { grid-template-columns: 1fr 1fr; }
}

.nav-card {
  display: block;
  padding: var(--space-5);
  background: var(--color-bg-panel);
  border: var(--border-medium);
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  box-shadow: var(--shadow-panel);
  transition: all 0.2s ease;
  overflow: hidden;
}

.nav-card:nth-child(odd) { transform: rotate(-0.5deg); }
.nav-card:nth-child(even) { transform: rotate(0.5deg); }

.nav-card:hover {
  transform: translate(-3px, -3px) rotate(0deg);
  box-shadow: 10px 10px 0 var(--color-red);
  background: var(--color-yellow);
}

.nav-card:hover .nav-card-icon { color: var(--color-red); transform: scale(1.15) rotate(-8deg); }

.nav-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.nav-card-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  background: var(--color-ink);
  color: var(--color-yellow);
  letter-spacing: 0.2em;
  padding: var(--space-1) var(--space-3);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-card-icon {
  width: 36px;
  height: 36px;
  color: var(--color-blue);
  transition: all 0.3s ease;
}

.nav-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.04em;
  color: var(--color-red);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  -webkit-text-stroke: 1px var(--color-ink);
}

.nav-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.55;
}

/* ============================================================
   FILM ENTRIES
============================================================ */

.film-entry {
  padding: var(--space-5);
  border: var(--border-thin);
  background: var(--color-bg-panel);
  margin: var(--space-4) 0;
  box-shadow: var(--shadow-panel-sm);
  transition: all 0.2s ease;
  position: relative;
}

.film-entry:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-red);
}

.film-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.film-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-red);
  font-weight: 400;
  min-width: 40px;
  -webkit-text-stroke: 1px var(--color-ink);
}

.film-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-ink);
  flex: 1;
}

/* When .film-title is a link to IMDb */
a.film-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  cursor: pointer;
}

a.film-title:hover {
  color: var(--color-red);
  text-decoration-color: var(--color-red);
}

.film-year {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-yellow);
  background: var(--color-blue);
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-2);
  font-weight: 700;
}

.film-desc {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}

@media (min-width: 700px) {
  .film-desc { margin-left: 52px; }
}

/* ============================================================
   CALLOUT BOXES
============================================================ */

.callout {
  background: var(--color-cream);
  border: var(--border-thick);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
  box-shadow: var(--shadow-blue);
  position: relative;
}

.callout-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  background: var(--color-blue);
  color: var(--color-yellow);
  padding: var(--space-2) var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: var(--space-3);
  transform: rotate(-2deg);
  border: var(--border-thin);
  box-shadow: 3px 3px 0 var(--color-ink);
}

/* ============================================================
   FOOTER NAV
============================================================ */

.footer-nav {
  margin-top: var(--space-9);
  padding: var(--space-5) 0;
  border-top: var(--border-medium);
  border-bottom: var(--border-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-nav a {
  color: var(--color-body-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  background: var(--color-red);
  color: var(--color-yellow);
}

.footer-nav a .icon { width: 20px; height: 20px; }

.site-footer {
  margin-top: var(--space-6);
  padding: var(--space-5) 0 var(--space-7);
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-body-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ============================================================
   COUNTDOWN
============================================================ */

.countdown {
  background: var(--color-ink);
  color: var(--color-yellow);
  border: var(--border-thick);
  padding: var(--space-6) var(--space-5);
  margin: var(--space-7) 0;
  text-align: center;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}

.countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 214, 10, 0.15) 2px, transparent 2px);
  background-size: 20px 20px;
  pointer-events: none;
}

.countdown-content { position: relative; z-index: 2; }

.countdown-label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-red);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-weight: 700;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 9rem);
  color: var(--color-yellow);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  -webkit-text-stroke: 3px var(--color-body-text);
  text-shadow: 6px 6px 0 var(--color-red);
}

.countdown-date {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-body-text);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   ICON SYSTEM
============================================================ */

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg { width: 48px; height: 48px; }
.icon-xl { width: 72px; height: 72px; }

.icon-row {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  margin: var(--space-4) 0;
  flex-wrap: wrap;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-blue);
  border: var(--border-thin);
  box-shadow: 4px 4px 0 var(--color-ink);
  color: var(--color-yellow);
  transition: all 0.2s ease;
}

.icon-badge:hover,
.icon-with-label:hover .icon-badge {
  transform: rotate(-8deg) scale(1.1);
  background: var(--color-red);
  color: var(--color-yellow);
  box-shadow: 4px 4px 0 var(--color-yellow);
}

.icon-with-label:hover .icon-label {
  color: var(--color-red);
}

/* ============================================================
   ANIMATIONS — fade in
============================================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out forwards;
  animation-delay: 1.2s; /* Wait for page turn */
}

.fade-in-1 { animation-delay: 1.3s; }
.fade-in-2 { animation-delay: 1.45s; }
.fade-in-3 { animation-delay: 1.6s; }
.fade-in-4 { animation-delay: 1.75s; }

/* ============================================================
   EASTER EGGS
============================================================ */

/* Excelsior (Stan Lee) */
.excelsior {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg) scale(0);
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 11rem);
  color: var(--color-yellow);
  -webkit-text-stroke: 4px var(--color-ink);
  background: var(--color-red);
  border: 8px solid var(--color-ink);
  padding: var(--space-5) var(--space-8);
  letter-spacing: 0.05em;
  z-index: 10000;
  pointer-events: none;
  text-transform: uppercase;
  opacity: 0;
  box-shadow: 16px 16px 0 var(--color-ink);
}

.excelsior.active { animation: excelsiorReveal 3s ease-out forwards; }

@keyframes excelsiorReveal {
  0% { transform: translate(-50%, -50%) rotate(-30deg) scale(0); opacity: 0; }
  20% { transform: translate(-50%, -50%) rotate(-15deg) scale(1.2); opacity: 1; }
  30% { transform: translate(-50%, -50%) rotate(-15deg) scale(1); opacity: 1; }
  80% { transform: translate(-50%, -50%) rotate(-15deg) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-15deg) scale(1.1); opacity: 0; }
}

/* Wakanda Forever */
.wakanda-salute {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  text-align: center;
  background: var(--color-purple);
  border: 8px solid var(--color-ink);
  padding: var(--space-6) var(--space-8);
  box-shadow: 14px 14px 0 var(--color-ink);
}

.wakanda-salute.active { animation: wakandaReveal 3.5s ease-out forwards; }

.wakanda-salute-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 5rem);
  color: var(--color-yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-text-stroke: 2px var(--color-ink);
  margin-bottom: var(--space-3);
}

.wakanda-salute-sub {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-body-text);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes wakandaReveal {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.5); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -60%) scale(1); }
}

/* Groot translation tooltip */
.groot-line {
  cursor: help;
  background: var(--color-yellow);
  padding: 2px 6px;
  border: var(--border-thin);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.groot-line::after {
  content: attr(data-translation);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: var(--color-yellow);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: var(--border-thin);
  z-index: 100;
}

.groot-line::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-ink);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 99;
}

.groot-line:hover::after,
.groot-line:hover::before { opacity: 1; }

/* ============================================================
   TABLES
============================================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: var(--text-sm);
  border: var(--border-thin);
  background: var(--color-bg-panel);
}

th {
  font-family: var(--font-display);
  text-align: left;
  padding: var(--space-3);
  background: var(--color-ink);
  color: var(--color-yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: var(--text-lg);
  border: var(--border-thin);
}

td {
  padding: var(--space-3);
  border: var(--border-thin);
  color: var(--color-text);
  background: var(--color-bg-panel);
}

tbody tr:nth-child(even) td { background: var(--color-cream); }

/* Lists */
ul, ol {
  margin: var(--space-3) 0 var(--space-4) var(--space-5);
}

li {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

ul li::marker { color: var(--color-red); content: '★ '; }
ol li::marker { color: var(--color-red); font-weight: 700; }

/* Decorative comic burst around enjoy-the-movie close */
.final-stamp {
  text-align: center;
  margin: var(--space-8) 0;
}

.final-stamp-content {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--color-yellow);
  background: var(--color-red);
  border: var(--border-thick);
  padding: var(--space-5) var(--space-7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 10px 10px 0 var(--color-ink);
  -webkit-text-stroke: 2px var(--color-ink);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .page-turn-overlay { display: none; }
  .fade-in { opacity: 1; }
}

/* ============================================================
   STICKY TOP NAV (replaces classified bar functionality)
============================================================ */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-ink);
  border-bottom: var(--border-thick);
  padding: var(--space-3) 0;
}

.top-nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.top-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  color: var(--color-yellow);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav-brand:hover {
  background: transparent;
  color: var(--color-red);
}

.top-nav-brand-bullet {
  width: 12px;
  height: 12px;
  background: var(--color-red);
  border-radius: 50%;
  display: inline-block;
  border: 2px solid var(--color-yellow);
}

.top-nav-author {
  color: var(--color-yellow);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.85;
}

.top-nav-author a {
  color: var(--color-yellow);
  text-decoration: none;
  border-bottom: 1px dotted var(--color-yellow);
  font-weight: 700;
}

.top-nav-author a:hover {
  color: var(--color-red);
  background: transparent;
  border-bottom-color: var(--color-red);
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.top-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-body-text);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.top-nav-link:hover,
.top-nav-link.active {
  background: var(--color-yellow);
  color: var(--color-ink);
  border-color: var(--color-ink);
  box-shadow: 3px 3px 0 var(--color-red);
}

.top-nav-link-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-red);
  font-weight: 700;
  margin-right: var(--space-1);
}

.top-nav-link:hover .top-nav-link-num,
.top-nav-link.active .top-nav-link-num {
  color: var(--color-blue);
}

.top-nav-icons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.top-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: var(--border-thin);
  background: var(--color-yellow);
  color: var(--color-ink);
  transition: all 0.15s ease;
}

.top-nav-icon:hover {
  background: var(--color-red);
  color: var(--color-yellow);
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 var(--color-yellow);
}

.top-nav-icon svg { width: 18px; height: 18px; }

/* Mobile nav adjustments */
@media (max-width: 900px) {
  .top-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .top-nav-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .top-nav-links {
    justify-content: center;
    gap: var(--space-1);
  }
  .top-nav-link {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-sm);
  }
}

/* ============================================================
   CLICKABLE ICON BADGES (hero icons with persistent labels)
============================================================ */

a.icon-badge {
  text-decoration: none;
  position: relative;
}

/* Wrapper for icon + label */
.icon-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* The label that sits below each icon */
.icon-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: var(--color-ink);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  max-width: 110px;
  font-weight: 400;
}

/* ============================================================
   AUTHOR HERO BLOCK (prominent "By Jasmine" section)
============================================================ */

.author-card {
  background: var(--color-blue);
  color: var(--color-text-on-dark);
  border: var(--border-thick);
  padding: var(--space-6);
  margin: var(--space-7) 0;
  box-shadow: var(--shadow-yellow);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.author-card-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--color-yellow);
  border: var(--border-thick);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-ink);
  letter-spacing: 0;
  box-shadow: 4px 4px 0 var(--color-red);
}

.author-card-content { flex: 1; min-width: 240px; }

.author-card-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-yellow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.author-card-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-yellow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-3);
  -webkit-text-stroke: 1px var(--color-ink);
  text-shadow: 3px 3px 0 var(--color-ink);
}

.author-card-desc {
  font-size: var(--text-base);
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-3);
}

.author-card-links {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.author-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-yellow);
  color: var(--color-ink);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: var(--border-thin);
  text-decoration: none;
  transition: all 0.15s ease;
}

.author-card-link:hover {
  background: var(--color-red);
  color: var(--color-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-ink);
}

.author-card-link svg { width: 18px; height: 18px; }

/* ============================================================
   YELLOW BANNER STRIP (extra color across the top)
============================================================ */

.banner-strip {
  background: var(--color-red);
  color: var(--color-text-on-dark);
  padding: var(--space-2) 0;
  border-bottom: var(--border-thin);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.banner-strip span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.banner-strip .dot {
  width: 6px;
  height: 6px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

/* ============================================================
   CURATOR NOTE — personal asides from Jasmine
============================================================ */

.curator-note {
  background: var(--color-bg-cream);
  border: var(--border-thick);
  padding: var(--space-6);
  margin: var(--space-7) 0;
  box-shadow: var(--shadow-blue);
  position: relative;
  color: var(--color-text);
}

.curator-note,
.curator-note p { color: var(--color-text); }

.curator-note::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-red) 0,
    var(--color-red) 12px,
    var(--color-yellow) 12px,
    var(--color-yellow) 24px,
    var(--color-blue) 24px,
    var(--color-blue) 36px
  );
}

.curator-note-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-ink);
  color: var(--color-yellow);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  margin-top: var(--space-2);
  border: var(--border-thin);
  box-shadow: 3px 3px 0 var(--color-red);
  transform: rotate(-1.5deg);
}

.curator-note-label svg {
  width: 18px;
  height: 18px;
  color: var(--color-yellow);
}

.curator-note-byline {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 2px dashed var(--color-ink);
}

.curator-note-byline strong {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.05em;
}

/* Anchor target offset — prevent sticky nav from covering jumped-to sections */
section[id] {
  scroll-margin-top: 120px;
}

/* ============================================================
   QUIZ MODULE (File 006)
============================================================ */

.quiz-app {
  margin: var(--space-7) 0;
  position: relative;
}

/* Each screen container */
.quiz-screen {
  display: none;
  background: var(--color-bg-panel);
  border: var(--border-thick);
  padding: var(--space-7) var(--space-6);
  box-shadow: var(--shadow-panel-lg);
  position: relative;
  animation: quizFadeIn 0.4s ease-out;
}

.quiz-screen-active {
  display: block;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Halftone burst in quiz corner */
.quiz-screen::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background-image: radial-gradient(circle, var(--color-yellow) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.quiz-screen > * {
  position: relative;
  z-index: 1;
}

/* Intro panel */
.quiz-panel p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text);
  line-height: 1.6;
}

.quiz-path-preview {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
}

.quiz-path-preview li {
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  background: var(--color-bg-cream);
  border: 2px solid var(--color-ink);
  font-size: var(--text-base);
  color: var(--color-text);
  box-shadow: 3px 3px 0 var(--color-ink);
}

.quiz-path-preview li strong {
  color: var(--color-red);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.05em;
  margin-right: var(--space-2);
}

/* CTA button */
.quiz-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  background: var(--color-red);
  color: var(--color-bg-panel);
  border: 3px solid var(--color-ink);
  padding: var(--space-3) var(--space-5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--color-ink);
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: var(--space-3);
}

.quiz-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-ink);
}

.quiz-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-ink);
}

.quiz-cta-secondary {
  background: var(--color-bg-panel);
  color: var(--color-ink);
}

.quiz-cta-secondary:hover {
  background: var(--color-bg-cream);
  color: var(--color-ink);
}

.quiz-cta .icon {
  width: 22px;
  height: 22px;
}

/* Question meta */
.quiz-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.quiz-q-num {
  font-size: var(--text-4xl);
  color: var(--color-red);
  -webkit-text-stroke: 2px var(--color-ink);
  line-height: 1;
}

.quiz-q-of {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* The question text */
.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, var(--text-3xl));
  letter-spacing: 0.02em;
  color: var(--color-ink);
  line-height: 1.1;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

.quiz-question-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-style: italic;
}

/* Answer options */
.quiz-options {
  display: grid;
  gap: var(--space-3);
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-panel);
  border: 2px solid var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 4px 4px 0 var(--color-ink);
  position: relative;
}

.quiz-option:hover {
  background: var(--color-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-red);
}

.quiz-option:active,
.quiz-option-selected {
  background: var(--color-red);
  color: var(--color-bg-panel);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-ink);
}

/* Progress bar */
.quiz-progress {
  position: relative;
  height: 8px;
  background: var(--color-bg-cream);
  border: 2px solid var(--color-ink);
  margin-top: var(--space-5);
  display: none;
}

.quiz-progress-visible {
  display: block;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--color-red);
  transition: width 0.4s ease-out;
  width: 0;
}

/* Result screen */
#screen-result {
  text-align: left;
}

.quiz-result-stamp {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-4);
  text-transform: uppercase;
  transform: rotate(-3deg);
  border: 3px solid var(--color-ink);
  box-shadow: 4px 4px 0 var(--color-red);
  margin-bottom: var(--space-5);
  animation: stampPop 0.6s ease-out;
}

@keyframes stampPop {
  0% { opacity: 0; transform: rotate(-3deg) scale(2); }
  60% { opacity: 1; transform: rotate(-3deg) scale(0.9); }
  100% { opacity: 1; transform: rotate(-3deg) scale(1); }
}

.quiz-result-header {
  margin-bottom: var(--space-5);
}

.quiz-result-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-2);
}

.quiz-result-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, var(--text-5xl));
  color: var(--color-red);
  -webkit-text-stroke: 2px var(--color-ink);
  text-shadow: 4px 4px 0 var(--color-ink);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.quiz-result-meta {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-bg-cream);
  padding: var(--space-2) var(--space-3);
  display: inline-block;
  border: 2px solid var(--color-ink);
  letter-spacing: 0.05em;
}

.quiz-result-intro {
  background: var(--color-bg-cream);
  border: 2px solid var(--color-ink);
  padding: var(--space-5);
  margin: var(--space-5) 0;
  box-shadow: 4px 4px 0 var(--color-ink);
}

.quiz-result-intro p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.quiz-result-intro p:last-child {
  margin-bottom: 0;
}

.quiz-result-films {
  margin: var(--space-6) 0;
}

.quiz-result-footer {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 2px dashed var(--color-ink);
}

.quiz-result-footer p {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.quiz-result-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

