/* ============================================================
   GAMES OF SOULS — gamesofsouls.com
   Single stylesheet · dark anime · mobile-first · cult build
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: rgba(255,255,255,.08);
  --text: #ececec;
  --text-dim: #8a8a8a;
  --silver: #c5c5c5;
  --silver-2: #e8e8e8;
  --red: #b71c1c;
  --red-hot: #ff1a1a;
  --gold: #b89b3a;
  --orange: #ff6a00;

  --f-display: 'Anton', 'Bebas Neue', 'Helvetica Neue', sans-serif;
  --f-poster: 'Bebas Neue', 'Anton', sans-serif;
  --f-body: 'Space Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --nav-h: 64px;
  --max-w: 1240px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-hot); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; letter-spacing: .015em; line-height: .98; color: var(--silver-2); text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); letter-spacing: .03em; }
h4 { font-size: 1.05rem; letter-spacing: .15em; }
p { color: var(--silver); }
strong { color: var(--silver-2); font-weight: 600; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: inline-block;
}
.accent { color: var(--red); }
.muted { color: var(--text-dim); }
.text-center { text-align: center; }
em { color: var(--silver-2); font-style: italic; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; }
@media (min-width: 768px) { section { padding: 6.5rem 0; } }
.section--tight { padding: 3.5rem 0; }
.section--alt { background: var(--bg-2); }

.btn {
  display: inline-block;
  padding: .9rem 1.7rem;
  font-family: var(--f-poster);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hot); color: #fff; }
.btn--ghost { border-color: var(--silver); color: var(--silver-2); }
.btn--ghost:hover { background: var(--silver-2); color: var(--bg); }
.btn--gold { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: #000; }
.btn + .btn { margin-left: .75rem; }
@media (max-width: 540px) {
  .btn { display: block; width: 100%; margin: .5rem 0 0 0; text-align: center; }
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--f-poster);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--silver-2);
}
.nav__logo span { color: var(--red); }
.nav__menu { display: none; gap: 1.75rem; list-style: none; }
.nav__menu a {
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500;
  color: var(--silver);
}
.nav__menu a:hover { color: var(--silver-2); }
.nav__cta {
  padding: .5rem 1rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--r);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.nav__cta:hover { background: var(--red-hot); color: #fff; }
.nav__burger { display: block; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--silver-2); margin: 5px 0; transition: .2s; }
@media (min-width: 980px) {
  .nav__menu { display: flex; }
  .nav__burger { display: none; }
}
.nav__drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
}
.nav__drawer.open { display: block; }
.nav__drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.nav__drawer a { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }

main, header.hero { padding-top: var(--nav-h); }

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(ellipse at top, rgba(183,28,28,.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0d0606 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 920px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: 1.25rem; }
.hero h1 .accent { display: inline-block; }
.hero__lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--silver); max-width: 720px; margin: 0 auto 1.5rem; }
.hero__meta {
  display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-size: .8rem; color: var(--text-dim);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero__meta strong { color: var(--silver-2); font-weight: 600; }
.hero__counter {
  display: inline-flex; align-items: baseline; gap: .5rem;
  background: rgba(183,28,28,.1);
  border: 1px solid rgba(183,28,28,.4);
  padding: .65rem 1.25rem;
  border-radius: var(--r);
  margin: 1rem 0 2rem;
  font-family: var(--f-display);
  letter-spacing: .15em;
}
.hero__counter .num { color: var(--red-hot); font-size: 1.6rem; font-weight: 700; }
.hero__counter .label { font-size: .75rem; text-transform: uppercase; color: var(--silver); letter-spacing: .2em; }
.hero__cta { margin-top: 1.5rem; }

.page-head {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0606 0%, var(--bg) 100%);
  text-align: center;
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 1rem; }
.page-head p { max-width: 720px; margin: 0 auto; color: var(--silver); }
.crumbs { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.crumbs a { color: var(--silver); }
.crumbs a:hover { color: var(--red-hot); }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.ep-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .25s;
}
.ep-card:hover { border-color: rgba(183,28,28,.55); transform: translateY(-2px); }
.ep-card__head {
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #150808, var(--bg-2));
}
.ep-card__num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  color: var(--red);
  display: block;
  line-height: 1;
}
.ep-card__title {
  margin-top: .5rem;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--silver-2);
  letter-spacing: .04em;
}
.ep-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.ep-card__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1rem;
}
.ep-card__meta span { padding: .15rem .5rem; border: 1px solid var(--line); border-radius: 2px; }
.ep-card__pitch { color: var(--silver); font-size: .95rem; line-height: 1.55; }
.ep-card__status {
  display: inline-block;
  padding: .2rem .55rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  margin-left: .75rem;
  border-radius: 2px;
  vertical-align: middle;
}
.ep-card__status--soon { background: var(--bg-3); color: var(--silver); border: 1px solid var(--line); }
.ep-card__status--live { background: var(--red); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 1.25rem 1.25rem;
  border-radius: var(--r);
}
.stat__num {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--silver-2);
  font-weight: 700;
  line-height: 1.05;
  display: block;
}
.stat__label {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: .35rem;
  display: block;
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.char-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .25s;
}
.char-card:hover { border-color: rgba(183,28,28,.55); transform: translateY(-2px); }
.char-card__icon {
  width: 72px; height: 72px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 1.9rem;
  color: var(--red);
  border: 1px solid var(--line);
}
.char-card__name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.char-card__role {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.char-card__pitch { color: var(--silver); font-size: .95rem; }

.char-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 880px) { .char-hero { grid-template-columns: 1fr 1.4fr; } }
.char-hero__panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--r);
}
.char-hero__panel h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .5rem; }
.char-hero__role { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--red); margin-bottom: 1.5rem; display: block; }
.char-hero__panel ul { list-style: none; margin-top: 1.5rem; }
.char-hero__panel li { padding: .65rem 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.char-hero__panel li:last-child { border-bottom: 0; }
.char-hero__panel li b { color: var(--text-dim); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .7rem; align-self: center; }
.char-hero__panel li span { color: var(--silver-2); text-align: right; }

.quote {
  background: var(--bg-2);
  border-left: 3px solid var(--red);
  padding: 2rem 2rem 2rem 2.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--r) var(--r) 0;
}
.quote p {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--silver-2);
  font-weight: 700;
  letter-spacing: .02em;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--red);
}

.pill {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--silver);
}
.pill--red { background: rgba(183,28,28,.12); border-color: rgba(183,28,28,.5); color: var(--red-hot); }
.pill--gold { background: rgba(184,155,58,.1); border-color: rgba(184,155,58,.5); color: var(--gold); }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0;
}
.content h2 { margin: 2.5rem 0 1rem; }
.content h3 { margin: 2rem 0 .75rem; color: var(--silver-2); }
.content p { margin-bottom: 1.1rem; }
.content ul, .content ol { margin: 0 0 1.25rem 1.5rem; color: var(--silver); }
.content li { margin-bottom: .5rem; }
.content a { color: var(--silver-2); text-decoration: underline; text-decoration-color: rgba(183,28,28,.6); text-underline-offset: 3px; }
.content a:hover { color: var(--red-hot); }
.content blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-2);
  font-style: italic;
  color: var(--silver-2);
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .92rem;
}
.content th, .content td {
  text-align: left;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.content th { color: var(--text-dim); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.content tr:hover { background: var(--bg-2); }

.ep-hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(ellipse at top, rgba(183,28,28,.15), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.ep-hero__num {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: .4em;
  color: var(--red);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.ep-hero__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 1rem;
}
.ep-hero__sub { font-size: 1.1rem; color: var(--silver); max-width: 640px; margin: 0 auto 1.5rem; }
.ep-hero__meta {
  display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-size: .75rem; color: var(--text-dim); letter-spacing: .15em; text-transform: uppercase;
}

.ep-section { padding: 4rem 0; }
.ep-section:nth-child(even) { background: var(--bg-2); }
.ep-section h2 { margin-bottom: 2rem; }
.ep-section .container { max-width: 920px; }

.beat-list { list-style: none; counter-reset: beat; }
.beat-list li {
  counter-increment: beat;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: .75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.beat-list li::before {
  content: counter(beat, decimal-leading-zero);
  position: absolute; left: 1rem; top: 1rem;
  font-family: var(--f-display);
  color: var(--red);
  font-weight: 700;
  font-size: 1rem;
}
.section--alt .beat-list li { background: var(--bg); }

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.footer__wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) { .footer__wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__wrap { grid-template-columns: 1fr; } }
.footer h4 { font-size: 1.1rem; letter-spacing: .15em; margin-bottom: .75rem; color: var(--silver-2); }
.footer h5 { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; font-family: var(--f-body); }
.footer ul { list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: var(--silver); font-size: .9rem; }
.footer a:hover { color: var(--red-hot); }
.footer p { font-size: .9rem; color: var(--text-dim); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: var(--text-dim);
}
.footer__bottom a { font-size: .8rem; color: var(--silver); margin-left: 1rem; }
.footer__sig {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--silver);
  letter-spacing: .04em;
  margin-top: .5rem;
  font-size: .85rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.row--2 { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 820px) { .row--2 { grid-template-columns: 1fr 1fr; } }
.center { text-align: center; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.press-logos {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: center;
  font-family: var(--f-display); letter-spacing: .15em;
  margin: 2rem 0;
}
.press-logos a {
  font-size: .9rem; color: var(--text-dim); transition: color .2s;
}
.press-logos a:hover { color: var(--silver-2); }

@media print {
  .nav, .footer, .nav__cta, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* ============================================================
   v2 — anime/game DNA pass
   ============================================================ */

