:root {
  --bg: #0b0d1a;
  --bg-2: #12152b;
  --panel: #181c38;
  --line: #2a2f57;
  --ink: #f5f2ea;
  --muted: #a8acc9;
  --yellow: #fcd116;
  --red: #e2232f;
  --blue: #2a5bd7;
  --radius: 14px;
  --wrap: 1120px;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: 1.6rem; text-transform: uppercase; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 26, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; border-radius: 8px; background: #fff; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--panel); }
.nav .nav-yt { color: #fff; background: var(--red); }
.nav .nav-yt:hover { background: #ff3442; }
@media (max-width: 640px) {
  .nav a:not(.nav-yt) { display: none; }
  .brand span { font-size: 1.15rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1rem/1 var(--body); text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: #111; }
.btn-yellow:hover { color: #111; background: #ffe04d; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { color: #fff; background: #ff3442; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,26,.15) 0%, rgba(11,13,26,.55) 45%, var(--bg) 96%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 56px; }
.kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #111; background: var(--yellow); padding: 6px 12px; border-radius: 4px; transform: skewX(-8deg); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  text-transform: uppercase; font-style: italic;
  color: var(--yellow);
  text-shadow: 4px 4px 0 #0a0c1c, -1px -1px 0 #0a0c1c, 1px -1px 0 #0a0c1c, -1px 1px 0 #0a0c1c;
  margin-bottom: .1em;
}
.hero .tagline { font-family: var(--display); font-size: clamp(1.5rem, 4vw, 2.4rem); text-transform: uppercase; margin-bottom: 18px; }
.hero .lead { max-width: 620px; font-size: 1.1rem; color: #e9e6f5; margin-bottom: 28px; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.alt { background: var(--bg-2); }
.slant { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); padding: calc(72px + 3vw) 0; }
.eyebrow { color: var(--yellow); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.section-intro { max-width: 640px; color: var(--muted); font-size: 1.08rem; margin-bottom: 40px; }

/* Three pillars */
.pillars { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--yellow)); }
.pillar h3 { color: var(--c, var(--yellow)); }
.pillar p { color: var(--muted); margin: 0; }

/* Series cards */
.series-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .series-grid { grid-template-columns: 1.35fr 1fr; } }
.series-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.series-card .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.series-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.series-card:hover .art img { transform: scale(1.03); }
.series-card .body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.series-card h3 { font-size: 2.4rem; margin: 0; }
.series-card .tag-line { font-weight: 700; color: var(--yellow); margin: 0 0 6px; }
.series-card p { color: var(--muted); }
.series-card .more { margin-top: auto; font-weight: 700; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: var(--red); color: #fff; }
.badge.soon { background: var(--yellow); color: #111; }
.art-soon { background: radial-gradient(circle at 70% 30%, #3a2a6b 0%, #120f26 70%); display: grid; place-items: center; }
.art-soon .big { font-family: var(--display); font-size: clamp(3rem, 9vw, 5rem); font-style: italic; text-transform: uppercase; color: rgba(252, 209, 22, .9); text-shadow: 4px 4px 0 #0a0c1c; transform: rotate(-4deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; padding: 0; list-style: none; }
.chips li.done { background: var(--red); border-color: var(--red); color: #fff; }
.chips li { font-size: .82rem; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.07); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* Episode cards */
.episodes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .episodes { grid-template-columns: repeat(2, 1fr); } }
.episode { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.episode .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.episode .label { font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.episode h3 { font-family: var(--body); font-weight: 800; font-size: 1.15rem; line-height: 1.35; text-transform: none; margin-bottom: 10px; }
.episode h3 a { color: var(--ink); text-decoration: none; }
.episode h3 a:hover { color: var(--yellow); }
.episode p { color: var(--muted); font-size: .97rem; }
.episode .more { margin-top: auto; font-weight: 700; }

/* YouTube facade */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s ease; }
.yt:hover img { filter: brightness(.85); }
.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: var(--red); border-radius: 14px; display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .15s ease; }
.yt:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.yt .play::after { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt iframe, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--yellow); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* CTA band */
.cta { text-align: center; background: linear-gradient(135deg, #1b2a7a 0%, #0f1640 55%, #3b0f22 100%); }
.cta h2 { max-width: 760px; margin: 0 auto .3em; }
.cta p { color: #d7d9ef; max-width: 560px; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* Sub-page header */
.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% -20%, #26307a 0%, transparent 60%); }
.page-head h1 { font-size: clamp(2.6rem, 8vw, 5rem); text-transform: uppercase; }
.page-head h1.long { font-family: var(--body); font-weight: 800; font-size: clamp(1.6rem, 4.2vw, 2.5rem); line-height: 1.2; text-transform: none; }
.page-head .tagline { font-family: var(--display); font-size: clamp(1.3rem, 3.5vw, 2rem); color: var(--yellow); text-transform: uppercase; margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.split { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.prose p { font-size: 1.08rem; color: #e3e1ee; }
.prose h2 { margin-top: 1.2em; }

/* The offer */
.offer { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.offer .opts { display: grid; gap: 12px; margin: 16px 0; }
.offer .opt { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.offer .opt b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; color: var(--yellow); width: 30px; text-align: center; }
.offer .opt span { font-weight: 700; }
.offer .q { color: var(--muted); margin: 0; }

/* Character */
.character { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .character { grid-template-columns: 220px 1fr; } }
.character img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.character .body { padding: 24px; }
.character .role { color: var(--yellow); font-weight: 700; margin-bottom: 8px; }
.character p { color: var(--muted); margin: 0; }

/* Episode page */
.ep-meta { color: var(--muted); margin: 0; }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters a { display: flex; gap: 16px; padding: 12px 4px; color: var(--ink); text-decoration: none; }
.chapters a:hover { background: var(--panel); }
.chapters time { font-variant-numeric: tabular-nums; color: var(--yellow); font-weight: 700; min-width: 64px; }
.pager { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.pager a:hover { border-color: var(--yellow); }
.pager small { display: block; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; margin-bottom: 4px; }
.pager .next { text-align: right; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-list a { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.side-list a[aria-current] { border-color: var(--yellow); }
.side-list img { aspect-ratio: 16 / 9; object-fit: cover; }
.side-list span { font-weight: 700; font-size: .92rem; line-height: 1.3; padding-right: 10px; }
.side-list small { display: block; color: var(--yellow); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { margin-bottom: 10px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: .84rem; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
