/* ==========================================================================
   Banner of the Vanguard — site styles
   Palette taken straight from the game: ember, brass gold, charcoal.
   ========================================================================== */

:root {
  --bg: #0b0908;
  --bg-alt: #100c0a;
  --panel: #171210;
  --line: rgba(224, 178, 86, 0.16);
  --line-strong: rgba(224, 178, 86, 0.36);
  --gold: #e0b256;
  --gold-light: #f5d9a1;
  --gold-deep: #b6832c;
  --ember: #d1502a;
  --text: #ece3d5;
  --muted: #a99a88;
  --muted-2: #87796a;
  --radius: 14px;
  --wrap: 1180px;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, figure { margin: 0; }
ul { padding: 0; }

::selection { background: var(--gold); color: #1a1206; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #1a1206;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #f2cd86 0%, #d9a94a 55%, #bf8a2b 100%);
  color: #1d1408;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 30px -14px rgba(224, 178, 86, 0.9);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 34px -14px rgba(224, 178, 86, 1);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(224, 178, 86, 0.08);
  color: var(--gold-light);
}

.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: 0.52rem 0.95rem; font-size: 0.85rem; }
.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- event strip -------------------------------------------------- */

.event-strip {
  background: linear-gradient(90deg, #241009, #3a1a0c 45%, #241009);
  border-bottom: 1px solid rgba(209, 80, 42, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.event-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  color: #f0d7bd;
  text-decoration: none;
  text-align: center;
}
.event-strip a:hover { color: #fff; }
.event-strip a[hidden],
.event[hidden] { display: none; }
.event-strip__tag {
  background: var(--ember);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

/* ---------- header ------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 9, 8, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: 22px; height: 22px; color: var(--gold); }
.brand__text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2e5cf;
  line-height: 1.1;
}
.brand__text span {
  font-size: 0.72em;
  letter-spacing: 0.1em;
  opacity: 0.65;
  padding-inline: 0.15em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
  text-decoration: none;
  padding-block: 0.3rem;
  transition: color 0.18s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.22s ease;
}
.site-nav a:hover { color: var(--gold-light); }
.site-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.45rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button:hover { color: var(--gold-light); }
.lang-switch button[aria-pressed='true'] {
  background: rgba(224, 178, 86, 0.16);
  color: var(--gold-light);
}

.audio-ctl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audio-range {
  -webkit-appearance: none;
  appearance: none;
  width: 74px;
  height: 22px;
  margin: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.audio-range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    rgba(224, 178, 86, 0.85) calc(var(--fill, 32) * 1%),
    var(--line-strong) calc(var(--fill, 32) * 1%)
  );
}
.audio-range::-moz-range-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    rgba(224, 178, 86, 0.85) calc(var(--fill, 32) * 1%),
    var(--line-strong) calc(var(--fill, 32) * 1%)
  );
}
.audio-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4.5px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.audio-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
}
.audio-range:hover::-webkit-slider-thumb,
.audio-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(224, 178, 86, 0.16);
}
.audio-range:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.audio-btn svg { width: 18px; height: 18px; display: block; }
.audio-btn:hover { color: var(--gold-light); border-color: rgba(224, 178, 86, 0.5); }
.audio-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.audio-btn[aria-pressed='true'] {
  color: var(--gold-light);
  border-color: rgba(224, 178, 86, 0.55);
  box-shadow: 0 0 0 1px rgba(224, 178, 86, 0.18), 0 0 14px -4px rgba(224, 178, 86, 0.55);
}
.audio-btn__slash { transition: opacity 0.18s ease; }
.audio-btn[aria-pressed='true'] .audio-btn__slash { opacity: 0; }

/* Skip button: same footprint as the speaker, no pressed state. */
.audio-btn--skip { width: 30px; }
.audio-btn--skip svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 38px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero --------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -12% -8% 6%;
  background: url('assets/arena-old.jpg') center 40% / cover no-repeat;
  opacity: 0.15;
  filter: blur(2px) saturate(0.85);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 76%);
  z-index: 0;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 78% 22%, rgba(209, 80, 42, 0.3), transparent 72%),
    radial-gradient(45% 40% at 8% 62%, rgba(224, 178, 86, 0.12), transparent 72%);
  z-index: 0;
  pointer-events: none;
}

/* The hero runs wider than the rest of the page so the copy, a bigger cover
   and the compact top ten all fit side by side. */
.hero .wrap { max-width: 1360px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(380px, 33vw, 480px) minmax(0, 286px);
  gap: clamp(24px, 2.6vw, 40px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c8a86a;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(209, 80, 42, 0.7);
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(209, 80, 42, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(209, 80, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(209, 80, 42, 0); }
}

.hero__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.2vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  background: linear-gradient(175deg, #fdf1da 0%, #f0c674 48%, #b6832c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.6));
}

.hero__subtitle {
  margin-top: 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.7vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfa963;
}

.lede {
  margin-top: 1.3rem;
  max-width: 46ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  color: #c8bcab;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
  list-style: none;
}
.langs li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__art { margin: 0; }

/* Cover banner: the 9:16 still sits in the hero as a portrait card. */
.hero__art--cover {
  width: min(100%, 480px);
  justify-self: center;
}

/* Top-ten panel: a narrow column on the right of the hero. */
.hero__board {
  min-width: 0;
  align-self: center;
}
.hero__board[hidden] { display: none; }

.board-title {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #f3e9d8;
}

.hero__board .board { margin-top: 0.85rem; border-radius: 12px; }
.hero__board .board__row {
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 0.44rem 13px;
  font-size: 0.86rem;
}
.hero__board .board__row--head {
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.hero__board .board__rank { font-size: 0.8rem; }
.hero__board .board__state { padding: 1.1rem 13px; font-size: 0.8rem; }

.hero__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 2px;
}

.frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(155deg, rgba(224, 178, 86, 0.12), rgba(0, 0, 0, 0.45));
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.5);
}
.frame::before,
.frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.frame img {
  display: block;
  width: 100%;
  border-radius: 2px;
}

.hero__art figcaption {
  margin-top: 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  /* six facts now: the live kill total sits in front of the game facts */
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.3rem;
  padding: 1.3rem 1.1rem;
  border-left: 1px solid var(--line);
}
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.4;
  text-wrap: balance;
}
.stats dd {
  margin: 0;
}
.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.2;
}
/* the kill total only ever grows, so keep the digits from jittering */
.stats__num[data-total-kills] { font-variant-numeric: tabular-nums; }
.stats__num[data-total-kills-state='loading'] { opacity: 0.45; }
.stats__num[data-total-kills-state='error'] { color: var(--muted-2); }

