/* ==========================================================================
   OKEBIEN PLUS VIP - SISTEMA DE DISEÑO CINEMATOGRÁFICO DE ÉLITE
   Inspirado en Netflix, Prime Video y Streamvid (Modo Oscuro de Lujo)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-main: #06080d;
  --bg-surface: #0b0f19;
  --bg-card: #111726;
  --bg-card-hover: #192237;
  --bg-glass: rgba(11, 15, 25, 0.78);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.4);
  
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.35);
  --primary-dark: #6d28d9;
  --secondary: #06b6d4;
  --secondary-glow: rgba(6, 182, 212, 0.35);
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-cyan: #22d3ee;
  
  --text-main: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

#inicio, #peliculas, #tendencias, #generos, .movie-row {
  scroll-margin-top: 115px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   HEADER / NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.vip-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.65) 75%, transparent 100%);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-bottom 0.3s ease;
}

.vip-navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand-logo {
  height: 85px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.95));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .navbar-brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 22px rgba(6, 182, 212, 0.6));
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  color: #fff;
  font-size: 18px;
}

.brand-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-badge-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 220px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0 16px 0 40px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: width 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.search-input:focus {
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 14px;
}

.nav-action-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-action-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-watchlist-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-subscribe-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-subscribe-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* ==========================================================================
   HERO BILLBOARD (STREAMVID / NETFLIX ULTRA SHOWCASE)
   ========================================================================== */
.hero-billboard {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 860px;
  display: flex;
  align-items: flex-end;
  padding: 0 60px 100px;
  overflow: hidden;
}

.hero-backdrop-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-backdrop-img.switching {
  opacity: 0.2;
  transform: scale(1.06);
}

/* Advanced Cinematic Vignettes */
.hero-vignette-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-main) 10%, rgba(6, 8, 13, 0.7) 45%, transparent 80%);
}

.hero-vignette-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-main) 0%, rgba(6, 8, 13, 0.8) 35%, transparent 75%);
}

