/* ==========================================================================
   THE THREAD OF CLUB DOOM
   one (1) nosy teenager · 780+ replies · soon™
   ========================================================================== */

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

:root {
  --red: #e53125;
  --red-dark: #a3110b;
  --cream: #fff8e7;
  --ink: #16161d;
  --yellow: #ffd23f;
  --lime: #a3ff3f;
  --pink: #ff4fa3;
  --blue: #3f7bff;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--ink);
  font-family: "Comic Neue", system-ui, sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
}

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

/* ---- global bits ---- */

#progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 999;
  background: transparent;
}
#progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--lime));
  box-shadow: 0 0 12px var(--red);
}

.rec {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 998;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--cream);
  background: var(--red-dark);
  border: 2px solid var(--cream);
  padding: 8px 10px;
  transform: rotate(3deg);
  letter-spacing: 1px;
  animation: recBlink 1.4s steps(2, start) infinite;
}
@keyframes recBlink {
  0% { opacity: 1; }
  50% { opacity: 0.25; }
  100% { opacity: 1; }
}

#cursor-emoji {
  position: fixed;
  z-index: 9999;
  font-size: 28px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform 0.12s ease-out;
}
#cursor-emoji.pop {
  transform: translate(-50%, -50%) scale(1.7) rotate(10deg);
}

/* ---- reveal-on-scroll defaults ---- */
.rv {
  opacity: 0;
  transform: translateY(48px) rotate(2.5deg);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  will-change: opacity, transform;
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ---- sections ---- */
.sec {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7vh 6vw;
  overflow: hidden;
}

/* ==========================================================================
   1. TITLE
   ========================================================================== */
.title-sec {
  background: var(--cream);
  justify-content: space-between;
  padding: 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: var(--red);
  color: var(--cream);
  padding: 10px 0;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  position: relative;
  z-index: 5;
}
.marquee-top {
  transform: rotate(-1.2deg);
}
.marquee-bottom {
  transform: rotate(1.2deg);
  background: var(--ink);
  color: var(--lime);
}
.mq-track {
  display: inline-flex;
  animation: mq 24s linear infinite;
  font-family: "Bangers", cursive;
  font-size: 26px;
  letter-spacing: 2px;
}
.mq-reverse {
  animation-direction: reverse;
}
.mq-track span {
  padding-right: 3rem;
}
@keyframes mq {
  to { transform: translateX(-50%); }
}

.title-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
  padding: 4vh 4vw;
  transform: rotate(-1.5deg);
}

.stamp-classified {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  background: var(--red);
  color: var(--cream);
  border: 3px double var(--cream);
  padding: 8px 14px;
  transform: rotate(-8deg);
  letter-spacing: 2px;
  box-shadow: 4px 4px 0 var(--ink);
}
.stamp-classified.in { transform: rotate(-8deg); }

h1 {
  font-family: "Bangers", cursive;
  font-size: clamp(64px, 14vw, 180px);
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--red);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 8px 8px 0 var(--yellow), 14px 14px 0 var(--ink);
  animation: titleWobble 3.2s ease-in-out infinite;
}
@keyframes titleWobble {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.03); }
}

.glitch { position: relative; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before {
  left: 3px;
  text-shadow: -2px 0 var(--pink);
  clip-path: inset(30% 0 45% 0);
  animation: glitchA 2.4s steps(2, jump-none) infinite;
}
.glitch::after {
  left: -3px;
  text-shadow: 2px 0 var(--blue);
  clip-path: inset(55% 0 20% 0);
  animation: glitchB 1.9s steps(2, jump-none) infinite;
}
@keyframes glitchA {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-4px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 3px); }
  80% { transform: translate(4px, -1px); }
}
@keyframes glitchB {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(4px, -3px); }
  50% { transform: translate(-3px, 2px); }
  75% { transform: translate(2px, 3px); }
}

.tagline {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(18px, 3.2vw, 34px);
  color: var(--ink);
  max-width: 34ch;
  transform: rotate(1.5deg);
}
.tagline.in { transform: rotate(1.5deg); }

.title-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.title-stats span {
  font-family: "Bangers", cursive;
  font-size: 22px;
  background: var(--ink);
  color: var(--yellow);
  padding: 6px 14px;
  border-radius: 40px;
  transform: rotate(-2deg);
  letter-spacing: 1px;
}
.title-stats span:nth-child(odd) {
  transform: rotate(3deg);
  background: var(--red);
  color: var(--cream);
}

.scroll-cue {
  font-family: "Caveat", cursive;
  font-size: 26px;
  padding-bottom: 18px;
  animation: bounceDown 1.6s ease-in-out infinite;
  color: var(--ink);
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ==========================================================================
   2. THE BEGINNING
   ========================================================================== */
.begin-sec {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 210, 63, 0.35), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(63, 123, 255, 0.3), transparent 40%),
    #f3ead8;
}
.begin-inner {
  max-width: 60ch;
  text-align: left;
  transform: translateX(6%);
  font-family: "Special Elite", monospace;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.7;
  color: #2b2b2b;
}
.begin-inner p { margin-bottom: 22px; }
.big-note {
  font-family: "Caveat", cursive;
  font-size: clamp(28px, 4.5vw, 44px);
  color: var(--red-dark);
  transform: rotate(-2deg);
}
.big-note.in { transform: rotate(-2deg); }
.date-tape {
  display: inline-block;
  font-family: "Permanent Marker", cursive;
  font-size: 16px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 8px 16px;
  transform: rotate(2deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.date-tape.in { transform: rotate(2deg); }

/* ==========================================================================
   3. THE QUESTION (chat)
   ========================================================================== */
.chat-sec {
  background: #12121b;
  color: var(--cream);
}
.chat-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: var(--yellow);
  letter-spacing: 2px;
  text-shadow: 4px 4px 0 var(--red);
  margin-bottom: 34px;
  transform: rotate(-2deg);
}
.chat-title.in { transform: rotate(-2deg); }

.chat-window {
  width: min(680px, 92vw);
  background: #1e1e2f;
  border: 4px solid #3a3a55;
  border-radius: 18px;
  box-shadow: 0 0 0 4px var(--ink), 0 24px 60px rgba(0, 0, 0, 0.6);
  font-family: "VT323", monospace;
  font-size: 22px;
  transform: rotate(-0.8deg);
}
.chat-window.in { transform: rotate(-0.8deg); }
.chat-head {
  background: #2b2b42;
  padding: 10px 16px;
  border-bottom: 3px solid #3a3a55;
  color: #9ba0c9;
  border-radius: 14px 14px 0 0;
}
.chat-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.35;
}
.msg.left {
  align-self: flex-start;
  background: #31314d;
  transform: rotate(-0.6deg);
}
.msg.right {
  align-self: flex-end;
  background: #2c4a3b;
  transform: rotate(0.6deg);
}
.msg .who {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 18px;
  margin-bottom: 4px;
  color: #b8ffd8;
}
.msg.left .who { color: #ffd9a3; }

.caption-note {
  margin-top: 36px;
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--lime);
  text-align: center;
  max-width: 40ch;
  transform: rotate(1.5deg);
}
.caption-note.in { transform: rotate(1.5deg); }

