@import url('/assets/fonts/poppins/poppins.css');

html, body,
.ipsApp, #ipsLayout_body {
  background-color: #08080a !important;
  color: #e2e8f0 !important;
}

html, body,
.ipsApp,
.ipsType_pageTitle, .ipsType_sectionTitle, .ipsType_secondaryTitle,
.ipsType_sectionHead, .ipsType_minorHeading, .ipsWidget_title,
#yt__acme_header, #homeLauncher, .coolButton, .site-name, .newmenu,
button, input, select, textarea {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

#yt__acme_header {
  background: rgba(8, 8, 10, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

#yt__acme_header .ipsNavBar_active > a {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border-radius: 8px !important;
}

.site-hero {
  background-position: center top !important;
  background-size: cover !important;
}

.site-hero-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 72px;
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .55);
}

.site-hero-plot {
  max-width: 720px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.5;
}

.vbSwiper .swiper-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.vbSwiper .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

.vbSwiper .swiper-slide {
  flex: 0 0 auto;
}

.site-loading {
  min-width: 100%;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vbNav-prev,
.vbNav-next {
  font-size: 26px;
  line-height: 1;
}

.site-muted,
.site-error {
  padding: 20px 5px;
  color: rgba(255, 255, 255, .65);
}

.site-error {
  color: #ff8492;
}

.site-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: 360px;
  border: 1px solid rgba(56, 69, 103, .8);
  border-radius: 8px;
  padding: 14px 16px;
  color: #fff;
  background: #101726;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

.site-no-poster {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111827, #27304f);
}

.site-watch-player .player-area {
  position: relative;
  min-height: 420px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.site-watch-player video {
  width: 100%;
  min-height: 420px;
  max-height: 72vh;
  display: block;
  background: #000;
}

.site-player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .72);
  pointer-events: none;
}

.site-watch-tools {
  margin-top: 14px;
}

.site-watch-tools .server {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.site-details-wrap {
  margin-top: 24px;
}

#view .ipsColumn_wide {
  width: 365px;
  max-width: 100%;
}

#view .vbItemImage,
.eps .vbItemImage,
.site-details-wrap .vbItemImage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0d111c;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#view .vbItemImage a,
.eps .vbItemImage a,
.site-details-wrap .vbItemImage a {
  display: block;
  width: 100%;
}

#view .vbItemImage img,
.eps .vbItemImage img,
.site-details-wrap .vbItemImage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (max-width: 767px) {
  #view .ipsColumn_wide {
    width: 100% !important;
  }
}

.site-episodes {
  margin: 25px 0;
}

.site-episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.site-episode {
  min-height: 50px;
  border: 1px solid rgba(56, 69, 103, .8);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  background: #090c15;
  cursor: pointer;
  text-align: left;
}

.site-episode:hover,
.site-episode.active {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, .12);
}

@media (max-width: 760px) {
  .site-hero-title {
    font-size: 42px;
  }

  .site-watch-player .player-area,
  .site-watch-player video {
    min-height: 240px;
  }
}

/* Centered elevated play button */
.player-area .button {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  bottom: auto !important;
  right: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: 76px !important;
  height: 76px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
  transition: all .25s ease-in-out !important;
  z-index: 5 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  padding: 0 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.player-area .bg {
  pointer-events: none !important;
}
.player-area .button:hover {
  box-shadow: 0 0 20px 2px rgba(255, 255, 255, 0.6), 0 0 30px rgba(37, 99, 235, 0.5) !important;
  background: rgba(37, 99, 235, 0.7) !important;
  transform: translate(-50%, -50%) scale(1.08) !important;
}
.player-area .button svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  position: relative !important;
  left: 14px !important;
  margin: 0 !important;
  inset: auto !important;
  transition: all .25s ease-in-out !important;
  fill: #fff !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Universal Mobile Drawer Styles
   ========================================================================== */
#elMobileDrawer {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

#elMobileDrawer.drawer-open {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#elMobileDrawer .ipsDrawer_menu {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 300px !important;
  max-width: 82vw !important;
  height: 100% !important;
  background: #0d131f !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  z-index: 1000000 !important;
}

#elMobileDrawer.drawer-open .ipsDrawer_menu {
  transform: translateX(0) !important;
}

#elMobileDrawer .ipsDrawer_close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  text-align: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s !important;
  z-index: 10 !important;
}

