/* ============================================================
   TINY TERRORS: premium cinematic layer (2026-10-04)
   Loads after style.css. Additive only: richer hero, rune ring,
   flicker, dividers, buttons, cards, Halloween countdown.
   ============================================================ */

@font-face {
  font-family: 'Noto Sans Runic';
  src: url('../fonts/NotoSansRunic.woff2') format('woff2');
  font-display: swap;
}

/* ---------- hero: full-bleed abyss ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(10,9,8,0.62) 0%, rgba(10,9,8,0.18) 42%, rgba(10,9,8,0.94) 100%),
    url('../img/atmos/hero-abyss.jpg') center 32% / cover no-repeat,
    var(--black);
  padding: 6rem 0 5rem;
}
.hero h1 {
  text-shadow:
    0 2px 0 #000,
    0 0 26px rgba(193,18,31,0.5),
    0 8px 44px rgba(0,0,0,0.95);
  letter-spacing: 0.04em;
}

/* ---------- the word "nightmare" tears like a possessed signal ---------- */
.hero .tagline .blood {
  color: var(--blood-bright);
  -webkit-text-fill-color: var(--blood-bright);
  display: inline-block;
  text-shadow: 0 0 18px var(--blood-glow);
  animation: blood-flicker 3.2s linear infinite;
}
/* Possessed glitch: holds, then tears with RGB split, skew and blackout slices. */
@keyframes blood-flicker {
  0%, 100% { opacity: 1; transform: none; text-shadow: 0 0 18px var(--blood-glow); }
  42% { opacity: 1; transform: none; }
  43% { opacity: 0.9; transform: translate(-3px,1px) skewX(-8deg) scaleY(1.15);
        text-shadow: -3px 0 0 rgba(255,0,0,.8), 3px 0 0 rgba(0,255,255,.6), 0 0 30px var(--blood-glow); }
  44% { opacity: 0.12; transform: translate(2px,-2px); text-shadow: none; }
  45% { opacity: 1; transform: translate(-1px,0) skewX(4deg);
        text-shadow: 3px 0 0 rgba(255,0,0,.8), -3px 0 0 rgba(0,255,255,.6); }
  46% { opacity: 0.4; transform: none; text-shadow: 0 0 18px var(--blood-glow); }
  47% { opacity: 1; transform: none; }
  71% { opacity: 1; transform: none; }
  72% { opacity: 0.22; transform: translate(2px,1px) scaleY(0.9);
        text-shadow: -2px 0 0 rgba(255,0,0,.9), 2px 0 0 rgba(0,255,255,.7); }
  73% { opacity: 1; transform: none; text-shadow: 0 0 26px rgba(255,30,30,.9); }
  74% { opacity: 0.7; }
  75% { opacity: 1; text-shadow: 0 0 18px var(--blood-glow); }
}

/* ---------- rune ring: TINY TERRORS in Elder Futhark, orbiting the mark ---------- */
.hero-mark-wrap { position: relative; display: inline-block; margin: 0 auto 1.4rem; }
.hero-mark-wrap .hero-mark { margin: 0; }
.rune-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(100% + 72px); height: calc(100% + 72px);
  transform: translate(-50%, -50%);
  animation: rune-spin 80s linear infinite;
  overflow: visible;
  pointer-events: none;
}
.rune-ring text {
  font-family: 'Noto Sans Runic', serif;
  font-size: 15px;
  fill: var(--blood-bright);
  opacity: 0.9;
}
.rune-ring .rune-halo {
  fill: none;
  stroke: rgba(193,18,31,0.28);
  stroke-width: 1;
}
@keyframes rune-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- fog rolling over the mountains ---------- */
.mountain-fog { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.mountain-fog span {
  position: absolute; left: -30%; width: 160%; height: 90px;
  background: radial-gradient(ellipse 55% 40% at 50% 50%, rgba(185,192,205,0.20) 0%, rgba(185,192,205,0.07) 55%, transparent 78%);
  filter: blur(14px);
  will-change: transform;
  animation: mountain-fog-drift 14s ease-in-out infinite alternate;
}
.mountain-fog span:nth-child(1) { top: 46%; animation-duration: 14s; opacity: 0.75; }
.mountain-fog span:nth-child(2) { top: 60%; animation-duration: 19s; animation-direction: reverse; opacity: 0.55; height: 110px; }
.mountain-fog span:nth-child(3) { top: 74%; animation-duration: 24s; opacity: 0.85; height: 130px; }
@keyframes mountain-fog-drift {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

/* ---------- the Draugr's eyes glow: painted into the artwork, pulsing ---------- */
.hero-mark-wrap .hero-glow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%;
  pointer-events: none; opacity: 0.3;
  animation: hero-glow-pulse 9s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.3; }
  35% { opacity: 0.3; }
  45% { opacity: 0.65; }
  55% { opacity: 0.9; }
  65% { opacity: 0.3; }
}

