/* ============================================================
   Cyber Utopia, Learn Deeper page-specific styles.
   Paper register: same brand layer as the quiz card.
   ============================================================ */

.ld-body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(226,0,116,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(226,0,116,0.06) 0%, transparent 60%),
    #F6F7F9;
  color: var(--ink);
}
.ld-body .cctv-bar a.active {
  color: var(--magenta);
}
/* Footer on the light Learn Deeper page, flip the dark-bg text colors.
   Use !important to beat any utopia-unlocked overrides that might
   propagate from localStorage state. */
.ld-body .footer {
  background: transparent !important;
  border-top: 1px solid rgba(10,10,11,0.08);
  color: rgba(10,10,11,0.70) !important;
  backdrop-filter: none !important;
}
.ld-body .footer-credit {
  color: rgba(10,10,11,0.78) !important;
  font-weight: 600;
}
.ld-body .footer-credit .m {
  color: var(--magenta) !important;
}
.ld-body .footer .pillar-tag {
  border-color: rgba(10,10,11,0.18);
  color: rgba(10,10,11,0.65);
}
.ld-body .footer .pillar-tag.m {
  border-color: var(--magenta);
  color: var(--magenta);
}

.ld-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 4vw, 60px) 80px;
}

/* ── Header ─────────────────────────────────────────────────── */
.ld-header {
  text-align: center;
  margin-bottom: 44px;
}
.ld-eyebrow {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em; color: var(--magenta);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.ld-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--magenta); }
.ld-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.96;
  color: var(--ink);
  font-size: clamp(38px, 5.4vw, 64px);
  margin: 0 0 18px;
  text-wrap: balance;
}
.ld-h1 .m { color: var(--magenta); display: block; }
.ld-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: rgba(10,10,11,0.65);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ── Room tabs ──────────────────────────────────────────────── */
/* Sticky stack that holds room-tabs + topic-dots together.
   Single opaque background so no slide content can leak through
   any seam between them as the page scrolls past. */
.ld-sticky-stack {
  position: sticky;
  top: 56px;          /* below the cctv-bar */
  z-index: 50;
  background: #F6F7F9;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(10,10,11,0.08);
  box-shadow: 0 6px 14px -8px rgba(10,10,11,0.10);
}

/* Room-tab bar is no longer sticky — it lives inside ld-sticky-stack. */
.ld-rooms {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 12px 0 4px;
  background: transparent;
}
.ld-room-btn {
  appearance: none; background: #fff; border: 1px solid rgba(10,10,11,0.10);
  padding: 12px 10px;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 4px;
  transition: all 0.15s ease;
  font-family: inherit;
}
.ld-room-btn:hover {
  border-color: var(--magenta);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(10,10,11,0.05);
}
.ld-room-btn.is-active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(226,0,116,0.20);
}
.ld-room-btn .num {
  font-family: var(--font-hud);
  font-size: 9px; letter-spacing: 0.18em;
  opacity: 0.55;
  text-transform: uppercase;
}
.ld-room-btn.is-active .num { opacity: 0.85; }
.ld-room-btn .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
@media (max-width: 760px) {
  .ld-rooms { grid-template-columns: repeat(2, 1fr); }
  .ld-room-btn { padding: 10px 12px; }
}

/* ── Slide card ─────────────────────────────────────────────── */
.ld-slide {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.08);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 56px);
  margin-bottom: 28px;
  position: relative;
  box-shadow: 0 1px 0 rgba(10,10,11,0.04), 0 30px 70px rgba(10,10,11,0.06);
}
.ld-slide::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--magenta);
  border-radius: 8px 8px 0 0;
}
.ld-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(10,10,11,0.50);
  text-transform: uppercase;
  margin-bottom: 18px;
  gap: 14px;
}
.ld-meta .ep {
  color: var(--magenta);
  font-weight: 700;
}
.ld-meta .room {
  border: 1px solid rgba(226,0,116,0.30);
  color: var(--magenta);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
}

.ld-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}

