/* =========================================================================
   Netflix Ads conference kiosk (presentation mockup)
   Direction: an advertising booth. Netflix black and red, show imagery,
   big stats, ad formats drawn on mini TV screens, and Netflix-style
   "more info" pop-outs. Flow: welcome, three topics, tiles, pop-outs,
   showcase reel.
   ========================================================================= */

:root {
  --font: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-display: "Bebas Neue", "Impact", sans-serif;

  --black: #000000;
  --bg: #141414;
  --card: #1c1c1c;
  --card-high: #2a2a2a;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #b3b3b3;
  --dim: #808080;
  --red: #e50914;
  --red-deep: #b20710;

  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body, button, h1, h2, strong, span, p, li {
  -webkit-user-select: none;
  user-select: none;
}

img { -webkit-user-drag: none; user-drag: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

h1:focus, h2:focus { outline: none; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon.solid { fill: currentColor; stroke: none; }

/* In-video frames carry letterbox bars; a slight zoom crops them out. */
img.frame-img { transform: scale(1.16); }
.mini-tv.frame > img.frame-img { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Text-only lockup: condensed NETFLIX plus an "Ads" label. No logo artwork. */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  line-height: 1;
}

.lockup .wordmark {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--red);
}

.lockup .ads {
  padding-left: 0.28em;
  border-left: 0.04em solid rgba(255, 255, 255, 0.5);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: clamp(13px, 0.85vw, 16px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.red-button,
.white-button,
.grey-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 64px;
  padding: 0 32px;
  border-radius: 6px;
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 700;
  transition: transform 160ms var(--ease), background-color 160ms ease, opacity 160ms ease;
}

.red-button { background: var(--red); color: #fff; }
.white-button { background: #fff; color: #000; }
.grey-button { background: rgba(109, 109, 110, 0.6); color: #fff; }

.red-button:active { background: var(--red-deep); transform: scale(0.97); }
.white-button:active,
.grey-button:active { transform: scale(0.97); opacity: 0.85; }

.red-button .icon,
.white-button .icon,
.grey-button .icon { font-size: 1.2em; stroke-width: 2.4; }

/* ---------------------------------------------------------------- screens */

.screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.screen.is-active { display: flex; animation: fade-in 420ms var(--ease) both; }

.nav {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 96px;
  padding: 0 clamp(24px, 3.4vw, 64px);
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.nav .lockup { font-size: clamp(44px, 3.2vw, 60px); }

.nav-spacer { flex: 1; }

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 600;
}

.text-button .icon { font-size: 1.25em; }
.text-button:active { background: rgba(255, 255, 255, 0.1); }

.body {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 32px);
  padding: clamp(4px, 1vh, 16px) clamp(24px, 3.4vw, 64px) clamp(20px, 3vh, 44px);
  overflow-y: auto;
  scrollbar-width: none;
}

.body::-webkit-scrollbar { display: none; }

.heading h1 {
  margin: 8px 0 0;
  font-size: clamp(36px, 3.4vw, 64px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.heading p {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.2vw, 22px);
  color: var(--muted);
}

/* ---------------------------------------------------------------- welcome */

.welcome-screen {
  flex-direction: row;
  align-items: center;
  gap: clamp(32px, 4vw, 96px);
  padding: 0 clamp(32px, 5vw, 120px);
  background:
    radial-gradient(70% 90% at 85% 50%, rgba(229, 9, 20, 0.28) 0%, transparent 60%),
    var(--black);
}

.welcome-copy {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.6vh, 32px);
}

.welcome-copy .lockup { font-size: clamp(64px, 5.4vw, 104px); }

.welcome-copy h1 {
  margin: 0;
  font-size: clamp(46px, 4.4vw, 86px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.welcome-copy p {
  margin: 0;
  max-width: 28em;
  font-size: clamp(18px, 1.35vw, 26px);
  line-height: 1.45;
  color: var(--muted);
}

.welcome-cta { animation: cta-breathe 3.2s ease-in-out 1.5s infinite; }

.stat-strip {
  display: flex;
  gap: clamp(24px, 3vw, 56px);
  margin-top: 4px;
}

.stat-strip div { display: flex; flex-direction: column; gap: 2px; }

.stat-strip strong {
  font-family: var(--font-display);
  font-size: clamp(44px, 3.4vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--red);
}

.stat-strip span { font-size: clamp(13px, 0.9vw, 16px); color: var(--muted); }

.fine-print { font-size: clamp(12px, 0.75vw, 14px) !important; color: var(--dim) !important; }

/* A TV showing a paused show with a pause ad, which is the pitch in one frame. */
.tv {
  flex: 1 1 50%;
  position: relative;
  max-width: 900px;
  animation: tv-in 900ms var(--ease) 200ms both;
}

.tv-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 10px solid #111;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tv-stand {
  width: 30%;
  height: 14px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #1a1a1a;
}

.tv-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
}

.tv-paused {
  position: absolute;
  left: 5%;
  bottom: 9%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv-paused .eyebrow { color: #fff; opacity: 0.8; font-size: clamp(10px, 0.75vw, 14px); }
.tv-paused strong { font-size: clamp(18px, 1.6vw, 30px); font-weight: 800; }

.tv-ad {
  position: absolute;
  right: 5%;
  top: 50%;
  width: 34%;
  padding: 4%;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%);
  animation: ad-in 700ms var(--ease) 900ms both;
}

.tv-ad .eyebrow { font-size: clamp(9px, 0.6vw, 12px); color: var(--muted); }
.tv-ad strong { display: block; margin-top: 8px; font-size: clamp(16px, 1.4vw, 26px); font-weight: 800; line-height: 1.15; }

.tv-ad .brand-swatch {
  height: clamp(40px, 4vw, 70px);
  margin-top: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--red) 0%, #6d0409 100%);
}

.tv-pause-icon {
  position: absolute;
  left: 50%;
  top: 42%;
  display: flex;
  gap: 14%;
  width: clamp(40px, 4vw, 70px);
  height: clamp(44px, 4.4vw, 76px);
  transform: translate(-80%, -50%);
  opacity: 0.85;
}

.tv-pause-icon i { flex: 1; border-radius: 4px; background: #fff; }

/* ------------------------------------------------------------------- home */

.home-cards {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 26px);
}

.show-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-height: 300px;
  padding: clamp(22px, 2vw, 36px);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  text-align: left;
  transition: transform 240ms var(--ease);
  animation: rise 520ms var(--ease) both;
}

.show-card:nth-child(2) { animation-delay: 80ms; }
.show-card:nth-child(3) { animation-delay: 160ms; }

.show-card:active { transform: scale(0.98); }

.show-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.show-card:active > img { transform: scale(1.22); }

.show-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.96) 85%);
}

.show-card > *:not(img) { position: relative; z-index: 2; }

.show-card strong {
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.show-card .sub { font-size: clamp(15px, 1.05vw, 19px); line-height: 1.4; color: #d6d6d6; }

.show-card .more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
}

.show-card .more .icon { color: var(--red); stroke-width: 2.6; }

.home-actions {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 26px);
}

.action-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 96px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--card);
  text-align: left;
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 800;
  transition: transform 200ms var(--ease), background-color 200ms ease;
}