/* ---------- hero fog breathes, slow ---------- */
.fog-layer { animation: fog-breathe 9s ease-in-out infinite; }
@keyframes fog-breathe {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* ---------- quiet 7 Nights teaser under the hero CTAs ---------- */
.nights-teaser {
  margin: 1.4rem 0 0; font-size: 0.95rem; letter-spacing: 0.06em;
  color: var(--bone-dim);
}
.nights-teaser a { color: var(--blood-bright); text-decoration: none; border-bottom: 1px solid var(--blood); }
.nights-teaser a:hover { text-shadow: 0 0 14px var(--blood-glow); }

/* ---------- dread skull ratings on episode cards ---------- */
.dread-skulls {
  color: var(--blood-bright); font-size: 0.95rem; letter-spacing: 0.25em;
  text-shadow: 0 0 12px var(--blood-glow); white-space: nowrap;
}
.dread-line { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.2rem; }
.dread-caption { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone-dim); }

/* ---------- ornamental divider ---------- */
.rune-divider {
  height: 26px;
  max-width: 560px;
  margin: 0 auto;
  background: url('../img/atmos/divider-rune.png') center / contain no-repeat;
  opacity: 0.85;
}

/* ---------- buttons: deeper, with inner light ---------- */
.btn {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 5px 20px rgba(0,0,0,0.55);
}
.btn:hover, .btn:focus {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 34px var(--blood-glow);
}
.btn.ghost:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.5), 0 0 18px rgba(193,18,31,0.18);
}

/* ---------- cards: weight and lift ---------- */
.explore-card, .ep-card, .archive-card, .game-card {
  box-shadow: 0 12px 34px rgba(0,0,0,0.5);
}
.explore-card { position: relative; }
.explore-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(232,226,214,0.05); pointer-events: none;
}
.explore-card:hover, .explore-card:focus {
  transform: translateY(-3px);
  border-color: var(--blood-deep);
  box-shadow: 0 20px 54px rgba(0,0,0,0.65), 0 0 34px rgba(193,18,31,0.14);
}

/* ---------- section titles: presence ---------- */
.section-title {
  text-shadow: 0 3px 20px rgba(0,0,0,0.85), 0 0 30px rgba(193,18,31,0.12);
}
.eyebrow {
  letter-spacing: 0.34em;
  color: var(--gold);
}

/* ---------- Halloween countdown bar (injected site-wide) ---------- */
.halloween-bar {
  background: linear-gradient(180deg, #20060a 0%, #100304 100%);
  border-bottom: 1px solid rgba(193,18,31,0.4);
  text-align: center;
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 50;
}
.halloween-bar .cd-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 0.15rem;
}
.halloween-bar .cd-timer {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blood-bright);
  text-shadow: 0 0 14px rgba(255,42,54,0.5);
  margin: 0;
  font-size: 1rem;
}
.halloween-bar .cd-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  margin: 0.2rem 0 0;
}
.halloween-bar .cd-sub a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--blood); }
.halloween-bar.live { border-bottom-color: var(--blood-bright); }
.halloween-bar.live .cd-label { color: var(--blood-bright); animation: blood-flicker 3.2s linear infinite; }