.ld-catch {
  font-family: 'Courier Prime', monospace;
  font-style: italic;
  font-size: clamp(18px, 2.3vw, 28px);
  line-height: 1.4;
  color: var(--ink);
  border-left: 4px solid var(--magenta);
  padding: 18px 24px;
  margin: 0 0 36px;
  background: linear-gradient(90deg, rgba(226,0,116,0.06), rgba(226,0,116,0) 60%);
  text-wrap: pretty;
}
.ld-catch::before {
  content: "“";
  font-family: 'VT323', monospace;
  font-size: 1.8em;
  color: var(--magenta);
  font-style: normal;
  line-height: 0;
  margin-right: 6px;
  vertical-align: -0.4em;
}
.ld-catch::after {
  content: "”";
  font-family: 'VT323', monospace;
  font-size: 1.8em;
  color: var(--magenta);
  font-style: normal;
  line-height: 0;
  margin-left: 4px;
  vertical-align: -0.4em;
}

/* Section headers inside the slide */
.ld-sec-label {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ld-sec-label::before { content: ""; width: 20px; height: 1px; background: var(--magenta); }

.ld-body-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.7;
  color: rgba(10,10,11,0.78);
  margin: 0;
  text-wrap: pretty;
}
/* Inline highlight: **text** in forDummies copy renders as a
   magenta term — used to surface the topic name in the body. */
.ld-body-text .ld-hl {
  color: var(--magenta);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.ld-section { margin-bottom: 34px; }
.ld-section:last-child { margin-bottom: 0; }

.ld-sketch {
  font-family: 'Courier Prime', monospace;
  font-style: italic;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  color: rgba(10,10,11,0.70);
  background: rgba(214,255,64,0.10);
  border-left: 3px solid #9bbf2a;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 0;
}

/* Dialogue script */
.ld-dialogue {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.ld-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 3px solid transparent;
  background: rgba(0,0,0,0.015);
}
.ld-line.ld-myselle {
  border-left-color: var(--magenta);
  background: rgba(226,0,116,0.04);
}
.ld-line.ld-sloth {
  border-left-color: #9bbf2a;
  background: rgba(214,255,64,0.08);
}
.ld-speaker {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 2px;
}
.ld-myselle .ld-speaker { color: var(--magenta); }
.ld-sloth   .ld-speaker { color: #6a8a1f; }
.ld-line-text {
  font-family: 'Courier Prime', monospace;
  font-style: italic;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.6;
  color: rgba(10,10,11,0.82);
  text-wrap: pretty;
}
@media (max-width: 620px) {
  .ld-line {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Divider between sections */
.ld-rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(10,10,11,0) 0%, rgba(10,10,11,0.10) 20%, rgba(10,10,11,0.10) 80%, rgba(10,10,11,0) 100%);
  margin: 0 0 30px;
}

/* ── CCTV image frame (per topic) ───────────────────────────
   media/rooms/<roomId>/<NN>.jpg   (01..07 per room)
   ─────────────────────────────────────────────────────────── */
.ld-cam {
  position: relative;
  margin: 8px 0 36px;
  padding: 0;
  /* Bleed slightly outside the slide card for cinematic impact */
  margin-left: calc(var(--ld-cam-bleed, 0px) * -1);
  margin-right: calc(var(--ld-cam-bleed, 0px) * -1);
}
@media (min-width: 880px) {
  .ld-cam { --ld-cam-bleed: 28px; }
}
.ld-cam-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, #2a2a2c 0%, #0d0d0e 70%, #060607 100%);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(10,10,11,0.20),
    0 30px 60px rgba(10,10,11,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  isolation: isolate;
}
.ld-cam-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Source stills are already monochrome, add only mild CCTV punch */
  filter:
    contrast(1.06)
    brightness(0.96)
    saturate(0.92);
  z-index: 1;
  display: block;
}
.ld-cam-img.is-missing { display: none; }

/* "No signal" placeholder visible until image loads */
.ld-cam-noissignal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  z-index: 1;
  color: rgba(255,255,255,0.42);
  font-family: var(--font-hud);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  text-align: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 0 12px,
      rgba(255,255,255,0)    12px 24px
    );
}
.ld-cam-img:not(.is-missing) ~ .ld-cam-noissignal { display: none; }
.ld-cam-noissignal-title {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--magenta);
  letter-spacing: 0.28em;
  font-weight: 700;
}
.ld-cam-noissignal-path {
  font-size: 11px;
  letter-spacing: 0.18em;
}
.ld-cam-noissignal-path span {
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 2px;
  margin: 0 4px;
}
.ld-cam-noissignal-glyph {
  font-family: var(--font-hud);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.10);
}

