/* Coredigits Explore - Premium Global Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  /* Color Palette (Deep Space Theme) */
  --bg-primary: #08070d;
  --bg-secondary: #0f0d1a;
  --bg-tertiary: #161326;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Accent Colors */
  --accent-color: #7c3aed; /* Deep Violet */
  --accent-glow: rgba(124, 58, 237, 0.45);
  --accent-hover: #8b5cf6;
  
  /* Glassmorphism Details */
  --glass-bg: rgba(15, 13, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  
  /* Layout Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--text-primary);
}

/* Glassmorphism Navigation Bar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px var(--glass-shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Decoupled Search Widget CSS */
.search-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-trigger:hover,
.search-trigger:focus-visible {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
  outline: none;
}

.search-trigger-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--text-muted);
  transition: var(--transition-smooth);
}

.search-trigger:hover .search-trigger-icon,
.search-trigger:focus-visible .search-trigger-icon {
  fill: var(--accent-hover);
}

.search-plane {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
}

.search-plane.active {
  display: block;
}

.search-plane-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 13, 0.72);
  backdrop-filter: blur(10px);
}

.search-plane-panel {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: min(560px, calc(100vw - 2rem));
  max-height: min(720px, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(15, 13, 26, 0.96);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  padding: 1.25rem;
}

.search-plane-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.search-plane-kicker {
  color: var(--accent-hover);
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.search-plane-header h2 {
  font-size: 1.25rem;
}

.search-plane-close {
  border: 1px solid var(--glass-border);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.search-plane-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  padding-left: 2.7rem;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

.search-icon-svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  fill: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.search-input:focus ~ .search-icon-svg,
.search-plane-input-wrap:focus-within .search-icon-svg {
  fill: var(--accent-hover);
}

.search-results-dropdown {
  position: static;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: none;
  max-height: min(440px, 52vh);
  overflow-y: auto;
  display: block;
  min-height: 160px;
}

.search-results-empty {
  color: var(--text-muted);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
}

.search-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background: var(--bg-tertiary);
}

.search-item-thumbnail {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
}

.search-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.search-item-summary {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-type {
  color: var(--accent-hover);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.search-item-taxonomy {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 0.22rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adsense-container {
  display: block;
  width: 100%;
  min-height: 96px;
  margin: 2rem auto;
  padding: 0.75rem;
  border: 1px dashed var(--glass-border);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  color: var(--text-muted);
  text-align: center;
  overflow: hidden;
}

.adsense-sidebar {
  min-height: 250px;
  margin: 1.25rem 0 0;
}

.adsense-below-content {
  max-width: 1120px;
  min-height: 120px;
}

.adsense-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.adsense-slot-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  font-size: 0.78rem;
}

/* Page Layout Wrappers */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Article & Episode Page Styles */
.episode-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .episode-container {
    grid-template-columns: 2.2fr 1fr;
  }
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--accent-hover);
}

.episode-header {
  margin-bottom: 2rem;
}

.episode-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.episode-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  gap: 1.5rem;
}

.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 9;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.2);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px var(--accent-glow);
  transition: var(--transition-smooth);
}

.play-overlay:hover .play-btn {
  transform: scale(1.1);
  background: var(--accent-hover);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

/* Sidebar Sections */
.sidebar-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
}

/* Grid of Cards (Homepage / Universes) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.card-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card:hover .card-thumbnail img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Taxonomy pills (content pages + homepage) */
.taxonomy-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
}

.taxonomy-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.taxonomy-pill:hover {
  color: #fff;
  border-color: var(--accent-hover);
  background: rgba(139, 92, 246, 0.28);
}

/* Homepage */
.explore-home {
  max-width: 1120px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}

.explore-home-hero {
  margin-bottom: 2.5rem;
}

.explore-home-kicker {
  color: #a78bfa;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.explore-home-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.65rem;
}

.explore-home-lede {
  color: var(--text-secondary);
  max-width: 760px;
  font-size: 1.08rem;
}

.explore-home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.explore-home-stat {
  background: rgba(124, 58, 237, 0.13);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.86rem;
}

.explore-home-category {
  margin-top: 3rem;
}

.explore-home-category-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.explore-home-category-header h2 {
  font-size: 1.7rem;
  margin: 0;
}

.explore-home-view-all,
.explore-home-card-link {
  color: #a78bfa;
  font-size: 0.9rem;
  font-weight: 700;
}

.explore-home-card-link {
  display: inline-flex;
  margin-top: 1rem;
}

.explore-home-category-badge {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #c084fc;
  text-transform: uppercase;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.15);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
}

.explore-home-taxonomy {
  margin-top: 3rem;
}

.explore-home-taxonomy h2 {
  font-size: 1.7rem;
  margin: 0 0 1rem;
}

.explore-home-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.explore-home-taxonomy-pill {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: #c4b5fd;
  font-weight: 700;
  font-size: 0.86rem;
}

.explore-home-taxonomy-pill:hover {
  border-color: rgba(139, 92, 246, 0.45);
  color: #fff;
}

.explore-home-taxonomy-count {
  color: #94a3b8;
  font-size: 0.75rem;
}

.explore-home-empty {
  margin-top: 2rem;
}

.explore-home-empty p,
.explore-home-empty-note {
  color: var(--text-secondary);
}