.action-bar:active { transform: scale(0.98); background: var(--card-high); }

.action-bar .badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  font-size: 24px;
}

.action-bar .badge .icon.solid { margin-left: 3px; }

.action-bar .sub { display: block; margin-top: 4px; font-size: 0.68em; font-weight: 500; color: var(--muted); }

/* ------------------------------------------------------------ stat tiles */

.tile-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 26px);
  align-content: center;
}

.tile-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.stat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: clamp(280px, 40vh, 440px);
  padding: clamp(24px, 2vw, 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--card) 0%, #101010 100%);
  text-align: left;
  overflow: hidden;
  transition: transform 220ms var(--ease), border-color 220ms ease;
  animation: rise 480ms var(--ease) both;
}

.stat-tile:active { transform: scale(0.98); border-color: var(--red); }

.stat-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.stat-tile:active::after { transform: scaleX(1); }

.stat-tile .big {
  font-family: var(--font-display);
  font-size: clamp(96px, 8.4vw, 160px);
  line-height: 0.9;
  color: var(--red);
}

.stat-tile strong { margin-top: auto; font-size: clamp(22px, 1.7vw, 32px); font-weight: 800; }
.stat-tile .sub { font-size: clamp(14px, 1vw, 18px); line-height: 1.4; color: var(--muted); }

.footnote { flex: none; margin: 0; font-size: clamp(12px, 0.8vw, 14px); color: var(--dim); }

/* -------------------------------------------- ad format tiles (mini TVs) */

.format-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  text-align: left;
  transition: transform 220ms var(--ease), border-color 220ms ease;
  animation: rise 480ms var(--ease) both;
}

.format-tile:active { transform: scale(0.98); border-color: var(--red); }

.format-tile strong { padding: 0 8px; font-size: clamp(20px, 1.5vw, 28px); font-weight: 800; }
.format-tile .sub { padding: 0 8px; font-size: clamp(14px, 0.95vw, 17px); line-height: 1.4; color: var(--muted); }

