/* =========================================================
   Doomsday Cinema — AffixIO SDK themed landing
   Avengers-grade palette: scarlet red + gold on charcoal,
   Bebas Neue (movie-poster display) + Russo One (HUD tech).
   No Marvel branding. Self-hosted fonts.
   ========================================================= */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Russo One";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/russo-one-latin-400-normal.woff2") format("woff2");
}

:root {
  --dc-void: #0c0e14;
  --dc-void-2: #11141c;
  --dc-panel: #161a24;
  --dc-panel-2: #1c2230;
  --dc-edge: #2a3142;
  --dc-red: #e21b2f;
  --dc-red-deep: #b3121f;
  --dc-gold: #f0c14b;
  --dc-gold-deep: #d49a2a;
  --dc-steel: #aab2bd;
  --dc-steel-deep: #6b7480;
  --dc-text: #e7e9ee;
  --dc-text-dim: #9aa3b2;
  --dc-shadow-red: 0 8px 28px rgba(226, 27, 47, 0.28);
  --dc-shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.55);
  --dc-rad: 14px;
  --dc-display: "Bebas Neue", "Anton", "Oswald", Impact, sans-serif;
  --dc-tech: "Russo One", system-ui, sans-serif;
  --dc-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* Full-bleed themed body; header/footer keep the shared look. */
body.doomsday-page { background: var(--dc-void); color: var(--dc-text); }
body.doomsday-page #main { width: 100%; max-width: none; padding: 0; overflow-x: hidden; }

/* ---------- Breadcrumbs (Avengers mission-locator restyle) ---------- */
body.doomsday-page .breadcrumbs-wrap {
  background: var(--dc-void-2);
  border-bottom: 1px solid var(--dc-edge);
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}
/* thin red top accent like the rest of the page cards */
body.doomsday-page .breadcrumbs-wrap::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--dc-red), var(--dc-gold));
  opacity: 0.85;
}
body.doomsday-page .breadcrumbs-wrap .container { padding-top: 14px; padding-bottom: 14px; }

body.doomsday-page .breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--dc-tech); font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dc-steel-deep);
}
/* leading location marker — red pin, "you are here" vibe */
body.doomsday-page .breadcrumbs ol::before {
  content: "◈";
  color: var(--dc-red);
  font-size: 0.72rem;
  margin-right: 4px;
  line-height: 1;
}

/* chevron separators instead of the shared "/" */
body.doomsday-page .breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--dc-gold);
  opacity: 0.7;
  font-weight: 400;
}

body.doomsday-page .breadcrumbs a {
  color: var(--dc-steel);
  text-decoration: none;
  transition: color .15s ease;
}
body.doomsday-page .breadcrumbs a:hover {
  color: var(--dc-gold);
  text-decoration: none;
}

/* current page: Bebas Neue, red, beacon dot */
body.doomsday-page .breadcrumbs [aria-current="page"] {
  color: var(--dc-red);
  font-family: var(--dc-display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}
body.doomsday-page .breadcrumbs [aria-current="page"]::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dc-gold);
  box-shadow: 0 0 0 3px rgba(240,193,75,.18);
  flex: none;
}

/* touch / small screens: keep it tidy, no overflow */
@media (max-width: 620px) {
  body.doomsday-page .breadcrumbs ol { font-size: 0.6rem; letter-spacing: 0.12em; gap: 6px; }
  body.doomsday-page .breadcrumbs [aria-current="page"] { font-size: 0.82rem; }
}

/* ---------- Shared full-width scaffolding ---------- */
.dc-wrap { width: 100%; padding: clamp(48px, 8vw, 110px) clamp(20px, 5vw, 64px); }
.dc-inner { max-width: 1240px; margin: 0 auto; }
.dc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--dc-tech); font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--dc-gold); margin: 0 0 16px;
}
.dc-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--dc-red); }
.dc-h2 {
  font-family: var(--dc-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 0.96;
  letter-spacing: 0.01em; margin: 0 0 18px; font-weight: 400; color: var(--dc-text);
}
.dc-h2 .accent { color: var(--dc-red); }
.dc-h2 .hot { color: var(--dc-gold); }
.dc-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--dc-text-dim);
  max-width: 62ch; margin: 0 0 8px;
}

