/* The Draugr: brand site styles
   Dark, cinematic dread. Blood-red on near-black. */

@font-face {
  font-family: 'Pirata';
  src: url('../pirata.ttf') format('truetype');
  font-display: swap;
}

:root {
  --black: #0a0908;
  --coal: #12100e;
  --ash: #1c1916;
  --bone: #e8e2d6;
  --bone-dim: #d6cfbd;
  --blood: #c1121f;
  --blood-bright: #ff2a36;
  --blood-deep: #7a0c14;
  --blood-glow: rgba(193, 18, 31, 0.35);
  --gold: #8a6d3b;
  --radius: 10px;
  --maxw: 1100px;
  --font-display: 'Pirata', 'Old English Text MT', serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --font-ui: -apple-system, 'Segoe UI', system-ui, sans-serif;
  /* shop-picker widget surface tokens (were undefined: cards rendered borderless) */
  --hatch-widget-border: #2c2521;
  --hatch-widget-surface: var(--coal);
  --hatch-widget-text: var(--bone);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* film-grain / vignette atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

::selection { background: var(--blood); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blood-bright); text-decoration: none; }
a:hover, a:focus { color: #ff4d5e; text-decoration: underline; }

.wrap {
  width: min(var(--maxw), 92vw);
  margin: 0 auto;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1.section-title, h2.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 0.4em;
}

.section-sub {
  text-align: center;
  color: var(--bone-dim);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.72rem;
  color: var(--blood-bright);
  text-align: center;
  margin-bottom: 0.8rem;
}

.blood { color: var(--blood-bright); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #241d1a;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--bone);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--bone); }
.brand img { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a2c28; }
.brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav-links a { color: var(--bone-dim); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blood-bright); text-decoration: none; }

/* hamburger toggle (mobile): base styles must come BEFORE the media query
   below so the query's display:block wins at phone widths (equal specificity,
   later rule wins) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #2c2521;
  border-radius: 6px;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bone);
  margin: 4px 0;
}
.nav-toggle span:first-child { margin-top: 0; }
.nav-toggle span:last-child { margin-bottom: 0; }
.nav-toggle:hover { border-color: var(--blood); }

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  #main-nav { display: none; width: 100%; }
  #main-nav.open { display: block; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0.4rem 0 0.2rem;
  }
  .nav-links li { border-top: 1px solid #1d1815; }
  .nav-links a {
    display: block;
    padding: 0.95rem 0.4rem;
    font-size: 0.85rem;
  }
  .brand .wordmark { font-size: 1.1rem; }
  .lore-table { font-size: 0.84rem; }
  .lore-table th, .lore-table td { padding: 0.5rem 0.45rem; }
}

/* external nav links get a subtle out-arrow */
.nav-links a.ext::after {
  content: "\2197";
  font-size: 0.7em;
  margin-left: 0.3em;
  color: var(--bone-dim);
}
.nav-links a.ext:hover::after { color: var(--blood-bright); }
/* external-app buttons (separate web apps) get the same out-arrow */
a.btn.ext::after {
  content: "\2197";
  font-size: 0.8em;
  margin-left: 0.35em;
}
/* one-line fact/fiction boundary notes */
.boundary-line {
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.95rem;
  margin-top: 1rem;
}
@media (max-width: 480px) {
  .hero .tagline, .hero .tagline .blood { letter-spacing: 0.22em; }
  .eyebrow { letter-spacing: 0.22em; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(122,12,20,0.22), transparent 70%),
    var(--black);
}
/* Aurora veil: faint northern-lights shimmer drifting behind the hero mark.
   Torchlight warmth below, cold aurora above. Pure CSS, zero cost. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  pointer-events: none;
  will-change: transform;
  background:
    radial-gradient(ellipse 45% 60% at 20% 30%, rgba(64,190,150,0.07), transparent 70%),
    radial-gradient(ellipse 40% 55% at 80% 20%, rgba(120,90,220,0.08), transparent 70%),
    radial-gradient(ellipse 55% 50% at 50% 80%, rgba(224,163,77,0.06), transparent 70%);
  filter: blur(30px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.hero .wrap { position: relative; z-index: 1; }
@keyframes aurora-drift {
  0% { transform: translateX(-3%) skewX(-2deg); opacity: 0.8; }
  100% { transform: translateX(3%) skewX(2deg); opacity: 1; }
}

.hero-mark {
  width: clamp(150px, 28vw, 230px);
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border: 2px solid #3a2c28;
  box-shadow: 0 0 90px var(--blood-glow), 0 0 24px rgba(0,0,0,0.8);
  animation: slowpulse 6s ease-in-out infinite;
}

@keyframes slowpulse {
  0%, 100% { box-shadow: 0 0 70px var(--blood-glow), 0 0 24px rgba(0,0,0,0.8); }
  50% { box-shadow: 0 0 110px rgba(193,18,31,0.5), 0 0 24px rgba(0,0,0,0.8); }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.1em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}

.hero .tagline {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  color: var(--bone-dim);
  margin: 0 0 1.6rem;
}

.hero .tagline .blood { letter-spacing: 0.4em; }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.85rem 1.7rem;
  border-radius: 4px;
  border: 1px solid var(--blood);
  color: #fff;
  background: linear-gradient(180deg, var(--blood), var(--blood-deep));
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--blood-glow);
}
.btn.ghost {
  background: transparent;
  color: var(--bone);
  border-color: #4a3f38;
}
.btn.ghost:hover { border-color: var(--blood); color: #fff; box-shadow: none; }

.social-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  border: 1px solid #2c2521;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.social-row a:hover { border-color: var(--blood); color: #fff; text-decoration: none; }
.social-row svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- latest episode spotlight ---------- */
.spotlight {
  padding: 3.5rem 0;
}
.ep-card {
  background: var(--coal);
  border: 1px solid #241d1a;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  max-width: 880px;
  margin: 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ep-card:hover { border-color: var(--blood-deep); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.ep-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9/14; }
.ep-card-body { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.ep-num {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood-bright);
}
.ep-card h3 { font-size: 1.7rem; margin: 0; }
.ep-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-top: 0.6rem; }
.skull-rating { font-size: 1.15rem; letter-spacing: 0.15em; margin: 0.1rem 0 0; }
.skull-rating .skull-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-left: 0.6rem;
  vertical-align: middle;
}
.ep-tags span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  border: 1px solid #2c2521;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.platform-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.8rem; }
.plink {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid #3a2c28;
  border-radius: 4px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  transition: all 0.15s;
}
.plink:hover { border-color: var(--blood); color: #fff; text-decoration: none; background: rgba(193,18,31,0.12); }
.plink.pending { opacity: 0.45; cursor: default; }
.plink.pending:hover { border-color: #3a2c28; background: none; color: var(--bone); }

@media (max-width: 640px) {
  .ep-card { grid-template-columns: 1fr; }
  .ep-card img { aspect-ratio: 16/10; }
}

/* ---------- sections ---------- */
/* Every content section opens with an unmistakable Viking divider: a hairline
   rule with a blood-red rune straddling it, plus generous top spacing, so the
   start of each section is obvious while scrolling. */
section.block, .spotlight {
  position: relative;
  padding: 4.5rem 0;
  border-top: 1px solid #2b211b;
}
section.block::before, .spotlight::before {
  content: "\16DE";
  position: absolute;
  top: -0.62em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  padding: 0 0.9rem;
  color: var(--blood-bright);
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 0 14px var(--blood-glow);
}
section.block.alt { background: var(--coal); border-top: 1px solid #2b211b; border-bottom: 1px solid #1d1815; }
section.block.alt::before { background: var(--coal); }

/* Section headers: larger presence, more air above, and a blood-red rule
   under the title so each section reads as its own chapter. */
h1.section-title, h2.section-title {
  margin-top: 0.6rem;
}
h1.section-title::after, h2.section-title::after {
  content: "";
  display: block;
  width: 130px;
  height: 2px;
  margin: 0.7em auto 0;
  background: linear-gradient(90deg, transparent, var(--blood-bright), transparent);
  box-shadow: 0 0 10px var(--blood-glow);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.promise-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.promise-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  border-bottom: 1px solid #1d1815;
  position: relative;
}
.promise-list li::before {
  content: "ᛞ";
  position: absolute;
  left: 0;
  color: var(--blood-bright);
  font-size: 1.1em;
}

blockquote.draugr {
  border-left: 3px solid var(--blood);
  margin: 1.5rem 0;
  padding: 0.4rem 0 0.4rem 1.2rem;
  font-style: italic;
  color: var(--bone);
}

/* ---------- episode archive grid ---------- */
.archive-search {
  max-width: 560px;
  margin: 0 auto 1.6rem;
  text-align: center;
}
.archive-search input[type="search"] {
  width: 100%;
  background: #0d0b0a;
  border: 1px solid #2c2521;
  border-radius: 999px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  text-align: center;
}
.archive-search input[type="search"]:focus {
  outline: 2px solid var(--blood);
  outline-offset: 1px;
  border-color: var(--blood);
}
.archive-search input[type="search"]::placeholder { color: #6b5f55; font-style: italic; }
.search-hint {
  font-size: 0.8rem;
  color: var(--bone-dim);
  font-style: italic;
  margin: 0.5rem 0 0;
}
.filters {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}
.filter-btn {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--bone-dim);
  border: 1px solid #2c2521;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--blood); color: #fff; }
.filter-btn[aria-pressed="true"] {
  background: var(--blood-deep);
  border-color: var(--blood);
  color: #fff;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.4rem;
}
.archive-card {
  background: var(--coal);
  border: 1px solid #241d1a;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.2s;
}
.archive-card:hover { transform: translateY(-3px); border-color: var(--blood-deep); }
.archive-card .thumb { position: relative; aspect-ratio: 9/12; overflow: hidden; background: #000; }
.archive-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(10,9,8,0.85);
  border: 1px solid var(--blood);
  color: #ffb3ba;
  border-radius: 3px;
  padding: 0.28rem 0.55rem;
}
.badge.true { border-color: var(--gold); color: #e6c87a; }
.badge.part { left: auto; right: 0.6rem; }
.recent-card { position: relative; }
.archive-card .card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.archive-card h3 { font-size: 1.15rem; margin: 0; }
.archive-card .ep-num { font-size: 0.65rem; }
.archive-card .platform-links { padding-top: 0.4rem; }
.archive-card .plink { font-size: 0.68rem; padding: 0.42rem 0.75rem; }
.empty-note { text-align: center; color: var(--bone-dim); font-style: italic; grid-column: 1 / -1; padding: 2rem; }
.result-count {
  text-align: center;
  color: var(--bone-dim);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: -1.2rem 0 1.8rem;
}

/* ---------- lore grimoire ---------- */
.grimoire {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(138,109,59,0.08), transparent 70%),
    var(--coal);
  border: 1px solid #2a2118;
  border-radius: 6px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.55), 0 20px 60px rgba(0,0,0,0.5);
}
.grimoire h3 {
  font-size: 1.8rem;
  color: #e6c87a;
  margin-top: 2.2rem;
}
.grimoire h3:first-of-type { margin-top: 0; }
.rune-mark {
  font-size: 3rem;
  text-align: center;
  color: var(--blood-bright);
  text-shadow: 0 0 24px var(--blood-glow);
  margin: 0.5rem 0 1.5rem;
}
.rune-mark img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.rune-inline {
  display: inline-block;
  height: 1.2em;
  width: auto;
  vertical-align: -0.2em;
}
.lore-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 1rem;
}
.lore-table th, .lore-table td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid #2a2118;
  vertical-align: top;
}
.lore-table th {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.grimoire .disclaimer {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #2a2118;
  font-size: 0.85rem;
  color: var(--bone-dim);
  font-style: italic;
}

/* ---------- form ---------- */
form.nightmare {
  max-width: 640px;
  margin: 0 auto;
  background: var(--coal);
  border: 1px solid #241d1a;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  gap: 1.2rem;
}
.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 0.45rem;
}
.field input[type="text"], .field textarea {
  width: 100%;
  background: #0d0b0a;
  border: 1px solid #2c2521;
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--blood);
  outline-offset: 1px;
  border-color: var(--blood);
}
.field textarea { min-height: 180px; resize: vertical; }
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; accent-color: var(--blood); flex-shrink: 0; }
.form-note { font-size: 0.85rem; color: var(--bone-dim); font-style: italic; }
.confirmation {
  display: none;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--coal);
  border: 1px solid var(--blood-deep);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.confirmation.show { display: block; }