/* ==========================================================================
   4. THE STONEWALL
   ========================================================================== */
.brick-sec {
  background:
    repeating-linear-gradient(
      0deg,
      #8a4a2b 0 14px,
      #7c3f24 14px 28px,
      #6f3620 28px 42px
    );
}
.brick-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 96px);
  color: var(--cream);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.5deg);
  margin-bottom: 14px;
}
.brick-title.in { transform: rotate(-1.5deg); }
.brick-sub {
  font-family: "Comic Neue", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 22px);
  color: #ffd9a3;
  text-align: center;
  margin-bottom: 40px;
}

.brick-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: min(1000px, 94vw);
}
.brick {
  font-family: "Comic Neue", sans-serif;
  font-size: 19px;
  background: #f7e7c4;
  border: 4px solid var(--ink);
  padding: 18px 16px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.45);
  line-height: 1.4;
  color: var(--ink);
}
.brick b { color: var(--red-dark); }
.brick:nth-child(odd) { transform: rotate(1.6deg); background: #ffe9a8; }
.brick:nth-child(even) { transform: rotate(-1.8deg); background: #ffd9d0; }
.brick.in { transform: rotate(0deg); }

/* ==========================================================================
   5. THE DESCENT (terminal)
   ========================================================================== */
.term-sec {
  background: #0a0a0f;
  gap: 40px;
}
.term-window {
  width: min(760px, 94vw);
  background: #05050a;
  border: 3px solid #2a2a3d;
  border-radius: 12px;
  font-family: "VT323", monospace;
  font-size: 24px;
  color: #8aff80;
  box-shadow: 0 0 0 4px #000, 0 0 40px rgba(63, 123, 255, 0.15);
  transform: rotate(0.6deg);
}
.term-window.in { transform: rotate(0.6deg); }
.term-head {
  background: #1a1a2b;
  color: #9ba0c9;
  padding: 10px 14px;
  border-bottom: 2px solid #2a2a3d;
  font-size: 18px;
}
.term-body { padding: 18px; line-height: 1.6; }
.term-body p { margin-bottom: 8px; }
.prompt { color: var(--yellow); }
.out { color: #c9c9ff; }
.blink { animation: recBlink 1s steps(2, start) infinite; color: #ff6b6b; }

.term-shout {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(14px, 3vw, 22px);
  color: var(--pink);
  text-align: center;
  line-height: 1.6;
  text-shadow: 3px 3px 0 #000;
  max-width: 30ch;
}

.obs-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
}
.stat {
  text-align: center;
  background: #12121f;
  border: 3px solid #2a2a3d;
  padding: 20px 22px;
  border-radius: 14px;
  min-width: 150px;
}
.stat .num {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 52px;
  color: var(--lime);
  line-height: 1;
}
.stat label {
  display: block;
  font-family: "Comic Neue", sans-serif;
  font-size: 14px;
  color: #9ba0c9;
  margin-top: 8px;
}

/* ==========================================================================
   6. THE EVIDENCE BOARD
   ========================================================================== */
.board-sec {
  background: #6b4226;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.22) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.board-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: var(--yellow);
  text-shadow: 4px 4px 0 #000;
  transform: rotate(-2deg);
}
.board-title.in { transform: rotate(-2deg); }
.board-sub {
  font-family: "Comic Neue", sans-serif;
  color: #ffd9a3;
  font-size: 18px;
  margin-bottom: 30px;
}

.board {
  position: relative;
  width: min(980px, 96vw);
  height: min(560px, 70vh);
  background: #b3804a;
  border: 12px solid #7a4c2b;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35), 0 20px 50px rgba(0, 0, 0, 0.5);
}
.strings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.strings line {
  stroke: var(--red);
  stroke-width: 0.5;
  stroke-dasharray: 0.6 0.4;
  vector-effect: non-scaling-stroke;
}
.pcard {
  position: absolute;
  transform: translate(-50%, -50%) rotate(-3deg);
  width: 30%;
  background: #fff8e7;
  border: 3px solid var(--ink);
  padding: 12px 14px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  z-index: 3;
  font-family: "Permanent Marker", cursive;
  font-size: 13px;
  line-height: 1.35;
}
.pcard b { color: var(--red-dark); }
.pcard p { font-family: "Caveat", cursive; font-size: 17px; color: #333; margin-top: 4px; }
.pcard:nth-child(even) { transform: translate(-50%, -50%) rotate(4deg); background: #fff3c4; }
.tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 44px;
  height: 22px;
  background: rgba(255, 210, 63, 0.85);
  transform: translateX(-50%) rotate(6deg);
  border-left: 1px dashed rgba(0, 0, 0, 0.25);
  border-right: 1px dashed rgba(0, 0, 0, 0.25);
}
.truth {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 4;
  text-align: center;
  font-family: "Bangers", cursive;
  font-size: 34px;
  color: var(--cream);
  -webkit-text-stroke: 1.5px var(--ink);
  line-height: 1;
  text-shadow: 3px 3px 0 var(--red);
}
.truth span { display: block; }

/* ==========================================================================
   7. THE CRYPTIC QUOTES (legal pad)
   ========================================================================== */
.legal-sec {
  background: #fdf7e3;
  align-items: flex-start;
  padding-left: 10vw;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 2px), #e8e2cf calc(100% - 2px), #e8e2cf 100%),
    linear-gradient(90deg, #fbe4a1 0, #fbe4a1 52px, transparent 52px);
  background-size: 100% 40px, 100% 100%;
  background-attachment: local;
}
.legal-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(40px, 7vw, 76px);
  color: var(--red-dark);
  margin-bottom: 10px;
  transform: rotate(-1deg);
}
.legal-title.in { transform: rotate(-1deg); }
.legal-sub {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: #6b6b55;
  margin-bottom: 40px;
}
.quote-card {
  position: relative;
  margin-bottom: 22px;
  max-width: 60ch;
  padding: 14px 18px;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.4;
  background: #fff;
  border-bottom: 2px solid #d5d0bb;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}
.quote-card:nth-child(odd) { transform: rotate(0.8deg); }
.quote-card:nth-child(even) { transform: rotate(-0.8deg); }
.quote-card.in { transform: rotate(0deg); }
.quote-card p { color: var(--ink); }
.quote-card p i { color: #888; }
.quote-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: rgba(255, 210, 63, 0.55);
}
.decode {
  display: block;
  margin-top: 6px;
  font-family: "Caveat", cursive;
  font-size: 19px;
  color: var(--red-dark);
  background: rgba(255, 210, 63, 0.45);
  padding: 2px 6px;
}

/* ==========================================================================
   8. THE HEIST (noir)
   ========================================================================== */
.noir-sec {
  background: #0b0b0d;
  color: #e8e8e8;
  align-items: flex-start;
  padding-left: 12vw;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 4px);
}
.noir-line {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 96px);
  letter-spacing: 3px;
  color: var(--cream);
  text-shadow: 4px 4px 0 var(--red);
  transform: rotate(-2deg);
}
.noir-line.in { transform: rotate(-2deg); }
.noir-body {
  font-family: "Special Elite", monospace;
  font-size: clamp(18px, 2.8vw, 26px);
  color: #c9c9c9;
  line-height: 1.7;
  margin-top: 26px;
  text-align: left;
}
.noir-flash {
  margin-top: 30px;
  border: 3px dashed var(--lime);
  padding: 22px 30px;
  display: inline-block;
  background: rgba(163, 255, 63, 0.08);
  animation: flashGlow 1.2s steps(2, jump-none) infinite;
}
@keyframes flashGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(163, 255, 63, 0); }
  50% { box-shadow: 0 0 40px rgba(163, 255, 63, 0.5); }
}
.access {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(18px, 3.6vw, 30px);
  color: var(--lime);
}
.access-sub {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: #8f8f8f;
  margin-top: 8px;
}
.noir-msgs {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nmsg {
  font-family: "Comic Neue", sans-serif;
  font-size: 19px;
  background: #17171d;
  border-left: 5px solid var(--red);
  padding: 12px 16px;
  max-width: 60ch;
}
.nmsg b { color: var(--yellow); }
.noir-foot {
  margin-top: 34px;
  font-family: "Special Elite", monospace;
  font-size: 20px;
  color: #8f8f8f;
  font-style: italic;
}

/* ==========================================================================
   9. THE PROPHECY
   ========================================================================== */
.prophecy-sec {
  background:
    radial-gradient(circle at 50% 120%, #3d2b1f, transparent 60%),
    #e8dcc3;
  background-image:
    radial-gradient(circle at 50% 130%, #3d2b1f, transparent 55%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0 2px, transparent 2px 6px),
    #eadfc9;
}
.scroll-wrap {
  width: min(720px, 92vw);
  background: #f2e8cf;
  border: 2px solid #b7a37c;
  border-radius: 6px 6px 40px 40px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1), 0 30px 60px rgba(0, 0, 0, 0.4);
  padding: 46px 44px 60px;
  transform: rotate(-1deg);
  font-family: "Cinzel Decorative", serif;
  color: #4a3520;
  text-align: center;
}
.scroll-wrap.in { transform: rotate(-1deg); }
.scroll-head {
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 3px;
  margin-bottom: 30px;
}
.scroll-body p { font-size: 19px; margin-bottom: 16px; line-height: 1.6; }
blockquote {
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  line-height: 1.5;
  margin: 10px 0 22px;
  color: #2f1f10;
}
.ruin {
  font-family: "Special Elite", monospace;
  font-size: 15px;
  color: #7a6347;
}
.and-yet {
  font-family: "Bangers", cursive;
  font-size: clamp(28px, 4.6vw, 44px);
  color: var(--red-dark);
  letter-spacing: 2px;
  margin: 20px 0;
  animation: titleWobble 2.6s ease-in-out infinite;
}
.scroll-end {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: #5c4a30;
}

/* ==========================================================================
   10. THE SACRED NUMBERS
   ========================================================================== */
.num-sec {
  background: var(--yellow);
  gap: 30px;
}
.num-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 96px);
  color: var(--ink);
  -webkit-text-stroke: 2px var(--red);
  transform: rotate(-1.5deg);
}
.num-title.in { transform: rotate(-1.5deg); }
.num-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: min(1000px, 94vw);
}
.num {
  background: var(--ink);
  color: var(--cream);
  padding: 28px 18px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}