/* ---------- selection + scrollbar ---------- */
::selection { background: var(--blood); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0a0908; }
::-webkit-scrollbar-thumb { background: #3a1215; border-radius: 6px; border: 2px solid #0a0908; }
::-webkit-scrollbar-thumb:hover { background: var(--blood-deep); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .rune-ring, .hero .tagline .blood, .halloween-bar.live .cd-label, .mountain-fog span { animation: none !important; }
  .rune-ring { display: none; }
}

/* ---------- episode skull ratings ---------- */
.rate-widget {
  margin: 2.5rem 0;
  padding: 1.9rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(24,18,16,0.94), rgba(10,9,8,0.97));
  border: 1px solid #2b2320;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 14px 44px rgba(0,0,0,0.6);
  position: relative;
}
.rate-widget::before {
  content: '';
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
}
.rate-widget h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 0 #000, 0 0 22px rgba(193,18,31,0.4);
}
.rate-line {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  font-size: 1rem;
  margin: 0 0 0.6rem;
}
.rate-line strong {
  color: var(--blood-bright);
  font-size: 1.25rem;
}
.rate-count { color: var(--bone-dim); opacity: 0.75; font-size: 0.9rem; }
.rate-skulls {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.5rem 0 0.4rem;
}
.rate-skull {
  background: none;
  border: none;
  padding: 0.3rem;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  filter: grayscale(1) brightness(0.42);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.rate-skull.lit,
.rate-skull:hover {
  filter: none;
  transform: scale(1.2);
  text-shadow: 0 0 20px var(--blood-glow);
}
.rate-skull:disabled { cursor: default; }
.rate-skull:focus-visible {
  outline: 2px solid var(--blood-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
.rate-hint {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 0.2rem 0 0;
}
.rate-mine {
  font-family: var(--font-ui);
  color: var(--bone);
  font-size: 1rem;
  margin: 0.6rem 0 0;
}
.rate-mine::before { content: '💀 '; }
.rate-loading { color: var(--bone-dim); opacity: 0.6; font-family: var(--font-ui); }
@media (prefers-reduced-motion: reduce) {
  .rate-skull { transition: none; }
  .rate-skull.lit, .rate-skull:hover { transform: none; }
}

/* ---------- wear the nightmare merch strip ---------- */
.merch-strip {
  margin: 2.5rem 0;
  padding: 1.9rem 1.5rem 1.6rem;
  background: linear-gradient(180deg, rgba(24,18,16,0.94), rgba(10,9,8,0.97));
  border: 1px solid #2b2320;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 14px 44px rgba(0,0,0,0.6);
  position: relative;
}
.merch-strip::before {
  content: '';
  position: absolute;
  top: -1px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
}
.merch-strip h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 0 #000, 0 0 22px rgba(193,18,31,0.4);
}
.merch-line {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  font-size: 1rem;
  margin: 0 0 1.1rem;
}
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 1.3rem;
}
@media (max-width: 700px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
}
.merch-card {
  display: block;
  text-decoration: none;
  background: rgba(0,0,0,0.35);
  border: 1px solid #2b2320;
  border-radius: 8px;
  padding: 0.8rem 0.6rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.merch-card:hover {
  border-color: var(--blood);
  transform: translateY(-2px);
}
.merch-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  background: #141010;
}
.merch-name {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  color: var(--bone);
  font-size: 0.95rem;
}

/* ---------- 7 Nights of Terror advent page ---------- */
.blood-glow { color: var(--blood-bright); text-shadow: 0 0 18px var(--blood-glow); }

.nights-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid rgba(193,18,31,0.35);
}
.nights-hero-bg {
  position: absolute; inset: 0;
  background: url('../img/atmos/hero-abyss.jpg') center / cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.7);
}
.nights-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.2) 40%, rgba(10,9,8,0.92) 100%);
  pointer-events: none;
}
.nights-hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 4.5rem 1rem 3.5rem;
}
.nights-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 1.02;
  margin: 0.6rem 0 1rem;
  color: var(--bone);
  text-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 0 60px rgba(193,18,31,0.35);
}
.nights-lede {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--bone-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}
.nights-countdown {
  display: inline-block;
  border: 1px solid rgba(193,18,31,0.5);
  border-radius: var(--radius);
  background: rgba(18,10,10,0.75);
  box-shadow: 0 0 40px rgba(193,18,31,0.15), inset 0 0 30px rgba(0,0,0,0.6);
  padding: 1.25rem 2rem;
  margin-bottom: 2.75rem;
}
.nights-countdown .cd-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 0.4rem;
}
.nights-countdown .cd-timer {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2.4rem);
  letter-spacing: 0.08em;
  color: var(--blood-bright);
  text-shadow: 0 0 24px var(--blood-glow);
  margin: 0 0 0.4rem;
  font-variant-numeric: tabular-nums;
}
.nights-countdown .cd-sub { margin: 0; color: var(--bone-dim); font-size: 0.9rem; }