.confirmation h3 { font-size: 2rem; }

/* ---------- newsletter ---------- */
form.newsletter {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.newsletter-row input[type="email"] {
  flex: 1;
  min-width: 0;
  background: #0d0b0a;
  border: 1px solid #2c2521;
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
}
.newsletter-row input[type="email"]:focus {
  outline: 2px solid var(--blood);
  outline-offset: 1px;
  border-color: var(--blood);
}
.newsletter-row .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .newsletter-row { flex-direction: column; }
  .newsletter-row .btn { width: 100%; }
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- merch teaser ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .merch-grid { grid-template-columns: 1fr; } }
.merch-card {
  background: var(--coal);
  border: 1px dashed #4a3f38;
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}
.merch-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
}
.merch-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.coming-soon {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e6c87a;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1rem;
}

.open-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ffb3ba;
  border: 1px solid var(--blood);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1rem;
  background: rgba(193, 18, 31, 0.1);
}

/* ---------- games page ---------- */
.game-card {
  background: var(--coal);
  border: 1px solid #241d1a;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.game-card:hover { border-color: var(--blood-deep); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.game-card-top {
  padding: 2.2rem 2rem 0;
  text-align: center;
}
.game-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.2em; }
.game-genre {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 1rem;
}
.game-card-body { padding: 0 2rem 2.2rem; text-align: center; }
.game-card-body p.lede { color: var(--bone-dim); max-width: 600px; margin: 0 auto 1.4rem; font-style: italic; }
.game-feats {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.8rem;
  max-width: 560px;
  text-align: left;
}
.game-feats li {
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid #1d1815;
  position: relative;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.game-feats li::before {
  content: "\16DE";
  position: absolute;
  left: 0;
  color: var(--blood-bright);
}
.game-feats li strong { color: var(--bone); }
.game-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.game-note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--bone-dim); font-style: italic; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid #1d1815;
  padding: 2.5rem 0 2rem;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.88rem;
}
.site-footer .signoff {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--bone);
  margin-bottom: 0.6rem;
}
.site-footer nav { margin: 1rem 0; }
.site-footer nav a { margin: 0 0.7rem; font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); }
.site-footer nav a:hover { color: var(--blood-bright); }