#elMobileDrawer .ipsDrawer_close:hover,
#elMobileDrawer .ipsDrawer_close:active {
  background: rgba(255, 255, 255, 0.22) !important;
  transform: scale(1.05) !important;
}

#elMobileDrawer .ipsDrawer_content {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  padding-top: 60px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

#elMobileDrawer .ipsDrawer_list {
  list-style: none !important;
  padding: 10px 0 30px 0 !important;
  margin: 0 !important;
}

#elMobileDrawer .ipsDrawer_list > li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#elMobileDrawer .ipsDrawer_list > li > a {
  display: flex !important;
  align-items: center !important;
  padding: 14px 22px !important;
  color: #e2e8f0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  transition: background 0.2s, color 0.2s !important;
}

#elMobileDrawer .ipsDrawer_list > li > a:hover,
#elMobileDrawer .ipsDrawer_list > li > a:active {
  background: rgba(0, 143, 215, 0.15) !important;
  color: #00d4ff !important;
}

/* ==========================================================================
   Home Hero Options & Centered Hero (Pipocacine Layout)
   ========================================================================== */
#launcherBg {
  position: relative !important;
  width: 100% !important;
  min-height: 480px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#homeLauncher {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#homeLauncher .infos {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
}

#homeLauncher .movieLogo {
  display: block !important;
  margin: 0 auto !important;
  max-height: 160px !important;
  max-width: 90% !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7)) !important;
}

#homeLauncher .options {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px !important;
  margin-top: 26px !important;
  text-align: center !important;
  width: 100% !important;
}

.coolButton {
  width: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  line-height: 48px;
  padding: 0 26px 0 44px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  border-radius: 24px;
  border: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none !important;
  vertical-align: middle;
  box-sizing: border-box;
}

#homeLauncher .options .coolButton,
#homeLauncher .options .coolButton:hover,
#homeLauncher .options .coolButton:focus,
#homeLauncher .options .coolButton:active {
  margin: 0 !important;
  padding: 0 28px 0 46px !important;
  height: 48px !important;
  line-height: 48px !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  text-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  border: none !important;
}

.coolButton.orange,
#homeLauncher .options .coolButton.orange,
#homeLauncher .options .coolButton.orange:hover {
  background: #f59e0b !important;
  color: #08080a !important;
}

.coolButton.orange svg,
#homeLauncher .options .coolButton.orange svg {
  fill: #08080a !important;
  color: #08080a !important;
}

.coolButton.gray,
#homeLauncher .options .coolButton.gray,
#homeLauncher .options .coolButton.gray:hover {
  background: #1e2431 !important;
  color: #ffffff !important;
}

.coolButton.gray svg,
#homeLauncher .options .coolButton.gray svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

#homeLauncher .options .coolButton svg {
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 15px !important;
  left: 18px !important;
  margin: 0 !important;
}

@media (max-width: 600px) {
  #homeLauncher .options .coolButton,
  #homeLauncher .options .coolButton:hover {
    margin: 4px !important;
    font-size: 13px !important;
    padding: 0 20px 0 38px !important;
    height: 44px !important;
    line-height: 44px !important;
  }
  #homeLauncher .options .coolButton svg {
    left: 14px !important;
    top: 13px !important;
  }
}

/* ==========================================================================
   Cards (Pobreflix style without lag, glow, or scaling)
   ========================================================================== */
.similarMovies .block .blocktwo,
.vbSwiper .swiper-slide .blocktwo {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background-color: #11141c !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.similarMovies .block:hover .blocktwo,
.vbSwiper .swiper-slide:hover .blocktwo {
  box-shadow: none !important;
  transform: none !important;
}

.similarMovies .block .blocktwo img,
.similarMovies .block:hover .blocktwo img,
.vbSwiper.similarMovies .block .blocktwo img,
.vbSwiper.similarMovies .block:hover .blocktwo img {
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.similarMovies .block .blocktwo .top {
  position: absolute !important;
  display: flex !important;
  top: 8px !important;
  left: 8px !important;
  font-weight: 700 !important;
  align-items: center !important;
  font-size: 10px !important;
  line-height: 1 !important;
  z-index: 5 !important;
}

.similarMovies .block .blocktwo .top div:first-child {
  background-color: #dc2626 !important;
  color: #fff !important;
  padding: 3px 6px !important;
  border-radius: 4px 0 0 4px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.similarMovies .block .blocktwo .top div:last-child {
  background-color: rgba(15, 20, 30, 0.85) !important;
  color: #e2e8f0 !important;
  padding: 3px 6px !important;
  border-radius: 0 4px 4px 0 !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
}

.similarMovies .block .blocktwo .info {
  position: absolute !important;
  inset: auto 0 0 !important;
  padding: 14px 10px 10px !important;
  z-index: 4 !important;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.7) 60%, transparent 100%) !important;
  transform: translateY(100%) !important;
  transition: transform 0.22s ease-out !important;
  pointer-events: none !important;
}

.similarMovies .block:hover .blocktwo .info {
  transform: translateY(0) !important;
}

.similarMovies .block .blocktwo .info h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 2px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.similarMovies .block .blocktwo .info p {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.75) !important;
  margin: 0 !important;
}