.nights-trailer .eyebrow { margin-bottom: 1rem; }
.nights-trailer-video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  border: 1px solid rgba(193,18,31,0.55);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 50px rgba(193,18,31,0.18);
  background: #000;
}

/* chambers grid */
.chambers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.chamber {
  position: relative;
  border: 1px solid #2a2320;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--coal) 0%, #0d0b0a 100%);
  overflow: hidden;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.chamber.is-open {
  border-color: rgba(193,18,31,0.6);
  box-shadow: 0 18px 60px rgba(0,0,0,0.7), 0 0 44px rgba(193,18,31,0.16);
}

/* sealed rune door */
.chamber-door {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(193,18,31,0.10) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.35) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #171210 0%, #0b0908 100%);
}
.chamber.is-open .chamber-door { display: none; }
.door-rune {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blood);
  text-shadow: 0 0 30px var(--blood-glow), 0 0 80px rgba(193,18,31,0.4);
  border: 2px solid rgba(193,18,31,0.5);
  border-radius: 50%;
  width: 7.5rem; height: 7.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  animation: seal-flicker 4s ease-in-out infinite;
}
@keyframes seal-flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.82; }
  50% { opacity: 0.95; }
  70% { opacity: 0.78; }
}
.door-num {
  font-family: var(--font-ui);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin: 0;
  padding-left: 0.4em;
}
.door-num.open { color: var(--blood-bright); margin-bottom: 0.75rem; }
.seal-text {
  margin: 0;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--bone-dim);
  border-top: 1px solid #241f1c;
  background: rgba(0,0,0,0.35);
}
.chamber.is-open .seal-text { display: none; }
.seal-text strong { color: var(--bone); }

/* opened chamber */
.chamber-open { display: none; flex: 1; flex-direction: column; padding: 0 0 1.5rem; }
.chamber.is-open .chamber-open { display: flex; }
.chamber-visual { position: relative; margin-bottom: 1.25rem; }
.chamber-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(0.42) saturate(0.55) contrast(1.15) blur(1px);
}
.chamber-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.35) 0%, rgba(10,9,8,0) 35%, rgba(10,9,8,0.75) 100%);
}
.chamber-open .door-num { padding: 0 1.5rem; }
.draugr-tease {
  margin: 0 1.5rem 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--blood);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--bone);
}
.chamber-note {
  margin: 0 1.5rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--bone-dim);
}
.chamber-open .btn { align-self: flex-start; margin: 0 1.5rem; }

/* notify section sits on the standard newsletter styles; tighten for the page */
#nights-notify .confirmation { display: none; }
#nights-notify .confirmation.show { display: block; margin-top: 1.5rem; }