/* ---------- utility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blood);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blood); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark { animation: none; }
  * { transition: none !important; }
}

/* ---------- prominent latest-episode card ---------- */
.latest-card {
  background: var(--coal);
  border: 1px solid #2e2320;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 18px 60px rgba(0,0,0,0.65), 0 0 44px rgba(193,18,31,0.10);
}
.latest-thumb { position: relative; background: #000; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9/13; }
.latest-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff; background: var(--blood-deep); border: 1px solid var(--blood);
  border-radius: 999px; padding: 0.45rem 1rem;
}
.latest-body { padding: 2.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.latest-body h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.latest-lede { margin: 0; color: var(--bone-dim); font-style: italic; }
.latest-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 0.4rem 0 0.2rem; }
@media (max-width: 700px) {
  .latest-card { grid-template-columns: 1fr; }
  .latest-thumb img { aspect-ratio: 16/10; }
  /* Compact stacked badges: no horizontal collision or right-edge clipping
     on narrow phones, even with OS font-size scaling. */
  .latest-badge {
    top: 0.6rem; left: 0.6rem;
    font-size: 0.55rem; letter-spacing: 0.14em;
    padding: 0.32rem 0.7rem;
    white-space: nowrap; max-width: calc(100% - 1.2rem);
  }
  .latest-thumb .badge.part {
    top: 2.85rem; right: auto; left: 0.6rem;
    font-size: 0.55rem; letter-spacing: 0.12em;
    padding: 0.28rem 0.6rem;
    white-space: nowrap; max-width: calc(100% - 1.2rem);
  }
}

