
:root {
  --bg: #080506;
  --panel: #120909;
  --panel2: #1b0d0b;
  --ember: #ff6a1a;
  --ember2: #ffb36b;
  --text: #fff3e8;
  --muted: #c9a894;
  --line: rgba(255,106,26,.35);
  --soft: rgba(255,255,255,.045);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,106,26,.18), transparent 34%),
    radial-gradient(circle at 100% 22%, rgba(255,180,80,.08), transparent 28%),
    linear-gradient(180deg, #070404 0%, #100807 48%, #070404 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(8,5,6,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,106,26,.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; }
.brand { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ember2); font-size: .84rem; }
.nav-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 72px 0 52px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 12%;
  background:
    radial-gradient(circle, rgba(255,106,26,.18), transparent 58%),
    linear-gradient(135deg, transparent 0 44%, rgba(255,106,26,.18) 45% 46%, transparent 47% 100%);
  filter: blur(1px);
  opacity: .85;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow {
  color: var(--ember2);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  margin: 0;
  font-size: clamp(3.1rem, 10vw, 8rem);
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255,106,26,.42);
}
.hero p, .lead {
  margin: 22px auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.45;
}
.btnrow { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  border: 1px solid rgba(255,106,26,.55);
  background: linear-gradient(180deg, rgba(255,106,26,.22), rgba(255,106,26,.08));
  color: var(--text);
  padding: 13px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.btn:hover { border-color: rgba(255,179,107,.95); box-shadow: 0 0 22px rgba(255,106,26,.18); }
.btn.inactive {
  color: rgba(255,243,232,.54);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  cursor: default;
}
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 34px; }
.section-title .eyebrow { margin-bottom: 10px; }
h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.grid, .cards, .episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.episode-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card, .episode-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,106,26,.28);
  border-radius: 28px;
  padding: 28px;
  min-height: 250px;
  box-shadow: 0 0 40px rgba(0,0,0,.3);
}
.episode-card { min-height: 295px; display: flex; flex-direction: column; justify-content: space-between; }
.card h3, .episode-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -.04em;
}
.role, .ep-num {
  color: var(--ember2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 18px;
}
.card p, .episode-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.42;
  font-size: 1.02rem;
}
.card .btn, .episode-card .btn { margin-top: 12px; padding: 11px 15px; }
.story-intro {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,106,26,.14), transparent 38%),
    #070404;
  border-top: 1px solid var(--line);
}
.story-panel, .reader-panel {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 76px 0;
  border-top: 1px solid rgba(255,106,26,.16);
  position: relative;
  overflow: hidden;
}
.story-panel:before, .reader-panel:before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 34px;
  border: 1px solid rgba(255,106,26,.13);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,106,26,.12), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,179,107,.06), transparent 34%);
  pointer-events: none;
}
.story-box, .reader-box {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(18,9,9,.86), rgba(8,5,6,.80));
  border: 1px solid rgba(255,106,26,.32);
  box-shadow: 0 20px 80px rgba(0,0,0,.4), 0 0 50px rgba(255,106,26,.08);
}
.story-label {
  color: var(--ember2);
  letter-spacing: .2em;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 22px;
}
.story-main {
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 900;
  margin: 0 0 24px;
  text-transform: none;
  text-shadow: 0 0 30px rgba(255,106,26,.2);
}
.story-lines {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  line-height: 1.35;
  max-width: 660px;
  margin: 0 auto;
}
.episode-hero {
  min-height: 62vh;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 70px 0 54px;
  border-bottom: 1px solid var(--line);
}
.episode-hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.reader-box { text-align: left; }
.reader-box .story-label { text-align: center; }
.reader-box p {
  color: var(--text);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.58;
  margin: 0 0 18px;
}
.reader-box p:last-child { margin-bottom: 0; }
.scene-tag {
  display: inline-block;
  color: var(--ember2);
  border: 1px solid rgba(255,106,26,.35);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: 18px;
}
.dialogue {
  border-left: 3px solid rgba(255,106,26,.65);
  padding-left: 18px;
  color: var(--text);
}
.dialogue span {
  display: block;
  color: var(--ember2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.reader-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 40px 0 70px;
}
.trust, footer {
  padding: 46px 0 64px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(255,106,26,.2);
}
footer strong { color: var(--text); }
@media (max-width: 900px) {
  .episode-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 24px, 680px); }
  .hero { min-height: 86vh; padding-top: 56px; }
  .cards, .grid, .episode-grid { grid-template-columns: 1fr; }
  .card, .episode-card { border-radius: 22px; padding: 24px; min-height: auto; }
  section { padding: 54px 0; }
  .story-panel, .reader-panel { min-height: 70vh; padding: 54px 0; }
  .story-panel:before, .reader-panel:before { inset: 8px; border-radius: 24px; }
  .story-box, .reader-box { border-radius: 24px; padding: 30px 20px; }
  .story-label { font-size: .66rem; margin-bottom: 18px; }
  .story-main { margin-bottom: 20px; }
  .story-lines { gap: 7px; }
  .nav-inner { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
}