/* ---------- HERO ---------- */
.dc-hero {
  position: relative; width: 100%;
  padding: clamp(70px, 12vw, 150px) clamp(20px, 5vw, 64px) clamp(60px, 9vw, 110px);
  background:
    linear-gradient(180deg, rgba(226,27,47,.10) 0%, transparent 40%),
    radial-gradient(1100px 620px at 82% -8%, rgba(240,193,75,.08), transparent 60%),
    linear-gradient(180deg, var(--dc-void) 0%, var(--dc-void-2) 100%);
  border-bottom: 1px solid var(--dc-edge);
  overflow: hidden;
}
/* subtle film-grain / scanline texture, not neon stars */
.dc-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.16) 2px 3px);
  opacity: 0.22; mix-blend-mode: overlay;
}
/* bold red/gold angular streak (Avengers flag) */
.dc-hero::before {
  content: ""; position: absolute; left: -10%; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(115deg, transparent 38%, rgba(226,27,47,.10) 46%, rgba(240,193,75,.06) 52%, transparent 60%);
  pointer-events: none;
}
.dc-hero-inner {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.dc-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--dc-edge); border-radius: 4px;
  background: rgba(22,26,36,.7); font-family: var(--dc-tech);
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dc-text-dim); margin: 0 0 22px;
}
.dc-hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--dc-red);
}
.dc-hero h1 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 7.6rem); line-height: 0.86;
  letter-spacing: 0.005em; margin: 0 0 24px;
}
.dc-hero h1 .red { color: var(--dc-red); display: block; }
.dc-hero h1 .gold { color: var(--dc-gold); display: block; }
/* faint gold underline accent under the title */
.dc-hero h1::after {
  content: ""; display: block; width: 84px; height: 4px;
  background: var(--dc-gold); margin-top: 14px;
}
.dc-hero p.dc-hero-lead {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem); color: var(--dc-text-dim);
  max-width: 54ch; margin: 22px 0 28px;
}
.dc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.dc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 30px; border-radius: 4px;
  font-family: var(--dc-tech); font-weight: 400; font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.dc-btn-primary {
  background: var(--dc-red); color: #fff; border-color: var(--dc-red-deep);
  box-shadow: var(--dc-shadow-red);
}
.dc-btn-primary:hover { background: var(--dc-red-deep); color: #fff; transform: translateY(-2px); }
.dc-btn-ghost { background: transparent; color: var(--dc-text); border-color: var(--dc-edge); }
.dc-btn-ghost:hover { border-color: var(--dc-gold); color: var(--dc-gold); }
.dc-hero-keys { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-chip {
  font-family: var(--dc-tech); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 3px;
  border: 1px solid var(--dc-edge); background: rgba(22,26,36,.7); color: var(--dc-text-dim);
}
.dc-chip b { color: var(--dc-gold); font-weight: 400; }

/* hero right: countdown + status panel (HUD style) */
.dc-hero-panel {
  border: 1px solid var(--dc-edge); border-radius: var(--dc-rad);
  background: linear-gradient(160deg, var(--dc-panel) 0%, var(--dc-void-2) 100%);
  padding: 26px; box-shadow: var(--dc-shadow-soft);
  position: relative; overflow: hidden;
}
/* red corner accent */
.dc-hero-panel::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 4px; background: var(--dc-red);
}
.dc-panel-label {
  font-family: var(--dc-tech); font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--dc-steel-deep); margin: 4px 0 14px;
}
.dc-countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.dc-cd-cell {
  text-align: center; padding: 14px 6px; border-radius: 6px;
  background: rgba(12,14,20,.7); border: 1px solid var(--dc-edge);
}
.dc-cd-cell b {
  display: block; font-family: var(--dc-display); font-weight: 400;
  font-size: clamp(2rem,5vw,2.9rem); line-height: 1; color: var(--dc-gold);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.dc-cd-cell span {
  font-family: var(--dc-tech); font-size: 0.56rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-panel-divider { height: 1px; background: var(--dc-edge); margin: 20px 0; }
.dc-stat-row { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; }
.dc-stat-row span:first-child { color: var(--dc-text-dim); font-size: 0.88rem; }
.dc-stat-row span:last-child {
  font-family: var(--dc-tech); font-weight: 400; color: var(--dc-text); font-size: 0.86rem;
}
.dc-meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin: 4px 0 16px; }
.dc-meter > i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--dc-red), var(--dc-gold));
  transition: width .8s cubic-bezier(.2,.8,.2,1);
}
.dc-meter.gold > i { background: var(--dc-gold); }