/* Hero with character art (Exorcista right-side) */
.hero--art {
  padding: 5rem 0 4rem;
  position: relative;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(183,28,28,.15), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0d0606 100%);
}
.hero--art .hero__inner { text-align: left; max-width: var(--max-w); }
.hero--art .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 920px) {
  .hero--art .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
}
.hero--art h1 { text-align: left; }
.hero--art .hero__lede,
.hero--art .hero__meta { margin-left: 0; margin-right: 0; }
.hero__art-img {
  position: relative;
  border: 1px solid rgba(183,28,28,.4);
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  aspect-ratio: 3/4;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
}
.hero__art-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.hero__art-img:hover img { transform: scale(1.03); }
.hero__art-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.hero__art-tag {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: var(--f-display);
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--silver-2);
  background: rgba(0,0,0,.7);
  border: 1px solid rgba(255,255,255,.15);
  padding: .4rem .75rem;
  border-radius: 2px;
  z-index: 2;
}

/* Episode cards with arena background image */
.ep-card { position: relative; }
.ep-card__bg {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
}
.ep-card__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, opacity .3s;
}
.ep-card:hover .ep-card__bg img { transform: scale(1.04); opacity: .9; }
.ep-card__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,20,20,.95) 100%);
}
.ep-card__bg-tag {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--silver-2);
  background: rgba(0,0,0,.7);
  padding: .25rem .65rem;
  border-radius: 2px;
  letter-spacing: .12em;
}

