.banner-section .movie-content .movie-info {
  padding-top: 3rem;
}

.banner-section .movie-content .movie-actions {
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .banner-section .movie-content .movie-info {
    padding-top: 3.5rem;
  }
  .banner-section .movie-content .movie-actions {
    margin-top: 3rem;
  }
}

/* Reduce gap below the homepage banner */
#banner-section.section-spacing-bottom {
  padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
  #banner-section.section-spacing-bottom {
    padding-bottom: 0.75rem;
  }
}

/* Tighten spacing in Live TV section */
#topchannel-section {
  margin-bottom: 0.75rem;
}

#topchannel-section .row.mt-3 {
  margin-top: 0.5rem !important;
}

#topchannel-section .slick-general,
#topchannel-section .slick-general-topchannel {
  margin-top: 0.5rem !important;
}

/* Reduce slider height a bit on desktops so Live TV is visible */
@media (min-width: 1200px) {
  .main-banner .slick-item {
    min-height: 78vh;
  }
  .main-banner .slick-item .movie-content {
    min-height: 78vh;
    padding: 100px 0;
  }
}

/* Navbar: transparent by default, fixed at top */
header .iq-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, backdrop-filter 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

/* Navbar glassy on scroll */
header .iq-navbar.navbar-glassy {
  background-color: rgba(22, 22, 22, 0.55);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

Footer – Filimo-like dark style with glassy hover
:root { --filimo-green: #4ade80; --glass-black: rgba(16,16,16,0.30); }
.footer.footer--filimo {
  background: linear-gradient(180deg, #0f1012 0%, #101214 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.dark .footer.footer--filimo {
  background: linear-gradient(180deg, #0f1012 0%, #101214 100%) !important;
}
.footer.footer--filimo .footer-top {
  padding: 24px 0;
}
.footer.footer--filimo .footer-title { display: none; }
.footer.footer--filimo .footer-menu li { margin: 0.35rem 0; list-style: none; }
.footer.footer--filimo .footer-menu a {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  transition: none;
  transform: scale(1) !important;
}
.footer.footer--filimo .footer-menu a:hover,
.footer.footer--filimo .footer-menu a:focus {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  transform: scale(1) !important;
}
.footer.footer--filimo .footer-menu a::after {
  transition: none !important;
}
.footer.footer--filimo .footer-menu a:hover::after {
  transition: none !important;
}
.footer.footer--filimo .social-icons-footer { display: flex; gap: 8px; flex-wrap: wrap; }
.footer.footer--filimo .social-icon-link {
  width: 34px; height: 34px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  transition: none;
  transform: scale(1) !important;
}
.footer.footer--filimo .social-icon-link:hover,
.footer.footer--filimo .social-icon-link:focus {
  color: #ffffff !important;
  border-color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: scale(1) !important;
}
.footer.footer--filimo .footer-bottom {
  display: none;
}
.footer.footer--filimo .footer-bottom .text-primary { color: var(--filimo-green) !important; }

/* Footer container and row spacing for pixel-match */
.footer.footer--filimo .container-fluid {
  padding-left: 60px;
  padding-right: 60px;
}
@media (min-width: 1400px) {
  .footer.footer--filimo .container-fluid { padding-left: 100px; padding-right: 100px; }
}
@media (max-width: 767px) {
  .footer.footer--filimo .container-fluid { padding-left: 24px; padding-right: 24px; }
}
.footer.footer--filimo .row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}
.footer.footer--filimo .row > div { flex: 0 0 auto; }
@media (max-width: 991px) { .footer.footer--filimo .row { gap: 30px; } }
@media (max-width: 767px) { .footer.footer--filimo .row { gap: 25px; } }

/* Flatten menus to inline single-row */
.footer.footer--filimo .footer-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.footer.footer--filimo .footer-menu li { margin: 0; list-style: none; }
.footer.footer--filimo .footer-menu li a {
  color: #ffffff;
  font-size: 12px;
}
/* Remove any leading chevron/arrow before footer items */
.footer.footer--filimo .footer-menu li a::before {
  display: none !important;
  content: none !important;
}

/* Safety: hide specific policy links if rendered */
.footer.footer--filimo .footer-menu a[href*="data-deletion"] { display: none !important; }
.footer.footer--filimo .footer-menu a[href*="refund"] { display: none !important; }

@media (max-width: 991px) {
  .footer.footer--filimo .row { flex-wrap: wrap; }
  .footer.footer--filimo .footer-menu { flex-wrap: wrap; }
}

/* Sticky bottom menu – green hover */
.footer-stcky-menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(10,10,10,0.9); backdrop-filter: saturate(140%) blur(6px); border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 -8px 24px rgba(0,0,0,0.35); }
.footer-stcky-menu .nav-link {
  color: rgba(255,255,255,0.75);
  transition: none;
  position: relative;
}
.footer-stcky-menu .nav-link i { transition: none; }
.footer-stcky-menu .nav-link:hover,
.footer-stcky-menu .nav-link:focus {
  color: rgba(255,255,255,0.75) !important;
  transition: none !important;
}
.footer-stcky-menu .nav-link:hover i,
.footer-stcky-menu .nav-link:focus i {
  color: rgba(255,255,255,0.75) !important;
  transition: none !important;
}
.footer-stcky-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 2px;
  background: transparent;
  opacity: 0;
  transition: none !important;
  display: none !important;
}

/* Active state matches Filimo persistent highlight */
.footer-stcky-menu .nav-link.active,
.footer-stcky-menu .nav-link.active i {
  color: var(--filimo-green) !important;
}
.footer-stcky-menu .nav-link.active::after {
  background: var(--filimo-green);
  opacity: 1;
}

/* Symmetric right gutter for homepage sections */
.container-fluid.padding-right-0 {
  padding-right: var(--bs-gutter-x) !important;
}

/* Uniform card thumbnail sizes (2:3 aspect) */
.iq-card .image-box {
  width: 160px !important;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .iq-card .image-box {
    width: 180px !important;
  }
}

@media (min-width: 992px) {
  .iq-card .image-box {
    width: 200px !important;
  }
}

/* Ensure image fills wrapper */
.iq-card .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid/list gaps for non-slick rows - tighter */
.card-style-slider .row {
  --bs-gutter-x: 8px;
  --bs-gutter-y: 8px;
}

@media (min-width: 768px) {
  .card-style-slider .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }
}