/* ---------- sections ----------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.016), transparent 60%);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section__head h2,
.event__copy h2,
.support h2 {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.14;
  color: #f3e9d8;
}

.section__intro {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 58ch;
}

/* ---------- player ------------------------------------------------------- */

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #050403;
  box-shadow: 0 44px 90px -46px rgba(0, 0, 0, 0.95);
}
.player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The game window itself: itch.io serves the game, so the frame only needs
   the 16:9 box and the border from .player. */

.player--game iframe { background: #050403; }

.player__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.player__note {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted-2);
}
kbd {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.74rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #1d1714;
  color: var(--gold-light);
}

/* ---------- cards -------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(224, 178, 86, 0.07), rgba(255, 255, 255, 0.012));
}
.card__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1.1rem;
  color: var(--gold);
}
.card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f4ead9;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- heroes ------------------------------------------------------- */

.chars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  /* Cards keep their own height so an open profile only stretches its card. */
  align-items: start;
}

.char {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.char:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.char__shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
  overflow: hidden;
}
.char__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}
.char__shot:hover img { transform: scale(1.035); filter: brightness(1.06); }
.char__shot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.char__num {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(224, 178, 86, 0.35);
  border-radius: 4px;
  background: rgba(11, 9, 8, 0.72);
  color: var(--gold-light);
}

.char--soon .char__shot--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(62% 62% at 50% 42%, rgba(224, 178, 86, 0.1), transparent 72%),
    linear-gradient(180deg, #14100e, #0c0908);
}
.char__shot--soon::before {
  content: '?';
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: rgba(224, 178, 86, 0.18);
}
/* Banner across the bottom of the portrait: covers the art and never
   competes with the hero name underneath. */