/* ---------- recent episodes strip ---------- */
.recent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 700px) { .recent-grid { grid-template-columns: 1fr; max-width: 420px; } }
.recent-card {
  background: var(--coal); border: 1px solid #241d1a; border-radius: var(--radius);
  overflow: hidden; display: block; color: var(--bone);
  transition: transform 0.15s, border-color 0.15s;
}
.recent-card:hover { transform: translateY(-3px); border-color: var(--blood-deep); text-decoration: none; color: var(--bone); }
.recent-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.recent-num {
  font-family: var(--font-ui); font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blood-bright); padding: 1rem 1.2rem 0;
}
.recent-card h4 { font-size: 1.15rem; margin: 0; padding: 0.3rem 1.2rem 1.2rem; }

/* ---------- supporting play/shop row ---------- */
.support-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  max-width: 1000px; margin: 0 auto;
}
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--coal); border: 1px solid #241d1a; border-radius: var(--radius);
  overflow: hidden; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.support-card:hover { border-color: var(--blood-deep); box-shadow: 0 12px 40px rgba(0,0,0,0.6); }
.support-art {
  height: 120px; display: flex; align-items: center; justify-content: center; gap: 1.4rem;
  font-size: 3rem;
}
.support-games {
  background: linear-gradient(135deg, #0d1f16 0%, #123524 45%, #0a0908 100%);
  color: rgba(224,163,77,0.28);
}
.support-merch {
  background: radial-gradient(ellipse at center, rgba(193,18,31,0.22) 0%, #0a0908 70%);
  color: rgba(193,18,31,0.45);
}
.support-card h3 { font-size: 1.7rem; margin: 1.2rem 0 0.4rem; }
.support-card p { color: var(--bone-dim); max-width: 420px; margin: 0 auto 1rem; padding: 0 1.6rem; font-size: 0.95rem; }
.support-card p:last-child { margin-bottom: 1.8rem; }
.haunt-word { color: #e0a34d; }
.barrow-word { color: #8fc3e8; }

/* ---------- documented facts ---------- */
.facts {
  border-top: 1px solid #241d1a; margin-top: 0.6rem; padding-top: 0.6rem;
  font-size: 0.88rem; color: var(--bone-dim);
}
.facts summary {
  cursor: pointer; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--blood-bright);
}
.facts summary:hover { color: #ff8a94; }
.facts ul { margin: 0.7rem 0 0.4rem; padding-left: 1.2rem; }
.facts li { margin-bottom: 0.35rem; }
.dramatized { font-style: italic; font-size: 0.82rem; margin: 0.4rem 0 0; }

/* ---------- per-game visual identity ---------- */
:root {
  --haunt-accent: #e0a34d;
  --barrow-accent: #8fc3e8;
  --markhunt-accent: #c0392b;
  --draugrgame-accent: #9b7ed9;
}
.game-identity { height: 200px; position: relative; overflow: hidden; }
.game-identity::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--coal) 100%);
}
.haunt-identity {
  background:
    radial-gradient(ellipse 60% 90% at 30% 60%, rgba(224,163,77,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 40% 70% at 75% 30%, rgba(46,125,74,0.25) 0%, transparent 65%),
    linear-gradient(160deg, #0b1410 0%, #10241a 50%, #0a0908 100%);
}
.haunt-identity::before {
  content: "\16DE \16A0 \16B1";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(224,163,77,0.14); letter-spacing: 0.6em; text-indent: 0.6em;
}
.barrow-identity {
  background:
    radial-gradient(ellipse 55% 85% at 70% 65%, rgba(143,195,232,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 35% 60% at 25% 25%, rgba(180,220,245,0.18) 0%, transparent 60%),
    linear-gradient(200deg, #0a1018 0%, #101c2a 50%, #0a0908 100%);
}
.barrow-identity::before {
  content: "\16B9 \16A8 \16DE";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(143,195,232,0.14); letter-spacing: 0.6em; text-indent: 0.6em;
}
.markhunt-identity {
  background:
    radial-gradient(ellipse 55% 85% at 50% 70%, rgba(192,57,43,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 35% 60% at 80% 20%, rgba(224,163,77,0.20) 0%, transparent 60%),
    linear-gradient(180deg, #160a0a 0%, #1e0f0c 50%, #0a0908 100%);
}
.markhunt-identity::before {
  content: "\16DE\16B1";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(192,57,43,0.16); letter-spacing: 0.6em; text-indent: 0.6em;
}
.march-identity {
  background:
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(53,230,150,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 20% 75%, rgba(224,163,77,0.20) 0%, transparent 60%),
    linear-gradient(180deg, #0a1424 0%, #12233d 55%, #0a0908 100%);
}
.march-identity::before {
  content: "\16D8 \16DE";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(53,230,150,0.16); letter-spacing: 0.6em; text-indent: 0.6em;
}
.draugrgame-identity {
  background:
    radial-gradient(ellipse 55% 85% at 30% 60%, rgba(155,126,217,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 35% 60% at 75% 30%, rgba(46,125,74,0.22) 0%, transparent 65%),
    linear-gradient(160deg, #100c1c 0%, #181226 50%, #0a0908 100%);
}
.draugrgame-identity::before {
  content: "\16DE \16B1 \16A8";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: rgba(155,126,217,0.14); letter-spacing: 0.6em; text-indent: 0.6em;
}
.game-haunt { border-top: 3px solid var(--haunt-accent); }
.game-barrow { border-top: 3px solid var(--barrow-accent); }
.game-markhunt { border-top: 3px solid var(--markhunt-accent); }
.game-draugrgame { border-top: 3px solid var(--draugrgame-accent); }
.game-haunt .game-genre { color: var(--haunt-accent); }
.game-barrow .game-genre { color: var(--barrow-accent); }
.game-markhunt .game-genre { color: var(--markhunt-accent); }
.game-draugrgame .game-genre { color: var(--draugrgame-accent); }
.game-haunt .game-feats li::before { color: var(--haunt-accent); }
.game-barrow .game-feats li::before { color: var(--barrow-accent); }
.game-markhunt .game-feats li::before { color: var(--markhunt-accent); }
.game-draugrgame .game-feats li::before { color: var(--draugrgame-accent); }

/* Screenshot galleries (games page) */
.shot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 1.5rem 0 0.5rem; }
.shot-gallery figure { margin: 0; border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; overflow: hidden; background: #0d0c0a; }
.shot-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.shot-gallery figcaption { padding: 0.7rem 0.9rem; font-size: 0.88rem; color: var(--bone-dim); font-style: italic; }
.game-haunt .shot-gallery figure { border-top: 2px solid var(--haunt-accent); }
.game-barrow .shot-gallery figure { border-top: 2px solid var(--barrow-accent); }
.game-markhunt .shot-gallery figure { border-top: 2px solid var(--markhunt-accent); }
.game-draugrgame .shot-gallery figure { border-top: 2px solid var(--draugrgame-accent); }
@media (max-width: 640px) { .shot-gallery { grid-template-columns: 1fr; } }

/* Homepage game thumbnails */
.game-thumbs { display: flex; gap: 0.75rem; margin: 1rem 0 0; }
.game-thumbs a { flex: 1; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); display: block; }
.game-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.25s ease; }
.game-thumbs a:hover img { transform: scale(1.04); }

/* ---------- start-here onboarding cards ---------- */
#start-here-grid .recent-card h4 { padding-bottom: 0.4rem; }
.start-hook { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--bone-dim); font-size: 0.92rem; line-height: 1.5; }

/* ---------- PWA install bar ---------- */
/* Inline install notice: homepage only, in normal flow, never a fixed overlay. */
.install-notice {
  max-width: 1000px; margin: 0 auto 0.5rem; padding: 1rem 1.4rem;
  background: #141010; border: 1px solid var(--blood-deep); border-radius: 10px;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.install-notice[hidden] { display: none; }
.install-notice p { margin: 0; font-size: 0.92rem; flex: 1 1 240px; }
.install-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.install-actions .btn { min-height: 44px; }
@media (max-width: 560px) { .install-notice { flex-direction: column; text-align: center; } }

/* Next-drop countdown under the latest-episode card. */
.next-drop {
  text-align: center; color: var(--bone-dim); font-size: 0.95rem; margin: 1.2rem 0 0;
}
.next-drop strong { color: var(--blood-bright); font-weight: 700; }

/* Compact explore band: games, app, shop, lore in one row of cards. */
.explore-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 1100px; margin: 0 auto;
}
.explore-card {
  background: var(--coal); border: 1px solid #241d1a; border-radius: var(--radius);
  padding: 1.5rem 1.2rem; text-align: center; color: var(--bone); display: block;
  transition: transform 0.15s, border-color 0.15s;
}
.explore-card:hover, .explore-card:focus {
  transform: translateY(-3px); border-color: var(--blood-deep);
  text-decoration: none; color: var(--bone);
}
.explore-icon { display: block; font-size: 1.9rem; color: var(--blood-bright); margin-bottom: 0.6rem; }
.explore-card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.explore-card p { color: var(--bone-dim); font-size: 0.88rem; margin: 0 0 0.9rem; line-height: 1.5; }
.explore-link {
  font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blood-bright); display: inline-block; min-height: 44px;
}
.explore-note { display: block; font-size: 0.72rem; color: var(--bone-dim); margin-top: 0.4rem; }
@media (max-width: 900px) { .explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .explore-grid { grid-template-columns: 1fr; max-width: 420px; } }
/* Mark hunt explainer: three steps, not four cards. */
.hunt-steps { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .hunt-steps { grid-template-columns: 1fr; max-width: 420px; } }

/* Episode discussion (Giscus). */
.comments-wrap { max-width: 760px; }
#episode-comments { margin-top: 1rem; }
.comments-soon {
  color: var(--bone-dim); font-size: 0.92rem; text-align: center;
  border: 1px dashed #2c2422; border-radius: var(--radius); padding: 1.4rem;
}
.giscus, .giscus-frame { width: 100%; }
.giscus-frame { border: 0; }

/* ---- mark hunt: hidden bind-rune scavenger hunt ---- */
.mh-host { position: relative; }
.mark-hunt-mark {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 5;
  width: 30px; height: 30px; padding: 3px;
  background: rgba(10, 9, 8, 0.55); border: 1px solid transparent; border-radius: 50%;
  cursor: pointer; opacity: 0.28; transition: opacity 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: inline-flex; align-items: center; justify-content: center;
}
.mark-hunt-mark img { width: 100%; height: 100%; object-fit: contain; }
.mark-hunt-mark:hover, .mark-hunt-mark:focus-visible { opacity: 1; border-color: var(--blood); box-shadow: 0 0 12px var(--blood-glow); outline: none; }
.mark-hunt-mark.found { opacity: 0.85; border-color: var(--gold); box-shadow: 0 0 8px rgba(138, 109, 59, 0.5); cursor: default; }
.mark-hunt-pill {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
}
.mark-hunt-pill > button {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--coal); color: var(--bone); border: 1px solid #2c2422; border-radius: 999px;
  padding: 0.55rem 0.95rem 0.55rem 0.6rem; cursor: pointer; font-size: 0.85rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); min-height: 44px;
}
.mark-hunt-pill > button img { width: 26px; height: 26px; }
.mark-hunt-pill > button:hover { border-color: var(--blood-deep); }
.mh-panel {
  position: absolute; right: 0; bottom: calc(100% + 0.6rem); width: min(300px, 80vw);
  background: var(--coal); border: 1px solid #2c2422; border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.mh-panel p { margin: 0 0 0.6rem; font-size: 0.85rem; color: var(--bone-dim); }
.mh-panel p strong { color: var(--bone); }
.mh-bar { height: 8px; background: var(--ash); border-radius: 999px; overflow: hidden; margin: 0.4rem 0 0.6rem; }
.mh-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blood-deep), var(--blood)); transition: width 0.4s; }
.mh-progress { font-size: 0.8rem; }
.mh-modal-wrap {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.75);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.mh-modal {
  background: var(--coal); border: 1px solid var(--blood-deep); border-radius: var(--radius);
  max-width: 420px; width: 100%; padding: 2rem; text-align: center; position: relative;
  box-shadow: 0 0 40px var(--blood-glow);
}
.mh-modal-mark { width: 64px; height: 64px; margin-bottom: 0.6rem; }
.mh-modal h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 0.6rem; }
.mh-modal p { color: var(--bone-dim); }
.mh-code {
  font-size: 1.8rem; letter-spacing: 0.25rem; color: var(--bone);
  border: 1px dashed var(--gold); border-radius: var(--radius);
  padding: 0.7rem; margin: 1rem 0; font-weight: bold;
}
.mh-modal-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.mh-close {
  position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: none;
  color: var(--bone-dim); cursor: pointer; font-size: 0.85rem; padding: 0.4rem;
}
.mh-close:hover { color: var(--bone); }

/* ---------- web push subscribe (homepage, near latest episode) ---------- */
.push-cta {
  text-align: center;
  max-width: 620px;
  margin: 2rem auto 0;
  padding: 1.4rem 1.6rem;
  background: var(--coal);
  border: 1px solid var(--blood-deep);
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
}
.push-lede { color: var(--bone-dim); font-style: italic; margin: 0 0 1rem; }
.push-note { color: var(--bone-dim); font-size: 0.85rem; margin: 0.8rem 0 0; }
#push-subscribe[aria-pressed="true"] { border-color: var(--blood); }

/* ---------- native share ---------- */
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--coal);
  color: var(--bone);
  border: 1px solid var(--blood);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.share-btn.small { font-size: 0.75rem; padding: 0.4rem 0.9rem; align-self: flex-start; }
