/* ═══════════════════════════════════════════════════════════
   MUVBY — Movie Player Stylesheet
   Shared across all movie / TV-show pages.
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --bg:           #050508;
  --bg2:          #0d0d12;
  --surface:      rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.07);
  --accent:       #e50914;
  --accent-glow:  rgba(229,9,20,0.4);
  --gold:         #f5c518;
  --text:         #f0f0f5;
  --text2:        #8888a0;
  --text3:        #44445a;
  --radius:       12px;
  --t:            0.3s cubic-bezier(.4,0,.2,1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Back Button ────────────────────────────────────────── */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,13,20,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(12px);
  transition: all var(--t);
}
.back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

/* YouTube / video background container */
#player-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#player-bg iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
  transition: filter 0.6s ease;
}

/* Direct-video hero background — object-fit:cover, no black bars */
#hero-video,
#player-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  transition: filter 0.6s ease;
}

/* Static fallback poster — background-image set via inline style per page */
.hero-static-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.45);
  transition: opacity 1s ease, filter 0.6s ease;
}

/* Multi-layer gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg,   rgba(5,5,8,1)   0%, rgba(5,5,8,0.65) 30%, transparent 65%),
    linear-gradient(90deg,  rgba(5,5,8,0.9) 0%, rgba(5,5,8,0.4)  45%, transparent 70%),
    linear-gradient(180deg, rgba(5,5,8,0.6) 0%, transparent 20%);
}

/* Noise grain texture */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Hero content area */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 60px 70px;
  width: 100%;
  max-width: 760px;
}

/* Studio / brand line (hover-reveal) */
.studio-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t);
}
.studio-line .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text2); }
.studio-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text2);
}

/* Main title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 0.92;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 6px 40px rgba(0,0,0,0.7);
}
.hero-logo-img {
  display: block;
  max-height: clamp(80px, 12vw, 160px);
  width: auto;
  max-width: 560px;
  object-fit: contain;
  filter: drop-shadow(0 6px 40px rgba(0,0,0,0.7));
}

/* Meta pills row */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.meta-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}
.meta-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text2);
}
.meta-pill.hd {
  background: rgba(229,9,20,0.12);
  border-color: rgba(229,9,20,0.25);
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Hover / tap reveal */
.hero-hover-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.hero:hover .hero-hover-reveal,
.hero.reveal .hero-hover-reveal {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero:hover .studio-line,
.hero.reveal .studio-line {
  opacity: 1;
  transform: translateY(0);
}

/* Description */
.hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240,240,245,0.75);
  max-width: 540px;
  margin-bottom: 24px;
  font-weight: 300;
}

/* Actors row */
.actors-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.actors-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  margin-right: 4px;
}
.actor-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4px 12px 4px 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  transition: all var(--t);
}
.actor-chip:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }
.actor-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #333, #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  overflow: hidden;
}
.actor-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  transition: all var(--t);
  cursor: pointer;
}
.btn-watch {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-watch:hover {
  background: #ff1f2b;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(229,9,20,0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text3);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: floatY 2.5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Live viewer badge */
.live-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,10,16,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  backdrop-filter: blur(12px);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.8); } }

/* ══════════════════════════════════════════════════════════
   VIDEO PLAYER SECTION
══════════════════════════════════════════════════════════ */
.player-section {
  background: var(--bg2);
  padding: 60px 0 40px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section label (e.g. "● NOW PLAYING") */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 20px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-label .accent { color: var(--accent); }

/* Player wrapper */
.player-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  border: 1px solid var(--border);
  transition: filter 0.5s ease;
}
.player-wrap.blurred { filter: blur(7px) brightness(0.5); }

/* Video.js element */
#play-video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
}