.num:nth-child(even) { transform: rotate(2deg); box-shadow: 8px 8px 0 var(--blue); }
.num.in { transform: rotate(-2deg); }
.num.in:nth-child(even) { transform: rotate(2deg); }
.num:hover { transform: rotate(0) scale(1.05) !important; }
.num .n {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 72px;
  line-height: 1;
  color: var(--lime);
  text-shadow: 4px 4px 0 var(--red-dark);
}
.num label {
  display: block;
  font-family: "Comic Neue", sans-serif;
  font-size: 15px;
  margin-top: 10px;
  color: #c9c9e0;
}

/* ==========================================================================
   11. THE GALLERY OF CHAOS
   ========================================================================== */
.chaos-sec {
  background: var(--pink);
  background-image:
    radial-gradient(rgba(255,255,255,0.25) 2px, transparent 2px);
  background-size: 30px 30px;
}
.chaos-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: var(--ink);
  -webkit-text-stroke: 2px var(--cream);
  text-shadow: 5px 5px 0 var(--cream);
  margin-bottom: 34px;
  transform: rotate(1.5deg);
}
.chaos-title.in { transform: rotate(1.5deg); }
.chaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  width: min(1000px, 94vw);
}
.chaos {
  font-family: "Comic Neue", sans-serif;
  font-weight: 700;
  font-size: 20px;
  background: var(--cream);
  border: 4px solid var(--ink);
  padding: 20px 14px;
  text-align: center;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  animation: floaty 3.5s ease-in-out infinite;
}
.chaos:nth-child(odd) { transform: rotate(-3deg); background: var(--lime); }
.chaos:nth-child(even) { transform: rotate(3deg); background: var(--yellow); }
.chaos:nth-child(3n) { background: #fff; animation-delay: 0.8s; }
.chaos:nth-child(4n) { animation-delay: 1.4s; }
@keyframes floaty {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

.haiku {
  margin-top: 46px;
  background: var(--cream);
  border: 4px solid var(--ink);
  padding: 24px 34px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--ink);
  font-family: "Special Elite", monospace;
  transform: rotate(-2deg);
  font-size: 19px;
  line-height: 1.8;
}
.haiku.in { transform: rotate(-2deg); }
.haiku-head {
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: var(--red-dark);
  margin-bottom: 10px;
}
.haiku-by { font-family: "Caveat", cursive; font-size: 20px; margin-top: 10px; }

/* ==========================================================================
   12. THE END (SOON™)
   ========================================================================== */
.finale-sec {
  background: radial-gradient(circle at 50% 30%, #2a2a3a, #0b0b10 70%);
  color: var(--cream);
  text-align: center;
  gap: 26px;
}
.epilogue {
  font-family: "Special Elite", monospace;
  font-size: 20px;
  color: #b9b9c9;
}
.soon {
  font-family: "Bangers", cursive;
  font-size: clamp(90px, 22vw, 260px);
  line-height: 0.9;
  color: var(--lime);
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 10px 10px 0 var(--red), 18px 18px 0 var(--blue);
  animation: titleWobble 2.8s ease-in-out infinite;
}
.soon-sub {
  font-family: "Caveat", cursive;
  font-size: 30px;
  color: #d8d8e8;
}
.credits p {
  font-family: "Comic Neue", sans-serif;
  font-size: 18px;
  color: #a8a8c0;
  margin: 8px 0;
}
.credits p::before { content: "→ "; color: var(--yellow); }
.finale-quote {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(18px, 2.8vw, 26px);
  color: var(--yellow);
  max-width: 40ch;
  transform: rotate(-1.5deg);
}
.finale-quote.in { transform: rotate(-1.5deg); }

footer {
  margin-top: 30px;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: #7d7d95;
  border-top: 2px dashed #3a3a55;
  padding-top: 20px;
  width: min(700px, 92vw);
}
footer p { margin: 4px 0; }
footer .tiny { font-size: 16px; color: #5a5a70; }

.sparkle {
  position: absolute;
  font-size: 40px;
  animation: floaty 4s ease-in-out infinite;
}
.s1 { top: 10%; left: 12%; }
.s2 { top: 20%; right: 14%; animation-delay: 1s; }
.s3 { bottom: 18%; left: 20%; animation-delay: 2s; }

/* ---- responsive tweaks ---- */
@media (max-width: 720px) {
  .pcard { width: 44%; font-size: 11px; }
  .pcard p { font-size: 14px; }
  .board { height: 70vh; }
  .legal-sec { padding-left: 6vw; }
  .noir-sec { padding-left: 6vw; }
}

/* ==========================================================================
   DIRECTOR'S CUT — ADDITIONS
   ========================================================================== */

/* ---- title extras ---- */
.true-story {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 8px 12px;
  transform: rotate(-2deg);
}
.true-story.in { transform: rotate(-2deg); }
.dir-cut {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--red-dark);
  transform: rotate(1.5deg);
}
.dir-cut.in { transform: rotate(1.5deg); }

/* ---- chat reactions ---- */
.chat-react {
  border-top: 3px solid #3a3a55;
  padding: 8px 16px;
  font-family: "Comic Neue", sans-serif;
  color: #9ba0c9;
  font-size: 15px;
  border-radius: 0 0 14px 14px;
}

/* ==========================================================================
   ACT DIVIDERS
   ========================================================================== */
.act {
  justify-content: center;
  text-align: center;
  color: var(--cream);
  padding: 10vh 6vw;
}
.act-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 56ch;
}
.act-num {
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  letter-spacing: 4px;
  border: 3px double var(--cream);
  padding: 10px 18px;
  transform: rotate(-3deg);
  display: inline-block;
}
.act h2 {
  font-family: "Bangers", cursive;
  font-size: clamp(52px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: 2px;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(1deg);
}
.act p {
  font-family: "Special Elite", monospace;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.6;
  color: #f3ead8;
}
.act-dot {
  font-size: 40px;
  animation: recBlink 1.6s steps(2, start) infinite;
}
.act1 { background: linear-gradient(140deg, #c0392b, #e53125); }
.act2 { background: linear-gradient(140deg, #1f3a93, #3f7bff); }
.act3 { background: linear-gradient(140deg, #7d2a68, #c74d9b); }
.act4 { background: linear-gradient(140deg, #0b0b0d, #2a2a3a); }
.act5 { background: linear-gradient(140deg, #8a6d3b, #d9b46a); }
.act6 { background: linear-gradient(140deg, #a3110b, #ff4fa3); }
.act7 { background: linear-gradient(140deg, #0a4d3c, #2ecc71); }

/* ==========================================================================
   THE EYES INTERLUDE
   ========================================================================== */
.eyes-sec {
  background: radial-gradient(circle at 50% 40%, #2b2b42, #0d0d16 75%);
  gap: 30px;
}
.eyes {
  font-size: clamp(90px, 20vw, 220px);
  animation: eyeShake 0.7s ease-in-out infinite;
}
@keyframes eyeShake {
  0%, 100% { transform: translate(0, 0) rotate(-4deg); }
  25% { transform: translate(6px, -4px) rotate(5deg); }
  50% { transform: translate(-6px, 4px) rotate(-5deg); }
  75% { transform: translate(4px, 6px) rotate(4deg); }
}
.eyes-caption {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(30px, 5vw, 54px);
  color: var(--cream);
  text-align: center;
  line-height: 1.2;
}
.eyes-small {
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: #9ba0c9;
  text-align: center;
  max-width: 42ch;
}

/* ==========================================================================
   THE PASSWORD SAGA
   ========================================================================== */
.pwd-sec {
  background:
    repeating-linear-gradient(45deg, #101018 0 24px, #0c0c12 24px 48px);
  color: var(--cream);
  gap: 30px;
}
.pwd-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: var(--lime);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--red);
  transform: rotate(-2deg);
}
.pwd-title.in { transform: rotate(-2deg); }
.pwd-sub {
  font-family: "Comic Neue", sans-serif;
  font-size: 20px;
  color: #c9c9e0;
  text-align: center;
  max-width: 46ch;
}
.pwd-box {
  width: min(640px, 94vw);
  background: #05050a;
  border: 3px solid #2a2a3d;
  border-radius: 14px;
  font-family: "VT323", monospace;
  font-size: 22px;
  transform: rotate(0.6deg);
}
.pwd-box.in { transform: rotate(0.6deg); }
.pwd-head {
  background: #1a1a2b;
  color: #ff6b6b;
  padding: 10px 14px;
  border-bottom: 2px solid #2a2a3d;
}
.pwd-warn {
  padding: 14px 16px;
  color: #9ba0c9;
  font-size: 19px;
}
.pwd-form {
  display: flex;
  gap: 10px;
  padding: 0 16px 14px;
}
.pwd-form input {
  flex: 1;
  background: #10101c;
  border: 2px solid #2a2a3d;
  color: var(--lime);
  font-family: "VT323", monospace;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 8px;
}
.pwd-form input:focus { outline: 2px solid var(--lime); }
.pwd-form button {
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  padding: 0 16px;
  cursor: pointer;
  border-radius: 8px;
}
.pwd-form button:active { transform: scale(0.95); }
.pwd-msg { padding: 0 16px 12px; color: var(--yellow); min-height: 28px; }
.pwd-msg.granted { color: var(--lime); }
.pwd-msg.denied { color: #ff6b6b; }
.pwd-log {
  padding: 0 16px 16px;
  color: #5a5a70;
  font-size: 18px;
  min-height: 22px;
}
.pwd-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(640px, 94vw);
}
.attempt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #12121f;
  border: 2px solid #2a2a3d;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: "VT323", monospace;
  font-size: 20px;
}
.attempt code {
  background: #10101c;
  padding: 2px 10px;
  border-radius: 6px;
  color: var(--lime);
}
.denied {
  margin-left: auto;
  color: #ff6b6b;
  font-family: "Comic Neue", sans-serif;
  font-size: 16px;
}

/* ==========================================================================
   THE CLUE DECODER
   ========================================================================== */
.decoder-sec {
  background:
    radial-gradient(circle at 10% 90%, rgba(255, 79, 163, 0.3), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(63, 123, 255, 0.3), transparent 40%),
    #12121b;
  gap: 30px;
}
.decoder-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: var(--cream);
  -webkit-text-stroke: 2px var(--yellow);
  text-shadow: 5px 5px 0 var(--red);
  transform: rotate(1.5deg);
}
.decoder-title.in { transform: rotate(1.5deg); }
.decoder-sub {
  font-family: "Comic Neue", sans-serif;
  color: #c9c9e0;
  font-size: 19px;
  text-align: center;
}
.decoder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: min(1000px, 94vw);
  perspective: 1200px;
}
.dcard {
  position: relative;
  height: 200px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.dcard.flipped { transform: rotateY(180deg); }
.d-face,
.d-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  text-align: center;
  border-radius: 14px;
}
.d-face {
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  transform: rotate(1.5deg);
}
.d-back {
  background: var(--lime);
  border: 3px solid var(--ink);
  transform: rotateY(180deg) rotate(-1.5deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink);
}
.said {
  font-family: "Permanent Marker", cursive;
  font-size: 20px;
  color: var(--ink);
}
.tap {
  font-family: "Caveat", cursive;
  font-size: 18px;
  color: #6b5a00;
  animation: recBlink 1.4s steps(2, start) infinite;
}

/* ==========================================================================
   THE NDA
   ========================================================================== */
.nda-sec {
  background: #1a1206;
  color: var(--cream);
  gap: 26px;
  overflow: hidden;
}
.nda-bg {
  position: absolute;
  font-family: "Bangers", cursive;
  font-size: 22vw;
  color: rgba(229, 49, 37, 0.07);
  transform: rotate(-20deg);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
}
.nda-title {
  position: relative;
  z-index: 1;
  font-family: "Special Elite", monospace;
  font-size: clamp(28px, 4.6vw, 50px);
  text-align: center;
  color: #f5e9c9;
  max-width: 34ch;
}
.nda-sub {
  position: relative;
  z-index: 1;
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: #b9a47e;
  text-align: center;
}
.nda-doc {
  position: relative;
  z-index: 1;
  width: min(680px, 94vw);
  background: #f5ecd7;
  color: #2b2b2b;
  border: 3px solid #6b4a1f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  font-family: "Special Elite", monospace;
  font-size: 18px;
  transform: rotate(-0.6deg);
}
.nda-doc.in { transform: rotate(-0.6deg); }
.nda-doc-head {
  background: #2b1a08;
  color: #f5e9c9;
  padding: 12px 16px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  letter-spacing: 1px;
}
.nda-doc-body {
  padding: 20px 22px;
  line-height: 1.8;
}
.nda-doc-body p { margin-bottom: 12px; }
.nda-opt {
  color: #6b4a1f;
  background: rgba(255, 210, 63, 0.35);
}
.nda-sign {
  padding: 12px 22px;
  border-top: 2px dashed #c9b891;
  font-family: "Caveat", cursive;
  font-size: 22px;
  color: #6b4a1f;
}
.nda-foot {
  position: relative;
  z-index: 1;
  font-family: "Comic Neue", sans-serif;
  color: #b9a47e;
  font-size: 18px;
  text-align: center;
}

/* ==========================================================================
   THE 3.5 MONTH WAIT
   ========================================================================== */
.wait-sec {
  background:
    linear-gradient(rgba(10, 10, 20, 0.75), rgba(10, 10, 20, 0.85)),
    repeating-linear-gradient(0deg, #2a2a3d 0 2px, transparent 2px 40px);
  background-blend-mode: multiply;
  gap: 28px;
}
.wait-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--red);
  transform: rotate(-1.5deg);
  text-align: center;
}
.wait-title.in { transform: rotate(-1.5deg); }
.wait-sub {
  font-family: "Comic Neue", sans-serif;
  color: #c9c9e0;
  font-size: 19px;
  text-align: center;
  max-width: 46ch;
}
.wait-quote {
  width: min(640px, 94vw);
  background: #17172a;
  border-left: 6px solid var(--blue);
  padding: 18px 22px;
  font-family: "Permanent Marker", cursive;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--cream);
}
.wait-quote p { margin-bottom: 8px; }
.wait-quote span {
  font-family: "Caveat", cursive;
  font-size: 20px;
  color: #9ba0c9;
}
.wait-quote-y { border-left-color: var(--yellow); }
.wait-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: min(900px, 94vw);
}
.wait-stat {
  flex: 1;
  min-width: 140px;
  background: #12121f;
  border: 3px solid #2a2a3d;
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
}
.wait-stat .n {
  display: block;
  font-family: "Bangers", cursive;
  font-size: 48px;
  color: var(--yellow);
}
.wait-stat label {
  font-family: "Comic Neue", sans-serif;
  font-size: 14px;
  color: #9ba0c9;
}
.wait-foot {
  font-family: "Special Elite", monospace;
  color: #c9c9e0;
  font-size: 18px;
  text-align: center;
  max-width: 52ch;
}

/* ==========================================================================
   THE HACKATIME DISCOVERY
   ========================================================================== */
.hacka-sec {
  background: linear-gradient(160deg, #1b2b1b, #0b1a0b);
  gap: 30px;
}
.hacka-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(18px, 3.6vw, 32px);
  color: var(--lime);
  text-align: center;
  line-height: 1.5;
}
.hacka-sub {
  font-family: "Comic Neue", sans-serif;
  color: #a9d9a9;
  font-size: 18px;
  text-align: center;
  max-width: 48ch;
}
.hacka-card {
  width: min(620px, 94vw);
  background: #0d1f0d;
  border: 3px solid #2e5c2e;
  border-radius: 16px;
  padding: 30px 26px;
  font-family: "VT323", monospace;
  transform: rotate(-0.8deg);
}
.hacka-card.in { transform: rotate(-0.8deg); }
.hacka-bar {
  height: 26px;
  background: #0a120a;
  border: 2px solid #2e5c2e;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 20px;
}
.hacka-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2ecc71, #a3ff3f);
  transition: width 1.6s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.hacka-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hacka-big {
  font-family: "Bangers", cursive;
  font-size: 90px;
  color: var(--lime);
  line-height: 1;
  text-shadow: 3px 3px 0 #0a120a;
}
.hacka-unit { font-size: 30px; color: #8fcf8f; }
.hacka-proj {
  margin-left: auto;
  font-size: 24px;
  color: var(--yellow);
}
.hacka-note {
  margin-top: 14px;
  font-size: 22px;
  color: #8fcf8f;
}
.hacka-note2 {
  font-size: 20px;
  color: var(--yellow);
  margin-top: 8px;
}
.hacka-foot {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--cream);
  text-align: center;
  max-width: 50ch;
}

/* ==========================================================================
   THE COMMIT SCREENSHOT
   ========================================================================== */
.git-sec {
  background:
    linear-gradient(180deg, #0d1117, #161b22);
  gap: 26px;
}
.git-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: var(--cream);
  text-shadow: 4px 4px 0 #58a6ff;
  transform: rotate(1.5deg);
}
.git-title.in { transform: rotate(1.5deg); }
.git-sub {
  font-family: "Comic Neue", sans-serif;
  color: #8b949e;
  font-size: 18px;
  text-align: center;
  max-width: 50ch;
}
.git-window {
  width: min(720px, 94vw);
  background: #0d1117;
  border: 3px solid #30363d;
  border-radius: 12px;
  font-family: "VT323", monospace;
  font-size: 22px;
  transform: rotate(0.4deg);
}
.git-window.in { transform: rotate(0.4deg); }
.git-head {
  background: #161b22;
  color: #8b949e;
  padding: 10px 14px;
  border-bottom: 2px solid #30363d;
  font-size: 17px;
}
.git-body { padding: 18px; line-height: 1.7; }
.git-body p { color: #c9d1d9; margin-bottom: 10px; }
.git-hash { color: #58a6ff; }
.git-word {
  background: #ffd23f;
  color: #000;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: bold;
  animation: recBlink 1.4s steps(2, start) infinite;
}
.git-note {
  color: #6e7681;
  font-size: 18px;
  border-top: 2px dashed #30363d;
  padding-top: 10px;
}
.git-aside {
  width: min(720px, 94vw);
  font-family: "Comic Neue", sans-serif;
  color: #c9d1d9;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.claude-tabs {
  background: #161b22;
  border: 2px solid #d97757;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: "VT323", monospace;
  font-size: 22px;
  color: #ffb3a0;
}
.computah {
  background: #161b22;
  border: 2px solid #30363d;
  border-radius: 10px;
  padding: 12px 16px;
}
.redacted {
  background: #000;
  color: #000;
  padding: 0 6px;
  border-radius: 3px;
  border: 1px solid #58a6ff;
}
.git-foot {
  font-family: "Permanent Marker", cursive;
  font-size: 22px;
  color: var(--yellow);
  text-align: center;
  max-width: 46ch;
}

/* ==========================================================================
   THE AI ARMY
   ========================================================================== */
.ai-sec {
  background: linear-gradient(160deg, #2b1b3b, #140b1e);
  gap: 30px;
}
.ai-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: var(--cream);
  text-shadow: 4px 4px 0 #7d5bbf;
  transform: rotate(-2deg);
}
.ai-title.in { transform: rotate(-2deg); }
.ai-sub {
  font-family: "Comic Neue", sans-serif;
  color: #c9b8e8;
  font-size: 19px;
  text-align: center;
  max-width: 48ch;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: min(980px, 94vw);
}
.ai {
  background: #221535;
  border: 3px solid #3d2a5c;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}
.ai:nth-child(even) { transform: rotate(-1.5deg); }
.ai.in { transform: rotate(1.5deg); }
.ai.in:nth-child(even) { transform: rotate(-1.5deg); }
.ai-name {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: var(--lime);
  margin-bottom: 12px;
}
.ai p {
  font-family: "Comic Neue", sans-serif;
  color: #c9b8e8;
  font-size: 16px;
  line-height: 1.5;
}
.ai-role {
  display: inline-block;
  margin-top: 12px;
  font-family: "Caveat", cursive;
  font-size: 18px;
  color: var(--yellow);
  background: rgba(255, 210, 63, 0.12);
  padding: 2px 10px;
  border-radius: 20px;
}
.ai-quote {
  width: min(680px, 94vw);
  background: #221535;
  border-left: 6px solid var(--lime);
  padding: 16px 20px;
  font-family: "Permanent Marker", cursive;
  color: var(--cream);
  font-size: 19px;
}
.ai-quote p { margin-bottom: 6px; }
.ai-quote span { font-family: "Caveat", cursive; color: #9b83c9; font-size: 19px; }
.ai-quote-pink { border-left-color: var(--pink); }

/* ==========================================================================
   THE LOCKED DOOR
   ========================================================================== */
.door-sec {
  background: #1a1a1a;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 6px);
  gap: 30px;
}
.door-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: #ffcc00;
  text-shadow: 4px 4px 0 #000;
  transform: rotate(1deg);
}
.door-title.in { transform: rotate(1deg); }
.door-sub {
  font-family: "Comic Neue", sans-serif;
  color: #c9c9c9;
  font-size: 19px;
  text-align: center;
  max-width: 50ch;
}
.door-stage {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: min(860px, 94vw);
}
.door {
  position: relative;
  width: 220px;
  height: 360px;
  background:
    linear-gradient(90deg, #7a4c2b 0 20px, #9a6633 20px 200px, #6b3f24 200px 220px);
  border: 8px solid #3a2313;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: rotate(-2deg);
}
.door-handle {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 14px;
  height: 14px;
  background: #e8c66a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #3a2313;
}
.door-sign {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: var(--red);
  color: var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  padding: 10px 12px;
  border: 3px double var(--cream);
}
.door-lock {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 54px;
  background: #e8c66a;
  border-radius: 8px;
  animation: lockPulse 2s ease-in-out infinite;
}
.door-lock::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 34px;
  border: 8px solid #e8c66a;
  border-bottom: none;
  border-radius: 24px 24px 0 0;
}
@keyframes lockPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 204, 0, 0); }
  50% { box-shadow: 0 0 30px rgba(255, 204, 0, 0.6); }
}
.door-note {
  flex: 1;
  min-width: 280px;
  font-family: "VT323", monospace;
  font-size: 24px;
  color: #c9c9c9;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.door-note p {
  background: #242424;
  border-left: 5px solid #ffcc00;
  padding: 10px 14px;
}
.door-zap { color: var(--yellow); }
.door-foot {
  font-family: "Special Elite", monospace;
  color: #a9a9a9;
  font-size: 18px;
  text-align: center;
  max-width: 60ch;
  line-height: 1.6;
}

/* ==========================================================================
   THE CONFIRMATION
   ========================================================================== */
.confirm-sec {
  background: linear-gradient(150deg, #3b2410, #1c1006);
  gap: 30px;
}
.confirm-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: #ffb454;
  text-shadow: 4px 4px 0 #000;
  transform: rotate(-1.5deg);
}
.confirm-title.in { transform: rotate(-1.5deg); }
.confirm-sub {
  font-family: "Comic Neue", sans-serif;
  color: #d9b98a;
  font-size: 19px;
  text-align: center;
  max-width: 50ch;
}
.confirm-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(680px, 94vw);
}
.conf {
  background: #2a1a0c;
  border: 2px solid #4a2f18;
  border-left: 6px solid #ffb454;
  border-radius: 8px;
  padding: 14px 18px;
  font-family: "Permanent Marker", cursive;
  color: #ffe9c9;
  font-size: 18px;
}
.conf p { margin-bottom: 4px; }
.conf span { font-family: "Caveat", cursive; color: #b98a55; font-size: 19px; }

/* ==========================================================================
   THE AIRPORT SAGA
   ========================================================================== */
.airport-sec {
  background: linear-gradient(160deg, #0b3a5c, #0a1e33);
  gap: 26px;
}
.airport-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: #7ecbff;
  text-shadow: 4px 4px 0 #0a1e33;
  transform: rotate(1deg);
}
.airport-title.in { transform: rotate(1deg); }
.airport-sub {
  font-family: "Comic Neue", sans-serif;
  color: #9fd4ff;
  font-size: 18px;
  text-align: center;
}
.boarding {
  width: min(520px, 94vw);
  background: #f5f5f5;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  font-family: "Special Elite", monospace;
  transform: rotate(1.5deg);
  overflow: hidden;
}
.boarding.in { transform: rotate(1.5deg); }
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a1e33;
  color: #fff;
  padding: 14px 18px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  border-bottom: 3px dashed #ffb454;
}
.board-body { padding: 18px; }
.bb {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 15px;
}
.bb span { color: #777; }
.status-danger {
  color: var(--red);
  animation: recBlink 1s steps(2, start) infinite;
}
.airport-foot {
  font-family: "Caveat", cursive;
  color: #9fd4ff;
  font-size: 22px;
  text-align: center;
  max-width: 50ch;
}

/* ==========================================================================
   WILL KITCH'S TWIN
   ========================================================================== */
.twin-sec {
  background: #0c1a0c;
  background-image:
    radial-gradient(rgba(46, 204, 113, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  gap: 26px;
}
.twin-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(18px, 3.4vw, 30px);
  color: #7dffb0;
  text-align: center;
  line-height: 1.5;
}
.twin-sub {
  font-family: "Comic Neue", sans-serif;
  color: #8fcf9f;
  font-size: 18px;
  text-align: center;
  max-width: 50ch;
}
.twin-chat {
  width: min(640px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0f2210;
  border: 3px solid #1f4a2a;
  border-radius: 16px;
  padding: 18px;
  font-family: "VT323", monospace;
  font-size: 22px;
}
.twin-chat .msg { max-width: 85%; }
.twin-chat .msg.left { background: #1a3a20; }
.twin-chat .msg.right { background: #1e4a2c; }
.twin-chat .msg p { color: #d9ffe9; }
.twin-foot {
  font-family: "Permanent Marker", cursive;
  color: #7dffb0;
  font-size: 21px;
  text-align: center;
  max-width: 46ch;
}

/* ==========================================================================
   THE LEAKED EMOJI
   ========================================================================== */
.leak-sec {
  background:
    repeating-linear-gradient(45deg, #fff 0 40px, #f0f0f5 40px 80px);
  gap: 26px;
}
.leak-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: #111;
  -webkit-text-stroke: 2px var(--pink);
  transform: rotate(-2deg);
}
.leak-title.in { transform: rotate(-2deg); }
.leak-sub {
  font-family: "Comic Neue", sans-serif;
  color: #555;
  font-size: 18px;
  text-align: center;
  max-width: 52ch;
}
.leak-board {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  width: min(900px, 94vw);
  align-items: center;
}
.leak-evidence {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leak-step {
  background: #fff;
  border: 2px solid #111;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  padding: 12px 14px;
  font-family: "Special Elite", monospace;
  font-size: 16px;
  transform: rotate(0.6deg);
}
.leak-step:nth-child(even) { transform: rotate(-0.6deg); }
.leak-step span { color: var(--pink); font-weight: bold; margin-right: 6px; }
.leak-blob {
  background: #111;
  color: #fff;
  border: 4px solid var(--pink);
  border-radius: 50%;
  width: 240px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 30px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.6;
  margin: 0 auto;
  box-shadow: 0 0 0 8px rgba(255, 79, 163, 0.15);
}
.leak-emoji { font-size: 42px; }
.leak-small { color: #888; font-size: 9px; }

/* ==========================================================================
   THE CLUB EATERS
   ========================================================================== */
.eaters-sec {
  background: #ffdfbf;
  gap: 24px;
}
.eaters-title {
  font-family: "Bangers", cursive;
  font-size: clamp(44px, 8vw, 90px);
  color: #c0392b;
  text-shadow: 4px 4px 0 #7a2a1f;
  transform: rotate(-1deg);
}
.eaters-title.in { transform: rotate(-1deg); }
.eaters-sub {
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: #7a2a1f;
  text-align: center;
}
.diner {
  width: min(560px, 94vw);
  background: #fff8e7;
  border: 4px solid #6b3f24;
  border-radius: 20px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(1.5deg);
  overflow: hidden;
}
.diner.in { transform: rotate(1.5deg); }
.diner-sign {
  background: #c0392b;
  color: #fff8e7;
  font-family: "Permanent Marker", cursive;
  font-size: 26px;
  text-align: center;
  padding: 14px;
  border-bottom: 4px solid #6b3f24;
}
.diner-menu { padding: 20px 24px; }
.order {
  font-family: "Special Elite", monospace;
  font-size: 17px;
  margin-bottom: 14px;
  color: #3a2313;
  line-height: 1.5;
}
.order span { color: #8a6d3b; font-family: "Caveat", cursive; font-size: 19px; }
.order.receipt { color: #8a6d3b; text-align: center; font-size: 15px; }
.diner-foot {
  background: #6b3f24;
  color: #fff8e7;
  font-family: "Comic Neue", sans-serif;
  text-align: center;
  padding: 12px;
  font-size: 16px;
}

/* ==========================================================================
   THE TANGENT (GRANTS)
   ========================================================================== */
.tangent-sec {
  background: #2a2a2a;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,0.04) 46px 47px);
  gap: 24px;
}
.tangent-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: #fff;
  text-shadow: 4px 4px 0 #777;
  transform: rotate(1.5deg);
}
.tangent-title.in { transform: rotate(1.5deg); }
.tangent-sub {
  font-family: "Comic Neue", sans-serif;
  color: #ccc;
  font-size: 18px;
  text-align: center;
  max-width: 52ch;
}
.receipt {
  width: min(540px, 94vw);
  background: #fff;
  color: #222;
  font-family: "Special Elite", monospace;
  font-size: 16px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: rotate(-1deg);
}
.receipt.in { transform: rotate(-1deg); }
.rec-head {
  text-align: center;
  font-weight: bold;
  letter-spacing: 2px;
  border-bottom: 2px dashed #888;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-size: 18px;
}
.rec-line {
  padding: 8px 0;
  border-bottom: 1px dashed #ccc;
  line-height: 1.5;
}
.rec-line span {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 0 8px;
  margin-right: 8px;
  font-size: 14px;
}
.rec-total {
  text-align: center;
  padding-top: 14px;
  font-family: "Permanent Marker", cursive;
  font-size: 15px;
  color: #c0392b;
}

/* ==========================================================================
   THE GCSE
   ========================================================================== */
.gcse-sec {
  background: #2f6b3f;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px);
  background-size: 14px 14px;
  gap: 22px;
}
.gcse-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(36px, 6vw, 64px);
  color: #fff;
  text-shadow: 3px 3px 0 #1f4a2a;
  transform: rotate(-1.5deg);
}
.gcse-title.in { transform: rotate(-1.5deg); }
.gcse-sub {
  font-family: "Caveat", cursive;
  color: #d9ffe9;
  font-size: 22px;
  text-align: center;
}
.board-chalk {
  width: min(720px, 94vw);
  background: #1f4a2a;
  border: 14px solid #8a5a2b;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
  padding: 34px 40px;
  font-family: "Comic Neue", sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  color: #f5f5dc;
  transform: rotate(-0.6deg);
  line-height: 1.8;
}
.board-chalk.in { transform: rotate(-0.6deg); }
.board-chalk p { margin-bottom: 14px; }
.chalk-1 { color: #ffd9a3; }
.chalk-2 { color: #a3ffc9; }
.chalk-3 { color: #ffb8d9; font-weight: bold; }
.chalk-4 { color: #ffd23f; }
.chalk-5 { color: #c9d9ff; }
.chalk-x { color: #ff6b6b; font-size: 0.8em; }
.gcse-foot {
  font-family: "Special Elite", monospace;
  color: #d9ffe9;
  font-size: 18px;
  text-align: center;
}

/* ==========================================================================
   THE HAIKU CORNER
   ========================================================================== */
.haiku-sec {
  background: linear-gradient(160deg, #3b2f1f, #1f1a10);
  gap: 30px;
}
.haiku-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 80px);
  color: #ffe9a8;
  text-shadow: 4px 4px 0 #3a2313;
  transform: rotate(-1deg);
}
.haiku-title.in { transform: rotate(-1deg); }
.haiku-sub {
  font-family: "Caveat", cursive;
  color: #c9b891;
  font-size: 22px;
  text-align: center;
  max-width: 44ch;
}
.haiku-sec .haiku {
  margin-top: 0;
  width: min(460px, 92vw);
  background: #f2e8cf;
  border: 3px solid #3a2313;
}
.haiku-sec .haiku p {
  font-family: "Special Elite", monospace;
  font-size: 18px;
  line-height: 2;
  white-space: pre-line;
}
.haiku-2 { transform: rotate(1.5deg); background: #f5e3c4 !important; }
.haiku-3 { transform: rotate(-1.5deg); background: #efe4c0 !important; }

/* ==========================================================================
   THE META (4th wall)
   ========================================================================== */
.meta-sec {
  background: #050512;
  background-image:
    linear-gradient(rgba(255, 79, 163, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 123, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  gap: 26px;
}
.meta-title {
  font-family: "Bangers", cursive;
  font-size: clamp(40px, 7vw, 84px);
  color: #fff;
  text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--blue);
  transform: rotate(-1deg);
}
.meta-title.in { transform: rotate(-1deg); }
.meta-sub {
  font-family: "Caveat", cursive;
  color: #9ba0c9;
  font-size: 24px;
  text-align: center;
  max-width: 46ch;
}
.meta-card {
  width: min(680px, 94vw);
  background: #0e0e22;
  border: 3px solid var(--pink);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 0 40px rgba(255, 79, 163, 0.15);
  transform: rotate(0.6deg);
  font-family: "Comic Neue", sans-serif;
  color: #d8d8e8;
}
.meta-card.in { transform: rotate(0.6deg); }
.meta-big {
  font-family: "Bangers", cursive;
  font-size: clamp(28px, 4.6vw, 44px);
  color: var(--pink);
  margin-bottom: 6px;
}
.meta-code {
  margin-top: 16px;
  font-family: "VT323", monospace;
  font-size: 22px;
  color: #a3ffc9;
  line-height: 1.7;
  background: #050512;
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
}
.meta-cmd { color: var(--yellow); }
.meta-note {
  margin-top: 16px;
  font-family: "Permanent Marker", cursive;
  color: #9ba0c9;
  font-size: 19px;
}

/* ==========================================================================
   THE SUBMISSION
   ========================================================================== */
.submit-sec {
  background: #eef3fb;
  gap: 26px;
}
.submit-title {
  font-family: "Bangers", cursive;
  font-size: clamp(36px, 6.4vw, 72px);
  color: var(--blue);
  -webkit-text-stroke: 1.5px var(--ink);
  transform: rotate(1.5deg);
  text-align: center;
}
.submit-title.in { transform: rotate(1.5deg); }
.submit-sub {
  font-family: "Comic Neue", sans-serif;
  color: #555;
  font-size: 18px;
  text-align: center;
  max-width: 52ch;
}
.submit-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(680px, 94vw);
}
.submit-quote {
  background: #fff;
  border-left: 6px solid var(--blue);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  padding: 14px 18px;
  font-family: "Permanent Marker", cursive;
  font-size: 17px;
  color: #222;
}
.submit-will { border-left-color: var(--yellow); }
.submit-jacob { border-left-color: var(--lime); }
.submit-checklist {
  width: min(680px, 94vw);
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
  padding: 22px;
  font-family: "Comic Neue", sans-serif;
  font-size: 18px;
  transform: rotate(-0.8deg);
}
.submit-checklist.in { transform: rotate(-0.8deg); }
.cl-head {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  margin-bottom: 16px;
  color: var(--blue);
  line-height: 1.6;
}
.submit-checklist label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
  cursor: pointer;
}
.submit-checklist input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--lime);
}
.cl-count {
  margin-top: 16px;
  font-family: "Bangers", cursive;
  font-size: 28px;
  color: var(--red);
  letter-spacing: 1px;
}
.cl-done {
  margin-top: 6px;
  font-family: "Permanent Marker", cursive;
  font-size: 20px;
  color: var(--lime);
  background: #eaffe9;
  padding: 8px 12px;
  border: 2px solid var(--lime);
  display: none;
}
.cl-done.show { display: block; }

/* ==========================================================================
   THE POPCORN
   ========================================================================== */
.popcorn-sec {
  background: linear-gradient(160deg, #ffe9a8, #ffd23f);
  gap: 26px;
}
.popcorn-title {
  font-family: "Bangers", cursive;
  font-size: clamp(36px, 6vw, 70px);
  color: var(--ink);
  text-shadow: 3px 3px 0 #fff;
  transform: rotate(-1.5deg);
}
.popcorn-title.in { transform: rotate(-1.5deg); }
.popcorn-sub {
  font-family: "Comic Neue", sans-serif;
  color: #6b5a00;
  font-size: 18px;
  text-align: center;
}
.popcorn {
  font-size: 60px;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  cursor: pointer;
  box-shadow: 8px 8px 0 var(--red);
  transition: transform 0.1s ease;
  display: grid;
  place-content: center;
}
.popcorn:hover { transform: scale(1.1) rotate(-6deg); }
.popcorn:active { transform: scale(0.92); }
.popcorn.pop { animation: popcornPop 0.25s ease; }
@keyframes popcornPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4) rotate(10deg); }
  100% { transform: scale(1); }
}
.popcorn-count {
  font-family: "Caveat", cursive;
  font-size: 24px;
  color: #6b5a00;
  text-align: center;
  max-width: 40ch;
}

/* ---- the cast ---- */
.cast-sec { background: linear-gradient(180deg, #10142a 0%, #171a35 100%); }
.cast-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 90px;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #ffd23f;
  text-shadow: 5px 5px 0 #7c2bfd;
  margin: 0;
}
.cast-sub {
  font-family: "Caveat", cursive;
  font-size: 30px;
  text-align: center;
  color: #b9b4e8;
  margin: 10px 0 50px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  width: min(1080px, 94vw);
  margin: 0 auto;
}
.cast {
  background: #ffffff0d;
  border: 2px solid #ffffff24;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cast:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: #ffd23f;
  background: #ffffff14;
}
.cast-emoji { font-size: 44px; display: block; margin-bottom: 10px; }
.cast b {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #ffd23f;
}
.cast p {
  font-family: "Comic Neue", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: #cfc9f5;
  margin: 8px 0 0;
}

/* ---- extra responsive ---- */
@media (max-width: 720px) {
  .leak-board { grid-template-columns: 1fr; }
  .leak-blob { width: 180px; height: 180px; font-size: 8px; }
  .door-stage { flex-direction: column; }
  .hacka-big { font-size: 64px; }
  .board-chalk { padding: 24px 18px; }
}