.card-title-link { color: var(--bone); }
.card-title-link:hover { color: #ff4d5e; text-decoration: none; }

/* ---------- episode pages ---------- */
.ep-page { padding-top: 1.5rem; padding-bottom: 2rem; max-width: 820px; }
.crumbs { font-size: 0.8rem; color: var(--bone-dim); margin-bottom: 0.6rem; font-family: var(--font-ui); }
.crumbs a { color: var(--bone-dim); }
.ep-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.2rem 0 0.6rem; line-height: 1.15; }
.video-embed {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  margin: 1.6rem auto;
  background: #000;
  border: 1px solid var(--blood-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(193,18,31,0.12);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* click-to-play thumbnail: the TikTok iframe only loads after a tap, so
   browsing the archive never trips TikTok's embed rate limiter */
.ctp-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.ctp-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ctp-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7)); transition: transform 0.15s ease; }
.ctp-btn:hover .ctp-play, .ctp-btn:focus-visible .ctp-play { transform: translate(-50%, -50%) scale(1.08); }
.ctp-label { position: absolute; bottom: 0.9rem; left: 50%; transform: translateX(-50%); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone-dim); background: rgba(0,0,0,0.55); padding: 0.3rem 0.9rem; border-radius: 999px; border: 1px solid var(--blood-deep); }
.embed-note { text-align: center; font-size: 0.8rem; color: var(--bone-dim); margin-top: -1rem; }
.cover-hero { max-width: 520px; margin: 1.6rem auto; border: 1px solid var(--blood-deep); border-radius: var(--radius); overflow: hidden; }
.ep-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: center; margin: 1.4rem 0; }
.ep-facts, .ep-transcript { margin: 2.2rem 0; }
.ep-facts h2, .ep-transcript h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.8rem; }
.ep-facts ul { padding-left: 1.3rem; }
.ep-facts li { margin-bottom: 0.5rem; }
.ep-transcript p { margin-bottom: 1rem; }
.gap-note { font-style: italic; color: var(--bone-dim); }
.hashtags { color: var(--bone-dim); font-size: 0.85rem; line-height: 1.8; margin: 2rem 0; overflow-wrap: break-word; }
.ep-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0 1rem; }
.ep-nav { display: block; border: 1px solid var(--blood-deep); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--coal); color: var(--bone); }
.ep-nav:hover { border-color: var(--blood); text-decoration: none; color: var(--bone); }
.ep-nav span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bone-dim); font-family: var(--font-ui); margin-bottom: 0.3rem; }
.ep-nav strong { font-weight: normal; }
.ep-nav.next { text-align: right; }
.upnext-card { display: block; border: 1px dashed var(--blood-deep); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.6rem 0; color: var(--bone); background: rgba(122,12,20,0.08); }
.upnext-card:hover { border-color: var(--blood); text-decoration: none; color: var(--bone); }
.upnext-card .eyebrow { margin: 0 0 0.3rem; }
.upnext-card strong { font-weight: normal; font-size: 1.1rem; }