/* Demon roster (game-style select screen) */
.demon-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.demon-card {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: block;
}
.demon-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.2) contrast(1.05);
  transition: filter .3s, transform .5s;
}
.demon-card:hover { border-color: var(--accent, var(--red)); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.demon-card:hover img { filter: grayscale(0) contrast(1); transform: scale(1.04); }
.demon-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: .9rem 1rem;
  z-index: 1;
}
.demon-card__num {
  position: absolute; top: .65rem; right: .65rem;
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--silver);
  background: rgba(0,0,0,.7);
  border: 1px solid var(--line);
  padding: .2rem .5rem;
  border-radius: 2px;
  letter-spacing: .12em;
  z-index: 2;
}
.demon-card__name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--silver-2);
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.1;
}
.demon-card__sin {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent, var(--red));
  margin-top: .25rem;
  font-weight: 600;
}
.demon-card--locked img { filter: grayscale(1) brightness(.4); }
.demon-card--locked::before {
  content: "LOCKED"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--f-display); font-size: .9rem; letter-spacing: .35em; color: var(--silver);
  background: rgba(0,0,0,.7); padding: .35rem .75rem; border: 1px solid var(--line); z-index: 2;
}

/* Per-demon accent color classes */
.acc-mammon { --accent: #d4af37; }       /* gold */
.acc-azazel { --accent: #ff6a00; }       /* orange / Bitcoin */
.acc-lilith { --accent: #8b1f4d; }       /* blood-purple */
.acc-belphegor { --accent: #6f7a3a; }    /* sloth-green */
.acc-asmodeus { --accent: #b388eb; }     /* mirror-violet */
.acc-mephistopheles { --accent: #2a8b8b; } /* deceit-teal */
.acc-moloch { --accent: #8b3a3a; }       /* sacrifice-red */
.acc-beelzebub { --accent: #a0824f; }    /* gluttony-bronze */
.acc-abaddon { --accent: #5e6f8b; }      /* gavel-steel */
.acc-mirror { --accent: #c5c5c5; }       /* silver */

/* Character page hero — bg + portrait combo */
.char-hero--rich {
  position: relative;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.char-hero--rich::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, var(--accent, var(--red)), transparent 65%);
  opacity: .12;
  pointer-events: none;
}
.char-hero--rich > .container { position: relative; z-index: 1; }
.char-hero__shot {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  aspect-ratio: 3/4;
}
.char-hero__shot img { width: 100%; height: 100%; object-fit: cover; }

/* Character gallery — multi-shot */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
  margin: 2rem 0;
}
.gallery__cell {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.gallery__cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s, filter .3s;
  filter: grayscale(.15);
}
.gallery__cell:hover img { transform: scale(1.07); filter: grayscale(0); }

/* Episode hero with arena image */
.ep-hero--art {
  position: relative;
  padding: 0; min-height: 0;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.ep-hero__arena {
  position: relative;
  aspect-ratio: 21/9;
  max-height: 60vh;
  overflow: hidden;
  background: #000;
}
.ep-hero__arena img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .7;
}
.ep-hero__arena::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(10,10,10,.95) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}
.ep-hero__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 1.5rem 2.5rem;
  z-index: 2;
}
.ep-hero__overlay-inner { text-align: center; max-width: 720px; }

/* Roadmap timeline (Series → Album → Comic → Game) */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.roadmap__step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 1.5rem 1.25rem;
  border-radius: var(--r);
  text-align: center;
}
.roadmap__step--soon { opacity: .55; border-top-color: var(--gold); }
.roadmap__step h4 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--silver-2);
  margin-bottom: .5rem;
}
.roadmap__step p { font-size: .85rem; color: var(--silver); }
.roadmap__step .when {
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--red); margin-bottom: .5rem;
}
.roadmap__step--soon .when { color: var(--gold); }

/* Soul counter live HUD */
.soul-hud {
  display: inline-flex; align-items: center; gap: .85rem;
  background: linear-gradient(180deg, #1c0808, #0a0202);
  border: 1px solid rgba(183,28,28,.5);
  padding: .9rem 1.5rem;
  border-radius: var(--r);
  margin: 1.5rem 0 2rem;
  font-family: var(--f-display);
  letter-spacing: .15em;
  box-shadow: 0 8px 30px rgba(183,28,28,.18), inset 0 0 0 1px rgba(255,255,255,.04);
}
.soul-hud__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-hot);
  animation: pulse 1.6s ease-in-out infinite;
}
.soul-hud__num { color: var(--red-hot); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.soul-hud__divider { color: var(--silver); font-size: 1.4rem; }
.soul-hud__total { color: var(--silver-2); font-size: 1.5rem; font-weight: 700; }
.soul-hud__label { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--silver); }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,26,26,.7); }
  50% { opacity: .5; box-shadow: 0 0 0 8px rgba(255,26,26,0); }
}

