/* Depths Live: a late-night broadcast on a handheld screen. Always dark. */

@font-face {
  font-family: "Jersey 10";
  src: url("fonts/Jersey10-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Press Start 2P";
  src: url("fonts/PressStart2P-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #181830;
  --card: #20224a;
  --ink: #f8f8e8;
  --muted: #b0b8c8;
  --line: #687898;
  --accent: #f08c28;
  --accent-ink: #ffb25a;
  --on-accent: #181830;
  --beta: #f8e8b8;
  --teal: #5cd9c9;
  --red: #e8403a;
  --radius: 0px;
  color-scheme: dark;
}

body {
  background:
    radial-gradient(ellipse at 50% -10%, #283868 0%, transparent 60%),
    var(--paper);
  background-attachment: fixed;
}

/* Scanlines over everything, like a tube TV. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  z-index: 10;
}

h1, h2, h3 {
  font-family: "Jersey 10", ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1, .app-hero h1, .doc h1 { font-size: clamp(3.4rem, 11vw, 6rem); line-height: 0.85; }
h2 { font-size: clamp(2.1rem, 6vw, 3rem); line-height: 0.95; color: var(--teal); }
h3 { font-size: 1.75rem; line-height: 1; color: var(--accent); }
.doc h2 { font-size: 1.9rem; }

h1 .live {
  display: inline-block;
  padding: 0 0.16em;
  margin-left: 0.08em;
  background: var(--red);
  color: #fff;
}

.brand img { image-rendering: auto; }

.pill {
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 0;
  border-width: 2px;
  padding: 7px 10px 6px;
}

.pill.onair { color: var(--red); margin-right: 8px; }
.pill.onair::before { animation: blink 1.2s steps(2, start) infinite; }

@keyframes blink { to { visibility: hidden; } }

.card {
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 #0a0a18;
}

.card p { color: var(--muted); }

.button {
  border-radius: 0;
  border: 3px solid var(--ink);
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 15px 16px 13px;
  box-shadow: 4px 4px 0 #0a0a18;
}

.button.primary { border-color: var(--ink); }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0a0a18; border-color: var(--ink); }

.app-hero .app-icon { box-shadow: 0 0 0 3px var(--ink), 8px 8px 0 #0a0a18; border-radius: 0; }

/* The Host's caption, as a lower third. */
.chyron {
  display: flex;
  align-items: stretch;
  margin: 8px 0 36px;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 #0a0a18;
  background: var(--ink);
  color: var(--paper);
}

.chyron .who {
  display: flex;
  align-items: center;
  flex: none;
  padding: 12px 14px;
  background: var(--red);
  color: #fff;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: 0.62rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.chyron p {
  margin: 0;
  padding: 10px 16px;
  font-family: "Jersey 10", ui-monospace, monospace;
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  line-height: 1.05;
}

.about-game p, .lede { color: var(--muted); }
.note { color: var(--line); }
.note.center { color: var(--muted); }

a:hover { color: var(--accent-ink); }
.doc a { color: var(--teal); }
footer.site { border-top: 3px solid var(--line); }

@media (max-width: 520px) {
  .chyron { flex-direction: column; }
  .chyron .who { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pill.onair::before { animation: none; }
  .button:hover { transform: none; }
}
