:root {
  --night: #0a0c18;
  --cream: #ece8de;
  --cream-dim: rgba(236, 232, 222, 0.62);
  --gold: #ffc46e;
  --orange: #ffaa6e;

  --tv-bg: #fff6d6;
  --tv-ink: #1a1030;
  --tv-band: #ff3d7f;
  --tv-band-2: #ffd23f;
  --tv-card: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* ---------- Area 1: ATTENTION ---------- */

.attention {
  position: relative;
  isolation: isolate;
  background: var(--night);
  font-family: Georgia, "Times New Roman", serif;
}

.dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.attention-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(72px, 16vh, 160px) 16px 0;
}

.attention-head {
  text-align: center;
  margin-bottom: clamp(56px, 12vh, 120px);
}

.attention-head h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 3.4rem);
  letter-spacing: 0.35em;
  /* letter-spacing trails the last glyph; pull it back so the word centres */
  margin-right: -0.35em;
  color: var(--cream);
}

.film h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  letter-spacing: 0.3em;
  color: var(--cream);
}

.film .subtitle {
  margin: 6px 0 20px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-dim);
}

.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-top: 1px solid var(--accent);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 600ms ease;
}

.film video:hover,
.film video:focus-visible {
  box-shadow: 0 0 48px -12px var(--accent);
  outline: none;
}

.film-one {
  --accent: var(--gold);
}

.film-two {
  --accent: var(--orange);
}

.film .caption {
  margin: 18px 0 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream-dim);
}

.divider {
  width: 5px;
  height: 5px;
  margin: clamp(64px, 12vh, 120px) auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(255, 196, 110, 0.45);
}

.closing {
  margin: clamp(72px, 14vh, 140px) 0 0;
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream-dim);
}

.fade {
  height: clamp(160px, 30vh, 320px);
  background: linear-gradient(to bottom, var(--night) 0%, #2a1c3a 55%, var(--tv-band) 100%);
}

/* ---------- Area 2: FROG TV ---------- */

.frogtv {
  background: var(--tv-bg);
  color: var(--tv-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.band {
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255, 255, 255, 0.12) 18px 36px),
    var(--tv-band);
  color: #fff;
  text-align: center;
  padding: 32px 16px 36px;
  border-bottom: 8px solid var(--tv-band-2);
}

.band h1 {
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 16vw, 8rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--tv-band-2);
  text-shadow: 4px 4px 0 var(--tv-ink), 8px 8px 0 rgba(26, 16, 48, 0.35);
  transform: rotate(-2deg);
}

.band-kicker,
.band-tag {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.band-tag {
  margin-top: 12px;
  font-size: 0.85rem;
}

.guide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.channel {
  --channel: hsl(var(--hue) 85% 55%);
  margin-top: 36px;
}

.channel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.channel-number {
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  background: var(--tv-ink);
  color: var(--tv-band-2);
  border-radius: 4px;
}

.channel-head h2 {
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--tv-ink);
  text-shadow: 3px 3px 0 var(--channel);
}

.channel-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--tv-card);
  border: 3px solid var(--tv-ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--channel);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translate(-2px, -2px) rotate(-0.6deg);
  box-shadow: 8px 8px 0 var(--channel);
  outline: none;
}

.card:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--channel);
}

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--tv-ink);
  border-bottom: 3px solid var(--tv-ink);
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  background: var(--tv-band-2);
  color: var(--tv-ink);
  border: 2px solid var(--tv-ink);
  border-radius: 999px;
}

.card-title {
  display: block;
  padding: 10px 12px 12px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
}

.credits {
  text-align: center;
  padding: 24px 16px 40px;
  font-family: "Bangers", Impact, sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  background: var(--tv-ink);
  color: var(--tv-band-2);
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 4px solid var(--tv-band-2);
  border-radius: 12px;
  background: var(--tv-ink);
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(10, 6, 24, 0.85);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
}

.lightbox-title {
  margin: 0;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--tv-band-2);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-close {
  flex: none;
  width: 40px;
  height: 40px;
  font-family: "Bangers", Impact, sans-serif;
  font-size: 1.3rem;
  cursor: pointer;
  background: var(--tv-band);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
}

.lightbox video {
  width: 100%;
  max-height: calc(100vh - 110px);
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  .film video,
  .card {
    transition: none;
  }
  .card:hover,
  .card:focus-visible {
    transform: none;
  }
}