@media (min-width: 640px) {
  .chambers { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .chambers { grid-template-columns: repeat(3, 1fr); }
  .nights-hero-inner { padding: 6rem 1rem 4.5rem; }
}

/* ---------- Fear Profile quiz ---------- */
.fear-hero { text-align: center; padding: 4.5rem 1.25rem 1rem; }
.fear-kicker {
  font-family: 'Noto Sans Runic', serif;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin: 0 0 1rem;
}
.fear-kicker-rune { margin-right: 0.6em; }
.fear-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 4.5rem);
  color: var(--bone);
  margin: 0 0 0.75rem;
  line-height: 1.05;
}
.fear-hero h1 .blood, .fear-sub .blood { color: var(--blood-bright); }
.fear-sub {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  font-size: 1.05rem;
  margin: 0;
}
.fear-stage {
  max-width: 620px;
  margin: 0 auto;
  padding: 1rem 1.25rem 5rem;
}
.fear-screen {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fear-screen.is-active { opacity: 1; transform: none; }
.fear-screen[hidden] { display: none; }
.fear-draugr {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 1.9rem);
  line-height: 1.45;
  color: var(--bone);
  text-align: center;
  margin: 1.5rem 0 1rem;
}
.fear-draugr-sub {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  text-align: center;
  margin: 0 0 2rem;
  font-size: 1rem;
}
.fear-begin {
  display: block;
  margin: 0 auto;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
}
.fear-progress {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin: 0.5rem 0 1.75rem;
}
.fear-pip {
  font-family: 'Noto Sans Runic', serif;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.fear-pip.now { color: var(--bone-dim); }
.fear-pip.lit { color: var(--blood-bright); text-shadow: 0 0 12px var(--blood-glow); }
.fear-qnum {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-align: center;
  margin: 0 0 0.75rem;
}
.fear-q {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  line-height: 1.35;
  color: var(--bone);
  text-align: center;
  margin: 0 0 1.75rem;
}
.fear-answers { display: grid; gap: 0.8rem; }
.fear-answer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--bone);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  min-height: 52px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.fear-answer:hover, .fear-answer:focus-visible {
  border-color: var(--blood);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.fear-answer:active { transform: scale(0.99); }
.fear-answer.chosen {
  border-color: var(--blood-bright);
  background: rgba(160, 10, 20, 0.14);
  box-shadow: 0 0 22px rgba(160, 10, 20, 0.25);
}
.fear-answer:disabled { cursor: default; }
.fear-answer-key {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--bone-dim);
}
.fear-answer.chosen .fear-answer-key { border-color: var(--blood-bright); color: var(--blood-bright); }
.fear-enter .fear-answer { animation: fear-rise 0.45s ease both; }
.fear-enter .fear-answer:nth-child(2) { animation-delay: 0.06s; }
.fear-enter .fear-answer:nth-child(3) { animation-delay: 0.12s; }
.fear-enter .fear-answer:nth-child(4) { animation-delay: 0.18s; }
@keyframes fear-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
/* result */
#fear-result { text-align: center; }
.fear-rune {
  font-family: 'Noto Sans Runic', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blood-bright);
  text-shadow: 0 0 34px var(--blood-glow);
  width: 7.5rem;
  height: 7.5rem;
  margin: 1rem auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(160, 10, 20, 0.22), rgba(0, 0, 0, 0.55) 70%);
}
.fear-archetype-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 0.4rem;
}
.fear-archetype {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  color: var(--bone);
  margin: 0 0 1.25rem;
  line-height: 1.1;
}
.fear-reading {
  font-family: var(--font-ui);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--bone);
  max-width: 34rem;
  margin: 0 auto 3rem;
  text-align: left;
  border-left: 2px solid var(--blood);
  padding-left: 1.25rem;
}
.fear-rec-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bone);
  margin: 0 0 1.25rem;
}
.fear-recs { display: grid; gap: 0.8rem; margin-bottom: 2.5rem; text-align: left; }
.fear-rec {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fear-rec:hover, .fear-rec:focus-visible { border-color: var(--blood); background: rgba(255, 255, 255, 0.06); outline: none; }
.fear-rec-num {
  font-family: 'Noto Sans Runic', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blood-bright);
}
.fear-rec-title-sm {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.4;
}
.fear-rec-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.fear-rec-theme { font-family: var(--font-ui); font-size: 0.85rem; color: var(--bone-dim); }
.fear-rec-skulls { font-size: 0.85rem; letter-spacing: 0.1em; }
.fear-share { margin-bottom: 3rem; }
.fear-share-line {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
  margin: 0 0 1rem;
}
.fear-join {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  margin-bottom: 2.5rem;
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
}
.fear-join h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bone);
  margin: 0 0 0.5rem;
  text-align: center;
}
.fear-join > p {
  font-family: var(--font-ui);
  color: var(--bone-dim);
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
#fear-newsletter .confirmation { display: none; }
#fear-newsletter .confirmation.show { display: block; margin-top: 1.25rem; text-align: center; }
.fear-retake { margin: 0 auto; display: block; }

@media (min-width: 640px) {
  .fear-stage { padding-bottom: 6rem; }
  .fear-recs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fear-screen { transition: none; }
  .fear-enter .fear-answer { animation: none; }
}

/* ---------- case file: the documented dossier ---------- */
.case-file {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26,19,12,0.97), rgba(14,10,7,0.98)),
    var(--coal);
  border: 1px solid #3a2d20;
  border-left: 4px solid var(--blood);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  margin: 2.5rem 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), inset 0 0 60px rgba(0,0,0,0.35);
}
.cf-stamp {
  display: inline-block;
  font-family: ui-monospace, 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blood-bright);
  border: 2px solid var(--blood-deep);
  border-radius: 4px;
  padding: 0.35rem 0.8rem 0.35rem 1.15rem;
  transform: rotate(-3deg);
  background: rgba(193,18,31,0.08);
  margin: 0 0 1rem;
}
.cf-voice {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--bone-dim);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}
.cf-case {
  font-family: var(--font-display);
  color: var(--bone);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.cf-sub {
  font-family: ui-monospace, 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #4a3a28;
}
.cf-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-timeline li {
  display: flex;
  gap: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(74,58,40,0.4);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--bone-dim);
}
.cf-timeline li:last-child { border-bottom: 0; }
.cf-date {
  flex: 0 0 auto;
  min-width: 7.5rem;
  max-width: 9rem;
  font-family: ui-monospace, 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--blood-bright);
  padding-top: 0.2rem;
}
.cf-event { flex: 1 1 auto; min-width: 0; }
.cf-evidence {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-evidence li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.7rem;
  color: var(--bone-dim);
  font-size: 0.98rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(74,58,40,0.4);
}
.cf-evidence li:last-child { border-bottom: 0; }
.cf-evidence li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--blood);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--blood-glow);
}
.cf-sources {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-sources li { margin: 0.45rem 0; }
.cf-sources a {
  color: var(--bone);
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: var(--blood);
  text-underline-offset: 3px;
  word-break: break-word;
}
.cf-sources a:hover,
.cf-sources a:focus-visible { color: var(--blood-bright); }
.cf-nosrc {
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .case-file { padding: 1.25rem 1rem; }
  .cf-timeline li { flex-direction: column; gap: 0.15rem; }
  .cf-date { min-width: 0; max-width: none; padding-top: 0; }
  .cf-case { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-stamp { transform: none; }
}

/* ---- episode transcript (collapsible, closed by default) ---- */
.ep-transcript { margin: 2.2rem 0; }
.transcript-voice {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
  margin: 0 0 0.6rem;
}
.transcript-details {
  border: 1px solid #2c2521;
  border-radius: var(--radius);
  background: var(--coal);
  overflow: hidden;
}
.transcript-details > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-ui);
}
.transcript-details > summary::-webkit-details-marker { display: none; }
.transcript-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bone);
}
.transcript-hint {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid #2c2521;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}
.transcript-details[open] .transcript-hint { color: var(--blood-bright); border-color: var(--blood-deep); }
.transcript-details > summary:hover .transcript-heading,
.transcript-details > summary:focus-visible .transcript-heading { color: var(--blood-bright); }
.transcript-body {
  padding: 0.25rem 1.25rem 1.25rem;
  border-top: 1px solid #2c2521;
}
.transcript-body p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--bone-dim);
  margin: 1rem 0 0;
}
@media (max-width: 560px) {
  .transcript-body { padding: 0.25rem 1rem 1rem; }
  .transcript-body p { font-size: 1rem; line-height: 1.7; }
}