/* ── Video.js Custom Dark Skin ──────────────────────────── */
.video-js .vjs-control-bar {
  background: linear-gradient(0deg, rgba(5,5,8,0.95) 0%, transparent 100%) !important;
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
.video-js .vjs-button > .vjs-icon-placeholder::before,
.video-js .vjs-time-control { color: rgba(255,255,255,0.9) !important; }
.video-js .vjs-play-progress,
.video-js .vjs-volume-level { background: var(--accent) !important; }
.video-js .vjs-slider { background: rgba(255,255,255,0.15) !important; }
.video-js .vjs-load-progress { background: rgba(255,255,255,0.25) !important; }
.video-js .vjs-big-play-button {
  background: var(--accent) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 72px !important;
  height: 72px !important;
  line-height: 72px !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0    rgba(229,9,20,0.5); }
  70%  { box-shadow: 0 0 0 20px rgba(229,9,20,0);   }
  100% { box-shadow: 0 0 0 0    rgba(229,9,20,0);   }
}
.video-js .vjs-big-play-button .vjs-icon-placeholder::before { font-size: 30px !important; }
.video-js:hover .vjs-big-play-button { background: #ff1f2b !important; }
.video-js .vjs-progress-control:hover .vjs-play-progress::before { color: var(--accent) !important; }
.video-js .vjs-time-tooltip { background: var(--accent) !important; color: #fff !important; }

/* Quality badge overlaid on player */
.player-quality-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(5,5,8,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  backdrop-filter: blur(6px);
}

/* ══════════════════════════════════════════════════════════
   CPA LOCKER OVERLAY
══════════════════════════════════════════════════════════ */
#locker-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  align-items: center;
  justify-content: center;
  background: rgba(5,5,8,0.55);
  backdrop-filter: blur(2px);
}
#locker-overlay.active { display: flex; }

.locker-card {
  background: rgba(13,13,20,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  backdrop-filter: blur(24px);
}
.locker-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(229,9,20,0.12);
  border: 1px solid rgba(229,9,20,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
  color: var(--accent);
}
.locker-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.locker-sub {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
#adbluemedia-locker {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════
   LIVE NOTIFICATION TOASTS
══════════════════════════════════════════════════════════ */
#notif-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.notif-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13,13,20,0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
  max-width: 290px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
.notif-toast.show { transform: translateX(0); opacity: 1; }
.notif-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e50914, #6c00ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.notif-text { font-size: 12px; line-height: 1.5; }
.notif-text strong { color: var(--text); font-weight: 600; }
.notif-text span { color: var(--text2); }
.notif-time { font-size: 10px; color: var(--text3); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════
   MOVIE INFO SECTION
══════════════════════════════════════════════════════════ */
.movie-info { padding: 48px 0 64px; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.info-title {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.info-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.info-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240,240,245,0.7);
  font-weight: 300;
  margin-bottom: 28px;
}
.info-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all var(--t);
}
.tag:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }

/* Sidebar details card */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sidebar-card h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text2); }
.detail-val { font-weight: 500; color: var(--text); }
.detail-val.accent { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   EPISODES SECTION  (TV shows)
══════════════════════════════════════════════════════════ */
.episodes-section { background: var(--bg); padding: 0 0 60px; }

.episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.episodes-header .section-label { margin-bottom: 0; flex: 1; }

/* Season selector dropdown */
.season-selector { position: relative; }
.season-select-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.season-select-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}
.season-select-btn.open { border-color: var(--accent); }

.season-chevron {
  font-size: 11px;
  color: var(--text2);
  transition: transform var(--t);
}
.season-select-btn.open .season-chevron { transform: rotate(180deg); }

.season-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: rgba(13,13,20,0.97);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  z-index: 50;
  box-shadow: 0 16px 48px rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.season-dropdown-list.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.season-option {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--t);
}
.season-option:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.season-option.active { color: var(--accent); font-weight: 600; }

/* Episode list */
.episode-list { display: flex; flex-direction: column; gap: 6px; }

.ep-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 10px;
  padding: 12px 18px 12px 12px;
  cursor: pointer;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.ep-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  border-left-color: rgba(255,255,255,0.12);
  transform: translateX(3px);
}
.ep-card.active {
  border-left-color: var(--accent);
  background: rgba(229,9,20,0.06);
  border-color: rgba(229,9,20,0.18);
}