/* ---------- up-next autoplay overlay ---------- */
.upnext-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,4,3,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1.5rem;
}
.upnext-overlay[hidden] { display: none; }
.upnext-box {
  background: var(--coal);
  border: 1px solid var(--blood);
  border-radius: var(--radius);
  padding: 2rem 2.4rem;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 0 60px var(--blood-glow);
}
.upnext-box .eyebrow { margin-top: 0; }
.upnext-title { font-size: 1.4rem; margin: 0.4rem 0; }
.upnext-count { color: var(--bone-dim); }
.upnext-actions { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.2rem; }

@media (max-width: 640px) {
  .ep-prevnext { grid-template-columns: 1fr; }
  .ep-nav.next { text-align: left; }
  .push-cta { margin-left: 1rem; margin-right: 1rem; }
}

/* ============================================================
   CINEMATIC OVERHAUL (2026-10-04): best-looking-site pass
   GPU-only animations (transform/opacity). All motion gated
   behind prefers-reduced-motion via the existing media query.
   ============================================================ */

/* ---- ember particles rising through the hero ---- */
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ember {
  position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, #ffb35c 0%, #ff5a2a 55%, transparent 75%);
  opacity: 0; animation: ember-rise linear infinite; will-change: transform, opacity;
}
@keyframes ember-rise {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  8%   { opacity: 0.9; }
  60%  { opacity: 0.55; }
  100% { transform: translate3d(var(--drift, 20px), -105vh, 0) scale(0.25); opacity: 0; }
}