/* ---------- Premise / multiverse strip ---------- */
.dc-premise {
  background: var(--dc-void-2); border-bottom: 1px solid var(--dc-edge);
}
.dc-universes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
.dc-universe {
  position: relative; padding: 24px; border-radius: var(--dc-rad);
  border: 1px solid var(--dc-edge); background: var(--dc-panel); overflow: hidden;
}
.dc-universe::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
}
.dc-universe.u1::before { background: var(--dc-red); }
.dc-universe.u2::before { background: var(--dc-gold); }
.dc-universe.u3::before { background: var(--dc-steel); }
.dc-universe .tag {
  font-family: var(--dc-tech); font-size: 0.64rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-universe h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.5rem; line-height: 1.04; letter-spacing: 0.01em; margin: 10px 0 10px;
}
.dc-universe p { margin: 0; color: var(--dc-text-dim); font-size: 0.95rem; }
.dc-universe .num {
  position: absolute; top: 16px; right: 18px; font-family: var(--dc-tech);
  font-size: 0.74rem; color: var(--dc-steel-deep);
}

/* ---------- How AffixIO monitors the cinema ---------- */
.dc-how { background: var(--dc-void); border-bottom: 1px solid var(--dc-edge); }
.dc-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.dc-feature {
  padding: 26px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge);
  background: var(--dc-panel); transition: transform .2s ease, border-color .2s ease;
}
.dc-feature:hover { transform: translateY(-4px); border-color: var(--dc-red); }
.dc-feature .ico {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 6px;
  background: rgba(226,27,47,.12); color: var(--dc-red); margin-bottom: 16px; font-size: 1.3rem;
  border: 1px solid rgba(226,27,47,.3);
}
.dc-feature.alt .ico { background: rgba(240,193,75,.10); color: var(--dc-gold); border-color: rgba(240,193,75,.3); }
.dc-feature.cool .ico { background: rgba(170,178,189,.10); color: var(--dc-steel); border-color: rgba(170,178,189,.3); }
.dc-feature h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.4rem; line-height: 1.06; letter-spacing: 0.01em; margin: 0 0 8px;
}
.dc-feature p { margin: 0; color: var(--dc-text-dim); font-size: 0.95rem; }

/* ---------- Operations console (interactive) ---------- */
.dc-ops { background: var(--dc-void-2); border-bottom: 1px solid var(--dc-edge); }
.dc-console { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 34px; }
.dc-zones { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.dc-zone {
  padding: 20px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge);
  background: var(--dc-panel); position: relative;
}
.dc-zone::before {
  content: ""; position: absolute; top: 0; left: 18px; width: 36px; height: 3px; background: var(--dc-steel-deep);
}
.dc-zone-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.dc-zone-head h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.3rem; line-height: 1.04; letter-spacing: 0.01em; margin: 0;
}
.dc-zone-status {
  font-family: var(--dc-tech); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
  border: 1px solid var(--dc-edge); color: var(--dc-steel-deep); white-space: nowrap;
}
.dc-zone-status.yes { color: var(--dc-gold); border-color: var(--dc-gold); background: rgba(240,193,75,.08); }
.dc-zone-status.no { color: var(--dc-red); border-color: var(--dc-red); background: rgba(226,27,47,.10); }
.dc-zone p { margin: 0 0 14px; color: var(--dc-text-dim); font-size: 0.88rem; min-height: 2.6em; }
.dc-zone-flow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dc-zone-flow .lbl {
  font-family: var(--dc-tech); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-zone-flow .bar { flex: 1; max-width: 130px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.dc-zone-flow .bar > i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--dc-red), var(--dc-gold));
  transition: width .6s cubic-bezier(.2,.8,.2,1);
}
.dc-zone-flow .val {
  margin-left: auto; font-family: var(--dc-tech); font-weight: 400;
  color: var(--dc-text); font-size: 0.84rem;
}
.dc-gate { display: flex; gap: 10px; }
.dc-gate button {
  flex: 1; min-height: 48px; border-radius: 4px; border: 1px solid var(--dc-edge);
  background: rgba(12,14,20,.6); color: var(--dc-text-dim); font-family: var(--dc-tech);
  font-weight: 400; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all .15s ease;
}
.dc-gate button:hover { border-color: var(--dc-steel); color: var(--dc-text); }
.dc-gate button.on-yes {
  background: var(--dc-gold); color: #1a1408; border-color: var(--dc-gold-deep);
}
.dc-gate button.on-no {
  background: var(--dc-red); color: #fff; border-color: var(--dc-red-deep);
  box-shadow: var(--dc-shadow-red);
}