.char__soon {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.5rem 0.6rem;
  border-top: 1px solid rgba(224, 178, 86, 0.32);
  background: rgba(9, 7, 6, 0.86);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.char--soon:hover { border-color: var(--line); transform: none; }

/* Locked heroes: name and class are readable, the art is clearly dimmed and
   nothing reacts to the pointer until the hero ships. */
.char--soon {
  cursor: default;
}
.char--soon .char__shot--soon {
  filter: brightness(0.78) saturate(0.88);
  /* No zoom cursor: the card is not clickable yet. */
  cursor: default;
}
.char--soon .char__shot--soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 5, 0.04), rgba(8, 6, 5, 0.3));
  pointer-events: none;
  z-index: 1;
}


/* Portrait slot for the coming heroes. The artwork only shows up once its file
   exists in assets/chars/; until then the card falls back to the framed
   placeholder with the question mark. */
.char__shot--soon img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.char__shot--soon.is-empty img { display: none; }
.char__shot--soon:not(.is-empty)::before { content: none; }
.char__shot--soon .char__num,
.char__shot--soon .char__soon { z-index: 2; }

.char__body {
  padding: 1.1rem 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
}
.char__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f4ead9;
}
.char__epithet {
  margin-top: 0.15rem;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.char__role {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Collapsible profile under each hero card. */
.char__more {
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.char__more > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: color 0.2s ease;
}
.char__more > summary::-webkit-details-marker { display: none; }
.char__more > summary::after {
  content: '+';
  margin-left: auto;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold);
}
.char__more[open] > summary::after { content: '–'; }
.char__more > summary:hover { color: var(--gold); }
.char__more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.char__more p {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--muted);
}
.char__more ul {
  list-style: none;
  margin-top: 0.6rem;
  display: grid;
  gap: 0.35rem;
}
.char__more li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.79rem;
  line-height: 1.5;
  color: var(--muted);
}
.char__more li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.75;
}
.char__more li b {
  font-weight: 600;
  color: #f4ead9;
}
.char__more .char__claim {
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--gold-light);
}
.char__more .char__play {
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(224, 178, 86, 0.18);
}
.char__more .char__play b {
  font-weight: 600;
  color: var(--gold-deep);
}

/* ---------- event -------------------------------------------------------- */

.event {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(209, 80, 42, 0.18), transparent 62%),
    linear-gradient(160deg, #1b1411, #100c0a);
}
.event__art { margin: 0; }
.event__art img {
  display: block;
  width: 100%;
  border: 1px solid rgba(224, 178, 86, 0.22);
  border-radius: 10px;
}
.event__copy > p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.event__copy .btn { margin-top: 1.6rem; }

.ticks {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}
.ticks strong { color: #f0e5d3; font-weight: 600; }

/* ---------- gallery ------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.shot {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  transition: border-color 0.2s ease;
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.3s ease;
}
.shot:hover { border-color: var(--line-strong); }
.shot:hover img { transform: scale(1.035); filter: brightness(1.06); }
.shot--wide { grid-column: span 2; }
.shot--wide img { aspect-ratio: 16 / 7; }

.gallery__hint {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ---------- support ------------------------------------------------------ */

.support {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(224, 178, 86, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(139, 28, 28, 0.35), transparent 62%),
    radial-gradient(60% 80% at 0% 100%, rgba(224, 178, 86, 0.1), transparent 62%),
    linear-gradient(160deg, #17100e, #0d0908);
  box-shadow: 0 44px 90px -52px rgba(209, 80, 42, 0.65);
}
.support p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 56ch;
}
.support .cta-row { margin-top: 1.8rem; }

.support__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.8rem 1rem;
  border: 1px dashed rgba(224, 178, 86, 0.4);
  border-radius: 50%;
  aspect-ratio: 1;
  justify-content: center;
  text-align: center;
}
.support__badge svg { width: 42px; height: 42px; color: var(--gold); }
.support__badge span {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- universe ----------------------------------------------------- */

.chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(224, 178, 86, 0.07), transparent 58%),
    linear-gradient(160deg, #141110, #0d0a09);
}
.chapters > li + li { border-top: 1px solid rgba(224, 178, 86, 0.1); }

.chapter {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(18px, 3vw, 32px);
  text-decoration: none;
  transition: background 0.2s ease;
}
.chapter--live:hover { background: rgba(224, 178, 86, 0.06); }

.chapter__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.chapter--live .chapter__num { color: var(--gold); }

