/* ==========================================================================
   ZetaFlix Featured Spotlight Section — Netflix Style
   Cinematic widescreen cards, interactive hover elevations, rich metadata
   ========================================================================== */

.zf-featured-module {
  margin-top: 6px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  clear: both;
}

/* Header Title & Section Branding */
.zf-featured-module .module-title {
  margin-bottom: 12px !important;
}

.zf-featured-header-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.zf-featured-header-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #e50914 0%, #ff3d47 100%);
  border-radius: 2px;
}

/* Featured Tabs Menu Pills */
.zf-featured-module .featured-menu {
  display: inline-flex;
  gap: 8px;
  margin-left: 14px;
  padding: 0;
  list-style: none;
}

.zf-featured-module .featured-menu li a {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #9aa3ab;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.zf-featured-module .featured-menu li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.zf-featured-module .featured-menu li a.active {
  color: #ffffff;
  background: #e50914;
  border-color: #e50914;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

/* Disable legacy theme padding/scale overrides for Featured module */
.zf-featured-module .module-content,
.zf-featured-module .hz-module-content,
.zf-featured-module .vt-module-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.zf-featured-module .module-item,
.zf-featured-module .zf-featured-card,
.zf-featured-module.vertical .module-item,
.zf-featured-module.horizontal .module-item,
.zf-featured-module .hz-module-content .module-item,
.zf-featured-module .module-content .module-item {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  transform: none !important;
  box-shadow: none !important;
}

.zf-featured-carousel.owl-carousel .owl-item,
.zf-featured-carousel.owl-carousel .owl-item:hover,
.zf-featured-carousel.owl-carousel .owl-item.hover {
  transform: none !important;
  transition: none !important;
}

/* Featured Carousel Stage */
.zf-featured-carousel.owl-carousel {
  position: relative !important;
  padding: 8px 0 16px 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.zf-featured-carousel .owl-stage-outer {
  overflow: hidden !important;
  padding: 8px 0 16px 0 !important;
  border-radius: 10px;
}

/* Featured Card Inner Box (16:9 full poster fill) */
.zf-featured-card {
  position: relative;
  display: block;
  width: 100%;
  z-index: 1;
}

.zf-featured-card:hover {
  z-index: 50;
}

.zf-feat-inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* Perfect 16:9 aspect ratio */
  border-radius: 10px;
  overflow: hidden;
  background: #111419;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.zf-featured-card:hover .zf-feat-inner {
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(229, 9, 20, 0.35);
  border-color: rgba(229, 9, 20, 0.8);
}

/* Media Link & Full Poster */
.zf-feat-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.zf-feat-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s ease;
}

.zf-featured-card:hover .zf-feat-img {
  transform: none;
}

/* Gradient Overlay */
.zf-feat-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.zf-featured-card:hover .zf-feat-gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.98) 100%);
}

/* Top Badges */
.zf-feat-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
}

.zf-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #e50914 0%, #b81d24 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(229, 9, 20, 0.45);
  text-transform: uppercase;
}

.zf-badge-star {
  color: #ffde59;
  font-size: 11px;
}

.zf-badge-quality {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #7dffc4;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}

/* Netflix Style Center Play Button */
.zf-feat-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  z-index: 5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.zf-feat-play-btn svg {
  margin-left: 2px;
}

.zf-featured-card:hover .zf-feat-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.zf-featured-card:hover .zf-feat-play-btn:hover {
  background: #e50914;
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.65);
}

/* Bottom Metadata Information */
.zf-feat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  z-index: 4;
}

.zf-feat-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.zf-feat-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: #b3b3b3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zf-feat-rating {
  color: #ffb800;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.zf-feat-year {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
}