/* ============================================================
   v2.1 — image-size caps + poster-feel polish
   ============================================================ */

/* Homepage hero — cap art column max-width and aspect */
.hero--art .hero__art-img { max-width: 380px; margin-left: auto; aspect-ratio: 4/5; }
@media (max-width: 919px) {
  .hero--art .hero__art-img { max-width: 320px; margin: 0 auto; }
}

/* Episode arena hero — fixed pixel cap, not viewport-based */
.ep-hero__arena { aspect-ratio: auto; max-height: 420px; height: 420px; }
@media (max-width: 760px) { .ep-hero__arena { height: 320px; } }
.ep-hero__title { font-size: clamp(2.4rem, 6vw, 4.5rem); }

/* Demon roster — smaller cards (was getting too tall) */
.demon-roster {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .65rem;
}
.demon-card { aspect-ratio: 4/5; border-radius: 2px; }
.demon-card__name { font-family: var(--f-poster); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }
.demon-card__sin { font-family: var(--f-mono); font-size: .62rem; }
.demon-card__num { font-family: var(--f-mono); font-size: .75rem; }
@media (min-width: 1100px) {
  .demon-roster { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1400px) {
  .demon-roster { grid-template-columns: repeat(10, 1fr); gap: .5rem; }
}

/* Character page hero — much smaller portrait, side-by-side stays compact */
.char-hero { gap: 2rem; padding: 2rem 0; }
.char-hero__shot { max-width: 340px; aspect-ratio: 3/4; }
@media (min-width: 880px) {
  .char-hero { grid-template-columns: 340px 1fr; }
  .char-hero__shot { max-width: 340px; }
}
.char-hero__panel h1, .char-hero h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

/* Gallery cells — smaller, tighter grid */
.gallery {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .5rem;
}
.gallery__cell { aspect-ratio: 1/1; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(auto-fit, minmax(140px, 180px)); justify-content: center; }
}

