/* CineFlex Hero Engine 2.0 */
.banner {
  isolation: isolate;
  min-height: clamp(620px, 84vh, 940px) !important;
  overflow: hidden;
  background-position: center 18% !important;
  background-size: cover !important;
}
.banner::before {
  background:
    linear-gradient(90deg, rgba(2,5,12,.98) 0%, rgba(2,5,12,.78) 34%, rgba(2,5,12,.18) 70%, rgba(2,5,12,.42) 100%),
    linear-gradient(0deg, var(--bg, #05070b) 0%, transparent 48%) !important;
  z-index: 4 !important;
}
.banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg, #05070b));
}
.banner-content {
  width: min(760px, 88vw);
  padding-top: clamp(90px, 14vh, 160px) !important;
  padding-bottom: 110px !important;
  transform: translateY(14px);
  opacity: 0;
}
.banner.cf-hero-ready .banner-content {
  animation: cfHeroContentIn .62s cubic-bezier(.2,.75,.25,1) forwards;
}
@keyframes cfHeroContentIn { to { opacity: 1; transform: translateY(0); } }
.cf-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  color: #d9f9ff;
  text-shadow: 0 0 18px rgba(0,229,255,.34);
}
.cf-hero-eyebrow .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dff98;
  box-shadow: 0 0 0 5px rgba(45,255,152,.13), 0 0 18px rgba(45,255,152,.8);
}
#banner-title {
  max-width: 760px;
  font-size: clamp(2.85rem, 7vw, 6.6rem) !important;
  line-height: .88 !important;
  letter-spacing: -.065em !important;
  margin: 0 0 18px !important;
  text-wrap: balance;
}
.cf-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin: 0 0 15px;
  color: rgba(255,255,255,.86);
  font-size: .92rem;
  font-weight: 750;
}
.cf-hero-meta .match { color: #2dff98; }
.cf-hero-meta .age {
  padding: 2px 7px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 4px;
}
.cf-hero-meta i { color: #ffd45c; }
#banner-desc {
  max-width: 670px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.65 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.95);
}
.hero-meta-strip { display: none !important; }
.banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 23px;
}
.banner-buttons button {
  min-height: 48px;
  padding: 0 22px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .2s ease, filter .2s ease, background .2s ease !important;
}
.banner-buttons button:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.cf-hero-mylist {
  color: #fff;
  background: rgba(15,20,31,.58);
}
.cf-hero-mylist.active {
  background: rgba(45,255,152,.16);
  border-color: rgba(45,255,152,.45) !important;
  color: #b7ffdb;
}
.cf-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1.1s ease;
}
.cf-hero-video.active { opacity: .34; }
.cf-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,5,12,.82), transparent 75%), linear-gradient(0deg, rgba(2,5,12,.8), transparent 55%);
}
.cf-hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.28);
  filter: saturate(.9) contrast(1.08) brightness(.72);
}
.cf-hero-nav {
  position: absolute;
  right: clamp(18px, 4vw, 65px);
  bottom: 78px;
  z-index: 10;
  display: flex;
  gap: 9px;
}
.cf-hero-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(7,10,18,.55);
  color: #fff;
  backdrop-filter: blur(14px);
  cursor: pointer;
}
.cf-hero-dots {
  position: absolute;
  left: 5%;
  bottom: 42px;
  z-index: 10;
  display: flex;
  gap: 7px;
}
.cf-hero-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.cf-hero-dots button.active { width: 26px; background: #fff; }
.cf-hero-progress {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 24px;
  z-index: 10;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}
.cf-hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #00e5ff, #8f5cff, #ff4f9a);
  box-shadow: 0 0 18px rgba(0,229,255,.65);
}
@keyframes cfHeroSprintProgress { from { width: 0; } to { width: 100%; } }
@media (max-width: 760px) {
  .banner { min-height: 78vh !important; background-position: 62% center !important; }
  .banner::before { background: linear-gradient(0deg, var(--bg, #05070b) 0%, rgba(2,5,12,.7) 45%, rgba(2,5,12,.2) 100%) !important; }
  .banner-content { width: 91vw; padding-top: 30vh !important; padding-bottom: 112px !important; }
  #banner-title { font-size: clamp(2.45rem, 13vw, 4.35rem) !important; }
  #banner-desc { -webkit-line-clamp: 2; font-size: .9rem !important; }
  .cf-hero-video { display: none; }
  .cf-hero-nav { right: 16px; bottom: 66px; }
  .cf-hero-nav button { width: 38px; height: 38px; }
  .cf-hero-dots { left: 18px; bottom: 47px; }
  .cf-hero-progress { left: 18px; right: 18px; bottom: 29px; }
  .banner-buttons button { min-height: 45px; padding: 0 16px !important; font-size: .86rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .banner-content, .cf-hero-video, .cf-hero-progress span { animation: none !important; transition: none !important; }
  .banner-content { opacity: 1; transform: none; }
}