/* ---- Black Book preview in newsletter ---- */
.blackbook-preview {
  max-width: 560px; margin: 1.6rem auto 2rem; padding: 1.3rem 1.5rem;
  border: 1px solid #2e2320; border-radius: 10px;
  background: linear-gradient(180deg, rgba(20,14,12,0.9), rgba(10,7,6,0.9));
  box-shadow: 0 0 40px rgba(139,0,0,0.15);
  text-align: left;
}
.blackbook-kicker {
  margin: 0 0 0.5rem; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8a6f66;
}
.blackbook-title {
  margin: 0 0 0.6rem; font-family: Cinzel, serif; font-size: 1.25rem;
  color: #e8dcc8;
}
.blackbook-line {
  margin: 0; font-size: 0.95rem; line-height: 1.6; color: #b8a894;
  font-style: italic;
}

/* ---- Draugr face tap: eye flare ---- */
.hero-mark-wrap.eye-flare .hero-glow { opacity: 0.95 !important; }
.hero-mark-wrap.eye-flare .hero-mark { animation: none; filter: brightness(1.08); }
.hero-mark-wrap .hero-glow { transition: opacity 0.35s ease; }

/* ---- Dread toggles row ---- */
.dread-toggles { margin: 1rem 0 0; display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.dread-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(20,10,8,0.6); border: 1px solid #8b0000; border-radius: 999px;
  color: #e8dcc8; padding: 0.65rem 1.4rem; font-size: 0.95rem; cursor: pointer;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
  animation: dread-beacon 3.2s ease-in-out infinite;
}
@keyframes dread-beacon {
  0%, 100% { box-shadow: 0 0 8px rgba(139,0,0,0.25); }
  50% { box-shadow: 0 0 26px rgba(139,0,0,0.6); }
}
@media (prefers-reduced-motion: reduce) {
  .dread-toggle { animation: none; }
}
.dread-toggle:hover { transform: scale(1.04); border-color: #c00000; }
.dread-toggle.active { border-color: #c00000; color: #fff; box-shadow: 0 0 22px rgba(139,0,0,0.55); animation: none; }
.dread-hint { font-size: 0.8rem; color: #6f5f55; font-style: italic; }

/* ---- blood-red call button ---- */
.btn-blood {
  position: relative;
  background: linear-gradient(180deg, #d00000, #800000);
  border: 2px solid #ff5252;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 28px rgba(255,80,80,0.9);
  animation: neon-flicker-dim 4.5s linear infinite;
}
.btn-blood::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 6px;
  box-shadow: 0 0 10px #ff2a2a, 0 0 30px #ff2020, 0 0 70px rgba(255,30,30,0.65), 0 0 140px rgba(255,0,0,0.4);
  animation: neon-flicker-glow 4.5s linear infinite;
  pointer-events: none;
}
@keyframes neon-flicker-glow {
  0%, 41%, 43%, 45%, 69%, 71%, 73%, 100% { opacity: 1; }
  42%, 72% { opacity: 0; }
  44% { opacity: 0.25; }
  70% { opacity: 0.35; }
}
@keyframes neon-flicker-dim {
  0%, 41%, 43%, 45%, 69%, 71%, 73%, 100% { opacity: 1; }
  42%, 72% { opacity: 0.55; }
  44%, 70% { opacity: 0.7; }
}
.btn-blood:hover { transform: scale(1.04); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .btn-blood { animation: none; box-shadow: 0 0 24px rgba(255,40,40,0.6); }
}

/* ---- rank ladder ---- */
.rank-ladder {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  margin: 1.8rem auto 0; flex-wrap: wrap; max-width: 640px;
}
.rank-step {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.8rem 1.1rem; border: 1px solid #2e2320; border-radius: 10px;
  background: rgba(20,14,12,0.6); min-width: 104px;
}
.rank-rune { font-size: 1.5rem; color: #c00000; }
.rank-name { font-family: Cinzel, serif; font-size: 0.95rem; color: #e8dcc8; }
.rank-need { font-size: 0.72rem; color: #8a6f66; letter-spacing: 0.08em; }
.rank-sep { color: #5a4a42; font-size: 1.1rem; }
@media (max-width: 560px) {
  .rank-sep { display: none; }
  .rank-ladder { gap: 0.5rem; }
}