.chapter__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.chapter__title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: #f2e6d2;
}
.chapters > li:not(:first-child) .chapter__title { color: #a99c8a; }
.chapter__note {
  font-size: 0.8rem;
  color: var(--muted-2);
}

.chapter__status {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted-2);
}
.chapter__status--live {
  border-color: transparent;
  background: linear-gradient(180deg, #f2cd86, #cf9d3d);
  color: #1d1408;
  font-weight: 600;
}

.chapters__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- leaderboard -------------------------------------------------- */

.board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(224, 178, 86, 0.07), transparent 58%),
    linear-gradient(160deg, #141110, #0d0a09);
}

.board__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.board__row {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.62rem clamp(14px, 2vw, 20px);
  font-size: 0.94rem;
}
.board__row + .board__row { border-top: 1px solid rgba(224, 178, 86, 0.09); }

.board__row--head {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.board__rank {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.board__list > li:nth-child(-n + 3) .board__rank { color: var(--gold); }

.board__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f2e6d2;
}

.board__score {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  text-align: right;
}

.board__state {
  margin: 0;
  padding: 1.7rem clamp(16px, 3vw, 28px);
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted-2);
}

.board__note {
  margin-top: 1.2rem;
  max-width: 46ch;
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ---------- socials ------------------------------------------------------ */

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 14px;
}
.social {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.social::after {
  content: '↗';
  position: absolute;
  top: 1.05rem;
  right: 1.1rem;
  font-size: 0.85rem;
  color: var(--gold-deep);
  transition: color 0.2s ease, transform 0.2s ease;
}
.social:hover {
  border-color: var(--line-strong);
  background: rgba(224, 178, 86, 0.06);
  transform: translateY(-2px);
}
.social:hover::after { color: var(--gold); transform: translate(1px, -1px); }
.social__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: #f4ead9;
}
.social__desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}
.social__handle {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

/* ---------- press -------------------------------------------------------- */

.press {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
}
.press h3 {
  margin: 2.1rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.press h3:first-child { margin-top: 0; }
.press p {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.press__quote {
  padding-left: 1rem;
  border-left: 2px solid var(--gold-deep);
  color: #ded3c2;
  font-size: 1rem;
  line-height: 1.7;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(224, 178, 86, 0.1);
  font-size: 0.87rem;
}
.facts dt { color: var(--muted-2); }
.facts dd { margin: 0; color: var(--text); text-align: right; }
.facts a { color: var(--gold-light); }

.assets {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.assets a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.assets a:hover {
  border-color: var(--line-strong);
  background: rgba(224, 178, 86, 0.06);
}
.assets span {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.contact {
  margin-top: 2rem;
  padding: 1.2rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
}
.contact h3 { margin-top: 0; }
.contact p { font-size: 0.85rem; }
.contact__mail {
  color: var(--gold-light);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 178, 86, 0.4);
}
.contact__mail:hover { color: #fff; }

/* ---------- footer ------------------------------------------------------- */

.site-footer {
  padding-top: clamp(44px, 6vw, 68px);
  border-top: 1px solid var(--line);
  background: #090706;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.footer__brand p {
  margin-top: 0.7rem;
  max-width: 32ch;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__nav a {
  font-size: 0.86rem;
  color: var(--muted);
  text-decoration: none;
  width: fit-content;
}
.footer__nav a:hover { color: var(--gold-light); }

.footer__legal details {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(224, 178, 86, 0.1);
}
.footer__legal summary {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.footer__legal summary::-webkit-details-marker { display: none; }
.footer__legal summary::before {
  content: '+';
  color: var(--gold-deep);
  width: 0.8rem;
}
.footer__legal details[open] summary::before { content: '–'; }
.footer__legal details p {
  margin-top: 0.7rem;
  font-size: 0.77rem;
  line-height: 1.65;
  color: var(--muted-2);
}
.footer__legal a { color: var(--gold-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.2rem 0 2.2rem;
  border-top: 1px solid rgba(224, 178, 86, 0.08);
  font-size: 0.76rem;
  color: var(--muted-2);
}

/* ---------- lightbox ----------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(6, 5, 4, 0.94);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.85);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
}
.lightbox__close:hover { color: #fff; border-color: var(--gold); }

/* ---------- reveal on scroll -------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive --------------------------------------------------- */

/* Eight nav links plus the audio controls need a little air on laptop widths. */
@media (max-width: 1380px) {
  .site-nav { gap: 0.72rem; }
  .site-nav a { font-size: 0.79rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-primary { display: none; }

  /* No room for three columns: the top ten drops below copy and cover. */
  .hero__inner { grid-template-columns: minmax(0, 1fr) clamp(320px, 34vw, 420px); }
  .hero__board {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
  }
}

@media (max-width: 1150px) {
  .header-actions .btn-primary { display: none; }
  .site-nav { gap: 0.45rem; }
  .site-nav a { font-size: 0.76rem; }
}

@media (max-width: 1020px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(18px, 4vw, 32px) 1rem;
    background: #0e0b0a;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(224, 178, 86, 0.08);
    font-size: 0.95rem;
  }
  .site-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 0.8rem; }
  .header-actions { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { max-width: 640px; }
  .hero__art--cover { max-width: 380px; width: min(380px, 92%); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 4) { border-top: 1px solid var(--line); }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .chars { grid-template-columns: repeat(2, 1fr); }
  .event { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .support__badge { display: none; }
  .press { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .chapter { grid-template-columns: 2.2rem 1fr; row-gap: 0.55rem; }
  .chapter__status { grid-column: 2; justify-self: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats > div:nth-child(4) { border-left: 1px solid var(--line); padding-left: 1.1rem; }
  .cards { grid-template-columns: 1fr; }
  .chars { gap: 12px; }
  .char__body { padding: 0.9rem 0.95rem 1rem; }
  .char__role { font-size: 0.78rem; }
  .gallery { grid-template-columns: 1fr; }
  .shot--wide { grid-column: span 1; }
  .shot--wide img { aspect-ratio: 16 / 10; }
  .player__note { margin-left: 0; width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .event-strip a { font-size: 0.74rem; gap: 0.4rem; }
  .event-strip__tag { display: none; }
}

@media (max-width: 520px) {
  /* Real heroes stay full width; the eight placeholders pair up so the list
     does not turn into screens of empty plates. */
  .chars { grid-template-columns: repeat(2, 1fr); }
  .char:not(.char--soon) { grid-column: 1 / -1; }
  .char--soon .char__body { padding: 0.8rem 0.85rem 0.9rem; }
  .char--soon .char__role { font-size: 0.76rem; }
  .board__row { grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.75rem; font-size: 0.94rem; }
  .board__row--head { font-size: 0.62rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .header-actions .btn-primary { display: none; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .header-inner { gap: 0.35rem; }
  .brand { gap: 0.45rem; }
  .brand__mark { width: 18px; height: 18px; }
  .brand__text { font-size: 0.66rem; letter-spacing: 0.07em; }
  .header-actions { gap: 0.35rem; }
  .lang-switch button { padding: 0.42rem; font-size: 0.68rem; }
  .audio-ctl { gap: 0.3rem; }
  .audio-range { width: 34px; }
  .audio-btn { width: 28px; height: 28px; }
  .audio-btn svg { width: 15px; height: 15px; }
  .audio-btn--skip { width: 26px; }
  .audio-btn--skip svg { width: 14px; height: 14px; }
  .nav-toggle { width: 34px; height: 34px; padding: 0 5px; }
  .brand__text { font-size: 0.68rem; letter-spacing: 0.07em; }
}

@media (max-width: 430px) {
  /* Header space is tight with the music controls: the flag mark carries the
     brand on its own, the link keeps its aria-label. */
  .brand__text { display: none; }
}

@media (max-width: 400px) {
  .stats > div { min-width: 0; }
  .site-header .wrap { padding-left: 14px; padding-right: 14px; }
  .header-actions { gap: 0.3rem; }
  .audio-range { width: 34px; }
  .audio-btn { width: 28px; height: 28px; }
  .audio-btn--skip { width: 26px; }
  .nav-toggle { width: 32px; height: 32px; }
  .lang-switch button { padding: 0.4rem 0.34rem; font-size: 0.66rem; }
  .brand__text { font-size: 0.64rem; letter-spacing: 0.05em; }
}

@media (max-width: 360px) {
  .brand__text { display: none; }
  .btn { white-space: normal; text-align: center; }
  .press > * { min-width: 0; }
  .assets a { flex-wrap: wrap; }
  .assets span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Trailer
   The new trailer is a vertical short that starts by itself: muted, looping,
   portrait. There is only one control, a pause button in the corner.
   ========================================================================== */

.trailer {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.trailer__frame {
  width: min(100%, 420px);
  padding: 8px;
}

.trailer__embed {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
}

.trailer__embed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

/* Shown only if the script never runs — then the visitor still gets the video. */
.trailer__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--gold-light);
  text-align: center;
  text-decoration: none;
  border-bottom: 0;
}

.trailer__fallback:hover { color: var(--gold); }

/* One control, always in the same corner: pause while it runs, continue after. */
.trailer__toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 9, 8, 0.72);
  color: var(--gold-light);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.trailer__toggle:hover,
.trailer__toggle:focus-visible {
  transform: scale(1.06);
  background: rgba(224, 178, 86, 0.2);
  color: var(--gold);
}

.trailer__icon { display: grid; }
.trailer__icon svg { width: 20px; height: 20px; }

.trailer__embed[data-state='playing'] .trailer__icon-play,
.trailer__embed[data-state='paused'] .trailer__icon-pause { display: none; }

.trailer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.trailer__meta a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

.trailer__meta a:hover { color: var(--gold); }

@media (max-width: 620px) {
  .trailer__frame { width: min(100%, 340px); padding: 6px; }
  .trailer__toggle { right: 8px; bottom: 8px; width: 38px; height: 38px; }
  .trailer__meta { font-size: 0.84rem; }
}

/* Kickstarter call to action
   Gold instead of full: it should read as "support the campaign", not compete
   with the primary "play" button. The header keeps it only where there is room. */

.btn-support {
  border-color: rgba(224, 178, 86, 0.55);
  color: var(--gold-light);
  background: rgba(224, 178, 86, 0.07);
}
.btn-support:hover {
  border-color: var(--gold);
  background: rgba(224, 178, 86, 0.16);
  color: #f8e7c2;
  transform: translateY(-1px);
}

.header-ks { display: none; }

/* One call to action in the header, never two: on wide screens the campaign
   wins ("Spielen" is in the navigation right next to it), on phones the play
   button stays because the navigation is collapsed into the menu. */
@media (min-width: 940px) {
  .header-ks { display: inline-flex; }
  .header-play { display: none; }
}

/* Announcement card (event window removed) */
.event--notice { grid-template-columns: 1fr; text-align: center; }
.event--notice .event__copy { max-width: 46rem; margin: 0 auto; }
.event--notice .eyebrow { justify-content: center; }
.event--notice h2 { margin-bottom: 0.6rem; }

/* Before / after labels on gallery shots */
.shot { position: relative; }
.shot__tag { position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  padding: 0.24rem 0.6rem; border-radius: 999px; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--gold);
  background: rgba(11, 9, 8, 0.8); border: 1px solid rgba(224, 178, 86, 0.32); }
.shot__tag--new { color: #8fdd9a; border-color: rgba(143, 221, 154, 0.34); }

/* Countdown in the announcement card */
.countdown { display: flex; gap: clamp(0.5rem, 2vw, 1.1rem); justify-content: center;
  margin: 1.4rem 0 0; flex-wrap: wrap; }
.countdown__unit { display: flex; flex-direction: column; align-items: center;
  min-width: 4.4rem; padding: 0.75rem 0.6rem 0.55rem; border-radius: 12px;
  border: 1px solid rgba(224, 178, 86, 0.22); background: rgba(224, 178, 86, 0.06); }
.countdown__num { font-variant-numeric: tabular-nums; line-height: 1;
  font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: var(--gold); }
.countdown__label { margin-top: 0.4rem; font-size: 0.64rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #a99c89; }
.countdown--done { opacity: 0.55; }
@media (max-width: 480px) { .countdown__unit { min-width: 3.5rem; padding: 0.6rem 0.45rem 0.45rem; } }

/* The "Lord" sits apart from the title instead of continuing it */
.hero__subtitle .hero__lord { display: inline-block; margin-left: 0.6em;
  padding: 0.1em 0.42em; border-radius: 3px; border: 1px solid rgba(207, 169, 99, 0.34);
  background: rgba(207, 169, 99, 0.07); font-size: 0.52em; letter-spacing: 0.2em;
  color: #a3927a; vertical-align: 0.42em; }

/* Group headings inside the hero grid */
.chars__group { margin: 0 0 0.9rem; font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2); }
ul.chars + .chars__group { margin-top: 2.4rem; }

/* Heroes that ship later: artwork is shown at full strength, the card simply
   does not open yet. */
.char--soon .char__shot { cursor: default; filter: none; }
.char--soon .char__shot:hover img { transform: none; filter: none; }