/* YouTube Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 13, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--accent-hover);
  transform: scale(1.1);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

/* ==========================================================================
   COREDIGITS CINEMA THEME - THEATRICAL EXPERIENCE SYSTEM
   ========================================================================== */

:root {
  --cinema-gold: #f59e0b;
  --cinema-gold-bright: #fbbf24;
  --cinema-gold-glow: rgba(245, 158, 11, 0.35);
  --cinema-amber: #d97706;
  --cinema-violet: #8b5cf6;
  --cinema-violet-glow: rgba(139, 92, 246, 0.3);
  --cinema-bg-dark: #06070a;
  --cinema-card-bg: rgba(13, 15, 23, 0.88);
  --cinema-glass-border: rgba(255, 255, 255, 0.08);
  --cinema-gold-border: rgba(245, 158, 11, 0.3);
}

/* Ambient Film Grain & Vignette on Explore Home */
.cinema-home {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  position: relative;
}

/* Premiere Marquee Hero Spotlight */
.cinema-marquee {
  position: relative;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--cinema-gold-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 158, 11, 0.12);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  background-color: #08090e;
}

.cinema-marquee-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinema-marquee:hover .cinema-marquee-backdrop {
  transform: scale(1.05);
}

.cinema-marquee-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(6, 7, 10, 0.96) 0%, rgba(6, 7, 10, 0.8) 45%, rgba(6, 7, 10, 0.35) 75%, rgba(6, 7, 10, 0.6) 100%),
    linear-gradient(0deg, #06070a 0%, rgba(6, 7, 10, 0.7) 40%, transparent 80%);
  pointer-events: none;
}

.cinema-marquee-content {
  position: relative;
  z-index: 2;
  padding: 3rem 3.5rem;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .cinema-marquee {
    min-height: 420px;
  }
  .cinema-marquee-content {
    padding: 2rem 1.5rem;
  }
}

/* Accolades & Format Specs */
.cinema-laurel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cinema-laurel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--cinema-gold-bright);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cinema-specs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cinema-marquee-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.02em;
}

.cinema-marquee-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--cinema-gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinema-marquee-synopsis {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Call to Actions */
.cinema-marquee-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-cinema-watch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #06070a;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4), 0 0 30px rgba(245, 158, 11, 0.2);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cinema-watch:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6), 0 0 40px rgba(245, 158, 11, 0.35);
  color: #000000;
}

.btn-cinema-watch svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-cinema-guide {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f1f5f9;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.25s ease;
}

.btn-cinema-guide:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Studio Production Reel / Stats Ribbon */
.cinema-production-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(13, 15, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--cinema-glass-border);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 900px) {
  .cinema-production-ribbon {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 540px) {
  .cinema-production-ribbon {
    grid-template-columns: 1fr;
  }
}

.cinema-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cinema-stat-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cinema-stat-number .highlight {
  color: var(--cinema-gold);
}

.cinema-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

/* Screening Room Category Filter Tabs */
.cinema-screening-controls {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cinema-controls-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--cinema-glass-border);
  padding-bottom: 0.85rem;
}

.cinema-section-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinema-gold);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cinema-section-kicker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--cinema-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cinema-gold);
}

.cinema-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.cinema-filter-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cinema-filter-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--cinema-glass-border);
  color: #94a3b8;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cinema-filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cinema-filter-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--cinema-gold);
  color: var(--cinema-gold-bright);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.cinema-filter-btn .filter-badge {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  color: inherit;
}

.cinema-filter-btn.active .filter-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #ffffff;
}

/* 16:9 Theatrical Screening Cards Grid */
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .cinema-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.cinema-card {
  background: var(--cinema-card-bg);
  border: 1px solid var(--cinema-glass-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.cinema-card:hover {
  transform: translateY(-6px);
  border-color: var(--cinema-gold-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.15);
}

.cinema-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* 16:9 Aspect Ratio Container */
.cinema-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090a10;
  overflow: hidden;
}

.cinema-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.cinema-card:hover .cinema-card-img {
  transform: scale(1.06);
  filter: contrast(1.05) brightness(1.03);
}

/* Cinema Play Hover Overlay */
.cinema-play-hover {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.cinema-card:hover .cinema-play-hover {
  opacity: 1;
}

.cinema-play-disc {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.7);
  transform: scale(0.85);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cinema-card:hover .cinema-play-disc {
  transform: scale(1);
}

.cinema-play-disc svg {
  width: 22px;
  height: 22px;
  fill: #06070a;
  margin-left: 3px;
}

/* Top Floating Badges */
.cinema-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.cinema-genre-tag {
  background: rgba(9, 10, 16, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
}

.cinema-episodes-tag {
  background: rgba(245, 158, 11, 0.9);
  color: #06070a;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Card Body Content */
.cinema-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.cinema-card-title {
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f8fafc;
  margin: 0;
  transition: color 0.2s ease;
}

.cinema-card:hover .cinema-card-title {
  color: var(--cinema-gold-bright);
}

.cinema-card-synopsis {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cinema-card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cinema-card-footer .author {
  color: #94a3b8;
}

.cinema-card-footer .action-hint {
  color: var(--cinema-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Animation for Smooth Filtering */
.cinema-card.filtered-out {
  display: none !important;
}

@keyframes cinemaFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cinema-card.anim-fade-in {
  animation: cinemaFadeIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

