:root {
  --bg-deep: #07060a;
  --bg-theater: #0e0b12;
  --bg-card: #17121e;
  --bg-card-hover: #21192b;
  --bg-glass: rgba(20, 15, 28, 0.85);
  --velvet-dark: #3b0914;
  --velvet-primary: #7c1324;
  --velvet-bright: #b91c32;
  --gold-dim: #8a6d2f;
  --gold-primary: #d4af37;
  --gold-bright: #ffe07d;
  --bulb-warm: #fff3c4;
  --text-main: #f6f1e9;
  --text-muted: #b3a89a;
  --text-dim: #796f65;
  --border-gold: rgba(212, 175, 55, 0.28);
  --border-gold-bright: rgba(255, 224, 125, 0.65);
  --shadow-poster: 0 14px 34px rgba(0, 0, 0, 0.75);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

body.lights-dimmed {
  --bg-deep: #020203;
  --bg-theater: #050407;
  --bg-card: #0c0910;
  --velvet-dark: #1d0409;
  --velvet-primary: #470a14;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(124, 19, 36, 0.28) 0%, transparent 65%),
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-theater) 100%);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

/* Theater Side Curtains Effect */
.curtain-left,
.curtain-right {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 40;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    #2a050d 0px,
    #5c0d1b 7px,
    #380710 14px,
    #1c0307 20px
  );
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.9);
  opacity: 0.85;
  transition: opacity 0.4s ease, width 0.4s ease;
}

.curtain-left {
  left: 0;
  border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.curtain-right {
  right: 0;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
}

body.lights-dimmed .curtain-left,
body.lights-dimmed .curtain-right {
  opacity: 0.3;
  width: 14px;
}

@media (max-width: 900px) {
  .curtain-left, .curtain-right {
    display: none;
  }
}

/* Marquee Top Header */
.theater-header {
  position: relative;
  background: linear-gradient(180deg, #1b0910 0%, #0d0811 100%);
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
  padding: 0.75rem 2.5rem;
  z-index: 30;
}

.marquee-bulbs {
  height: 8px;
  width: 100%;
  background-image: radial-gradient(circle, var(--bulb-warm) 2.5px, rgba(212, 175, 55, 0.25) 3.5px, transparent 4.5px);
  background-size: 20px 8px;
  animation: marqueeChase 1.4s infinite linear;
  filter: drop-shadow(0 0 5px var(--gold-bright));
}

@keyframes marqueeChase {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

.header-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-marquee {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, var(--velvet-bright), var(--velvet-dark));
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35), inset 0 0 10px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-overline {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
}

.brand-main {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff9e6 0%, #f1ca57 55%, #b68922 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 15px rgba(212, 175, 55, 0.25);
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Stats Pill Bar in Header */
.theater-stats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.stat-ticket {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.4rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
}

.stat-ticket .stat-val {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.stat-ticket .stat-lbl {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-theater {
  background: linear-gradient(180deg, #271d33 0%, #171120 100%);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-theater:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.btn-theater.btn-gold {
  background: linear-gradient(180deg, #e5c158 0%, #b88b28 100%);
  color: #160f04;
  border-color: #ffe89e;
  font-weight: 700;
}

.btn-theater.btn-gold:hover {
  background: linear-gradient(180deg, #f3d474 0%, #cba038 100%);
  color: #090601;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-theater.btn-velvet {
  background: linear-gradient(180deg, var(--velvet-bright) 0%, var(--velvet-primary) 100%);
  border-color: rgba(255, 180, 180, 0.35);
  color: #fff;
}

.btn-theater.btn-velvet:hover {
  box-shadow: 0 0 18px rgba(185, 28, 50, 0.6);
}

/* Main Container */
.theater-main {
  max-width: 1560px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem 4rem;
}

@media (max-width: 768px) {
  .theater-header {
    padding: 0.65rem 1rem;
  }
  .theater-main {
    padding: 1rem 1rem 3rem;
  }
}

/* Featured Now Showing Cinema Screen */
.hero-screen-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(212, 175, 55, 0.12);
  margin-bottom: 2rem;
  background: #08060c;
  min-height: 410px;
  display: flex;
  align-items: stretch;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.45) saturate(1.15);
  transform: scale(1.03);
  transition: background-image 0.6s ease, transform 6s ease;
}

.hero-screen-wrapper:hover .hero-backdrop {
  transform: scale(1.06);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 12, 0.96) 0%, rgba(8, 6, 12, 0.82) 48%, rgba(8, 6, 12, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 6, 12, 0.96) 0%, rgba(8, 6, 12, 0.2) 50%, rgba(8, 6, 12, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding: 2.25rem 2.75rem;
  width: 100%;
}

.hero-poster-frame {
  width: 200px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  background: #14101c;
  transition: transform 0.3s ease;
}

.hero-poster-frame:hover {
  transform: scale(1.03);
}

.hero-poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-info {
  flex: 1;
  max-width: 780px;
}

.now-showing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(90deg, var(--velvet-bright), var(--velvet-primary));
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 15px rgba(185, 28, 50, 0.5);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.65rem;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.meta-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
}

.meta-badge.gold {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-bright);
}

.meta-badge.collection-tag {
  background: rgba(124, 19, 36, 0.55);
  border-color: rgba(255, 150, 165, 0.4);
  color: #ffd0d7;
  cursor: pointer;
}

.hero-cast-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.hero-cast-line strong {
  color: var(--gold-primary);
}

.hero-path-line {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.76rem;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .hero-meta-row, .hero-buttons {
    justify-content: center;
  }
  .hero-poster-frame {
    width: 150px;
  }
}

/* Concession / Lobby Controls Bar */
.lobby-controls {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  position: sticky;
  top: 0.75rem;
  z-index: 25;
}

.controls-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

/* View Mode Tabs */
.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.view-tab {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0.5rem 0.95rem;
  border-radius: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.view-tab:hover {
  color: var(--text-main);
}

.view-tab.active {
  background: linear-gradient(180deg, var(--velvet-bright) 0%, var(--velvet-primary) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(185, 28, 50, 0.5);
  border: 1px solid rgba(255, 224, 125, 0.45);
}

.tab-count {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--gold-bright);
}

/* Search & Dropdown Filters */
.filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box input {
  width: 100%;
  background: rgba(8, 6, 12, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.65rem 2.4rem 0.65rem 2.5rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  display: none;
}

.select-theater {
  background: rgba(8, 6, 12, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.62rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.select-theater:focus {
  border-color: var(--gold-bright);
}

/* Alphabet Quick Jump Bar */
.alpha-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.alpha-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-muted);
  min-width: 28px;
  height: 28px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.alpha-btn:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.1);
}

.alpha-btn.active {
  background: var(--gold-primary);
  color: #120c02;
  border-color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Active Filter Banner */
.active-filter-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(124, 19, 36, 0.45), rgba(20, 15, 28, 0.8));
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.15rem;
  margin-bottom: 1.25rem;
}

.active-filter-banner.visible {
  display: flex;
}

/* Results Status Row */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.results-bar strong {
  color: var(--gold-bright);
}

/* Movie Poster Grid (Auditorium Wall) */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 1.5rem;
}

.poster-grid.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.1rem;
}

.poster-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-poster);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.26s ease, box-shadow 0.26s ease;
}