/* Layered overlays, ordered bottom→top */
.ld-cam-tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  /* Subtle deepening of corners + faint top highlight (no color cast) */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.18) 100%);
}
.ld-cam-chroma {
  /* Chromatic aberration: two ghost layers slightly offset on R/B */
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255,0,80,0.06) 0%,
      rgba(255,0,80,0.0) 8%,
      rgba(0,200,255,0.0) 92%,
      rgba(0,200,255,0.05) 100%);
  mix-blend-mode: screen;
}
.ld-cam-scan {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.14) 2px,
    rgba(0,0,0,0.14) 3px
  );
  opacity: 0.65;
}
.ld-cam-noise {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.85 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: ldCamNoise 0.9s steps(6) infinite;
}
.ld-cam-vignette {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: radial-gradient(ellipse 115% 90% at 50% 50%,
    transparent 50%,
    rgba(0,0,0,0.20) 85%,
    rgba(0,0,0,0.55) 100%);
}
/* Horizontal tracking jitter that scans the frame */
.ld-cam-jitter {
  position: absolute; left: 0; right: 0; height: 14px;
  top: -14px;
  z-index: 7; pointer-events: none;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(255,255,255,0.04) 30%,
      rgba(255,255,255,0.10) 50%,
      rgba(255,255,255,0.04) 70%,
      transparent 100%);
  mix-blend-mode: screen;
  animation: ldCamJitter 6s linear infinite;
}
/* Slow vertical drift bar (rolling shutter feel) */
.ld-cam-tear {
  position: absolute; left: 0; right: 0; height: 2px;
  top: 0;
  z-index: 7; pointer-events: none;
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 14px rgba(255,255,255,0.10);
  animation: ldCamTear 11s linear infinite;
  animation-delay: -3s;
}

/* Brackets */
.ld-cam-corner {
  position: absolute; z-index: 9; pointer-events: none;
  width: 22px; height: 22px;
}
.ld-cam-corner.tl { top: 10px;    left: 10px;
  border-top: 2px solid rgba(255,255,255,0.55);
  border-left: 2px solid rgba(255,255,255,0.55); }
.ld-cam-corner.tr { top: 10px;    right: 10px;
  border-top: 2px solid rgba(255,255,255,0.55);
  border-right: 2px solid rgba(255,255,255,0.55); }
.ld-cam-corner.bl { bottom: 10px; left: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.55);
  border-left: 2px solid rgba(255,255,255,0.55); }
.ld-cam-corner.br { bottom: 10px; right: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.55);
  border-right: 2px solid rgba(255,255,255,0.55); }

/* Centered crosshair reticle */
.ld-cam-crosshair {
  position: absolute; inset: 0; z-index: 8; pointer-events: none;
}
.ld-cam-crosshair .ch-h,
.ld-cam-crosshair .ch-v {
  position: absolute; background: rgba(255,255,255,0.28);
}
.ld-cam-crosshair .ch-h {
  left: 50%; top: 50%; width: 24px; height: 1px;
  transform: translate(-50%, -50%);
  box-shadow: -28px 0 0 rgba(255,255,255,0.28), 28px 0 0 rgba(255,255,255,0.28);
}
.ld-cam-crosshair .ch-v {
  left: 50%; top: 50%; width: 1px; height: 24px;
  transform: translate(-50%, -50%);
  box-shadow: 0 -28px 0 rgba(255,255,255,0.28), 0 28px 0 rgba(255,255,255,0.28);
}

/* HUD chrome */
.ld-cam-hud {
  position: absolute; inset: 0; z-index: 10;
  pointer-events: none;
  font-family: var(--font-hud);
  font-size: clamp(9px, 0.9vw, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 0 8px rgba(0,0,0,0.55);
}
.ld-cam-htl { position: absolute; top: 14px;    left: 16px;  display: inline-flex; align-items: center; gap: 8px; }
.ld-cam-htr { position: absolute; top: 14px;    right: 16px; }
.ld-cam-hbl { position: absolute; bottom: 14px; left: 16px;  color: rgba(255,255,255,0.55); font-size: 0.92em; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-cam-hbr {
  position: absolute; bottom: 14px; right: 16px;
  color: rgba(255,255,255,0.78);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.28em;
}
.ld-cam-hbr::before {
  content: "✦";
  color: var(--magenta);
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: -0.05em;
}
.ld-cam-recdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
  animation: ldCamRec 1.4s ease-in-out infinite;
}
.ld-cam-ts { color: var(--magenta); font-weight: 700; }

/* Caption */
.ld-cam-cap {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 4px 0;
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,10,11,0.45);
  flex-wrap: wrap;
}
.ld-cam-cap-tag {
  color: var(--magenta);
  border: 1px solid rgba(226,0,116,0.30);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 9px;
}
.ld-cam-cap-sep { opacity: 0.4; }
.ld-cam-cap-room { flex: 1; }