/* ---- rotating rune ring around the hero mark ---- */
.hero-mark-wrap { position: relative; display: inline-block; margin: 0 auto 1.2rem; }
.hero-mark-wrap .hero-mark { margin: 0; }
.rune-ring {
  position: absolute; inset: -26px; pointer-events: none;
  animation: ring-spin 36s linear infinite; opacity: 0.6;
}
.rune-ring svg { width: 100%; height: 100%; overflow: visible; }
.rune-ring text {
  font-size: 15px; fill: var(--blood-bright); letter-spacing: 6px;
  filter: drop-shadow(0 0 6px var(--blood-glow));
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ---- hero title: layered dread ---- */
.hero h1 {
  background: linear-gradient(180deg, #fffef8 0%, #f5ecd6 55%, #ddcfae 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(245,236,214,0.35);
  letter-spacing: -0.015em;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,0.9)) drop-shadow(0 0 34px rgba(193,18,31,0.28));
}
.hero .tagline { position: relative; }
.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;
}
@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); }
}

/* ---- scroll reveal: elements rise into view ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; }

/* ---- richer card hover: lift, glow, image zoom ---- */
.archive-card .thumb img, .recent-card img, .latest-thumb img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s; }
.archive-card:hover .thumb img, .recent-card:hover img { transform: scale(1.06); }
.archive-card:hover { box-shadow: 0 18px 44px rgba(0,0,0,0.65), 0 0 26px rgba(193,18,31,0.14); }
.recent-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.6), 0 0 22px rgba(193,18,31,0.12); }
.latest-card:hover { box-shadow: 0 22px 70px rgba(0,0,0,0.7), 0 0 60px rgba(193,18,31,0.16); }