/* live aggregate meter */
.dc-live {
  padding: 24px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge);
  background: linear-gradient(160deg, var(--dc-panel-2) 0%, var(--dc-void-2) 100%);
  position: sticky; top: 76px; align-self: start;
}
.dc-live::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 4px; background: var(--dc-gold);
}
.dc-live h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.5rem; line-height: 1.04; letter-spacing: 0.01em; margin: 0 0 6px;
}
.dc-live .sub { color: var(--dc-text-dim); font-size: 0.85rem; margin: 0 0 18px; }
.dc-big-meter { position: relative; height: 160px; display: grid; place-items: center; margin-bottom: 18px; }
.dc-big-meter .ring {
  width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(var(--dc-gold) var(--p,0deg), rgba(255,255,255,.06) 0);
  display: grid; place-items: center; transition: background .6s ease;
}
.dc-big-meter .ring::after {
  content: ""; width: 124px; height: 124px; border-radius: 50%;
  background: var(--dc-void-2); position: absolute;
}
.dc-big-meter .num {
  position: relative; z-index: 2; font-family: var(--dc-display); font-weight: 400;
  font-size: 3rem; line-height: 1; color: var(--dc-gold); font-variant-numeric: tabular-nums;
}
.dc-big-meter .num small {
  display: block; font-size: 0.62rem; font-family: var(--dc-tech);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-live-rows { display: grid; gap: 12px; }
.dc-live-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.dc-live-row span:first-child { color: var(--dc-text-dim); }
.dc-live-row span:last-child { font-family: var(--dc-tech); font-weight: 400; color: var(--dc-text); }

/* proof log */
.dc-prooflog { margin-top: 22px; border-top: 1px solid var(--dc-edge); padding-top: 18px; }
.dc-prooflog h4 {
  margin: 0 0 10px; font-size: 0.8rem; font-family: var(--dc-tech); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dc-text-dim); display: flex; align-items: center; gap: 8px;
}
.dc-prooflog h4 .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--dc-red);
  animation: dc-pulse 1.4s ease-in-out infinite;
}
@keyframes dc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.dc-logbox {
  height: 168px; overflow-y: auto; background: rgba(8,10,14,.8);
  border: 1px solid var(--dc-edge); border-radius: 6px; padding: 12px;
  font-family: var(--dc-mono); font-size: 0.74rem; line-height: 1.6; color: var(--dc-text-dim);
}
.dc-logbox .entry { margin: 0 0 6px; }
.dc-logbox .entry .ok { color: var(--dc-gold); }
.dc-logbox .entry .no { color: var(--dc-red); }
.dc-logbox .entry .t { color: var(--dc-steel-deep); }
.dc-logbox::-webkit-scrollbar { width: 8px; }
.dc-logbox::-webkit-scrollbar-thumb { background: var(--dc-edge); border-radius: 8px; }

