.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;
}

.site-details-wrap .vbItemImage img {
  width: 100%;
  border-radius: 8px;
}

.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;
}
.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 & Action Buttons (Side-by-Side Responsive)
   ========================================================================== */
#homeLauncher .options {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 25px !important;
  width: 100% !important;
  max-width: 520px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap !important;
}

#homeLauncher .options .coolButton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 48px !important;
  padding: 0 24px !important;
  margin: 0 !important;
  line-height: normal !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

#homeLauncher .options .coolButton svg {
  position: static !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  inset: auto !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

#homeLauncher .options .coolButton.orange {
  background: #008fd7 !important;
  color: #ffffff !important;
}

#homeLauncher .options .coolButton.orange:hover {
  background: #007bbd !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 143, 215, 0.45) !important;
}

#homeLauncher .options .coolButton.gray {
  background: rgba(30, 36, 49, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

#homeLauncher .options .coolButton.gray:hover {
  background: rgba(45, 54, 72, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 600px) {
  #homeLauncher .options {
    gap: 8px !important;
    padding: 0 8px !important;
    margin-top: 18px !important;
  }
  #homeLauncher .options .coolButton {
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    gap: 6px !important;
    flex: 1 1 0 !important;
    max-width: 175px !important;
    justify-content: center !important;
  }
  #homeLauncher .options .coolButton svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 360px) {
  #homeLauncher .options {
    gap: 6px !important;
    padding: 0 4px !important;
  }
  #homeLauncher .options .coolButton {
    height: 38px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
    gap: 4px !important;
  }
  #homeLauncher .options .coolButton svg {
    width: 12px !important;
    height: 12px !important;
  }
}
