/* Film pages and the review counter. Loaded after styles.css. */
.film { padding: 34px 24px 60px; }
.crumbs { color: var(--gray); font-size: 14px; margin-bottom: 26px; }
.crumbs a { border-bottom: 1px solid rgba(255,255,255,.2); }
.crumbs a:hover { color: var(--tape-y); }

.film-head { margin-bottom: 34px; max-width: 900px; }
.fseries { display: inline-block; font-family: VT323, monospace; font-size: 22px; letter-spacing: .04em; background: #1F3FD1; color: #F4F1E8; padding: 2px 10px; }
.film-head h1 { font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; margin: 14px 0 12px; overflow-wrap: anywhere; }
.byline { color: var(--gray); font-size: 15px; }

.film-grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr) minmax(240px, 320px); gap: 34px; align-items: start; }

/* the player: a 9:16 screen in a TV-ish bezel */
.player { position: relative; aspect-ratio: 9 / 16; background: #000; border: 10px solid #231816; border-radius: 14px; box-shadow: 0 0 0 2px #3a2a26, 0 24px 50px rgba(0,0,0,.6); overflow: hidden; }
.player .poster, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player .poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.8); }
.player .poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 2px, rgba(0,0,0,.25) 2px 3px); pointer-events: none; }
.player .osd { position: absolute; top: 12px; left: 14px; font-size: 24px; z-index: 2; }
.player .playbtn { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.player .playbtn span { font-family: Anton, sans-serif; letter-spacing: .12em; font-size: 20px; background: var(--tape-y); color: var(--ink); padding: 12px 20px; transition: transform .15s; }
.player .poster:hover .playbtn span { transform: scale(1.06); }

/* the take */
.take h2, .facts h2 { font-family: Anton, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 28px; letter-spacing: .02em; margin-bottom: 14px; }
.take p { font-size: 18px; line-height: 1.65; color: #ece4df; margin-bottom: 16px; max-width: 62ch; }
.take .ask { border-left: 4px solid var(--c, var(--red)); padding: 10px 0 10px 16px; background: rgba(255,255,255,.03); }
.take .ask .type { color: var(--tape-y); display: block; font-size: 14px; margin-bottom: 4px; }
.take .ask a { color: var(--tape-y); white-space: nowrap; border-bottom: 1px solid currentColor; font-size: 15px; }

/* the facts: a rental slip */
.facts { background: var(--paper); color: #2a2220; padding: 22px 22px 24px; box-shadow: 0 16px 34px rgba(0,0,0,.5); transform: rotate(.6deg); }
.facts h2.osd { font-family: VT323, monospace; color: #2a2220; text-shadow: none; font-size: 30px; border-bottom: 2px dashed #a99; padding-bottom: 8px; }
.facts dl > div { padding: 10px 0; border-bottom: 1px dashed #c9bdb6; }
.facts dt { font-family: "Special Elite", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7b6a64; margin-bottom: 3px; }
.facts dd { font-size: 15px; line-height: 1.45; }
.facts .src { font-family: "Special Elite", monospace; font-size: 12px; color: #9b1c20; border-bottom: 1px solid currentColor; white-space: nowrap; }
.facts .checked { font-size: 12px; color: #7b6a64; margin: 12px 0 16px; }
.facts .btn { border-color: #2a2220; color: #2a2220; padding: 11px 16px; font-size: 12px; }
.facts .btn.ghost:hover { background: #2a2220; color: var(--paper); }

/* tape cards (index, home, also on the shelf) */
.shelf-more { margin-top: 60px; }
.series-row { margin-top: 50px; }
.series-row .aisle .note { color: var(--tape-y); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.fcard { display: flex; flex-direction: column; background: var(--ink-2); border-top: 6px solid var(--c, var(--red)); box-shadow: 0 10px 24px rgba(0,0,0,.45); transition: transform .15s; }
.fcard:hover { transform: translateY(-4px); }
.fcard .fthumb { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.fcard .fthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard .fmeta { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.fcard .fseries { font-size: 17px; align-self: flex-start; padding: 0 7px; }
.fcard strong { font-family: Anton, sans-serif; font-weight: 400; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.fcard .type { color: var(--gray); font-size: 13px; }

@media (max-width: 1000px) {
  .film-grid { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); }
  .facts { grid-column: 1 / -1; transform: none; }
}
@media (max-width: 680px) {
  .film { padding: 24px 16px 50px; }
  .film-grid { grid-template-columns: 1fr; gap: 26px; }
  .player { width: min(100%, 320px); margin: 0 auto; }
  .take p { font-size: 17px; }
}

/* ---------- home: greatest hits shelf ---------- */
.hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.hit { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 14px 14px 16px; background: linear-gradient(180deg, #1d1414, #120c0c); border-left: 14px solid var(--c); box-shadow: 0 12px 26px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); transition: transform .15s; }
.hit:hover { transform: translateY(-4px) rotate(-.5deg); }
.hit-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hit-top .lg { font-family: "Roboto Slab", serif; font-weight: 800; background: var(--red); padding: 2px 5px; }
.hit-top .plat { font-family: VT323, monospace; font-size: 17px; letter-spacing: .04em; color: var(--osd); }
.hit strong { font-family: Anton, sans-serif; font-weight: 400; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.hit-sub { color: var(--gray); font-size: 13px; }
.hit-views { margin-top: auto; font-family: VT323, monospace; font-size: 20px; color: var(--tape-y); }
.hit-views b { font-family: Anton, sans-serif; font-weight: 400; font-size: 34px; color: var(--ghost); margin-right: 4px; }
#reviews .fgrid { margin-bottom: 8px; }
@media (max-width: 680px) {
  .fgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fcard .fmeta { padding: 9px 10px 12px; }
  .fcard .fseries { font-size: 14px; }
  .fcard strong { font-size: 16px; }
  .fcard .type { font-size: 11px; }
  .hits { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hit { min-height: 200px; padding: 12px 10px 14px; border-left-width: 10px; }
  .hit strong { font-size: 17px; }
  .hit-views b { font-size: 26px; }
  .hit-top .lg { display: none; }
}
