/* Vice Midnight — original fan-site styles. Not an official Rockstar theme. */
:root {
  --bg: #0c0810;
  --bg-2: #140e18;
  --card: #16101c;
  --ink: #f7f1ea;
  --muted: #c3b3a6;
  --faint: #8a7b72;
  --magenta: #ff3e8a;
  --magenta-dim: #c01e60;
  --cyan: #3ee7ff;
  --cyan-dim: #128ca0;
  --sunset: #ff8a3d;
  --gold: #f0c75e;
  --line: rgba(247, 241, 234, 0.1);
  --line-strong: rgba(247, 241, 234, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Sora", "Segoe UI", system-ui, sans-serif;
  --radius: 2px;
  --nav-h: 72px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100%;
  background:
    radial-gradient(1200px 520px at 80% -10%, rgba(255, 62, 138, 0.18), transparent 55%),
    radial-gradient(900px 500px at 0% 0%, rgba(62, 231, 255, 0.08), transparent 50%),
    radial-gradient(800px 400px at 50% 100%, rgba(255, 138, 61, 0.07), transparent 50%),
    var(--bg);
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background-image: url("/img/grain.svg");
  background-size: 180px 180px;
}
body > * { position: relative; z-index: 1; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(12, 8, 16, 0.84);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-mark { width: 36px; height: 36px; display: block; }
.logo-type {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.06em;
  line-height: 0.85;
  text-transform: uppercase;
}
.logo-type span { display: block; color: var(--cyan); font-size: 0.62em; letter-spacing: 0.22em; }
nav.desk { display: flex; gap: 18px; flex: 1; }
nav.desk a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
nav.desk a:hover, nav.desk a[aria-current="page"] { color: var(--ink); }
.clock-pill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(22, 16, 28, 0.8);
  padding: 6px 10px 6px 12px;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--ink);
}
.clock-pill .k {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 600;
}
.clock-pill .t { font-family: var(--display); font-size: 22px; letter-spacing: 0.04em; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  font-size: 20px;
}
@media (max-width: 860px) {
  .clock-pill { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  nav.desk {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #110c16;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  body.nav-open nav.desk { display: flex; }
  nav.desk a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  display: block;
}
.lede { font-size: 18px; color: var(--muted); max-width: 38rem; margin: 0 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn-mag { background: var(--magenta); color: #fff; }
.btn-mag:hover { background: #ff5ca0; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.countdown-board {
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
  position: relative;
}
.countdown-board::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--sunset), var(--cyan));
}
.countdown-board .board-k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.digits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.digit {
  background: #0a070e;
  border: 1px solid var(--line);
  padding: 10px 4px 8px;
}
.digit b {
  display: block;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.digit span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.board-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.board-note strong { color: var(--gold); font-weight: 600; }
.out-now {
  display: none;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
}
body.is-out .digits { display: none; }
body.is-out .out-now { display: block; }
body.is-out .board-k { color: var(--cyan); }

/* Ticket bar */
.ticket {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.ticket b { color: var(--ink); font-weight: 600; letter-spacing: 0.06em; }

/* Sections & cards */
.section { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
}
.section-head a { font-size: 13px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover { border-color: var(--cyan); transform: translateY(-2px); color: inherit; }
.card .meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin: 0 0 10px;
}
.card h3 {
  font-family: var(--display);
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card .go { margin-top: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }

.fact-table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  background: #100c14;
}
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
td strong { color: var(--gold); font-weight: 600; }

.callout, .disclaimer-box, .unknown, blockquote.source-quote {
  border-left: 3px solid var(--cyan);
  background: rgba(62, 231, 255, 0.05);
  padding: 14px 16px;
  margin: 20px 0;
}
.unknown { border-left-color: var(--gold); background: rgba(240, 199, 94, 0.06); }
.disclaimer-box { border-left-color: var(--magenta); background: rgba(255, 62, 138, 0.06); }
.callout p, .unknown p, .disclaimer-box p, blockquote.source-quote p { margin: 0; }
blockquote.source-quote { color: var(--muted); font-size: 16px; }
blockquote.source-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

.checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border: 1px solid var(--cyan);
}
.sources { font-size: 14px; color: var(--muted); }
.sources h2, .page-body h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 32px;
  line-height: 1;
  margin: 32px 0 12px;
}
.page-body h3 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 24px;
  margin: 26px 0 8px;
}
.page-body p { margin: 0 0 14px; }
.page-body ul, .page-body ol { margin: 0 0 16px; padding-left: 1.2em; color: var(--ink); }
.page-body li { margin: 0 0 6px; }
.checked-stamp {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
}

/* Page layout */
.page-hero { padding: 36px 0 10px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.page-hero .lede { margin-bottom: 8px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 20px; }
.page-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  border: 1px solid var(--line);
  padding: 14px 16px;
  background: var(--card);
}
.toc h2 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; font-weight: 600; font-family: var(--sans); }
.toc ol { margin: 0; padding-left: 18px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--cyan); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }

/* Trailer lite embed */
.yt-lite {
  position: relative;
  display: block;
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-lite .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px; height: 48px;
  background: var(--magenta);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 26px;
  border-color: transparent transparent transparent #fff;
  background: transparent;
  clip-path: none;
}
.yt-lite::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 72px; height: 48px;
  transform: translate(-50%, -50%);
  background: rgba(255, 62, 138, 0.92);
  border-radius: 8px;
}
.yt-lite::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trailer-card h3 { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin: 12px 0 4px; }
.trailer-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+  "; color: var(--cyan); font-weight: 400; }
.faq details[open] summary::before { content: "–  "; }
.faq details p { margin: 8px 0 0; color: var(--muted); }

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 8px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--faint);
  font-size: 12px;
}
.rss-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  padding: 18px 20px;
  background: var(--card);
  margin: 8px 0 0;
}
.rss-cta h2 { margin: 0 0 6px; font-family: var(--display); text-transform: uppercase; font-size: 28px; }
.rss-cta p { margin: 0; color: var(--muted); }

/* 404 */
.err { padding: 80px 0 120px; }
.err h1 { font-family: var(--display); font-size: 96px; line-height: 0.8; text-transform: uppercase; margin: 0 0 12px; }

.slot { display: none; }
.updated { color: var(--faint); font-size: 13px; }

@media (max-width: 860px) {
  .hero-grid, .page-grid, .cards, .related, .trailer-grid, .foot-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .hero { padding-top: 28px; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a.card:hover { transform: none; }
}