.mini-tv {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 5px solid #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.mini-tv > img { width: 100%; height: 100%; object-fit: cover; }

/* Pause: dimmed frame, pause bars, ad card on the right. */
.mini-tv.pause > img { filter: brightness(0.4); }
.mini-tv.pause::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 16%;
  top: 38%;
  width: 7%;
  height: 22%;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
}
.mini-tv.pause::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 6%;
  top: 22%;
  width: 36%;
  height: 56%;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--red) 0%, #5a0307 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Interactive: a call to action pill over the ad. */
.mini-tv .cta {
  position: absolute;
  right: 6%;
  bottom: 9%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: clamp(10px, 0.75vw, 14px);
  font-weight: 800;
}

.mini-tv .ad-flag {
  position: absolute;
  left: 6%;
  top: 8%;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  font-size: clamp(9px, 0.65vw, 12px);
  font-weight: 700;
}

/* Frame: content shrinks into a corner inside a branded canvas. */
.mini-tv.frame { background: linear-gradient(135deg, var(--red) 0%, #3d0205 100%); }
.mini-tv.frame > img {
  position: absolute;
  right: 5%;
  top: 8%;
  width: 66%;
  height: 66%;
  border-radius: 4px;
}
.mini-tv.frame .frame-copy {
  position: absolute;
  left: 6%;
  bottom: 10%;
  width: 40%;
  font-size: clamp(10px, 0.8vw, 15px);
  font-weight: 800;
  line-height: 1.2;
}

/* Programmatic: the DSPs as a stack of chips. */
.mini-tv.dsp {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 10%;
  background: radial-gradient(circle at 30% 30%, #2a2a2a 0%, #0a0a0a 80%);
}

.mini-tv.dsp span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: clamp(10px, 0.75vw, 14px);
  font-weight: 700;
}

/* Brand partnership: show art crossed with a brand. */
.mini-tv.collab > img { filter: brightness(0.55); }
.mini-tv.collab .x {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 52px);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------- live tiles */

.live-screen {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(229, 9, 20, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #1a0405 100%);
}

.image-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: clamp(320px, 48vh, 520px);
  padding: clamp(22px, 1.8vw, 32px);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red) 0%, #3d0205 100%);
  text-align: left;
  transition: transform 240ms var(--ease);
  animation: rise 480ms var(--ease) both;
}

.image-tile:active { transform: scale(0.98); }

.image-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.image-tile::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.95) 85%);
}

.image-tile > *:not(img) { position: relative; z-index: 2; }

.image-tile .tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-tile strong { font-size: clamp(24px, 1.9vw, 36px); font-weight: 900; line-height: 1.05; }
.image-tile .sub { font-size: clamp(14px, 1vw, 18px); color: #d6d6d6; }

.image-tile .ball {
  position: absolute;
  right: -10%;
  top: -6%;
  width: 70%;
  height: auto;
  color: rgba(255, 255, 255, 0.16);
}

.tile-grid > *:nth-child(2) { animation-delay: 60ms; }
.tile-grid > *:nth-child(3) { animation-delay: 120ms; }
.tile-grid > *:nth-child(4) { animation-delay: 180ms; }
.tile-grid > *:nth-child(5) { animation-delay: 240ms; }

/* --------------------------------------------------------------- showcase */

.showcase {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.player-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 22vw, 400px);
  gap: clamp(20px, 2.4vw, 44px);
  align-items: end;
}

.player {
  height: 100%;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.player iframe { display: block; width: 100%; height: 100%; border: 0; }

.now-playing { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }

.now-playing h2 {
  margin: 0;
  font-size: clamp(24px, 1.9vw, 36px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.now-playing .sub { font-size: clamp(14px, 1vw, 18px); color: var(--muted); }

.row-label { font-size: clamp(18px, 1.3vw, 24px); font-weight: 800; }

.row {
  flex: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.row::-webkit-scrollbar { display: none; }

.row-item {
  position: relative;
  flex: 0 0 clamp(220px, 15vw, 290px);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--card);
  transition: transform 200ms var(--ease);
}

.row-item:active { transform: scale(0.96); }
.row-item.is-playing { box-shadow: inset 0 0 0 3px var(--red); }
.row-item img { width: 100%; height: 100%; object-fit: cover; }
.row-item, .cue { isolation: isolate; }
.row-item::before, .cue::before { z-index: 1; }
.row-item span, .cue .play { z-index: 2; }

.row-item span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  font-size: clamp(12px, 0.85vw, 15px);
  font-weight: 700;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.row-item::before {
  content: "";
  position: absolute;
  inset: 40% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}

.video-offline {
  display: grid;
  place-content: center;
  gap: 10px;
  height: 100%;
  padding: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

/* -------------------------------------------------------- more-info modal */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.72);
  animation: fade-in 220ms ease both;
}

.info {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(1120px, 90vw);
  max-height: min(980px, 88vh);
  border-radius: 10px;
  background: #181818;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: info-in 320ms var(--ease) both;
}

.info-hero {
  position: relative;
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(220px, 28vh, 320px);
  padding: clamp(24px, 2.4vw, 44px);
  overflow: hidden;
  background: linear-gradient(135deg, #3d0205 0%, var(--red) 100%);
}

.info-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}

.info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0) 20%, #181818 100%);
}

