:root {
  color-scheme: dark;
  --ink: #050508;
  --paper: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.58);
  --line: rgba(244, 247, 255, 0.13);
  --acid: #d8ff38;
  --cyan: #22d3c5;
  --orange: #ff8a45;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 9%, rgba(34, 211, 197, 0.12), transparent 27rem),
    radial-gradient(circle at 5% 55%, rgba(255, 138, 69, 0.09), transparent 31rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
}

.masthead,
main,
footer {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.screening-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(216, 255, 56, 0.7);
}

.hero {
  position: relative;
  padding: clamp(78px, 10vw, 158px) 0 clamp(64px, 8vw, 116px);
}

.eyebrow,
.note-index,
.player-heading,
.player-footer,
.concept-art figcaption,
footer span {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  margin-bottom: 32px;
  color: var(--acid);
  font-size: clamp(0.64rem, 1vw, 0.76rem);
}

h1 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(4rem, 12.6vw, 12.5rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

h1 span {
  margin-left: clamp(0px, 7vw, 116px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 247, 255, 0.82);
}

.title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(38px, 6vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.subtitle {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(1.05rem, 2.4vw, 2rem);
  font-weight: 750;
  letter-spacing: 0.18em;
}

.format {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.deck {
  max-width: 800px;
  margin: clamp(42px, 6vw, 74px) 0 0 auto;
  font-size: clamp(1.25rem, 2.2vw, 2.1rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0 auto;
  max-width: 800px;
}

.status span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(244, 247, 255, 0.63);
  background: rgba(255, 255, 255, 0.025);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screening {
  margin-bottom: clamp(86px, 11vw, 160px);
}

.player-heading,
.player-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.68rem;
}

.player-heading {
  margin-bottom: 14px;
}

.player-heading h2 {
  margin: 0;
  color: var(--paper);
  font: inherit;
}

.player-heading h2::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
  box-shadow: 0 0 15px rgba(255, 138, 69, 0.62);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 255, 0.17);
  border-radius: 4px;
  background: #000;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.62), 0 0 80px rgba(34, 211, 197, 0.06);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 3;
  background: #000;
  object-fit: contain;
}

.offline-card {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 7 / 3;
  overflow: hidden;
  background: #000;
}

.offline-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.62) contrast(1.08);
}

.offline-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(22px, 5vw, 72px);
  text-align: center;
  background: radial-gradient(circle at center, rgba(5, 5, 8, 0.3), rgba(5, 5, 8, 0.82));
}

.offline-copy strong {
  color: var(--acid);
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.9rem, 2.2vw, 1.5rem);
  letter-spacing: 0.1em;
}

.offline-copy span {
  max-width: 670px;
  color: var(--paper);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  line-height: 1.55;
}

.frame-corner {
  position: absolute;
  pointer-events: none;
  width: 42px;
  height: 42px;
}

.frame-corner-a {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--acid);
  border-left: 1px solid var(--acid);
}

.frame-corner-b {
  right: 12px;
  bottom: 48px;
  border-right: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
}

.player-footer {
  margin-top: 14px;
}

.notes {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: clamp(42px, 9vw, 150px);
  margin-bottom: clamp(88px, 12vw, 170px);
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.notes article {
  min-width: 0;
}

.note-index {
  margin: 0 0 34px;
  color: var(--acid);
  font-size: 0.65rem;
}

.notes h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.notes article > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

dt,
dd {
  margin: 0;
  font-size: 0.78rem;
}

dt {
  color: var(--muted);
}

dd {
  text-align: right;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  text-transform: uppercase;
}

.concept-art {
  margin: 0 0 clamp(90px, 12vw, 180px);
}

.concept-art img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  filter: saturate(0.86) contrast(1.04);
}

.concept-art figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.62rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 30px;
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
}

footer a {
  color: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

footer span {
  grid-column: 1 / -1;
  color: rgba(244, 247, 255, 0.32);
  font-size: 0.58rem;
}

@media (max-width: 760px) {
  .masthead,
  main,
  footer {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .masthead {
    min-height: 72px;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 78px;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.75rem, 15vw, 4rem);
    line-height: 0.82;
  }

  h1 span {
    margin-left: 0;
  }

  .title-row {
    display: block;
  }

  .format {
    margin-top: 10px;
  }

  .deck {
    width: 100%;
    max-width: 100%;
    font-size: 1.25rem;
  }

  .status {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .status span {
    max-width: 100%;
  }

  .player-heading span,
  .player-footer span:nth-child(2) {
    display: none;
  }

  .player-shell {
    width: calc(100% + 28px);
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
  }

  .notes {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