/* Watch-reel buttons, three compact CTAs, one per platform */
.ld-cam-reel-group {
  margin-left: auto;
  display: inline-flex; align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ld-cam-reel-btn {
  --reel-accent: #E20074;
  --reel-accent-2: #FF0099;
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  background:
    linear-gradient(135deg, #0A0A0B 0%, #14080f 60%, #1d0a16 100%);
  color: #fff;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  font-family: var(--font-hud);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 0 0 1px color-mix(in srgb, var(--reel-accent) 55%, transparent),
    0 0 0 3px color-mix(in srgb, var(--reel-accent) 8%, transparent),
    0 8px 18px rgba(10,10,11,0.20);
  overflow: hidden;
  isolation: isolate;
}
/* Scanline texture inside the button, subtle CCTV feel */
.ld-cam-reel-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255,255,255,0.025) 2px,
    rgba(255,255,255,0.025) 3px
  );
  pointer-events: none;
  z-index: 0;
}
/* Animated shimmer sweep across the pill, staggered per button */
.ld-cam-reel-btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255,255,255,0.14) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 0;
  animation: ldReelShimmer 5.4s ease-in-out infinite;
}
.ld-cam-reel-ig::after { animation-delay: 1.8s; }
.ld-cam-reel-yt::after { animation-delay: 3.6s; }
.ld-cam-reel-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 0 0 1px var(--reel-accent),
    0 0 0 4px color-mix(in srgb, var(--reel-accent) 18%, transparent),
    0 14px 28px rgba(10,10,11,0.26),
    0 0 24px color-mix(in srgb, var(--reel-accent) 38%, transparent);
}