/* Episode card grid — keep arena-art reasonable */
.ep-card__bg { aspect-ratio: 16/10; }

/* Stat numbers — change to mono for HUD vibe */
.stat__num { font-family: var(--f-poster); font-weight: 400; letter-spacing: .02em; }
.ep-card__num { font-family: var(--f-poster); font-weight: 400; }
.ep-card__bg-tag { font-family: var(--f-poster); font-weight: 400; }
.ep-hero__num { font-family: var(--f-mono); font-weight: 700; font-size: .8rem; letter-spacing: .35em; }

/* Soul HUD — mono for game-UI authenticity */
.soul-hud { font-family: var(--f-mono); }
.soul-hud__num, .soul-hud__total { font-family: var(--f-poster); font-weight: 400; }
.soul-hud__label { font-family: var(--f-mono); }

/* Nav menu — small mono labels */
.nav__menu a { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; }
.nav__cta { font-family: var(--f-mono); font-weight: 700; }

/* Footer logo bigger, list items mono */
.footer h4 { font-family: var(--f-poster); font-size: 1.5rem; letter-spacing: .12em; font-weight: 400; }
.footer h5 { font-family: var(--f-mono); }
.footer__sig { font-family: var(--f-poster); font-size: 1rem; font-style: normal; letter-spacing: .12em; }

/* Page head smaller heading on inner pages */
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.crumbs { font-family: var(--f-mono); }

/* Pill / status — mono */
.pill, .ep-card__status { font-family: var(--f-mono); font-weight: 700; font-size: .65rem; letter-spacing: .15em; }

/* Hero meta — mono */
.hero__meta { font-family: var(--f-mono); font-size: .72rem; }
.ep-hero__meta { font-family: var(--f-mono); font-size: .72rem; }
.ep-card__meta { font-family: var(--f-mono); font-size: .65rem; }

/* Quote — keep poster feel but readable */
.quote p { font-family: var(--f-display); font-weight: 400; text-transform: none; letter-spacing: .005em; line-height: 1.25; }
.quote cite { font-family: var(--f-mono); }