.hero-vignette-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, transparent 50%, rgba(6, 8, 13, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-content.switching {
  opacity: 0;
  transform: translateY(16px);
}

/* Controles de Navegación del Hero Slider */
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-billboard:hover .hero-slider-btn {
  opacity: 0.85;
}

.hero-slider-btn:hover {
  opacity: 1 !important;
  background: rgba(139, 92, 246, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev {
  left: 30px;
}

.hero-slider-btn.next {
  right: 30px;
}

/* Indicadores de Rotación */
.hero-pagination-container {
  position: absolute;
  bottom: 30px;
  right: 60px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 15, 25, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-slide-dot {
  position: relative;
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-slide-dot.active {
  width: 36px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-slide-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 3px;
}

.hero-slide-dot.active .hero-slide-progress {
  width: 100%;
  transition: width 7s linear;
}

.hero-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-pill-rating {
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-pill-quality {
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
}

.meta-pill-age {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.hero-synopsis {
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-hero-play {
  height: 52px;
  padding: 0 32px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  color: #0f172a;
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-hero-play:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.4);
  background: #ffffff;
}

.btn-hero-details {
  height: 52px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-hero-details:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-hero-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-hero-circle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* ==========================================================================
   CATEGORIES / GENRE ROWS & CAROUSELS (NETFLIX ROWS)
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 10;
  margin-top: 10px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.movie-row {
  padding: 0 60px;
  position: relative;
}

.row-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.row-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-title-bar {
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.row-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #f8fafc;
}

.row-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.row-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.row-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.row-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.row-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 18px 4px 28px 4px;
  margin: -18px -4px -28px -4px;
  scrollbar-width: none; /* Firefox */
}

.row-carousel::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}

/* ==========================================================================
   MOVIE CARD (3D HOVER ZOOM & STREAMVID STYLE)
   ========================================================================== */
.movie-card {
  position: relative;
  flex: 0 0 200px;
  width: 200px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--primary-glow);
  border-color: var(--border-glow);
  z-index: 15;
}

.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #0f172a;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .card-poster {
  transform: scale(1.06);
}

.card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.4) 40%, transparent 80%);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.card-badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-quality-tag {
  background: rgba(16, 185, 129, 0.85);
  color: #000;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
}

.card-badge-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: #facc15;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Hover Quick Play Overlay */
.card-hover-actions {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  background: rgba(6, 8, 13, 0.65);
  backdrop-filter: blur(4px);
  transition: opacity var(--transition-normal);
}

.movie-card:hover .card-hover-actions {
  opacity: 1;
}

.btn-card-quick-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--primary-glow);
  transform: scale(0.85);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.movie-card:hover .btn-card-quick-play {
  transform: scale(1);
}

.btn-card-quick-play:hover {
  transform: scale(1.12);
  box-shadow: 0 0 35px var(--secondary-glow);
}

.card-details {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.card-genre-pill {
  font-size: 11px;
  color: #a78bfa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

/* Continue Watching Progress Bar */
.card-progress-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.card-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

/* ==========================================================================
   CINEMA THEATER PLAYER MODAL (ULTRA FULLSCREEN CUSTOM PLAYER)
   ========================================================================== */
.cinema-player-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cinema-player-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.cinema-player-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.68) 60%, transparent 100%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cinema-player-modal:hover .cinema-player-header,
.cinema-player-modal.show-controls .cinema-player-header {
  opacity: 1;
}

.player-title-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-player-back {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.7);
  color: #ff3333;
  padding: 10px 28px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.player-exit-label {
  font-size: 17px;
  font-weight: 900;
  color: #ff3333;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-player-back:hover {
  background: rgba(239, 68, 68, 0.42);
  border-color: #ff3333;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.75);
  transform: scale(1.06);
}

.player-logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.player-brand-logo {
  height: 140px;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 18px rgba(6, 182, 212, 0.55));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-brand-logo:hover {
  transform: scale(1.04);
}

.player-movie-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.player-movie-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.cinema-video-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  cursor: default;
}

.cinema-native-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center Giant Play/Pause Flash */
.player-center-flash {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.player-center-flash.active {
  opacity: 1;
  transform: scale(1);
}

/* Loading Buffering Spinner */
.player-buffering-spinner {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 4px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
  z-index: 6;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Bottom Controls Bar (Glassmorphic) */
.cinema-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 40px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cinema-player-modal:hover .cinema-controls-bar,
.cinema-player-modal.show-controls .cinema-controls-bar {
  opacity: 1;
}

/* Scrubber / Seekbar */
.player-timeline-wrapper {
  position: relative;
  width: 100%;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.player-timeline-track {
  position: relative;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  transition: height 0.15s ease;
}

.player-timeline-wrapper:hover .player-timeline-track {
  height: 8px;
}

.player-timeline-buffered {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  width: 0%;
}

.player-timeline-played {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 3px;
  width: 0%;
}

.player-timeline-handle {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease;
}

.player-timeline-wrapper:hover .player-timeline-handle {
  transform: translate(-50%, -50%) scale(1);
}

.player-time-tooltip {
  position: absolute;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  display: none;
  white-space: nowrap;
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-controls-left,
.player-controls-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-ctrl {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-ctrl:hover {
  color: var(--secondary);
  transform: scale(1.12);
}

.player-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 75px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.player-time-display {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
}

.player-speed-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   MOVIE DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-box {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .detail-modal-box {
  transform: scale(1);
}

.btn-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.detail-modal-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.detail-modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-modal-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-surface) 0%, rgba(11, 15, 25, 0.5) 50%, transparent 100%);
}

.detail-modal-hero-content {
  position: absolute;
  bottom: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-modal-body {
  padding: 24px 32px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.detail-synopsis-text {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.detail-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  border-left: 1px solid var(--border-glass);
  padding-left: 20px;
}

.detail-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-info-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-info-val {
  color: #f1f5f9;
  font-weight: 600;
}

/* ==========================================================================
   SUBSCRIPTION MODAL (SUBSCRIPTION READY SYSTEM)
   ========================================================================== */
.sub-modal-box {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: 0 0 50px rgba(139, 92, 246, 0.25);
}

.sub-crown-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.5);
}

.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.sub-plan-card {
  padding: 16px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-plan-card:hover,
.sub-plan-card.active {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.sub-plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.sub-plan-price {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.sub-plan-save {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER MINIMAL PREMIUM — SIMPLE, ELEGANTE Y MÓVIL
   ========================================================================== */
.vip-footer {
  background: linear-gradient(180deg, #080b12 0%, #04060a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

/* Línea de brillo superior (arco iris de acento) */
.footer-top-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.7) 20%,
    rgba(6, 182, 212, 0.85) 50%,
    rgba(245, 158, 11, 0.7) 80%,
    transparent 100%);
}

/* Cuerpo principal — centrado y en columna */
.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  padding: 48px 24px calc(90px + env(safe-area-inset-bottom, 0px));
  max-width: 900px;
  margin: 0 auto;
}

/* Logo + tagline */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-logo-link:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 0;
}

/* Red de medios — pills con icono */
.footer-network-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-net-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.footer-net-pill i {
  font-size: 13px;
  color: var(--primary-light, #a78bfa);
  transition: color var(--transition-fast);
}

.footer-net-pill:hover {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.15);
}

.footer-net-pill:hover i {
  color: var(--accent-cyan);
}

/* Nav rápida */
.footer-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-row a {
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.footer-nav-row a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Divider */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* Fila de copyright */
.footer-copy-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copy-text {
  font-size: 12.5px;
  color: #475569;
}

.footer-copy-text strong {
  color: #64748b;
  font-weight: 700;
}

.footer-dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.footer-dev-credit i {
  color: #f59e0b;
  font-size: 11px;
}

.footer-dev-credit:hover {
  color: #facc15;
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-body {
    padding: 36px 20px calc(80px + env(safe-area-inset-bottom, 0px));
    gap: 24px;
  }

  .footer-logo-img {
    height: 52px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .footer-net-pill {
    font-size: 12px;
    padding: 7px 13px;
    gap: 6px;
  }

  .footer-copy-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .footer-net-pill span {
    display: none;
  }

  .footer-net-pill {
    padding: 9px 12px;
    border-radius: 50%;
    aspect-ratio: 1;
    justify-content: center;
  }

  .footer-net-pill i {
    font-size: 16px;
  }
}


/* ==========================================================================
   RESEÑA Y CRÍTICA CINEMATOGRÁFICA (EDITORIAL VIP)
   ========================================================================== */
.detail-critique-container {
  margin-top: 22px;
}

.critique-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.critique-score-badge {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #facc15;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-critique-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.detail-critique-text {
  font-size: 14px;
  line-height: 1.7;
  color: #f1f5f9;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.critique-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.critique-curator {
  color: var(--accent-cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.4px;
}

.critique-rec {
  color: var(--accent-emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   HERO SLIDER — ROTACIÓN ELEGANTE (CROSSFADE + CONTROLES)
   ========================================================================== */

/* Transición de fundido cruzado para el backdrop */
.hero-backdrop-img {
  transition: opacity 0.9s ease, transform 1.2s ease;
}
.hero-backdrop-img.fading {
  opacity: 0;
  transform: scale(1.04);
}

/* Contenido del hero con fade suave al cambiar */
.hero-content {
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-content.fading {
  opacity: 0;
  transform: translateY(14px);
}

/* Botones de navegación Prev / Next */
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(11, 15, 25, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.hero-slider-btn.prev { left: 28px; }
.hero-slider-btn.next { right: 28px; }

.hero-billboard:hover .hero-slider-btn {
  opacity: 1;
}
.hero-slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 32px var(--primary-glow);
}

/* Contenedor de paginación (dots) */
.hero-pagination-container {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Cada dot / indicador */
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: width 0.35s ease, background 0.3s ease;
  overflow: hidden;
  position: relative;
}
.hero-dot.active {
  width: 36px;
  background: rgba(255,255,255,0.2);
}

/* Barra de progreso interna del dot activo */
.hero-dot-progress {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

/* ==========================================================================
   TENDENCIAS VIP — SHOWCASE ROTATIVO CINEMATOGRÁFICO DE ALTA GAMA
   ========================================================================== */
.tendencias-vip-showcase {
  position: relative;
  margin: 10px 60px 48px 60px;
  scroll-margin-top: 90px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17, 23, 38, 0.88) 0%, rgba(11, 15, 25, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 45px rgba(245, 158, 11, 0.08);
  padding: 30px 36px 26px 36px;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.tendencias-vip-showcase:hover {
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 55px rgba(245, 158, 11, 0.16);
}

.tendencias-ambient-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  filter: blur(65px) brightness(0.24);
  opacity: 0.55;
  transform: scale(1.15);
  pointer-events: none;
  transition: background-image 0.8s ease-in-out, opacity 0.8s ease;
  z-index: 0;
}

.tendencias-inner-wrap {
  position: relative;
  z-index: 1;
}

/* Header */
.tendencias-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tendencias-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tendencias-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulseLiveDot 1.4s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px #fff; }
}

.tendencias-title-group {
  display: flex;
  flex-direction: column;
}

.tendencias-main-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tendencias-main-title .gold-accent {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tendencias-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
}

.tendencias-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tendencias-counter-badge {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.tendencias-ctrl-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tendencias-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.tendencias-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.tendencias-nav-btn:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
}

/* Spotlight Stage */
.tendencias-spotlight {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 36px;
  align-items: center;
  margin-bottom: 26px;
  min-height: 420px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tendencias-spotlight.switching {
  opacity: 0;
  transform: translateY(6px);
}

/* Left Wing - Movie Data */
.tendencias-info-wing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tendencias-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tendencias-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #000;
  font-size: 12px;
  font-weight: 900;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
  letter-spacing: 0.5px;
}

.tendencias-meta-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tendencias-movie-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.tendencias-credits {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tendencias-credits strong {
  color: #e2e8f0;
}

.tendencias-genres-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tendencias-genre-tag {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Synopsis Box */
.tendencias-synopsis-box {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid #8b5cf6;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.tendencias-box-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a78bfa;
  margin-bottom: 4px;
}

.tendencias-synopsis-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Critique Box */
.tendencias-critique-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.tendencias-critique-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.tendencias-critique-badge {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tendencias-critique-quote {
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.55;
  color: #fef3c7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Action Buttons */
.tendencias-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-tendencias-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  transition: all var(--transition-fast);
}

.btn-tendencias-play:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-tendencias-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-tendencias-info:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Right Wing - Poster */
.tendencias-poster-wing {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  max-width: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.28);
  border: 2px solid rgba(245, 158, 11, 0.45);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  justify-self: center;
}

.tendencias-poster-wing:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.95), 0 0 50px rgba(245, 158, 11, 0.45);
  border-color: #f59e0b;
}

.tendencias-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tendencias-poster-watermark {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  font-family: 'Outfit', sans-serif;
}

.tendencias-poster-play-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tendencias-poster-wing:hover .tendencias-poster-play-overlay {
  opacity: 1;
}

.tendencias-play-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
  transform: scale(0.8);
  transition: transform var(--transition-bounce);
}

.tendencias-poster-wing:hover .tendencias-play-circle {
  transform: scale(1);
}

/* Filmstrip Ribbon */
.tendencias-filmstrip-container {
  position: relative;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tendencias-filmstrip-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tendencias-filmstrip-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 14px 4px;
  scrollbar-width: none;
}

.tendencias-filmstrip-track::-webkit-scrollbar {
  display: none;
}

.filmstrip-card {
  position: relative;
  flex: 0 0 145px;
  width: 145px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-normal);
}

.filmstrip-card:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.3);
}

.filmstrip-card.active {
  border: 2px solid #f59e0b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.5);
  transform: translateY(-4px) scale(1.05);
}

.filmstrip-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.filmstrip-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmstrip-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 26px;
  height: 26px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 900;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filmstrip-card.active .filmstrip-rank {
  background: #f59e0b;
  color: #000;
}

.filmstrip-info {
  padding: 8px 10px;
  background: #0d1322;
}

.filmstrip-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filmstrip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Progress bar inside active filmstrip card */
.filmstrip-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

.filmstrip-card.active .filmstrip-progress {
  display: block;
}

.filmstrip-progress-bar {
  height: 100%;
  width: 0%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
  transition: width 0.1s linear;
}

/* ==========================================================================
   RESPONSIVE DESIGN Y EXPERIENCIA APP PREMIUM DE ÉLITE
   Móviles, Tablets y Adaptación Cinematográfica
   ========================================================================== */

/* Barra de Navegación Inferior Estilo App Móvil Nativa (Netflix / HBO Max style) */
.vip-mobile-appbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
  z-index: 95;
  align-items: center;
  justify-content: space-around;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

body.player-open .vip-mobile-appbar {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-appbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 12px;
  transition: color var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-appbar-item i {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

.mobile-appbar-item.active {
  color: #38bdf8;
}

.mobile-appbar-item.active i {
  transform: scale(1.15);
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.mobile-appbar-badge-wrap {
  position: relative;
  display: inline-flex;
}

.mobile-watchlist-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   REPRODUCTOR EN MÓVILES Y TABLETS: HORIZONTAL OBLIGATORIO (LANDSCAPE LOCK)
   ========================================================================== */

/* Regla para teléfonos y tabletas en posición vertical: Forzar rotación horizontal */
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .cinema-player-modal.active,
  .cinema-player-modal.mobile-force-landscape {
    width: 100vh !important;
    height: 100vw !important;
    max-width: 100vh !important;
    max-height: 100vw !important;
    position: fixed !important;
    top: 0 !important;
    left: 100vw !important;
    transform: rotate(90deg) !important;
    transform-origin: top left !important;
    z-index: 999999 !important;
    overflow: hidden !important;
  }
}

/* En dispositivos móviles en general (tanto horizontal como rotado) */
@media (max-width: 1024px) {
  .cinema-player-header {
    height: 90px;
    padding: 0 20px;
  }

  .player-brand-logo {
    height: 75px;
    max-width: 280px;
  }

  .btn-player-back {
    padding: 6px 18px;
    height: 42px;
  }

  .player-exit-label {
    font-size: 15px;
  }

  .player-movie-title {
    font-size: 16px;
  }

  .player-movie-subtitle {
    font-size: 11px;
  }

  .cinema-controls-bar {
    padding: 16px 20px 14px;
  }

  .btn-ctrl {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* ==========================================================================
   MEDIA QUERIES GLOBALES (MÓVIL / TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .vip-navbar {
    height: 84px;
    padding: 0 18px;
  }

  .navbar-brand-logo {
    height: 64px;
    max-width: 260px;
  }

  .nav-links {
    display: none;
  }

  .vip-mobile-appbar {
    display: flex;
  }

  .search-input {
    width: 140px;
  }

  .search-input:focus {
    width: 190px;
  }

  .btn-subscribe-cta {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-billboard {
    padding: 0 20px 60px;
    height: 72vh;
    min-height: 480px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-synopsis {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-hero-play {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .btn-hero-details {
    height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .btn-hero-circle {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .movie-row {
    padding: 0 18px;
  }

  .row-title {
    font-size: 18px;
  }

  .movie-card {
    flex: 0 0 145px;
    width: 145px;
  }

  .card-details {
    padding: 8px 10px;
  }

  .card-title {
    font-size: 13px;
  }

  .detail-modal-body {
    grid-template-columns: 1fr;
  }

  .detail-sidebar-info {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
  }

  .sub-plans-grid {
    grid-template-columns: 1fr;
  }

  /* Tendencias VIP Adaptación Móvil Impecable */
  .tendencias-vip-showcase {
    margin: 10px 14px 36px 14px;
    padding: 20px 16px 18px 16px;
    border-radius: var(--radius-md);
  }

  .tendencias-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .tendencias-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .tendencias-spotlight {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    margin-bottom: 18px;
  }

  .tendencias-poster-wing {
    max-width: 220px;
    order: -1;
    margin: 0 auto;
  }

  .tendencias-movie-title {
    font-size: 24px;
  }

  .tendencias-synopsis-box,
  .tendencias-critique-box {
    padding: 10px 12px;
  }

  .tendencias-synopsis-text {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .tendencias-critique-quote {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
  }

  .tendencias-actions {
    flex-direction: row;
    gap: 10px;
  }

  .btn-tendencias-play {
    padding: 10px 18px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
  }

  .btn-tendencias-info {
    padding: 10px 14px;
    font-size: 13px;
  }

  .tendencias-filmstrip-container {
    margin-top: 6px;
    padding-top: 12px;
  }

  .filmstrip-card {
    flex: 0 0 115px;
    width: 115px;
  }

  /* Modal de Detalles Responsive */
  .modal-backdrop-overlay {
    padding: 12px;
  }

  .detail-modal-box {
    max-height: 92vh;
    border-radius: var(--radius-md);
  }

  .detail-modal-hero {
    height: 200px;
  }

  .detail-modal-hero-content {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .detail-modal-body {
    padding: 18px;
    gap: 20px;
  }

  .vip-footer {
    padding: 30px 20px calc(85px + env(safe-area-inset-bottom, 0px));
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Teléfonos Pequeños (<= 480px) */
@media (max-width: 480px) {
  .vip-navbar {
    height: 76px;
    padding: 0 12px;
  }

  .navbar-brand-logo {
    height: 52px;
    max-width: 200px;
  }

  .search-box {
    display: none;
  }

  .btn-subscribe-cta span {
    display: none;
  }

  .btn-subscribe-cta {
    padding: 8px 10px;
    border-radius: 50%;
  }

  .hero-billboard {
    padding: 0 16px 50px;
    height: 68vh;
    min-height: 420px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-hero-play {
    flex: 1;
    justify-content: center;
  }

  .btn-hero-details {
    display: none;
  }

  .movie-row {
    padding: 0 14px;
  }

  .movie-card {
    flex: 0 0 130px;
    width: 130px;
  }

  .row-title {
    font-size: 16px;
  }
}

/* ==========================================================================
   MICRO-ANIMACIONES Y EFECTOS PREMIUM ÉLITE
   ========================================================================== */

/* Shimmer loading effect for cards */
@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton-card {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-md);
}

/* Floating glow pulsation on active elements */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px var(--primary-glow); }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

.filmstrip-card.active {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* Page entry animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.movie-row {
  animation: fadeInUp 0.5s ease both;
}

.movie-row:nth-child(1) { animation-delay: 0.05s; }
.movie-row:nth-child(2) { animation-delay: 0.12s; }
.movie-row:nth-child(3) { animation-delay: 0.18s; }
.movie-row:nth-child(4) { animation-delay: 0.24s; }
.movie-row:nth-child(5) { animation-delay: 0.30s; }

/* Gradient text utility */
.text-gradient-vip {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   DROPDOWN DE CATEGORÍAS EN NAVBAR (NETFLIX & DISNEY+ STYLE)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 330px;
  background: rgba(10, 14, 23, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(139, 92, 246, 0.25);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.nav-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.nav-dropdown-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.nav-dropdown-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav-dropdown-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.nav-dropdown-badge {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-dropdown-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dropdown-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-all-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   SECCIÓN DE CATEGORÍAS VIP (EXPLORADOR REORGANIZADO)
   ========================================================================== */
#generos {
  scroll-margin-top: 120px;
}

.genres-section {
  padding: 20px 60px 25px;
  position: relative;
  z-index: 10;
}

.genres-section-header {
  margin-bottom: 20px;
}

.genres-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.genre-card {
  position: relative;
  height: 94px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  text-decoration: none;
}

.genre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.82;
  transition: opacity 0.28s ease;
  z-index: 0;
}

.genre-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65), 0 0 25px rgba(139, 92, 246, 0.3);
}

.genre-card:hover::before {
  opacity: 1;
}

.genre-card-icon-badge {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.genre-card-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.genre-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.genre-card-count {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.genre-card-fe::before { background: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 100%); }
.genre-card-familia::before { background: linear-gradient(135deg, #0e7490 0%, #15803d 100%); }
.genre-card-drama::before { background: linear-gradient(135deg, #881337 0%, #be123c 100%); }
.genre-card-inspiracion::before { background: linear-gradient(135deg, #b45309 0%, #b91c1c 100%); }
.genre-card-historia::before { background: linear-gradient(135deg, #374151 0%, #1e3a5f 100%); }
.genre-card-accion::before { background: linear-gradient(135deg, #9a3412 0%, #b45309 100%); }

/* ==========================================================================
   BARRA DE FILTROS RÁPIDOS POR CATEGORÍA (PILLS)
   ========================================================================== */
.catalog-anchor {
  scroll-margin-top: 120px;
}

.category-pills-section {
  padding: 10px 60px 20px;
  position: relative;
  z-index: 10;
}

.category-pills-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-pills-container::-webkit-scrollbar {
  height: 4px;
}

.category-pills-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
}

.cat-pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.cat-pill-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-light);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.cat-pill-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   ANIMACIÓN DE RESALTE PARA FILAS DE CATEGORÍA
   ========================================================================== */
@keyframes rowPulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    background: transparent;
  }
  35% {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-lg);
  }
  100% {
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    background: transparent;
  }
}

.movie-row.highlight-pulse {
  animation: rowPulseGlow 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 900px) {
  .genres-section {
    padding: 15px 18px 20px;
  }

  .category-pills-section {
    padding: 5px 18px 15px;
  }

  .genres-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .genre-card {
    height: 78px;
    padding: 0 12px;
    gap: 10px;
  }

  .genre-card-icon-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 15px;
  }

  .genre-card-title {
    font-size: 13px;
  }

  .genre-card-count {
    font-size: 11px;
  }

  .nav-dropdown-menu {
    display: none !important;
  }

  .footer-links-grid {
    gap: 28px;
  }

  .vip-footer {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 480px) {
  .genres-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .genre-card {
    height: 72px;
    padding: 0 10px;
  }

  .genre-card-title {
    font-size: 12px;
  }

  .footer-brand-col {
    max-width: 100%;
  }
}

/* ==========================================================================
   BARRA DE RADIO EN VIVO — LIVE ANNOUNCEMENT BAR
   ========================================================================== */
.live-radio-bar {
  width: 100%;
  background: linear-gradient(90deg, #0a0e1a 0%, #101628 50%, #0a0e1a 100%);
  border-bottom: 1px solid rgba(139, 92, 246, 0.25);
  padding: 0;
  z-index: 110;
  position: relative;
  overflow: hidden;
}

.live-radio-bar::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.06), transparent);
  animation: radioBarShimmer 4s ease-in-out infinite;
}

@keyframes radioBarShimmer {
  0% { left: -60%; }
  100% { left: 160%; }
}

.radio-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 40px;
  max-width: 100%;
  overflow: hidden;
  flex-wrap: wrap;
}

.radio-bar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.radio-live-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: liveDotPulse 1.4s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px rgba(239, 68, 68, 0.8); }
  50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 16px rgba(239, 68, 68, 1); }
}

.radio-bar-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.radio-bar-label i {
  color: var(--primary-light, #a78bfa);
}

.radio-bar-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
  flex-wrap: wrap;
}

.radio-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.radio-bar-link:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

.radio-bar-link i {
  color: var(--accent-cyan);
  font-size: 11px;
}

.radio-bar-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
  flex-shrink: 0;
}

.radio-bar-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  transition: color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.radio-bar-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Body offset when radio bar is visible */
body.has-radio-bar .vip-navbar {
  top: 37px;
}

/* ==========================================================================
   SECCIÓN DE ESTADÍSTICAS DEL ECOSISTEMA
   ========================================================================== */
.ecosystem-stats-section {
  padding: 80px 60px;
  background: linear-gradient(180deg, #07091100 0%, #08091580 30%, #08091580 70%, #07091100 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ecosystem-stats-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-section-header {
  max-width: 700px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.stats-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light, #a78bfa);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 5px 16px;
  border-radius: var(--radius-full);
}

.stats-section-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(17, 23, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: default;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--stat-color, var(--primary)), transparent);
  opacity: 0.7;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.08);
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--stat-color, var(--primary)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--stat-color, var(--primary)) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--stat-color, var(--primary));
  margin-bottom: 4px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--stat-color, var(--primary)) 20%, transparent);
}

.stat-number {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #fff;
  display: inline;
}

.stat-unit {
  font-size: 32px;
  font-weight: 900;
  color: var(--stat-color, var(--primary));
  display: inline;
  line-height: 1;
  margin-left: -4px;
}

.stat-label {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 4px;
}

.stat-sublabel {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Network Logos Pill Row */
.network-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
  position: relative;
  z-index: 1;
}

.network-logos-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-right: 4px;
}

.network-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.network-logo-pill i {
  color: var(--primary-light, #a78bfa);
  font-size: 14px;
}

.network-logo-pill:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.45);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

/* Responsive Stats */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-stats-section {
    padding: 60px 20px;
  }

  .stats-section-title {
    font-size: 28px;
  }

  .radio-bar-inner {
    padding: 8px 20px;
    gap: 10px;
  }

  .radio-bar-links {
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stat-number { font-size: 38px; }
  .stat-unit { font-size: 24px; }
  .stat-label { font-size: 13px; }

  .radio-bar-links {
    display: none;
  }

  .radio-bar-inner {
    justify-content: space-between;
  }

  .stats-section-title {
    font-size: 24px;
  }

  .network-logos-row {
    gap: 8px;
  }

  .network-logo-pill {
    font-size: 12px;
    padding: 6px 12px;
  }
}