.poster-card:hover {
  transform: translateY(-7px) scale(1.015);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.9), 0 0 22px rgba(212, 175, 55, 0.28);
  z-index: 5;
}

.poster-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #120e1a;
  overflow: hidden;
}

.poster-media img.main-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.poster-card:hover .poster-media img.main-poster {
  transform: scale(1.06);
}

/* Collection Stacked Poster Collage */
.collection-stack {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle at center, #2a1829 0%, #0e0a14 100%);
  overflow: hidden;
}

.collection-stack .stack-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.collection-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 100%);
  color: #160f02;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.24rem 0.55rem;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
  z-index: 3;
}

.year-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 8, 15, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  z-index: 3;
}

/* Hover Overlay on Poster */
.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 6, 12, 0.96) 0%, rgba(8, 6, 12, 0.45) 55%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.poster-card:hover .poster-overlay {
  opacity: 1;
}

.overlay-btn {
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright));
  color: #160f02;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  padding: 0.45rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.overlay-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-footer {
  padding: 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(25, 19, 34, 0.95) 0%, rgba(16, 12, 22, 1) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.poster-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-submeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.poster-folder-tag {
  font-size: 0.68rem;
  color: var(--gold-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Generic Classic Theater Fallback One-Sheet Poster */
.generic-theater-poster {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 30%, #5a1020 0%, #1d0812 65%, #0c060c 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
}

.generic-poster-border {
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold-primary);
  outline: 1px solid rgba(212, 175, 55, 0.35);
  outline-offset: -6px;
  padding: 1rem 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.generic-poster-header {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.generic-poster-icon {
  font-size: 2.2rem;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.generic-poster-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.generic-poster-footer {
  font-size: 0.68rem;
  color: var(--gold-bright);
  letter-spacing: 0.14em;
}

/* Screening Room Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 7, 0.88);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.screening-modal {
  background: #110d18;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  max-width: 1140px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 50px rgba(212, 175, 55, 0.2);
  position: relative;
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: sticky;
  top: 1rem;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 10, 22, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--velvet-bright);
  color: #fff;
  transform: rotate(90deg);
}

.modal-hero {
  position: relative;
  min-height: 320px;
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.modal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.38) saturate(1.15);
}

.modal-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #110d18 0%, rgba(17, 13, 24, 0.55) 60%, rgba(17, 13, 24, 0.75) 100%);
}

.modal-poster-wrap {
  position: relative;
  z-index: 2;
  width: 185px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
  background: #171221;
}

.modal-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-title-area {
  position: relative;
  z-index: 2;
  flex: 1;
}

.modal-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.modal-body {
  padding: 1.75rem 2.5rem 2.5rem;
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.05rem;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Media Details Table */
.file-specs-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

.spec-value.mono {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

/* Scene Gallery (Extrafanart & Extrathumbs) */
.stills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.85rem;
}

.still-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #0a080f;
  cursor: pointer;
}

.still-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.still-thumb:hover img {
  transform: scale(1.07);
}

/* Actors Cast Grid */
.actors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.85rem;
}

.actor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.actor-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.08);
}

.actor-photo-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #171221;
  overflow: hidden;
}

.actor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actor-name {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.35rem;
  color: var(--text-main);
  line-height: 1.25;
}

/* Sister Movies in Collection inside Modal */
.collection-movies-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  .modal-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .modal-body {
    padding: 1.25rem;
  }
}

/* Toast Notification */
.theater-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #1f162b, #120c1a);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  z-index: 200;
  font-size: 0.86rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.theater-toast.show {
  opacity: 1;
  transform: translateY(0);
}