/* ---------- Flow before / after ---------- */
.dc-flow { background: var(--dc-void); border-bottom: 1px solid var(--dc-edge); }
.dc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.dc-compare-card { padding: 26px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge); background: var(--dc-panel); position: relative; overflow: hidden; }
.dc-compare-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; }
.dc-compare-card.before::before { background: var(--dc-red); }
.dc-compare-card.after::before { background: var(--dc-gold); }
.dc-compare-card .tag {
  font-family: var(--dc-tech); font-size: 0.64rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-compare-card h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.6rem; line-height: 1.04; letter-spacing: 0.01em; margin: 10px 0 16px;
}
.dc-flowline { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--dc-edge); }
.dc-flowline:last-child { border-bottom: none; }
.dc-flowline .who { color: var(--dc-text-dim); font-size: 0.92rem; }
.dc-flowline .bar { width: 120px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.dc-flowline .bar > i { display: block; height: 100%; border-radius: 999px; }
.before .bar > i { background: var(--dc-red); }
.after .bar > i { background: linear-gradient(90deg, var(--dc-red), var(--dc-gold)); }

/* ---------- SDK plug-in code ---------- */
.dc-sdk { background: var(--dc-void-2); border-bottom: 1px solid var(--dc-edge); }
.dc-code { margin-top: 34px; border: 1px solid var(--dc-edge); border-radius: var(--dc-rad); overflow: hidden; background: #07090e; }
.dc-code-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--dc-panel-2); border-bottom: 1px solid var(--dc-edge);
  font-family: var(--dc-tech); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--dc-steel-deep);
}
.dc-code-bar .dots { display: flex; gap: 6px; }
.dc-code-bar .dots i { width: 11px; height: 11px; border-radius: 50%; }
.dc-code-bar .dots i:nth-child(1) { background: var(--dc-red); }
.dc-code-bar .dots i:nth-child(2) { background: var(--dc-gold); }
.dc-code-bar .dots i:nth-child(3) { background: var(--dc-steel); }
.dc-code-bar .file { margin-left: 10px; }
.dc-code pre {
  margin: 0; padding: 22px 24px; font-family: var(--dc-mono);
  font-size: 0.85rem; line-height: 1.7; color: #c8d0dc; overflow-x: auto;
}
.dc-code .k { color: var(--dc-red); }
.dc-code .s { color: var(--dc-gold); }
.dc-code .c { color: var(--dc-steel-deep); font-style: italic; }
.dc-code .f { color: #7fb4e0; }
.dc-code .n { color: var(--dc-gold); }

/* ---------- Proofs explained ---------- */
.dc-proofs { background: var(--dc-void); border-bottom: 1px solid var(--dc-edge); }
.dc-proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.dc-proof { padding: 24px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge); background: var(--dc-panel); }
.dc-proof .sig { font-family: var(--dc-tech); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dc-red); margin-bottom: 12px; }
.dc-proof h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.4rem; line-height: 1.06; letter-spacing: 0.01em; margin: 0 0 8px;
}
.dc-proof p { margin: 0; color: var(--dc-text-dim); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.dc-faq { background: var(--dc-void-2); border-bottom: 1px solid var(--dc-edge); }
.dc-faq-list { display: grid; gap: 12px; margin-top: 34px; }
.dc-faq-item { border: 1px solid var(--dc-edge); border-radius: 8px; background: var(--dc-panel); overflow: hidden; }
.dc-faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.dc-faq-item summary::-webkit-details-marker { display: none; }
.dc-faq-item summary .chev { color: var(--dc-red); transition: transform .2s ease; font-size: 1.2rem; font-weight: 700; }
.dc-faq-item[open] summary .chev { transform: rotate(45deg); }
.dc-faq-item[open] summary { border-bottom: 1px solid var(--dc-edge); }
.dc-faq-item .ans { padding: 16px 20px 18px; color: var(--dc-text-dim); font-size: 0.94rem; }

/* ---------- CTA ---------- */
.dc-cta {
  position: relative; text-align: center;
  background:
    linear-gradient(180deg, rgba(226,27,47,.10) 0%, transparent 40%),
    radial-gradient(700px 360px at 50% 120%, rgba(240,193,75,.08), transparent 60%),
    var(--dc-void);
  border-bottom: 1px solid var(--dc-edge);
}
.dc-cta h2 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2.4rem,5.4vw,3.6rem); line-height: 0.98; letter-spacing: 0.01em; margin: 0 0 16px;
}
.dc-cta h2 .hot { color: var(--dc-gold); }
.dc-cta p { color: var(--dc-text-dim); max-width: 52ch; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .dc-hero-inner { grid-template-columns: 1fr; }
  .dc-universes { grid-template-columns: 1fr; }
  .dc-feature-grid { grid-template-columns: 1fr 1fr; }
  .dc-console { grid-template-columns: 1fr; }
  .dc-zones { grid-template-columns: 1fr 1fr; }
  .dc-compare { grid-template-columns: 1fr; }
  .dc-proof-grid { grid-template-columns: 1fr 1fr; }
  .dc-live { position: static; }
}
@media (max-width: 620px) {
  .dc-feature-grid { grid-template-columns: 1fr; }
  .dc-zones { grid-template-columns: 1fr; }
  .dc-proof-grid { grid-template-columns: 1fr; }
  .dc-countdown { grid-template-columns: repeat(2,1fr); }
  .dc-hero-actions { flex-direction: column; align-items: stretch; }
  .dc-btn { width: 100%; }
}