/* ---- buttons: sheen sweep ---- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg); transition: left 0.5s ease;
}
.btn:hover::after { left: 130%; }
.btn.ghost::after { display: none; }

/* ---- explore cards: icon glow on hover ---- */
.explore-card:hover .explore-icon { text-shadow: 0 0 18px var(--blood-glow); transform: scale(1.12); }
.explore-icon { transition: transform 0.25s ease, text-shadow 0.25s ease; }

/* ---- game cards: identity banner parallax glow ---- */
.game-identity { transition: filter 0.4s ease; }
.game-card:hover .game-identity { filter: brightness(1.18) saturate(1.1); }

/* ---- section titles: slow blood-red pulse on the rule ---- */
h1.section-title::after, h2.section-title::after { animation: rule-pulse 5s ease-in-out infinite; }
@keyframes rule-pulse {
  0%, 100% { opacity: 0.75; } 50% { opacity: 1; box-shadow: 0 0 18px var(--blood-glow); }
}

/* ---- nav: underline sweep ---- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: var(--blood-bright); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a.ext::after { display: none; }

/* ---- footer signoff: candle-flicker ---- */
.site-footer .signoff { animation: blood-flicker 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .embers, .rune-ring, .hero .tagline .blood, .site-footer .signoff,
  h1.section-title::after, h2.section-title::after { animation: none !important; display: none; }
  .hero .tagline .blood, .site-footer .signoff { display: inline; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn::after { display: none; }
}

/* ---- custom scrollbar: blood on coal ---- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0a0908; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3a1216, #1c0609);
  border: 2px solid #0a0908; border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--blood-deep); }
* { scrollbar-width: thin; scrollbar-color: #3a1216 #0a0908; }

/* Fallback: if background-clip:text is unsupported, show solid bone text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: none; -webkit-text-fill-color: var(--bone); color: var(--bone);
    filter: drop-shadow(0 4px 22px rgba(0,0,0,0.9));
  }
}

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4em; color: var(--blood); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--ink-dim); line-height: 1.6; }
.faq-item p a { color: var(--blood); }

/* ---- Cinematic upgrades: fog, grain, aurora, card tilt ---- */

/* Film grain overlay: subtle animated noise for horror cinema feel */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* Aurora glow: faint green/purple light drifting behind content */
.aurora {
  position: fixed; top: -20%; left: -10%; width: 120%; height: 60%;
  z-index: 0; pointer-events: none; opacity: 0.12; filter: blur(60px);
  background: linear-gradient(120deg, transparent 20%, rgba(80, 200, 160, 0.4) 40%, rgba(120, 80, 200, 0.35) 60%, transparent 80%);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0% { transform: translateX(-5%) rotate(-2deg); }
  100% { transform: translateX(5%) rotate(2deg); }
}

/* Drifting fog layers in hero */
.fog-layer {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.fog-layer span {
  position: absolute; width: 200%; height: 120px; bottom: -20px; left: -50%;
  background: radial-gradient(ellipse at center, rgba(180, 180, 190, 0.08) 0%, transparent 70%);
  filter: blur(30px); will-change: transform; animation: fog-drift 25s linear infinite;
}
.fog-layer span:nth-child(2) { animation-duration: 35s; animation-direction: reverse; opacity: 0.7; bottom: 40px; }
@keyframes fog-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(25%); }
}

/* Card 3D tilt on hover */
.archive-card, .game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
@media (hover: hover) {
  .archive-card:hover, .game-card:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
    box-shadow: 0 12px 40px rgba(180, 20, 30, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5);
  }
}

/* Flickering torch glow on section titles */
.section-title {
  animation: torch-flicker 4s ease-in-out infinite;
}
@keyframes torch-flicker {
  0%, 100% { text-shadow: 0 0 20px rgba(180, 30, 40, 0.3); }
  45% { text-shadow: 0 0 28px rgba(200, 40, 50, 0.45); }
  55% { text-shadow: 0 0 16px rgba(160, 25, 35, 0.25); }
  70% { text-shadow: 0 0 24px rgba(190, 35, 45, 0.4); }
}

/* Pulsing vignette: subtle breathing darkness at edges */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.4) 100%);
  animation: vignette-breathe 6s ease-in-out infinite;
}
@keyframes vignette-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Reduced motion: disable all new effects */
@media (prefers-reduced-motion: reduce) {
  body::before, .aurora, .fog-layer, .fog-layer span, .mountain-fog span, .section-title, body::after,
  .hero-mark-wrap .hero-glow, .hero .tagline .blood { animation: none !important; }
  body::before, body::after, .aurora { display: none; }
  .archive-card:hover, .game-card:hover { transform: none; }
}

/* Watch progress */
.progress-wrap { margin: 20px 0 24px; text-align: center; }
.progress-text { color: var(--ink-dim); margin-bottom: 12px; }
.progress-bar { height: 8px; background: var(--surface); border-radius: 4px; overflow: hidden; max-width: 400px; margin: 0 auto; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blood-deep), var(--blood)); border-radius: 4px; transition: width 0.5s ease; }