/* Roadmap — mono "when" labels, poster heads */
.roadmap__step h4 { font-family: var(--f-poster); font-weight: 400; }
.roadmap__step .when { font-family: var(--f-mono); font-weight: 700; }

/* Make the homepage "MAIN" h2 wrap naturally — Anton is narrow */
.hero h1 { line-height: .92; letter-spacing: -.01em; }

/* Force overall scale slightly smaller on dense layouts so it doesn't feel empty */
.container { max-width: 1180px; }

/* ============================================================
   v2.2 — match native 2:3 aspect to eliminate cropping
   ============================================================ */

/* Source images are portrait 2:3. Match container aspect to native. */
.hero--art .hero__art-img { aspect-ratio: 2/3; max-width: 360px; }
.demon-card { aspect-ratio: 2/3; }
.char-hero__shot { aspect-ratio: 2/3; max-width: 320px; }

/* /characters/ — redesign Exorcista feature from wide banner to side-by-side */
.feature-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .25s, transform .25s;
}
.feature-tile:hover { border-color: rgba(183,28,28,.55); transform: translateY(-2px); }
@media (min-width: 880px) {
  .feature-tile { grid-template-columns: 360px 1fr; }
}
.feature-tile__shot {
  background: #000;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
}
.feature-tile__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .5s ease;
}
.feature-tile:hover .feature-tile__shot img { transform: scale(1.04); }
.feature-tile__body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.feature-tile__tag {
  font-family: var(--f-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--red);
  margin-bottom: .75rem;
}
.feature-tile__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: .015em;
  line-height: .98; color: var(--silver-2);
  margin-bottom: 1rem;
}
.feature-tile__desc { color: var(--silver); font-size: 1rem; line-height: 1.55; }

/* Episode hero arena — keep cover for landscape arenas (those are wide) */
.ep-hero__arena img { object-position: center center; }

/* Demon-card images — focus on top (face) */
.demon-card img { object-position: center 22%; }
.gallery__cell img { object-position: center 30%; }
.char-hero__shot img { object-position: center 25%; }
.hero__art-img img { object-position: center 30%; }

/* Wordmark img — fits in nav strip cleanly */
.nav__logo img { display: block; height: 22px; width: auto; }
.footer h4 img { display: block; height: 64px; width: auto; }
@media (max-width: 480px) {
  .nav__logo img { height: 18px; }
}

/* ============================================================
   v2.3 — HTML wordmark + ep-hero legibility
   ============================================================ */

/* Wordmark — HTML, uses Anton via Google Fonts loaded by page */
.wm {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--silver-2);
  text-transform: uppercase;
  display: inline-block;
  line-height: .9;
}
.wm__accent { color: var(--red); }
.wm--stacked {
  font-size: 1.7rem;
  letter-spacing: .03em;
  line-height: .92;
}
@media (max-width: 480px) {
  .wm { font-size: 1.15rem; }
}
/* Override the previous img-based logo styles */
.nav__logo img, .footer h4 img { display: none !important; }

/* Stronger ep-hero overlay so title is always readable */
.ep-hero__arena::after {
  background:
    linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 30%, rgba(10,10,10,.85) 70%, rgba(10,10,10,1) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.7) 100%);
}
.ep-hero__overlay {
  align-items: center;
  padding: 1.5rem;
}
.ep-hero__overlay-inner {
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.08);
  max-width: 760px;
}
.ep-hero__title {
  text-shadow: 0 4px 30px rgba(0,0,0,.85), 0 1px 0 rgba(0,0,0,.5);
}
.ep-hero__sub, .ep-hero__num, .ep-hero__meta, .ep-hero__overlay-inner .crumbs {
  text-shadow: 0 1px 6px rgba(0,0,0,.85);
}

/* Hero arena — give it a bit more height so the panel feels grounded */
@media (min-width: 880px) {
  .ep-hero__arena { height: 480px; max-height: 480px; }
}