/* Active / currently-playing episode */
.ep-card.active-episode {
  background: linear-gradient(135deg, rgba(40,10,10,0.97) 0%, rgba(22,7,7,0.99) 100%);
  border-left-color: var(--accent);
  border-color: rgba(229,9,20,0.4);
  box-shadow:
    0 0 0 1px  rgba(229,9,20,0.12),
    0 0 28px   rgba(229,9,20,0.20),
    0 10px 36px rgba(0,0,0,0.55);
  transform: scale(1.015);
  z-index: 2;
}
.ep-card.active-episode:hover { transform: scale(1.015); }
.ep-card.active-episode .ep-title    { color: #ffffff; font-weight: 700; }
.ep-card.active-episode .ep-duration { color: rgba(255,255,255,0.65); }
.ep-card.active-episode .ep-desc     { color: rgba(255,255,255,0.5); }

/* Equalizer animation bars */
.ep-equalizer {
  position: absolute;
  bottom: 8px; left: 8px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
}
.ep-equalizer span {
  display: block;
  width: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  transform-origin: bottom center;
  animation: ep-eq 0.75s ease-in-out infinite alternate;
}
.ep-equalizer span:nth-child(1) { height:  8px; animation-duration: 0.60s; animation-delay: 0.00s; }
.ep-equalizer span:nth-child(2) { height: 18px; animation-duration: 0.80s; animation-delay: 0.18s; }
.ep-equalizer span:nth-child(3) { height: 11px; animation-duration: 0.52s; animation-delay: 0.07s; }
.ep-equalizer span:nth-child(4) { height: 15px; animation-duration: 0.70s; animation-delay: 0.27s; }
@keyframes ep-eq {
  from { transform: scaleY(0.2); opacity: 0.6; }
  to   { transform: scaleY(1.0); opacity: 1.0; }
}

/* Episode number */
.ep-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text3);
  min-width: 30px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}
.ep-card.active .ep-num { color: var(--accent); }

/* Episode thumbnail */
.ep-thumb-wrap {
  position: relative;
  width: 180px;
  aspect-ratio: 16/9;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}
.ep-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ep-card:hover .ep-thumb { transform: scale(1.06); }

.ep-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity var(--t);
  font-size: 18px;
  color: #fff;
}
.ep-card:hover .ep-play-icon { opacity: 1; }
.ep-card.active .ep-play-icon { opacity: 1; background: rgba(229,9,20,0.3); }

.ep-now-playing {
  position: absolute;
  bottom: 6px; left: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  pointer-events: none;
}

/* Episode info column */
.ep-info { flex: 1; min-width: 0; }

.ep-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.ep-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-card.active .ep-title { color: #fff; }

.ep-duration {
  font-size: 12px;
  color: var(--text2);
  font-weight: 500;
  flex-shrink: 0;
}
.ep-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  (≤ 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Hero — full screen */
  .hero {
    position: relative !important;
    height: 100svh !important;
    width: 100% !important;
    min-height: unset !important;
    overflow: hidden !important;
  }

  /* Hide YouTube trailer on mobile — static poster only */
  #player-bg { display: none !important; }

  /* Static poster — layout overrides (background-image comes from inline style) */
  #hero-static-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    filter: brightness(0.55) !important;
    z-index: 1 !important;
    opacity: 1 !important;
    transition: none !important;
  }

  /* Gradient overlay */
  .hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(
      to top,
      rgba(5,5,8,1)    0%,
      rgba(5,5,8,0.75) 30%,
      rgba(5,5,8,0.2)  65%,
      transparent      100%
    ) !important;
    pointer-events: none !important;
  }
  .hero-grain { display: none !important; }

  /* Hero content pinned to bottom */
  .hero-content {
    position: absolute !important;
    bottom: 1% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    padding: 0 20px 36px !important;
    max-width: 100% !important;
    background: none !important;
  }

  /* All hover-reveal content visible immediately on touch devices */
  .hero-hover-reveal {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .studio-line { opacity: 1 !important; transform: none !important; }

  /* Typography */
  .hero-title { font-size: 42px !important; line-height: 1 !important; }
  .hero-meta  { margin-bottom: 12px !important; }
  .hero-desc  {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
  }

  /* Buttons — full-width stacked */
  .hero-actions { flex-direction: column !important; gap: 8px !important; }
  .btn {
    justify-content: center !important;
    width: 100% !important;
    padding: 13px 20px !important;
  }

  /* Hide decorative chrome */
  .live-badge      { display: none !important; }
  .hero-scroll-cue { display: none !important; }

  /* Player section spacing */
  .player-section { padding-top: 28px !important; margin-top: 40px !important; }

  /* Info — single column */
  .info-grid { grid-template-columns: 1fr !important; }

  /* Episodes — compact layout */
  .ep-thumb-wrap { width: 120px !important; }
  .ep-num        { display: none !important; }
  .ep-desc       { display: none !important; }
  .ep-card       { gap: 12px !important; }
}