/* Slick slider spacing (gap) - leave default; topchannel has explicit zero */

/* Force 8-up layout on xl+ for rows using 6-up default */
@media (min-width: 1200px) {
  .card-style-slider .row.row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 12.5% !important; /* 8 columns */
  }
}
@media (min-width: 1400px) {
  .card-style-slider .row.row-cols-xl-6 > * {
    flex: 0 0 auto;
    width: 12.5% !important; /* 8 columns */
  }
}

/* Filimo-style 3D hover for tvshow stacked cards only */
.entainment-slick-card.tvshow-stacked-card {
  perspective: 1000px;
  transform-style: preserve-3d;
}
.entainment-slick-card.tvshow-stacked-card .block-images {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.entainment-slick-card.tvshow-stacked-card:hover .block-images {
  transform: translateZ(24px) rotateY(-6deg) rotateX(1deg) scale(1.03) !important;
  z-index: 2;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
}
.entainment-slick-card.tvshow-stacked-card .block-images .image-box {
  border-radius: 14px;
  overflow: hidden;
}
.entainment-slick-card.tvshow-stacked-card .block-images .image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle glow on hover, Filimo-esque (tvshows) */
.entainment-slick-card.tvshow-stacked-card:hover .block-images::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 24px rgba(0,255,0,0.15);
  pointer-events: none;
}

/* Movie info overlay on fade - Filimo style */
.iq-card.card-hover .block-images .card-description.with-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  transition: none !important;
  color: white;
}