.zf-feat-genre {
  color: #9aa3ab;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navigation Arrow Overrides */
.zf-featured-module .owl-nav button.owl-prev,
.zf-featured-module .owl-nav button.owl-next {
  width: 36px !important;
  height: 36px !important;
  background: rgba(17, 20, 25, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.25s ease !important;
  top: 45% !important;
}

.zf-featured-module .owl-nav button.owl-prev:hover,
.zf-featured-module .owl-nav button.owl-next:hover {
  background: #e50914 !important;
  border-color: #e50914 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.5) !important;
}

/* ==========================================================================
   Hero Spotlight Billboard Layout (1-Big Movie at a Time)
   ========================================================================== */

.zf-hero-spotlight-module {
  width: 100% !important;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #08090c;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.zf-hero-spotlight-carousel.owl-carousel {
  position: relative;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.zf-hero-spotlight-carousel .owl-stage-outer {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 14px;
  overflow: hidden !important;
}

.zf-hero-spotlight-carousel .owl-stage {
  display: flex !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.zf-hero-spotlight-carousel .owl-item {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.zf-hero-slide {
  position: relative;
  width: 100% !important;
  min-height: 520px;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  padding: 44px 58px;
  box-sizing: border-box !important;
  transform: none !important;
}

.zf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 12, 0.96) 0%, rgba(8, 9, 12, 0.82) 45%, rgba(8, 9, 12, 0.3) 78%, rgba(8, 9, 12, 0.08) 100%);
  z-index: 1;
}

.zf-hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 12, 0.85) 75%, rgba(8, 9, 12, 1) 100%);
  z-index: 2;
  pointer-events: none;
}

.zf-hero-container {
  position: relative;
  z-index: 5;
  max-width: 640px;
}

.zf-hero-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  background: #e50914;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

.zf-hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.zf-hero-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.zf-hero-title a:hover {
  color: #ff3344;
}

.zf-hero-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.zf-hero-imdb-badge {
  background: #f5c518;
  color: #000000;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zf-hero-dot-separator {
  color: #64748b;
}

.zf-hero-overview {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 22px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zf-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zf-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.zf-hero-btn-play {
  background: linear-gradient(135deg, #e50914 0%, #b80610 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.45);
}

.zf-hero-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.65);
  background: linear-gradient(135deg, #ff1a24 0%, #d40813 100%);
}

.zf-hero-btn-info {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zf-hero-btn-info:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Owl Dots for Hero Spotlight */
.zf-hero-spotlight-carousel .owl-dots {
  position: absolute;
  bottom: 22px;
  right: 36px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zf-hero-spotlight-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3) !important;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 !important;
  cursor: pointer;
}

.zf-hero-spotlight-carousel .owl-dots .owl-dot.active {
  width: 28px;
  background: #e50914 !important;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.8);
}

/* Responsive & Mobile Optimization */
@media (max-width: 960px) {
  .zf-hero-slide {
    min-height: 420px;
    padding: 30px 36px;
  }
  .zf-hero-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .zf-featured-module {
    margin-bottom: 20px !important;
  }
  .zf-hero-slide {
    min-height: 380px;
    padding: 24px 20px;
  }
  .zf-hero-title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .zf-hero-overview {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
    margin-bottom: 16px;
  }
  .zf-hero-btn {
    padding: 9px 18px;
    font-size: 12px;
  }
  .zf-hero-spotlight-carousel .owl-dots {
    right: 20px;
    bottom: 16px;
  }
  .zf-feat-title {
    font-size: 13px;
    margin-bottom: 3px;
  }
  .zf-feat-play-btn {
    width: 36px;
    height: 36px;
  }
  .zf-feat-play-btn svg {
    width: 15px;
    height: 15px;
  }
  .zf-feat-info {
    padding: 8px 10px;
  }
  .zf-badge-featured {
    font-size: 9px;
    padding: 2px 5px;
  }
  .zf-badge-quality {
    font-size: 9px;
    padding: 1px 5px;
  }
}

@media (max-width: 480px) {
  .zf-featured-header-title {
    font-size: 17px;
  }
  .zf-featured-module .featured-menu li a {
    padding: 3px 9px;
    font-size: 11px;
  }
  .zf-hero-slide {
    min-height: 340px;
    padding: 20px 16px;
  }
  .zf-hero-title {
    font-size: 20px;
  }
  .zf-hero-meta-row {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 10px;
  }
  .zf-hero-overview {
    display: none;
  }
  .zf-hero-actions {
    gap: 8px;
  }
  .zf-hero-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}