/* Category Slider tabs and headers */
.vbTab-title {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Category & Slider Tabs (Pipocacine Orange Border, Pure Transparent Interior, No Yellow Background) */
#vbTabSlider .etabs .tab.active,
#vbTabSliderCategory .etabs .tab.active,
.etabs li.tab.active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
}

#vbTabSlider .etabs .tab.active::after,
#vbTabSliderCategory .etabs .tab.active::after {
  display: none !important;
}

#vbTabSlider .etabs .tab::before,
#vbTabSliderCategory .etabs .tab::before {
  background: #08080a !important;
  inset: 2px !important;
}

#vbTabSlider .etabs .tab a,
#vbTabSlider .etabs .tab.active a,
#vbTabSliderCategory .etabs .tab a,
#vbTabSliderCategory .etabs .tab.active a,
.etabs li.tab a,
.etabs li.tab.active a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#vbTabSlider .etabs .tab.active a,
#vbTabSliderCategory .etabs .tab.active a,
.etabs li.tab.active a {
  color: #ffffff !important;
  font-weight: 600 !important;
}

#vbTabSlider .etabs .tab:hover a,
#vbTabSliderCategory .etabs .tab:hover a {
  color: #ffffff !important;
}

.vbTab-controllers button {
  background: #131924 !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.vbTab-controllers button:hover {
  background: #1c2436 !important;
  color: #ffffff !important;
  border-color: #f59e0b !important;
}

/* Mobile watch pages: keep the player compact and prevent the controls from
   being clipped below the fold. Desktop/tablet dimensions remain untouched. */
@media (max-width: 1080px) {
  #view,
  #view.eps {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    flex-direction: column !important;
  }

  #view .one {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }

  #view .one .player-area {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  #view .one .player-area iframe,
  #view .one .player-area video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  #view .two {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 14px !important;
  }
}

/* Stable watch layout across browser zoom and Windows display scaling. */
body[data-page="watch-movie"] #VideoContent > .ipsPadding,
body[data-page="watch-tv"] #VideoContent > .ipsPadding {
  display: block !important;
}

body[data-page="watch-movie"] #view,
body[data-page="watch-tv"] #view {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  clear: both !important;
}

body[data-page="watch-movie"] #VideoContent .ipsColumns,
body[data-page="watch-tv"] #VideoContent .ipsColumns {
  position: relative !important;
  width: 100% !important;
  clear: both !important;
}

@media (min-width: 901px) {
  body[data-page="watch-movie"] #view,
  body[data-page="watch-tv"] #view {
    display: flex !important;
    flex-direction: row !important;
    height: 420px !important;
    min-height: 420px !important;
    overflow: hidden !important;
  }

  body[data-page="watch-movie"] #view .one,
  body[data-page="watch-tv"] #view .one {
    width: auto !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
  }

  body[data-page="watch-movie"] #view .one .player-area,
  body[data-page="watch-tv"] #view .one .player-area {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }

  body[data-page="watch-movie"] #view .two,
  body[data-page="watch-tv"] #view .two {
    width: 27% !important;
    min-width: 300px !important;
    height: 100% !important;
    min-height: 0 !important;
    flex: 0 0 27% !important;
  }
}

@media (max-width: 900px) {
  body[data-page="watch-movie"] #view,
  body[data-page="watch-tv"] #view {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body[data-page="watch-movie"] #view .one,
  body[data-page="watch-tv"] #view .one,
  body[data-page="watch-movie"] #view .two,
  body[data-page="watch-tv"] #view .two {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
  }
}