.iq-card.card-hover:hover .block-images .card-description.with-transition {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Style movie info text for better visibility on dark overlay */
.iq-card.card-hover .card-description.with-transition .iq-title {
  color: white !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
}

.iq-card.card-hover .card-description.with-transition .genres-list {
  margin-bottom: 0.5rem !important;
}

.iq-card.card-hover .card-description.with-transition .genres-list li {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.75rem !important;
}

.iq-card.card-hover .card-description.with-transition .movie-time,
.iq-card.card-hover .card-description.with-transition .movie-language {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.75rem !important;
}

.iq-card.card-hover .card-description.with-transition .movie-time i,
.iq-card.card-hover .card-description.with-transition .movie-language i {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Keep default CTAs; skip replacing with + button to match Filimo actions */

/* Hide the original overlay */
.iq-card.card-hover:hover .block-images::after {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Reduce gaps in Live TV section - Negative margin approach */
.slick-general-topchannel {
  --spacing: 0px !important;
}

.slick-general-topchannel,
.slick-general-topchannel .slick-list,
.slick-general-topchannel .slick-track,
.slick-general-topchannel .slick-slide,
#topchannel-section .slick-item {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* Ensure each slide matches the circle size exactly */
.slick-general-topchannel .slick-item {
  width: 100px !important;
}
.slick-general-topchannel .slick-slide {
  width: 100px !important;
}

/* Tighter spacing for channel circles */
.channel-circle {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

.channel-circle-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.channel-circle img {
  margin: 0 !important;
}

/* Reduce gaps in Live TV category sections */
.livetv-card {
  margin: 0 !important;
  padding: 0 !important;
}

#topchannel-section .slick-general-topchannel {
  margin-top: 0 !important;
}

#topchannel-section .slick-item {
  margin: 0 !important;
  padding: 0 !important;
}

/* Override any default spacing for Live TV */
.channel-block .slick-general-topchannel .slick-slide {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.view-all-dots {
  margin: 0 !important;
  padding: 0 !important;
}

/* Force minimal gaps */
.slick-general-topchannel .slick-slide > * {
  margin: 0 !important;
}

.channel-block {
  letter-spacing: 0 !important;
}

/* Direct override for slick spacing */
.slick-general-topchannel[data-spacing] {
  --spacing: 0px !important;
}

/* Force zero padding on all Live TV elements */
.slick-general-topchannel * {
  box-sizing: border-box !important;
}

/* Additional compression for channel items */
/* Remove artificial negative margins to avoid layout shifts */
.slick-general-topchannel .slick-slide:not(:first-child) {
  margin-left: 0 !important;
}

/* Exclude Live TV cards from black fade - keep original hover */
.livetv-card:hover .block-images::before {
  display: none !important;
}

.livetv-card .card-hover:hover .block-images::before {
  display: none !important;
}

/* Ensure black fade works on slick slider items too */
.slick-item .iq-card.card-hover:hover .block-images {
  transform: none !important;
}

.slick-item.first .iq-card.card-hover:hover .block-images,
.slick-item.last .iq-card.card-hover:hover .block-images {
  transform: none !important;
}

/* Mobile: disable hover effects entirely for tvshows */
@media (max-width: 767.98px) {
  .entainment-slick-card.tvshow-stacked-card:hover .block-images {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Tvshow stacked card layers for Filimo-like depth */
.entainment-slick-card.tvshow-stacked-card {
  position: relative;
}
.entainment-slick-card.tvshow-stacked-card .block-images {
  position: relative;
  z-index: 1; /* keep main poster above layers */
}
.entainment-slick-card.tvshow-stacked-card .stack-layer {
  position: absolute;
  left: -8px;
  right: -8px;
  top: -12px;
  bottom: auto;
  height: 40%; /* only top of thumbnail */
  border-radius: 16px 16px 10px 10px;
  background-image: var(--poster-url);
  background-size: cover;
  background-position: top;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  box-shadow: 0 8px 26px rgba(0,0,0,0.25);
  transform-origin: top center;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  opacity: 0.88;
  filter: saturate(0.98) brightness(0.98) blur(0.25px);
}
.entainment-slick-card.tvshow-stacked-card .stack-layer-2 {
  transform: translate(-4px, -4px) scale(0.985) rotateZ(-3deg);
  z-index: 0;
}
.entainment-slick-card.tvshow-stacked-card .stack-layer-3 {
  transform: translate(-10px, -8px) scale(0.97) rotateZ(-5deg);
  z-index: -1;
}
.entainment-slick-card.tvshow-stacked-card:hover .stack-layer-2 {
  transform: translate(-7px, -7px) scale(0.98) rotateZ(-4deg);
}
.entainment-slick-card.tvshow-stacked-card:hover .stack-layer-3 {
  transform: translate(-16px, -12px) scale(0.965) rotateZ(-6deg);
  opacity: 0.92;
}
.footer.footer--filimo .footer-row { min-height: 48px; }
.footer.footer--filimo .footer-actions .footer-menu-link {
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
  transition: none;
}
.footer.footer--filimo .footer-actions .footer-menu-link:hover {
  color: #ffffff !important;
  background: var(--glass-black);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 2px 6px;
  text-shadow: none;
  backdrop-filter: saturate(140%) blur(4px);
}

/* Social toggle behavior */
.footer.footer--filimo .social-wrapper { position: relative; }
.footer.footer--filimo .social-toggle {
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.footer.footer--filimo .social-toggle:hover,
.footer.footer--filimo .social-toggle:focus {
  color: var(--filimo-green);
}
.footer.footer--filimo .social-icons-footer {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
  background: rgba(16,16,16,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  backdrop-filter: saturate(140%) blur(6px);
  padding: 6px;
  gap: 6px;
  opacity: 0;
  transform: none;
  transition: none;
  pointer-events: none;
  z-index: 1050;
}
.footer.footer--filimo .social-wrapper:hover .social-icons-footer,
.footer.footer--filimo .social-wrapper:focus-within .social-icons-footer {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (hover: none) {
  .footer.footer--filimo .social-icons-footer {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .footer.footer--filimo .social-toggle { display: none; }
}

/* Disable motion in footer and sticky menu */
.footer.footer--filimo *,
.footer.footer--filimo *::before,
.footer.footer--filimo *::after {
  transition: none !important;
  animation: none !important;
}
.footer-stcky-menu *,
.footer-stcky-menu *::before,
.footer-stcky-menu *::after {
  transition: none !important;
  animation: none !important;
}
.footer.footer--filimo a,
.footer.footer--filimo a * {
  transition: none !important;
  animation: none !important;
}
.footer, .footer *,
.footer *::before, .footer *::after,
.footer a, .footer a *,
.footer .social-icon-link, .footer .social-icon-link * {
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .footer, .footer *,
  .footer *::before, .footer *::after,
  .footer a, .footer a *,
  .footer .social-icon-link, .footer .social-icon-link * {
    transition: none !important;
    animation: none !important;
  }
}