/* Play badge */
.ld-cam-reel-play {
  position: relative; z-index: 1;
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.ld-cam-reel-play-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--reel-accent);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 3px 10px color-mix(in srgb, var(--reel-accent) 55%, transparent);
}
.ld-cam-reel-play-ring::before,
.ld-cam-reel-play-ring::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--reel-accent);
  opacity: 0;
  animation: ldReelPing 2.4s ease-out infinite;
}
.ld-cam-reel-play-ring::after { animation-delay: 1.2s; }
.ld-cam-reel-play-tri {
  position: relative; z-index: 1;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0;
  padding-left: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.30);
}
.ld-cam-reel-btn:hover .ld-cam-reel-play-ring { background: #fff; }
.ld-cam-reel-btn:hover .ld-cam-reel-play-tri  { color: var(--reel-accent); text-shadow: none; }

/* Text stack */
.ld-cam-reel-text {
  position: relative; z-index: 1;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 1px;
  line-height: 1;
}
.ld-cam-reel-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
}
.ld-cam-reel-sub {
  font-size: 8px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.50);
}
.ld-cam-reel-arr {
  position: relative; z-index: 1;
  font-size: 11px;
  letter-spacing: 0;
  color: rgba(255,255,255,0.45);
  margin-left: 2px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.ld-cam-reel-btn:hover .ld-cam-reel-arr {
  color: var(--reel-accent);
  transform: translate(2px, -2px);
}

/* Platform accent colors */
.ld-cam-reel-tt { --reel-accent: #FF0066; --reel-accent-2: #00F2EA; }
.ld-cam-reel-ig {
  --reel-accent: #E1306C;
  --reel-accent-2: #F77737;
}
/* Instagram gradient ring */
.ld-cam-reel-ig .ld-cam-reel-play-ring {
  background: conic-gradient(from 140deg, #F77737 0%, #FCAF45 18%, #E1306C 42%, #C13584 62%, #833AB4 82%, #5851DB 100%);
}
.ld-cam-reel-yt { --reel-accent: #FF0033; --reel-accent-2: #FF4060; }

/* Keyframes (shared) */
@keyframes ldReelShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(-100%); }
  85%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@keyframes ldReelPing {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.55); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-cam-reel-btn::after,
  .ld-cam-reel-play-ring::before,
  .ld-cam-reel-play-ring::after { animation: none; }
}

@media (max-width: 760px) {
  .ld-cam-reel-group { width: 100%; margin-left: 0; order: 2; justify-content: flex-start; }
  .ld-cam-cap-room { flex: 1 1 100%; order: 1; }
}
@media (max-width: 480px) {
  .ld-cam-reel-btn { padding: 4px 10px 4px 4px; }
  .ld-cam-reel-play { width: 22px; height: 22px; }
  .ld-cam-reel-sub { display: none; }
}

/* Animations */
@keyframes ldCamRec {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@keyframes ldCamNoise {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6%, 4%); }
  40%  { transform: translate(4%, -6%); }
  60%  { transform: translate(-3%, -2%); }
  80%  { transform: translate(5%, 3%); }
  100% { transform: translate(0, 0); }
}
@keyframes ldCamJitter {
  0%   { top: -14px; opacity: 0; }
  4%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes ldCamTear {
  0%   { top: -2px; opacity: 0; }
  6%   { opacity: 0.9; }
  98%  { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

/* Respect reduced-motion: kill the animated overlays */
@media (prefers-reduced-motion: reduce) {
  .ld-cam-noise,
  .ld-cam-jitter,
  .ld-cam-tear,
  .ld-cam-recdot { animation: none; }
}

@media (max-width: 620px) {
  .ld-cam { --ld-cam-bleed: 0px; }
  .ld-cam-hbl { font-size: 0.85em; max-width: 60%; }
}

/* ── Footer nav ─────────────────────────────────────────────── */
.ld-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ld-nav-btn {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(10,10,11,0.12);
  color: var(--ink);
  font-family: var(--font-hud);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.15s ease;
  max-width: 36%;
  text-align: left;
}
.ld-nav-btn:hover:not(:disabled) {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(226,0,116,0.10);
}
.ld-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.ld-nav-btn .arr { font-size: 16px; }
.ld-nav-btn .lbl { font-weight: 700; }
.ld-nav-btn .hint {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: rgba(10,10,11,0.50);
  border-left: 1px solid rgba(10,10,11,0.10);
  padding-left: 12px;
  margin-left: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.ld-nav-btn--next { flex-direction: row; }
.ld-nav-btn--next .hint {
  border-left: none;
  border-right: 1px solid rgba(10,10,11,0.10);
  padding-left: 0;
  padding-right: 12px;
  margin-left: 0;
  margin-right: 4px;
}
@media (max-width: 720px) {
  .ld-nav-btn .hint { display: none; }
}

.ld-dots {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  flex: 1; min-width: 0;
}

/* Top dot strip, sticks just under the room-tab bar so it stays
   visible as the slide content scrolls past. */
.ld-dots--top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 8px 4px 14px;
  margin: 0;
  background: transparent;
}
.ld-dots--top .ld-dot {
  width: 34px; height: 34px;
  font-size: 11px;
  font-weight: 700;
}
.ld-dot {
  width: 28px; height: 28px;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(10,10,11,0.18);
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0;
  color: rgba(10,10,11,0.50);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
}
.ld-dot:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}
.ld-dot.is-active {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  box-shadow: 0 4px 12px rgba(226,0,116,0.30);
}

.ld-kbd-tip {
  margin-top: 28px;
  text-align: center;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.20em;
  color: rgba(10,10,11,0.40);
  text-transform: uppercase;
}

/* ============================================================
   NAV DROPDOWN, for the LEARN dropdown in the main page nav.
   (Lives in this file because the landing pages import this css too
    if we want; otherwise we inline the styles. Kept here for clarity.)
   ============================================================ */
.has-dropdown {
  position: relative;
}
.has-dropdown > a {
  cursor: pointer;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(10,10,11,0.96);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 260px;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  display: none;
  z-index: 200;
}
.has-dropdown.is-open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.75) !important;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.12s ease;
}
.nav-dropdown a:hover {
  background: rgba(226,0,116,0.16);
  color: var(--magenta) !important;
}
.nav-dropdown a .nd-num {
  font-family: var(--font-hud);
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.20em;
}
.nav-dropdown a:hover .nd-num { color: var(--magenta); }
.nav-dropdown .nd-divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 6px 4px;
}
.nav-dropdown a.nd-all {
  color: var(--magenta) !important;
  letter-spacing: 0.22em;
}