/* keep shared footer legible on the dark page */
body.doomsday-page .site-footer { background: #07090e; }

/* =========================================================
   FAN ADD-ONS
   ========================================================= */

/* ---------- Hype marquee ---------- */
.dc-marquee {
  width: 100%; overflow: hidden; background: var(--dc-red); color: #fff;
  border-bottom: 1px solid var(--dc-red-deep); white-space: nowrap;
}
.dc-marquee__track {
  display: inline-flex; gap: 34px; padding: 11px 0;
  font-family: var(--dc-tech); font-size: 0.74rem; letter-spacing: 0.22em;
  text-transform: uppercase; animation: dc-marq 30s linear infinite;
  will-change: transform;
}
.dc-marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
.dc-marquee__track span::after {
  content: "★"; color: var(--dc-gold); margin-left: 18px;
}
@keyframes dc-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .dc-marquee__track { animation: none; } }

/* ---------- Multiverse stability (inside live panel) ---------- */
.dc-stab { margin-top: 6px; }
.dc-stab .row { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; }
.dc-stab .row span:first-child { color: var(--dc-text-dim); font-size: 0.88rem; }
.dc-stab .row span:last-child {
  font-family: var(--dc-tech); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dc-stab .row .ok { color: var(--dc-gold); }
.dc-stab .row .mid { color: #e08a2b; }
.dc-stab .row .bad { color: var(--dc-red); }
.dc-stab .bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.dc-stab .bar > i {
  display: block; height: 100%; width: 50%; border-radius: 999px;
  background: linear-gradient(90deg, var(--dc-gold), var(--dc-red));
  transition: width .7s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Spoiler-Shield & Post-Credit console ---------- */
.dc-shield { background: var(--dc-void); border-bottom: 1px solid var(--dc-edge); }
.dc-halls { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
.dc-hall {
  padding: 20px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge);
  background: var(--dc-panel); position: relative;
}
.dc-hall::before {
  content: ""; position: absolute; top: 0; left: 18px; width: 36px; height: 3px; background: var(--dc-gold);
}
.dc-hall-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.dc-hall-head h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.35rem; line-height: 1.04; letter-spacing: 0.01em; margin: 0;
}
.dc-hall .shield-tag {
  font-family: var(--dc-tech); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 3px;
  border: 1px solid var(--dc-edge); color: var(--dc-steel-deep); white-space: nowrap;
}
.dc-hall .shield-tag.locked { color: var(--dc-gold); border-color: var(--dc-gold); background: rgba(240,193,75,.08); }
.dc-hall .shield-tag.open { color: var(--dc-red); border-color: var(--dc-red); background: rgba(226,27,47,.10); }
.dc-hall p { margin: 0 0 14px; color: var(--dc-text-dim); font-size: 0.86rem; min-height: 2.4em; }
/* stinger selector */
.dc-stingers { margin-bottom: 14px; }
.dc-stingers .lbl {
  font-family: var(--dc-tech); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dc-steel-deep); display: block; margin-bottom: 8px;
}
.dc-sting-btns { display: flex; gap: 8px; }
.dc-sting-btns button {
  flex: 1; min-height: 42px; border-radius: 4px; border: 1px solid var(--dc-edge);
  background: rgba(12,14,20,.6); color: var(--dc-text-dim); font-family: var(--dc-tech);
  font-size: 0.78rem; letter-spacing: 0.06em; cursor: pointer; transition: all .15s ease;
}
.dc-sting-btns button:hover { border-color: var(--dc-steel); color: var(--dc-text); }
.dc-sting-btns button.on { background: var(--dc-gold); color: #1a1408; border-color: var(--dc-gold-deep); }
/* stayed-for-credits meter */
.dc-stayed { margin-bottom: 14px; }
.dc-stayed .row { display: flex; align-items: center; gap: 10px; }
.dc-stayed .row .lbl {
  font-family: var(--dc-tech); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-stayed .row .val { margin-left: auto; font-family: var(--dc-tech); color: var(--dc-text); font-size: 0.82rem; }
.dc-stayed .bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 6px; }
.dc-stayed .bar > i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--dc-gold); transition: width .6s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Opening-Night Fan Readiness ---------- */
.dc-ready { background: var(--dc-void-2); border-bottom: 1px solid var(--dc-edge); }
.dc-ready-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 26px; margin-top: 34px; align-items: start; }
.dc-checklist { display: grid; gap: 10px; }
.dc-check {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--dc-edge); border-radius: 8px; background: var(--dc-panel);
  cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.dc-check:hover { border-color: var(--dc-steel); }