.info-hero > *:not(img) { position: relative; z-index: 1; }

.info-hero h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 3.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.info-hero .big {
  font-family: var(--font-display);
  font-size: clamp(90px, 8vw, 150px);
  line-height: 0.85;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.info-close {
  position: absolute !important;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #181818;
  font-size: 26px;
}

.info-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 0 clamp(24px, 2.4vw, 44px) 16px;
}

.info-sub {
  margin: 0 0 clamp(16px, 2vh, 24px);
  font-size: clamp(17px, 1.25vw, 23px);
  line-height: 1.45;
  color: #d2d2d2;
}

.info-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-body ul.single { grid-template-columns: 1fr; }

.info-body li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #333;
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.35;
}

.info-body li .icon { font-size: 1.2em; color: var(--red); stroke-width: 2.6; }

.cues {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.cue {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--card);
  transition: transform 200ms var(--ease);
}

.cue:active { transform: scale(0.97); }
.cue img { width: 100%; height: 100%; object-fit: cover; }

.cue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
}

.cue .play {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.info-foot {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(24px, 2.4vw, 44px) clamp(20px, 2.4vh, 32px);
}

.source { font-size: clamp(12px, 0.8vw, 14px); color: var(--dim); }

.team-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.team-card {
  padding: 22px;
  border-radius: 8px;
  background: var(--card-high);
}

.team-card .avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), #6d0409);
  font-size: 34px;
}

.team-card strong { display: block; margin-top: 14px; font-size: clamp(16px, 1.15vw, 21px); }
.team-card span { display: block; margin-top: 4px; font-size: clamp(13px, 0.9vw, 16px); color: var(--muted); }

/* ---------------------------------------------------------------- theater */

.theater {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #000;
  animation: fade-in 220ms ease both;
}

.theater-frame { flex: 1; min-height: 0; }
.theater-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.theater-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(24px, 3.4vw, 64px);
  background: #0a0a0a;
}

.theater-title { margin: 0; font-size: clamp(20px, 1.6vw, 30px); font-weight: 800; }

/* ------------------------------------------------- are you still watching */

.still {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  gap: 28px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  text-align: center;
  animation: fade-in 300ms ease both;
}

.still h2 { margin: 0; font-size: clamp(36px, 3.6vw, 68px); font-weight: 800; }
.still p { margin: 0; font-size: clamp(16px, 1.2vw, 22px); color: var(--muted); }
.still-actions { display: flex; justify-content: center; gap: 16px; }
.still-actions .grey-button { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.6); }

/* ----------------------------------------------------------- build stamp */

.build-stamp {
  position: fixed;
  right: 10px;
  bottom: 6px;
  z-index: 70;
  font-size: 11px;
  color: rgba(128, 128, 128, 0.6);
  pointer-events: none;
}

#debug-log {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  max-height: 40vh;
  overflow-y: auto;
  padding: 12px 16px;
  background: rgba(120, 12, 24, 0.94);
  color: #fff;
  font: 16px/1.4 monospace;
}

/* -------------------------------------------------------------- animation */

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to   { opacity: 1; transform: none; }
}

@keyframes info-in {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes tv-in {
  from { opacity: 0; transform: translate3d(40px, 0, 0) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

@keyframes ad-in {
  from { opacity: 0; transform: translate3d(30px, -50%, 0); }
  to   { opacity: 1; transform: translate3d(0, -50%, 0); }
}

@keyframes cta-breathe {
  0%, 70%, 100% { transform: none; }
  80%           { transform: scale(1.04); }
  90%           { transform: scale(0.99); }
}

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

@media (max-aspect-ratio: 1/1) {
  .welcome-screen { flex-direction: column; justify-content: center; }
  .tv { width: 100%; flex: none; }
  .home-cards { grid-template-columns: 1fr; }
  .tile-grid,
  .tile-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-wrap { grid-template-columns: 1fr; }
  .info-body ul,
  .team-row { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .tile-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