.dc-check input { position: absolute; opacity: 0; pointer-events: none; }
.dc-check .box {
  flex: none; width: 24px; height: 24px; border-radius: 4px; border: 2px solid var(--dc-steel-deep);
  display: grid; place-items: center; color: #1a1408; font-size: 0.9rem; font-weight: 700; margin-top: 1px;
  transition: all .15s ease;
}
.dc-check .txt { font-size: 0.96rem; color: var(--dc-text-dim); }
.dc-check .txt b { color: var(--dc-text); font-weight: 600; }
.dc-check.is-on { border-color: var(--dc-gold); background: rgba(240,193,75,.06); }
.dc-check.is-on .box { background: var(--dc-gold); border-color: var(--dc-gold); }
.dc-check.is-on .box::after { content: "✓"; }
.dc-check.is-on .txt { color: var(--dc-text); }
/* readiness panel */
.dc-ready-panel {
  padding: 26px; border-radius: var(--dc-rad); border: 1px solid var(--dc-edge);
  background: linear-gradient(160deg, var(--dc-panel-2) 0%, var(--dc-void-2) 100%);
  position: relative; overflow: hidden; position: sticky; top: 76px;
}
.dc-ready-panel::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 4px; background: var(--dc-red);
}
.dc-ready-panel h3 {
  font-family: var(--dc-display); text-transform: uppercase; font-weight: 400;
  font-size: 1.6rem; line-height: 1.04; letter-spacing: 0.01em; margin: 0 0 6px;
}
.dc-ready-panel .sub { color: var(--dc-text-dim); font-size: 0.85rem; margin: 0 0 20px; }
.dc-ready-ring { position: relative; height: 170px; display: grid; place-items: center; margin-bottom: 18px; }
.dc-ready-ring .r {
  width: 170px; height: 170px; border-radius: 50%;
  background: conic-gradient(var(--dc-red) var(--p,0deg), rgba(255,255,255,.06) 0);
  display: grid; place-items: center; transition: background .6s ease;
}
.dc-ready-ring .r::after {
  content: ""; width: 130px; height: 130px; border-radius: 50%;
  background: var(--dc-void-2); position: absolute;
}
.dc-ready-ring .n {
  position: relative; z-index: 2; font-family: var(--dc-display); font-weight: 400;
  font-size: 3rem; line-height: 1; color: var(--dc-red); font-variant-numeric: tabular-nums;
}
.dc-ready-ring .n small {
  display: block; font-size: 0.6rem; font-family: var(--dc-tech);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--dc-steel-deep);
}
.dc-ready-status {
  text-align: center; font-family: var(--dc-tech); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dc-text-dim); margin: 0 0 16px;
}
.dc-ready-status .lvl { display: block; color: var(--dc-gold); font-size: 1.1rem; margin-top: 4px; }

/* responsive for new blocks */
@media (max-width: 980px) {
  .dc-halls { grid-template-columns: 1fr 1fr; }
  .dc-ready-grid { grid-template-columns: 1fr; }
  .dc-ready-panel { position: static; }
}
@media (max-width: 620px) {
  .dc-halls { grid-template-columns: 1fr; }
}







