/* ================= NETFLIX SANS OFFICIAL FONT FAMILY ================= */
@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Th.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-ThIt.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Lt.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-LtIt.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Rg.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-It.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Md.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-MdIt.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Bd.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-BdIt.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-Blk.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Netflix Sans';
  src: url('/assets/font/Netflix%20Sans/NetflixSans-BlkIt.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-main: #141414;        /* Exact Netflix Dark Background (RGB 20, 20, 20) */
  --bg-surface: #181818;
  --bg-card: #1f1f1f;
  --bg-card-hover: #2a2a2a;
  --bg-glass: rgba(20, 20, 20, 0.85);

  --accent-yellow: #f5c518;
  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-red: #e50914;
  --accent-green: #10b981;

  --text-white: #ffffff;
  --text-main: #e5e5e5;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(229, 9, 20, 0.5);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font-main: 'Netflix Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Netflix Sans', 'Montserrat', var(--font-main);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(229, 9, 20, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #474747;
}

/* ================= NAVBAR (EXACT NETFLIX JOMFLIX) ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(80px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background-color: #000000; /* Hitam Pekat Persis Home */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.header-container {
  width: 100%;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 44px;
}

.brand-logo {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
}

.brand-logo-img {
  height: 25px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 16.5px;
  font-weight: 400;
  color: #e5e5e5;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 9999px; /* Pill Capsule shape */
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.1px;
}

/* Hover state: Subtle translucent dark pill capsule (persis 'Series' di screenshot) */
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* Active state: Solid grey pill capsule + Medium white text (persis screenshot) */
.nav-link.active {
  font-weight: 500;
  color: #ffffff;
  background: #333333;
}

.nav-link.active:hover {
  background: #3d3d3d;
}

/* Header Right: Netflix Style Expandable Pill Search */
.header-actions {
  display: flex;
  align-items: center;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  opacity: 1;
  pointer-events: auto;
}

.search-icon-btn:hover {
  color: #b3b3b3;
}

.search-wrapper.open .search-icon-btn {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(0.8);
}

.search-box-pill {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  padding: 0;
  width: 0;
  height: 48px;
  opacity: 0;
  gap: 14px;
  overflow: hidden;
  box-shadow: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s ease,
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              background-color 0.25s ease;
  pointer-events: none;
  box-sizing: border-box;
}

.search-wrapper.open .search-box-pill {
  width: 420px;
  opacity: 1;
  padding: 0 22px;
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.search-wrapper.open .search-box-pill:focus-within {
  border-color: #ffffff;
  background: rgba(14, 14, 14, 0.95);
  box-shadow: none;
}

@media (max-width: 768px) {
  .search-wrapper.open .search-box-pill {
    width: clamp(220px, 52vw, 340px);
    height: 44px;
    padding: 0 16px;
  }
}

.search-pill-icon {
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.search-pill-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16.5px;
  font-weight: 400;
  caret-color: #ffffff;
  width: 100%;
  height: 100%;
  padding: 0;
}

.search-pill-input::placeholder {
  color: #8c8c8c;
  font-size: 16.5px;
  font-weight: 400;
}

.search-pill-clear {
  background: none;
  border: none;
  color: #8c8c8c;
  cursor: pointer;
  font-size: 18px;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s ease, transform 0.15s ease;
}

.search-pill-clear:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 420px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
  max-height: 420px;
  overflow-y: auto;
  z-index: 200;
  display: none !important; /* Hide old dropdown in favor of real-time search page */
}

/* ================= NETFLIX REAL-TIME SEARCH PAGE ================= */
#viewSearch {
  padding-top: clamp(110px, 9vw, 136px) !important;
  min-height: 100vh;
}

.search-page-container {
  padding: 0 4% 60px;
}

/* More to explore tag bar (Persis Screenshot Netflix) */
.search-explore-section {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 28px;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
}

.search-explore-label {
  color: #8c8c8c;
  font-size: 16px;
  font-weight: 400;
  margin-right: 4px;
  flex-shrink: 0;
}

.search-explore-tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.search-explore-tag {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.search-explore-tag:hover {
  color: #e50914;
  text-decoration: none;
}

.search-explore-collection-icon {
  flex-shrink: 0;
  stroke: currentColor;
  vertical-align: middle;
  margin-right: 2px;
  transition: stroke 0.15s ease;
}

.search-explore-divider {
  color: #555555;
  font-size: 16px;
  font-weight: 300;
  user-select: none;
  margin-left: 12px;
}

/* Search Grid */
.search-results-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 36px 10px !important;
  margin-top: 18px !important;
  width: 100% !important;
}

@media (max-width: 1500px) {
  .search-results-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

@media (max-width: 1150px) {
  .search-results-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 800px) {
  .search-results-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 8px !important;
  }
}

@media (max-width: 500px) {
  .search-results-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 6px !important;
  }
}

.search-results-grid .landscape-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  box-sizing: border-box !important;
}

.search-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

/* Empty State */
.search-empty-state {
  padding: 30px 0 50px;
  color: #ffffff;
}

.search-empty-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.search-empty-sub {
  font-size: 14px;
  color: #8c8c8c;
  line-height: 1.5;
}

/* ================= VIEW: COLLECTIONS ================= */
#viewCollections {
  padding-top: clamp(148px, 11vw, 168px) !important;
  padding-left: 4%;
  padding-right: 4%;
  padding-bottom: 60px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 36px 12px;
  margin-top: 18px;
}

@media (max-width: 1500px) {
  .collections-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1150px) {
  .collections-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .collections-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 8px;
  }
}

@media (max-width: 500px) {
  .collections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 6px;
  }
}

.collections-grid .landscape-card {
  width: 100%;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: unset !important;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease;
}

.collections-grid .landscape-card:hover {
  transform: translateY(-6px) !important;
  z-index: 5;
}

.collections-grid .landscape-thumb-box {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #141414;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.7);
}

.collections-grid .landscape-img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
  position: static !important;
}

.collections-grid .landscape-card:hover .landscape-thumb-box {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
}

/* ================= DEDICATED COLLECTION DETAIL PAGE ================= */
#viewCollectionDetail {
  padding-top: clamp(148px, 11vw, 168px) !important;
  min-height: 100vh;
}

.collection-detail-page-container {
  padding: 0 4% 60px;
}

.collection-detail-main-title {
  display: none;
}

.collection-detail-description {
  font-family: var(--font-main);
  font-size: 14.5px;
  color: #a3a3a3;
  margin-bottom: 26px;
  max-width: 850px;
  line-height: 1.5;
}

.collection-section-block {
  margin-bottom: 45px;
}

.collection-section-heading {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #e50914;
  border-radius: 2px;
}

/* Portrait Card Grid (Exact Homepage 10-per-screen scale & proportions) */
.collection-portrait-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 24px 8px;
  margin-top: 10px;
}

@media (max-width: 1650px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 1350px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

@media (max-width: 1100px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 800px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 6px;
  }
}

@media (max-width: 550px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 6px;
  }
}

@media (max-width: 380px) {
  .collection-portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 4px;
  }
}

.collection-portrait-grid .movie-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
}

/* ================= NETFLIX BILLBOARD HERO HIGHLIGHT ================= */
.main-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 50px;
}

.content-row {
  padding: 0 4%;
  margin-bottom: 45px;
  position: relative;
  z-index: 10;
}

/* ================= NETFLIX CAROUSEL SLIDER & HOVER NAVIGATION ================= */
.carousel-slider-wrapper {
  position: relative;
  width: calc(100% + 8%);
  margin: 0 -4%;
}

/* Netflix Edge Sneak Peek Vignettes (Subtly darkens the peeking cards on the edges) */
.carousel-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 24px;
  right: 0;
  width: 4%;
  min-width: 55px;
  background: linear-gradient(to left, rgba(14, 14, 14, 0.7) 0%, rgba(14, 14, 14, 0.25) 55%, rgba(14, 14, 14, 0) 100%);
  pointer-events: none;
  z-index: 10;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  transition: opacity 0.3s ease;
}

.carousel-slider-wrapper.has-scrolled::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 24px;
  left: 0;
  width: 4%;
  min-width: 55px;
  background: linear-gradient(to right, rgba(14, 14, 14, 0.7) 0%, rgba(14, 14, 14, 0.25) 55%, rgba(14, 14, 14, 0) 100%);
  pointer-events: none;
  z-index: 10;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  transition: opacity 0.3s ease;
}

.row-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
}

/* Netflix Pagination Indicator Dashes (Top Right of Row) - ALWAYS VISIBLE */
.row-pagination-indicators {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 24px;
  margin-bottom: -12px;
  transform: translateY(12px);
  opacity: 1;
}

.indicator-dash {
  width: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 0.5px;
  transition: background 0.3s ease;
}

.indicator-dash.active {
  background: #ffffff;
}

/* Netflix Slider Handles (Covers full sneak peek area so hovering sneak peek triggers arrow hover) */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 24px;
  width: 5%;
  min-width: 90px;
  max-width: 140px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.25s ease, background 0.3s ease;
  z-index: 35;
}

.carousel-slider-wrapper:hover .slider-handle {
  opacity: 1;
}

/* Specific arrow hover: Smooth dark gradient covering sneak peek */
.slider-handle-left:hover {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0) 100%);
}

.slider-handle-right:hover {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0) 100%);
}

/* Arrow Icon: Smooth micro-scale enlargement on hover */
.slider-handle i {
  font-size: 24px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease, filter 0.25s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

.slider-handle:hover i {
  transform: scale(1.35);
  color: #ffffff;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
}

/* Left handle is hidden initially at the very beginning until row is scrolled once */
.slider-handle-left {
  left: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  display: none;
}

.carousel-slider-wrapper.has-scrolled .slider-handle-left {
  display: flex;
}

.slider-handle-right {
  right: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#viewHome .content-row:first-of-type,
.catalog-content-wrap {
  margin-top: 0px;
  position: relative;
  z-index: 10;
}

.hero-banner {
  position: relative;
  min-height: 840px;
  height: 98vh;
  max-height: 1080px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  background-color: #141414;
}

/* Netflix Billboard Large Full-Screen Backdrop Skeleton Shimmer */
.hero-backdrop-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #121212 0%,
    #1c1c1c 25%,
    #282828 50%,
    #1c1c1c 75%,
    #121212 100%
  );
  background-size: 250% 250%;
  animation: backdropShimmerPulse 2.4s infinite ease-in-out;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-backdrop-skeleton.fade-out {
  opacity: 0;
}

@keyframes backdropShimmerPulse {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 5%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.hero-backdrop.loaded {
  opacity: 1;
}

/* Netflix Billboard Autoplay Video Trailer */
.hero-trailer-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 3;
  background: #000000;
}

.hero-trailer-wrapper.playing {
  opacity: 1;
}

.hero-trailer-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.18);
  pointer-events: none;
  border: none;
}

/* Netflix Cinema Bottom Vignette (Smooth bottom gradient only) */
.hero-vignette-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #141414 0%,
    rgba(20, 20, 20, 0.95) 12%,
    rgba(20, 20, 20, 0.35) 32%,
    transparent 55%
  );
  z-index: 4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 6;
  padding: 0 4% 80px; /* Dinaikkan sedikit lebih proporsional dari batas bawah */
  max-width: 800px;
  width: 100%;
}

.hero-content-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: fadeIn 0.4s ease-in-out;
}

/* Netflix Billboard Hero Skeleton Shimmer */
.hero-skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.3s ease;
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonWave 1.6s infinite ease-in-out;
  border-radius: 4px;
}

@keyframes skeletonWave {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-hero-title {
  width: 360px;
  max-width: 75%;
  height: 54px;
  border-radius: 6px;
}

.skeleton-hero-meta {
  width: 280px;
  max-width: 60%;
  height: 20px;
  border-radius: 4px;
}

.skeleton-hero-overview-wrap {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.skeleton-hero-line {
  height: 15px;
  border-radius: 3px;
}

.skeleton-hero-line.w-full {
  width: 100%;
  max-width: 520px;
}

.skeleton-hero-line.w-80 {
  width: 80%;
  max-width: 420px;
}

.skeleton-hero-line.w-60 {
  width: 55%;
  max-width: 290px;
}

.skeleton-hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.skeleton-hero-btn {
  width: 130px;
  height: 46px;
  border-radius: 4px;
}

/* Sub-Header Bar on Catalog (Series, Films, New & Popular) - Unified with Navbar */
.sub-header-bar {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 68px;
  padding: 0 4%;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent; /* Transparan murni di atas */
  pointer-events: auto;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.sub-header-bar.scrolled {
  background-color: #000000; /* Hitam Pekat Persis Home */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85);
}

.sub-header-title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Netflix Subheader Breadcrumb Navigation */
.sub-header-breadcrumb {
  display: flex;
  align-items: baseline; /* Rata bawah typografi baseline presisi khas Netflix */
  gap: 10px;
}

.breadcrumb-parent {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 500;
  color: #8c8c8c;
  cursor: pointer;
  transition: color 0.2s ease;
  user-select: none;
  line-height: normal;
}

.breadcrumb-parent:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-sep {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  color: #666666;
  user-select: none;
  line-height: normal;
}

.breadcrumb-current {
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 800;
  color: #ffffff !important; /* Putih Solid Murni */
  letter-spacing: -0.5px;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.genre-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-genre-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px; /* Sesuai request: tulisan genre agak lebih besar */
  font-weight: 700;
  padding: 6px 16px 6px 14px;
  border-radius: 1px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-genre-dropdown:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-genre-dropdown i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.genre-dropdown-wrapper.open .btn-genre-dropdown i {
  transform: rotate(180deg);
}

/* Netflix 3-Column Popover Menu */
.netflix-genre-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.95);
  padding: 18px 24px;
  min-width: 520px;
  backdrop-filter: blur(14px);
  animation: fadeIn 0.15s ease-out;
}

.genre-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 36px;
  row-gap: 13px;
}

.genre-menu-item {
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.genre-menu-item:hover {
  text-decoration: underline;
}

.genre-menu-item.active {
  font-weight: 700;
  text-decoration: underline;
}

.hero-title-wrap {
  margin-bottom: 14px;
}

.hero-title-logo-img {
  max-width: 440px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.9));
  display: block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
  letter-spacing: -0.8px;
}

/* TMDB / IDLIX Metadata Row (⭐ 7.9  2026 • 2h 25m • Action, Adventure, Science Fiction) - SINGLE LINE */
.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 500;
  color: #e5e5e5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero-meta-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
}

.hero-meta-rating .fa-star {
  color: #f5c518;
  font-size: 15px;
}

.hero-meta-dot {
  color: #888888;
  font-size: 14px;
  user-select: none;
}

.hero-meta-year,
.hero-meta-runtime {
  color: #ffffff;
  font-weight: 500;
}

.hero-meta-genres {
  color: #d1d5db;
  font-weight: 400;
}

.hero-overview {
  font-family: var(--font-main);
  font-size: 16px;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  font-weight: 400;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-netflix-play {
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: var(--font-main);
  font-size: 18.5px;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.btn-netflix-play i {
  font-size: 20px;
}

.btn-netflix-play:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.btn-netflix-info {
  background: rgba(109, 109, 110, 0.45);
  color: #ffffff;
  border: none;
  font-family: var(--font-main);
  font-size: 18.5px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-netflix-info i {
  font-size: 20px;
}

.btn-netflix-info:hover {
  background-color: rgba(109, 109, 110, 0.28);
}

.hero-right-badge {
  position: absolute;
  right: 0;
  bottom: 185px; /* Dinaikkan lebih ke atas */
  z-index: 6;
  display: flex;
  align-items: center;
}

.badge-age-rating {
  background: rgba(51, 51, 51, 0.7);
  border-left: 4.5px solid #e5e5e5;
  color: #e5e5e5;
  font-family: var(--font-main);
  font-size: 27px;
  font-weight: 400;
  padding: 13px 105px 13px 26px;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

/* Trailer Audio Mute / Unmute Circular Glass Button */
.btn-trailer-audio {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(40, 40, 40, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  user-select: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-trailer-audio:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: scale(1.08);
}

.btn-trailer-audio i {
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-yellow);
  color: #000;
}
.btn-primary:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ================= CONTENT ROWS & CAROUSELS ================= */
.content-row {
  margin-bottom: 40px;
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.row-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 1.7vw, 27px);
  font-weight: 700;
  color: #e5e5e5;
  display: flex;
  align-items: center;
  letter-spacing: -0.3px;
}

#viewPopular {
  padding-top: clamp(105px, 8.5vw, 130px) !important;
}

#viewPopular .content-row {
  margin-bottom: clamp(40px, 4vw, 56px);
}

.text-accent {
  color: var(--accent-yellow);
}

.row-subtitle {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 2px;
}

.btn-view-all {
  background: none;
  border: none;
  color: var(--accent-yellow);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-view-all:hover {
  text-decoration: underline;
}

.cards-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4% 24px;
  scrollbar-width: none;
}
.cards-carousel::-webkit-scrollbar {
  display: none;
}

.collections-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ================= GLOBAL PORTRAIT MOVIE & SERIES CARDS (10 CARDS PER SCREEN) ================= */
.movie-card {
  flex: 0 0 calc((100vw - 8% - 72px - 50px) / 10);
  width: calc((100vw - 8% - 72px - 50px) / 10);
  max-width: none;
  min-width: 125px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
}

.movie-card:hover {
  /* Hover effects intentionally neutral for now as requested */
}

.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  background: #141414;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.7);
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movie-card:hover .card-poster {
  /* No zoom on poster */
}

.card-type-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2.5px 6.5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.card-quality-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2.5px 6.5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.landscape-badge-ep {
  position: absolute;
  top: 7px;
  left: 7px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 6.5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.landscape-badge-quality {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 6.5px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-quality-badge.badge-cam,
.landscape-badge-quality.badge-cam,
.nflx-hover-quality-badge.badge-cam {
  background: #d9531e !important;
  color: #ffffff !important;
  border-color: rgba(255, 120, 50, 0.6) !important;
}

.nflx-hover-badge-hd.badge-cam {
  border-color: #ff9800 !important;
  color: #ffb74d !important;
}

.card-rating-badge {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffc107;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 6.5px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.card-details {
  padding: 8px 1px 0;
  display: flex;
  flex-direction: column;
}

.card-name {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.2px;
  display: flex;
  align-items: baseline;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

.card-title-text {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title-year {
  flex: 0 0 auto;
  color: #a3a3a3;
  font-weight: 500;
  font-size: 13px;
  margin-left: 4px;
  white-space: nowrap;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}

.cards-grid .movie-card {
  flex: none;
  width: 100%;
  max-width: none;
}

/* Exact 10-Card per row Grid Layout for Series & Films Genre Selection on Desktop */
#catalogGridWrap {
  padding: 0 calc(4% + 36px);
  margin-top: 20px;
}

#catalogGrid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px 6px;
  margin-bottom: 50px;
}

#catalogGrid .movie-card {
  flex: unset;
  width: 100%;
  max-width: none;
  min-width: 0;
}

@media (max-width: 1600px) {
  #catalogGrid {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (max-width: 1200px) {
  #catalogGrid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 900px) {
  #catalogGrid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Collection Card */
.collection-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: transform 0.25s, border-color 0.25s;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.collection-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ================= KATALOG & GRID VIEW ================= */
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.catalog-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  gap: 10px;
}

.filter-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-main);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}
.filter-select:focus {
  border-color: var(--accent-yellow);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pagination-bar,
#catalogPagination {
  display: none !important;
}

.btn-page {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-page:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}
.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================= DETAIL & PURE THEATER WATCH VIEW (NETFLIX SIGNATURE UI) ================= */
body.in-watch-mode #siteHeader,
body.in-watch-mode .app-footer-clean,
body.in-watch-mode .nflx-hc-footer {
  display: none !important;
}

body.in-watch-mode {
  overflow: hidden !important;
  background: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#viewDetail.watch-view-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: #000000 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#viewDetail.watch-view-fullscreen .custom-player-wrapper {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
}

#viewDetail.watch-view-fullscreen .custom-player-frame {
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
}

#viewDetail.watch-view-fullscreen .video-screen {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
  background: #000000 !important;
}

/* Top Bar Overlay inside Video Player */
.player-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80 !important;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto !important;
}

.custom-player-frame.hide-controls .player-top-bar {
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
}

.player-top-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  pointer-events: auto !important;
  z-index: 81 !important;
}

.player-top-icon-btn:hover {
  background: transparent !important;
  color: #ffffff;
  transform: scale(1.18);
}

.player-title-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.player-main-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.player-sub-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: #a3a3a3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* EXACT NETFLIX SIGNATURE NEXT EPISODE HOVER PREVIEW POPUP */
.nflx-next-ep-popup {
  position: absolute;
  bottom: 76px;
  right: -50px;
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px !important;
  width: 500px;
  max-width: 92vw;
  box-shadow: none !important;
  z-index: 100 !important;
  user-select: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;

  /* Smooth transition on hover with jeda */
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.nflx-next-ep-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nflx-next-ep-popup:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.nflx-next-ep-header {
  padding: 14px 20px;
  background: #1f1f1f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.nflx-next-ep-body {
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(22, 22, 22, 0.98);
}

.nflx-next-ep-thumb-wrap {
  position: relative;
  width: 170px;
  height: 96px;
  flex-shrink: 0;
  background: #111111;
  overflow: hidden;
}

.nflx-next-ep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nflx-next-ep-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.nflx-next-ep-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.nflx-next-ep-num {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.nflx-next-ep-title {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nflx-next-ep-overview {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.88;
}

/* EXACT NETFLIX SIGNATURE EPISODES & SEASONS DRAWER POPUP */
.nflx-episodes-popup {
  position: absolute;
  bottom: 76px;
  right: -28px;
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px !important; /* Sudut tajam */
  width: 520px;
  max-width: 90vw;
  height: 480px !important; /* Fixed exact height - prevents resize jumping */
  max-height: 80vh;
  box-shadow: none !important; /* Tanpa drop shadow */
  z-index: 100 !important;
  user-select: none;
  pointer-events: auto !important;
  animation: fadeIn 0.15s ease;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.episodes-drawer-view {
  display: flex;
  flex-direction: column;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box;
  overflow: hidden;
}

.nflx-ep-drawer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  height: 58px;
  box-sizing: border-box;
}

.nflx-ep-drawer-header.has-multiple-seasons {
  cursor: pointer;
  transition: background 0.15s ease;
}

.nflx-ep-drawer-header.has-multiple-seasons:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nflx-ep-back-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

.nflx-ep-back-btn:hover {
  transform: translateX(-3px);
  color: #ffffff;
}

.nflx-ep-series-title,
.nflx-ep-season-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Seasons List (Screenshot 2) */
.nflx-seasons-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nflx-season-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nflx-season-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nflx-season-item.active {
  border: 1.5px solid #ffffff;
  padding: 12px 16px;
  background: transparent;
}

.nflx-season-item .nflx-season-check {
  margin-right: 12px;
  font-size: 15px;
  color: #ffffff;
}

.nflx-season-arrow {
  font-size: 14px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nflx-season-item:hover .nflx-season-arrow {
  opacity: 1;
}

/* Episodes Cards List (Screenshot 1) */
.nflx-episodes-cards-list {
  overflow-y: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Active / Playing Episode Card (Expanded with white border) */
.nflx-ep-card-active {
  border: 1.5px solid #ffffff;
  padding: 14px 16px;
  margin: 4px 12px 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nflx-ep-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nflx-ep-title-grp {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.nflx-ep-num {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  min-width: 16px;
}

.nflx-ep-name {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nflx-ep-progress-bar {
  width: 90px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  flex-shrink: 0;
  position: relative;
}

.nflx-ep-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
}

.nflx-ep-body-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nflx-ep-thumb-wrap {
  position: relative;
  width: 140px;
  height: 80px;
  flex-shrink: 0;
  background: #111111;
  overflow: hidden;
}

.nflx-ep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nflx-ep-now-playing-badge {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
}

.nflx-ep-play-overlay-badge {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nflx-ep-play-overlay-badge:hover {
  background: rgba(0, 0, 0, 0.6);
}

.nflx-ep-play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nflx-ep-play-circle i {
  transform: translateX(2px);
}

.nflx-ep-play-overlay-badge:hover .nflx-ep-play-circle {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.85);
}

.nflx-ep-progress-fill.is-playing {
  background: #e50914 !important;
  width: 40%;
}

.nflx-ep-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.nflx-ep-equalizer .bar {
  width: 2.5px;
  background: #ffffff;
  border-radius: 1px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.nflx-ep-equalizer .bar:nth-child(1) { height: 5px; animation-delay: 0.1s; }
.nflx-ep-equalizer .bar:nth-child(2) { height: 11px; animation-delay: 0.3s; }
.nflx-ep-equalizer .bar:nth-child(3) { height: 7px; animation-delay: 0.2s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 12px; }
}

.nflx-ep-overview {
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.92;
}

/* Collapsed Episode Item */
.nflx-ep-card-collapsed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.nflx-ep-card-collapsed:hover {
  background: rgba(255, 255, 255, 0.08);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-current { color: var(--accent-yellow); font-weight: 600; }

.watch-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Player Frame & Controls */
/* ================= CUSTOM STREAMING PLAYER UI ================= */
.custom-player-wrapper {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  position: relative;
}

.custom-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  user-select: none;
}

.video-screen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Desktop only: Hide native browser WebVTT cue rendering so only custom styled subtitle is displayed for desktop theater player */
#videoPlayer::cue {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-size: 0px !important;
  color: transparent !important;
  background: transparent !important;
}

/* Custom Subtitle Overlay */
.custom-subtitle-box {
  position: absolute;
  bottom: 124px; /* Default: Bottom +44px */
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  text-align: center;
  max-width: 85%;
  pointer-events: none;
  font-family: var(--font-main);
  font-size: 55px; /* Default: 250% */
  font-weight: 700;
  color: #ffffff; /* Default: Putih Outline */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.95);
  background: transparent;
  padding: 4px 14px;
  border-radius: 6px;
  line-height: 1.35;
  display: none;
  transition: bottom 0.25s ease;
}


/* Center Action Ripple Animation */
.player-center-action {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  background: transparent;
  pointer-events: none !important;
}

.center-play-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42); /* Lingkaran lebih transparan */
  color: #ffffff; /* Tombol putih */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
  opacity: 0;
  transform: scale(0.8);
  padding: 0;
  margin: 0;
  outline: none;
  z-index: 16;
}

.center-play-circle svg {
  color: #ffffff;
  pointer-events: none !important;
}

.player-center-action.animate-pop .center-play-circle {
  animation: centerCircleSmoothFade 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes centerCircleSmoothFade {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  25% {
    opacity: 1;
    transform: scale(1.02);
  }
  65% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Custom Bottom Controls Bar (Exact Netflix Full-Theater Signature UI) */
.custom-player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60 !important;
  background: transparent !important; /* Hapus gradien vinyet hitam bawah */
  padding: 0 44px 34px;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s ease;
  display: flex;
  flex-direction: column;
  user-select: none;
  pointer-events: auto !important;
}

.custom-player-controls * {
  pointer-events: auto;
}

.custom-player-frame.hide-controls .custom-player-controls {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none !important;
}

.custom-player-frame.hide-controls {
  cursor: none;
}

/* Scrubber / Progress Bar Row */
.nflx-scrubber-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 18px;
}

.custom-progress-container {
  position: relative;
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  cursor: pointer;
  transition: height 0.15s ease;
}

.custom-progress-container:hover {
  height: 8px;
}

.custom-progress-buffered {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  pointer-events: none;
}

.custom-progress-played {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #e50914 !important; /* Signature Netflix Red */
  border-radius: 3px;
  pointer-events: none;
}

.custom-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e50914;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, width 0.15s ease, height 0.15s ease;
  pointer-events: none;
}

.custom-progress-container:hover .custom-progress-handle {
  transform: translate(-50%, -50%) scale(1.25);
}

.custom-progress-tooltip {
  position: absolute;
  bottom: 18px;
  left: 0%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  display: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.nflx-remaining-time {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: #d1d1d1;
  white-space: nowrap;
  user-select: none;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.15s;
}

.nflx-remaining-time:hover {
  color: #ffffff;
}

/* Controls Toolbar (Exact Netflix Layout: Left - Center Title - Right) */
.custom-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: auto !important;
  z-index: 65 !important;
}

.nflx-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.15s ease;
  user-select: none;
  pointer-events: auto !important;
  z-index: 65 !important;
}

.nflx-ctrl-btn svg,
.nflx-ctrl-btn svg * {
  display: block;
  pointer-events: none !important;
  transition: transform 0.2s ease;
}

.nflx-ctrl-btn:hover {
  background: transparent !important;
  transform: scale(1.18);
  color: #ffffff;
}

.nflx-ctrl-btn:active {
  transform: scale(0.95);
}

.nflx-btn-subtext {
  position: absolute;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  top: 22px;
  color: #ffffff;
  pointer-events: none !important;
}

/* Center Title in Controls Bar */
.nflx-player-center-title {
  font-family: var(--font-main);
  font-size: 19px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
  text-shadow: none !important;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nflx-player-center-title .nflx-title-main {
  font-weight: 600; /* Judul agak tebal / medium-bold */
  color: #ffffff;
}

.nflx-player-center-title .nflx-title-ep-meta {
  font-weight: 400; /* Season, episode, judul episode normal */
  color: #d1d5db;
  opacity: 0.92;
}

/* Volume Container & Vertical Netflix Capsule Popup */
.nflx-volume-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nflx-volume-vertical-popup {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 32px;
  height: 120px;
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important; /* Tanpa drop shadow */
  z-index: 70;
}

.nflx-volume-container:hover .nflx-volume-vertical-popup,
.nflx-volume-vertical-popup:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nflx-volume-track {
  position: relative;
  width: 5px;
  height: 94px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  cursor: pointer;
  user-select: none;
}

.nflx-volume-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #e50914; /* Netflix Crimson Red */
  border-radius: 3px;
  pointer-events: none;
}

.nflx-volume-thumb {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 14px;
  height: 14px;
  background: #e50914;
  border-radius: 50%;
  box-shadow: none !important; /* Tanpa drop shadow */
  pointer-events: none;
}

/* Top Bar Buttons */
.player-top-icon-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s, color 0.2s;
}

.player-top-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.1);
  color: #ffffff;
}

/* Volume Slider */
.volume-container {
  display: flex;
  align-items: center;
  position: relative;
}
.volume-slider-wrap {
  width: 0px;
  overflow: hidden;
  transition: width 0.25s ease;
  display: flex;
  align-items: center;
}
.volume-container:hover .volume-slider-wrap {
  width: 70px;
  margin-right: 6px;
}
.volume-slider {
  width: 65px;
  height: 4px;
  accent-color: var(--accent-yellow);
  cursor: pointer;
}

/* Time Display */
.time-display {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.time-sep {
  margin: 0 3px;
  opacity: 0.5;
}

/* EXACT NETFLIX SIGNATURE SUBTITLES POPUP (EXACT SCREENSHOT) */
.nflx-subtitles-popup {
  position: absolute;
  bottom: 76px;
  right: -28px;
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px !important; /* Sudut tajam */
  width: 270px;
  padding: 24px 20px 18px 20px;
  box-shadow: none !important; /* Tanpa drop shadow */
  z-index: 100 !important;
  user-select: none;
  pointer-events: auto !important;
  animation: fadeIn 0.15s ease;
  box-sizing: border-box;
}

.nflx-subtitles-header {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  padding-left: 38px;
  letter-spacing: -0.4px;
}

.nflx-subtitles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nflx-sub-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  cursor: pointer;
  color: #8c8c8c; /* Exact Netflix inactive grey */
  font-family: var(--font-main);
  font-size: 21px; /* Exact readable size */
  font-weight: 500;
  transition: color 0.15s ease;
}

.nflx-sub-item:hover {
  color: #ffffff;
}

.nflx-sub-item.active {
  color: #ffffff;
  font-weight: 700;
}

.nflx-sub-check-col {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  color: #ffffff;
}

.nflx-sub-item.active .nflx-sub-check-col {
  visibility: visible;
}

.nflx-sub-check-svg {
  stroke: #ffffff;
}

.nflx-sub-label {
  flex: 1;
  letter-spacing: -0.2px;
}

.nflx-sub-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px 0 2px 0;
}

.nflx-sub-upload {
  font-size: 16px;
  color: #8c8c8c;
}

.nflx-sub-upload .nflx-sub-check-col {
  visibility: visible;
  color: #ffffff;
}

.nflx-sub-upload:hover {
  color: #ffffff;
}

/* EXACT NETFLIX SIGNATURE SETTINGS POPUP MENU (MATCHING SUBTITLE POPUP) */
.player-menu-wrapper {
  position: relative;
}

.idlix-settings-menu {
  position: absolute;
  bottom: 76px;
  right: -28px;
  background: rgba(22, 22, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0px !important; /* Sudut tajam tanpa rounded */
  width: 290px;
  padding: 16px 14px 12px 14px;
  box-shadow: none !important; /* Tanpa drop shadow */
  z-index: 100 !important;
  user-select: none;
  pointer-events: auto !important;
  animation: fadeIn 0.15s ease;
  box-sizing: border-box;
}

.settings-page {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
}

.idlix-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  cursor: pointer;
  color: #8c8c8c; /* Inactive grey */
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  border-radius: 0px;
  transition: color 0.15s ease, background 0.15s ease;
}

.idlix-menu-row:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
}

.menu-row-left .menu-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: inherit;
}

.menu-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-val {
  font-size: 14px;
  font-weight: 400;
  color: #8c8c8c;
  transition: color 0.15s ease;
}

.idlix-menu-row:hover .menu-val {
  color: #ffffff;
}

.menu-arrow {
  font-size: 11px;
  color: #8c8c8c;
  transition: color 0.15s ease;
}

.idlix-menu-row:hover .menu-arrow {
  color: #ffffff;
}

/* Submenu Headers & Items */
.sub-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 12px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 6px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  transition: color 0.15s ease;
}

.sub-header i {
  font-size: 14px;
  color: #ffffff;
}

.sub-header:hover {
  background: transparent;
  color: #ffffff;
}

.sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-family: var(--font-main);
  font-size: 16px;
  color: #8c8c8c;
  cursor: pointer;
  border-radius: 0px;
  transition: background 0.15s, color 0.15s;
}

.sub-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sub-item.active {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.sub-item .check-icon {
  font-size: 14px;
  color: #ffffff;
}

/* EXACT IDLIX RESOLUTION SUBMENU MATCHING USER SCREENSHOT */
.idlix-res-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 0px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.idlix-res-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.idlix-res-item.active {
  font-weight: 700;
  color: #ffffff;
}

.idlix-res-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.idlix-res-item:not(.active) .idlix-res-check svg {
  display: none;
}

.idlix-res-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.idlix-hd-tag {
  color: #e50914;
  font-size: 11px;
  font-weight: 800;
  vertical-align: super;
  line-height: 1;
  margin-left: 2px;
  letter-spacing: 0.5px;
}

.sub-upload-item {
  color: #ffffff !important;
  font-weight: 500;
  margin-top: 4px;
}

.sub-upload-item i {
  color: #ffffff !important;
  font-size: 15px;
}

.sub-upload-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 6px 0;
}

/* Red Progress Scrubber Handle like IDLIX */
.custom-progress-played {
  background: #e50914 !important;
}
.custom-progress-handle {
  background: #e50914 !important;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.8) !important;
}

/* Theater Mode */
.player-wrapper.theater-mode {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  border-radius: 0;
  max-width: 100vw !important;
  height: 100vh !important;
}
.player-wrapper.theater-mode .custom-player-frame {
  aspect-ratio: auto;
  height: 100%;
}


/* Video Buffering Overlay (Exact Netflix Crimson Red Arc Spinner) */
.player-loading-spinner {
  position: absolute;
  inset: 0;
  background: #000000; /* Layar Hitam Pekat Murni */
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.25s ease;
}

.player-loading-spinner.active {
  opacity: 1;
  pointer-events: none !important;
}

.netflix-spinner-text {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 24px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  animation: pulseSpinnerOpacity 1.5s ease-in-out infinite;
}

@keyframes pulseSpinnerOpacity {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.netflix-spinner-wrap {
  position: relative;
  width: 114px;
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.netflix-spinner-svg {
  width: 100%;
  height: 100%;
  animation: netflixArcRotate 0.85s linear infinite;
  transform-origin: center center;
}

.netflix-spinner-tapered-arc {
  fill: #e50914;
  filter: drop-shadow(0 0 16px rgba(229, 9, 20, 0.65));
}

@keyframes netflixArcRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   NETFLIX PAUSE & IDLE AMBIENT DIMMING INFO OVERLAY
   ========================================================================== */
.player-pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 22; /* Above video & subtitle, below player controls & top bar */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 9.5vw; /* Digeser agak ke kanan dari tepi layar */
  padding-right: 9.5vw;
  box-sizing: border-box;
}

.player-pause-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pause-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36); /* Redup lembut ~36% (naik 8%) */
  backdrop-filter: none !important; /* Hapus blur */
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.pause-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 780px; /* Lebar lebih lega */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateY(18px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: none !important;
}

.player-pause-overlay.active .pause-overlay-content {
  transform: translateY(0);
}

.pause-watching-tag {
  font-family: var(--font-main);
  font-size: clamp(17px, 1.4vw, 20px); /* +25% */
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-shadow: none !important;
}

.pause-title {
  font-family: var(--font-main);
  font-size: clamp(42px, 5.2vw, 68px); /* +25% */
  font-weight: 800;
  line-height: 1.06;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.8px;
  text-shadow: none !important;
}

.pause-series-meta {
  display: flex;
  flex-direction: column;
  margin-top: 4px; /* Jarak judul dan season sangat dekat */
  text-shadow: none !important;
}

.pause-season-label {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.2vw, 26px); /* +25% */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.3px;
  margin: 0;
  text-shadow: none !important;
}

.pause-episode-title {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.2vw, 25px); /* +25% */
  font-weight: 700;
  color: #ffffff;
  margin: 24px 0 0 0; /* Jarak pemisah sebelum episode */
  letter-spacing: -0.2px;
  text-shadow: none !important;
}

.pause-overview {
  font-family: var(--font-main);
  font-size: clamp(18px, 1.8vw, 22px); /* +25% */
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 26px 0 0 0; /* Jarak bersih antara judul dan sinopsis untuk Film */
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Sekitar 3-4 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 780px;
  text-shadow: none !important;
}

/* Khusus Series: jarak setelah episode */
.pause-series-meta:not([style*="display: none"]) ~ .pause-overview {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .player-pause-overlay {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.step-badge.done {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.player-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.server-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.player-right-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-btn-download {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: var(--accent-green) !important;
}
.server-btn-download:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  color: #fff !important;
}

.download-tips {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(245, 197, 24, 0.08);
  border: 1px dashed rgba(245, 197, 24, 0.3);
  border-radius: var(--radius-sm);
}



.server-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  margin-right: 4px;
}

.server-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.server-btn:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.server-btn.active {
  background: rgba(245, 197, 24, 0.15);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

.player-quality-badge {
  font-size: 12px;
  color: var(--text-muted);
}
.player-quality-badge strong {
  color: var(--accent-green);
}

/* Detail Content Box */
.detail-content-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.detail-main-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.detail-poster {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.mt-3 { margin-top: 12px; }

.detail-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.detail-tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 4px;
  margin-bottom: 16px;
}

.detail-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.detail-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.genre-tag {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 20px;
}

.detail-section {
  margin-bottom: 20px;
}

.detail-section-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-overview {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.director-row {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.director-row strong { color: #fff; }

.cast-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px 4px 4px;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}

.cast-pic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* Series Episodes Block */
.series-episodes-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.episodes-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.episodes-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.season-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.season-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}
.season-tab-btn.active {
  background: var(--accent-yellow);
  color: #000;
  font-weight: 700;
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.episode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 10px;
  transition: all 0.2s;
}

.episode-card:hover, .episode-card.active {
  background: var(--bg-card-hover);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}

.ep-still-wrap {
  position: relative;
  width: 100px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.ep-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-play-tag {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.episode-card:hover .ep-play-tag { opacity: 1; }

.ep-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ep-number {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.ep-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0;
}

.ep-dur {
  font-size: 11px;
  color: var(--text-dim);
}

/* ================= GENRES & COLLECTIONS VIEW ================= */
.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.genre-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}
.genre-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
}


/* ================= MODAL & TESTER ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

.modal-body {
  padding: 20px;
}

.tester-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.tester-select, .tester-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.tester-input-row {
  display: flex;
  gap: 10px;
}
.tester-input-row input { flex: 1; }

.tester-stats-row {
  display: flex;
  gap: 24px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.json-code-box {
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  height: 340px;
  overflow: auto;
  font-family: monospace;
  font-size: 12px;
  color: #7dd3fc;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--accent-yellow);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 2000;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards-carousel { grid-template-columns: repeat(4, 1fr); }
  .collections-carousel { grid-template-columns: repeat(2, 1fr); }
  .detail-main-row { grid-template-columns: 1fr; }
  .detail-poster-col { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .nav-container { flex-direction: column; align-items: stretch; }
  .nav-left { justify-content: space-between; }
  .nav-links { overflow-x: auto; padding-bottom: 4px; }
  .search-wrapper { width: 100%; }
  .cards-carousel { grid-template-columns: repeat(2, 1fr); }
  .collections-carousel { grid-template-columns: 1fr; }
  .hero-inner { padding: 24px; }
  .hero-title { font-size: 24px; }
}

/* ================= NETFLIX TOP 10 GIANT NUMBER CARDS (ICONIC NETFLIX OVERLAP) ================= */
.top10-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 4% 36px;
  scrollbar-width: none;
}
.top10-carousel::-webkit-scrollbar {
  display: none;
}

.top10-card {
  position: relative;
  flex: 0 0 calc((100vw - 8% - 80px - 60px) / 6);
  width: calc((100vw - 8% - 80px - 60px) / 6);
  max-width: none;
  min-width: 160px;
  height: clamp(210px, 13.5vw, 260px);
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}

.top10-card:hover {
  transform: scale(1.06);
  z-index: 10;
}

.top10-num-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 68%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.top10-num-svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}

.top10-num-text {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 260px;
  fill: #000000;
  stroke: #595959;
  stroke-width: 6px;
  paint-order: stroke fill;
}

.top10-num-ten {
  font-size: 218px;
  letter-spacing: -24px;
}

.top10-poster-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  aspect-ratio: 2/3;
  height: 100%;
  width: auto;
  border-radius: 6px;
  overflow: hidden;
  z-index: 2;
  box-shadow: -10px 4px 22px rgba(0, 0, 0, 0.9), 0 12px 28px rgba(0, 0, 0, 0.9);
  background: #181818;
}

.top10-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top10-badge-added {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  background: #e50914;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ================= 16:9 LANDSCAPE CARDS (EXACT 6 CARDS PER SCREEN - PERFECT LOOP) ================= */
.landscape-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4% 28px;
  scrollbar-width: none;
}
.landscape-carousel::-webkit-scrollbar {
  display: none;
}

.landscape-card {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
}

.landscape-carousel .landscape-card {
  flex: 0 0 calc((100vw - 8% - 50px) / 6);
  width: calc((100vw - 8% - 50px) / 6);
  min-width: 190px;
  max-width: none;
}

@media (max-width: 1280px) {
  .landscape-carousel .landscape-card {
    flex: 0 0 calc((100vw - 8% - 40px) / 5);
    width: calc((100vw - 8% - 40px) / 5);
  }
}

@media (max-width: 960px) {
  .landscape-carousel .landscape-card {
    flex: 0 0 calc((100vw - 8% - 30px) / 4);
    width: calc((100vw - 8% - 30px) / 4);
  }
}

@media (max-width: 680px) {
  .landscape-carousel .landscape-card {
    flex: 0 0 calc((100vw - 8% - 20px) / 2.5);
    width: calc((100vw - 8% - 20px) / 2.5);
  }
}

.landscape-card:hover {
  transform: scale(1.04);
  z-index: 5;
}

.landscape-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 5px;
  overflow: hidden;
  background: #141414;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.7);
}

.landscape-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.landscape-card:hover .landscape-img {
  transform: scale(1.04);
}

.landscape-badge-ep {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.landscape-badge-quality {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.landscape-logo-wrap {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 3;
}

.landscape-logo-img {
  max-width: 120px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
}

.landscape-badge-rating {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #ffc107;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.landscape-badge-comment {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(6px);
  color: #d1d1d1;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.landscape-info-box {
  padding: 8px 1px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.landscape-ep-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  width: 100%;
  overflow: hidden;
  margin: 0;
}

.landscape-title-text {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landscape-title-year {
  flex: 0 0 auto;
  color: #a3a3a3;
  font-weight: 500;
  font-size: 13px;
  margin-left: 4px;
  white-space: nowrap;
}

.landscape-ep-meta {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  color: #8c8c8c;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= ULTRA CLEAN MINIMAL FOOTER ================= */
.app-footer-clean {
  background: var(--bg-main);
  border-top: none;
  padding: 36px 4% 32px;
  color: #8c8c8c;
  font-family: var(--font-main);
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.footer-clean-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-clean-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  width: fit-content;
}

.footer-logo-img {
  height: 25px;
  width: auto;
  object-fit: contain;
}

.footer-clean-disclaimer {
  font-size: 12.5px;
  color: #808080;
  line-height: 1.55;
  margin: 0;
}

.footer-clean-disclaimer strong {
  color: #a6a6a6;
  font-weight: 600;
}

.footer-clean-actions {
  display: flex;
  align-items: center;
}

.footer-clean-link {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: #b3b3b3;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-clean-link i {
  color: #8c8c8c;
  font-size: 14px;
  text-decoration: none;
  pointer-events: none;
  transition: color 0.2s ease;
}

.footer-clean-link span {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-clean-link:hover i,
.footer-clean-link:hover span {
  color: #ffffff;
}

.footer-clean-link:hover span {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-clean-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ================= CONTACT MODAL STYLES ================= */
.contact-modal-card {
  max-width: 520px;
}

.contact-desc {
  font-size: 13px;
  color: #a3a3a3;
  margin-bottom: 18px;
  line-height: 1.5;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-icon.tg {
  background: #0088cc;
  color: #ffffff;
}

.contact-icon.mail {
  background: var(--netflix-red);
  color: #ffffff;
}

.contact-info {
  flex: 1;
  min-width: 0;
}

.contact-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-info p {
  font-size: 11px;
  color: #8c8c8c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-arrow {
  color: #666666;
  font-size: 11px;
}

.contact-form-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.contact-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 9px 12px;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--netflix-red);
}

.contact-textarea {
  resize: vertical;
  min-height: 70px;
}

.btn-send-contact {
  width: 100%;
  background: var(--netflix-red);
  color: #ffffff;
  border: none;
  padding: 11px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.btn-send-contact:hover {
  background: #b80710;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-options-grid,
  .contact-input-group {
    grid-template-columns: 1fr;
  }
}

/* ================= EXACT NETFLIX HELP CENTER PAGE (/contactus) ================= */
.nflx-hc-page {
  background: #ffffff;
  color: #000000;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-main) !important;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  overflow-y: auto;
}

.nflx-hc-page button,
.nflx-hc-page input,
.nflx-hc-page textarea,
.nflx-hc-page select {
  font-family: var(--font-main) !important;
}

/* 1. EXACT NETFLIX HELP HEADER (BLACK) */
.nflx-hc-header {
  background-color: #000000;
  height: 68px;
  border-bottom: 1px solid #1f1f1f;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 5%;
  flex-shrink: 0;
}

.nflx-hc-header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nflx-hc-brand {
  display: flex;
  align-items: center;
}

.nflx-hc-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.nflx-hc-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.nflx-hc-sep {
  color: #ffffff;
  margin: 0 14px;
  font-size: 22px;
  font-weight: 300;
  opacity: 0.6;
}

.nflx-hc-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.nflx-hc-user-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.nflx-hc-user-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hc-caret {
  color: var(--netflix-red);
  font-size: 11px;
}

/* 2. EXACT NETFLIX HELP BODY (WHITE CANVAS) */
.nflx-hc-body {
  background: #ffffff;
  color: #000000;
  flex: 1 1 auto;
  padding: 36px 5% 36px;
  display: flex;
  flex-direction: column;
}

.nflx-hc-container {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.nflx-hc-heading {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  color: #000000;
  margin: 0 0 26px;
  letter-spacing: -0.5px;
}

/* Tabs */
.nflx-hc-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 2px solid #e6e6e6;
  margin-bottom: 26px;
}

.nflx-hc-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 4px 12px;
  font-size: 15px;
  font-weight: 400;
  color: #737373;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nflx-hc-tab:hover {
  color: #000000;
}

.nflx-hc-tab.active {
  color: #000000;
  font-weight: 500;
  border-bottom-color: #000000;
}

.hc-tab-icon {
  font-size: 16px;
}

.nflx-hc-subtext {
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Simple Advertising Notice */
.nflx-hc-ad-notice {
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--netflix-red);
  padding: 18px 24px;
  border-radius: 6px;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.7;
}

.nflx-hc-ad-notice p {
  margin: 0;
}

.hc-ad-email-link {
  color: #e50914 !important;
  font-size: 16.5px;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.hc-ad-email-link:hover {
  color: #b80710 !important;
  opacity: 0.85;
}

/* Exact Netflix Accordion FAQ Component */
.nflx-faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.nflx-faq-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nflx-faq-card:hover {
  border-color: #999999;
}

.nflx-faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  user-select: none;
}

.nflx-faq-caret {
  font-size: 16px;
  color: #111111;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.nflx-faq-card.open .nflx-faq-caret {
  transform: rotate(90deg);
}

.nflx-faq-title {
  font-size: 17px;
  font-weight: 700;
  color: #111111;
  line-height: 1.4;
}

.nflx-faq-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nflx-faq-card.open .nflx-faq-collapse {
  max-height: 350px;
}

.nflx-faq-inner {
  padding: 0 24px 22px 52px;
  font-size: 15.5px;
  font-weight: 400;
  color: #2b2b2b;
  line-height: 1.7;
}

.nflx-faq-inner p {
  margin: 0;
}

.nflx-faq-red-link {
  color: #e50914 !important;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.nflx-faq-red-link:hover {
  color: #b80710 !important;
}

/* 3. EXACT NETFLIX HELP FOOTER (BLACK WITH SUBTLE RED GLOW) */
.nflx-hc-footer {
  background: radial-gradient(circle at 90% 50%, rgba(229, 9, 20, 0.16) 0%, #000000 70%);
  background-color: #000000;
  border-top: 1px solid #1a1a1a;
  padding: 24px 5% 28px;
  flex-shrink: 0;
  margin-top: auto;
}

.nflx-hc-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.nflx-hc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nflx-hc-footer-links li a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  width: fit-content;
}

.nflx-hc-footer-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
  transform: translateX(3px);
}

/* ================= NETFLIX DESKTOP HOVER PREVIEW POPUP (EXACT 100% NETFLIX SPEC) ================= */
@media (hover: hover) and (pointer: fine) {
  .nflx-hover-portal {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1200;
    pointer-events: none;
  }

  .nflx-hover-portal.active {
    pointer-events: auto;
  }

  .nflx-hover-card {
    position: absolute;
    width: 575px;
    background: #181818;
    border-radius: 9px;
    box-shadow: 0 34px 68px -12px rgba(0, 0, 0, 0.98), 0 20px 40px rgba(0, 0, 0, 0.92);
    overflow: hidden;
    cursor: pointer;
    font-family: var(--font-main);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    animation: nflxHoverBloomIn 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    will-change: transform, opacity, filter;
  }

  .nflx-hover-card.closing {
    animation: nflxHoverBloomOut 0.22s cubic-bezier(0.4, 0, 1, 1) forwards;
  }

  @keyframes nflxHoverBloomIn {
    0% {
      opacity: 0;
      transform: scale(0.68) translateY(14px);
      filter: blur(2px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
      filter: blur(0px);
    }
  }

  @keyframes nflxHoverBloomOut {
    0% {
      opacity: 1;
      transform: scale(1) translateY(0);
      filter: blur(0px);
    }
    100% {
      opacity: 0;
      transform: scale(0.76) translateY(10px);
      filter: blur(1px);
    }
  }

  /* 1. Media Preview Area (16:9 Landscape - Crisp Solid Cut) */
  .nflx-hover-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #141414;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nflx-hover-trailer-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background: #000000;
  }

  .nflx-hover-trailer-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform: scale(1.55);
    transform-origin: center center;
    pointer-events: none;
  }

  .nflx-hover-type-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
    line-height: 1.1;
    padding: 4.5px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    z-index: 5;
  }

  .nflx-hover-quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
    line-height: 1.1;
    padding: 4.5px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    z-index: 5;
  }

  .nflx-hover-title-overlay {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
  }

  .nflx-hover-logo-img {
    max-width: 220px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
    transition: opacity 0.2s ease;
  }

  .nflx-hover-audio-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
  }

  .nflx-hover-audio-btn:hover {
    background: rgba(45, 45, 45, 0.95);
    border-color: #ffffff;
    transform: scale(1.12);
  }

  .nflx-hover-title-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 2. Metadata & Actions Area */
  .nflx-hover-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .nflx-hover-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nflx-hover-btn-group-left {
    display: flex;
    align-items: center;
    gap: 13px;
  }

  /* Play Button (White Round Button) */
  .nflx-hover-btn-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    padding-left: 3px;
  }

  .nflx-hover-btn-play:hover {
    background: #e6e6e6;
    transform: scale(1.1);
  }

  .nflx-hover-btn-more {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(42, 42, 42, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .nflx-hover-btn-more:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
  }

  /* Metadata Row */
  .nflx-hover-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 16px;
    flex-wrap: wrap;
    line-height: 1;
  }

  .nflx-hover-match {
    color: #46d369;
    font-weight: 700;
    font-size: 16px;
  }

  .nflx-hover-age {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.95);
    padding: 2px 7px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 2px;
  }

  .nflx-hover-duration {
    color: #a3a3a3;
    font-weight: 400;
    font-size: 15.5px;
  }

  .nflx-hover-badge-hd {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-weight: 700;
    padding: 0 6px;
    border-radius: 2px;
    letter-spacing: 0.5px;
  }

  /* Genre Tags Row */
  .nflx-hover-genres {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #e5e5e5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nflx-hover-genre-dot {
    color: #666666;
    font-size: 8px;
  }
}

/* ================= NETFLIX QUICK-VIEW DETAIL MODAL (EXACT 100% SPEC & MOTION) ================= */
.nflx-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px 80px;
  animation: nflxOverlayFadeIn 0.32s ease forwards;
}

.nflx-modal-overlay.closing {
  animation: nflxOverlayFadeOut 0.22s ease forwards;
}

@keyframes nflxOverlayFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes nflxOverlayFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.nflx-modal-container {
  position: relative;
  width: 95%;
  max-width: 1380px;
  background: #181818;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  color: #ffffff;
  font-family: var(--font-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform-origin: top left;
  will-change: transform, opacity;
}

.nflx-modal-container.default-open {
  animation: nflxModalExpandIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: center center;
}

.nflx-modal-container.closing {
  animation: nflxModalExpandOut 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes nflxModalExpandIn {
  0% {
    opacity: 0;
    transform: scale(0.86) translateY(32px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes nflxModalExpandOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
  }
}

.nflx-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #181818;
  border: none;
  color: #ffffff;
  font-size: 17px;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: background 0.15s ease, transform 0.15s ease;
}

.nflx-modal-close-btn:hover {
  background: #282828;
  transform: scale(1.08);
}

/* 1. Hero Banner Area */
.nflx-modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  background: #141414;
  overflow: hidden;
  cursor: pointer;
}

.nflx-modal-hero-media {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.nflx-modal-backdrop-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.nflx-modal-trailer-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
  background: #000000;
  pointer-events: none;
}

.nflx-modal-trailer-wrapper.playing {
  opacity: 1;
}

.nflx-modal-trailer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  transform: scale(1.45);
  transform-origin: center center;
  pointer-events: none;
}

.nflx-modal-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, 0.6) 35%, rgba(24, 24, 24, 0.2) 65%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.nflx-modal-hero-content {
  position: absolute;
  bottom: 32px;
  left: 36px;
  right: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 5;
  pointer-events: none;
}

.nflx-modal-logo-img {
  max-width: 340px;
  max-height: 115px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95));
  pointer-events: none;
}

.nflx-modal-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95);
  margin: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.nflx-modal-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.nflx-modal-btn-play {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 4px;
  padding: 10px 28px;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nflx-modal-btn-play:hover {
  background: #e6e6e6;
  transform: scale(1.04);
}

.nflx-modal-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nflx-modal-btn-circle:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.nflx-modal-btn-circle.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #141414;
}

.nflx-modal-audio-btn {
  position: absolute;
  bottom: 32px;
  right: 36px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.15s ease;
}

.nflx-modal-audio-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* 2. Modal Body & Grid */
.nflx-modal-body {
  padding: 24px 36px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nflx-modal-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 768px) {
  .nflx-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.nflx-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.nflx-modal-match {
  color: #46d369;
  font-weight: 700;
}

.nflx-modal-year,
.nflx-modal-duration {
  color: #a3a3a3;
  font-weight: 500;
}

.nflx-modal-age,
.nflx-modal-quality {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1.5px 6.5px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.nflx-modal-overview {
  font-size: 15px;
  line-height: 1.6;
  color: #e5e5e5;
  margin: 0;
}

.nflx-modal-col-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.nflx-modal-label {
  color: #777777;
  margin-right: 5px;
}

.nflx-modal-value {
  color: #e5e5e5;
  line-height: 1.4;
}

/* 3. Episodes Section */
.nflx-modal-episodes-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.nflx-modal-episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nflx-modal-episodes-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Custom Netflix Season Dropdown Picker (Matching Reference UI) */
.nflx-season-picker-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.nflx-season-btn {
  background: #242424;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 170px;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: var(--font-main);
}

.nflx-season-btn span {
  white-space: nowrap;
}

.nflx-season-btn.single-season,
.nflx-season-picker-wrapper.is-single-season .nflx-season-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-width: unset !important;
  cursor: default !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

.nflx-season-btn.single-season i,
.nflx-season-btn.single-season .fa-caret-down,
.nflx-season-picker-wrapper.is-single-season i {
  display: none !important;
}

.nflx-season-btn:hover {
  border-color: #ffffff;
  background: #2a2a2a;
}

.nflx-season-btn.single-season:hover {
  border-color: transparent !important;
  background: transparent !important;
}

.nflx-season-btn i {
  font-size: 13px;
  color: #ffffff;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nflx-season-btn.open i {
  transform: rotate(180deg);
}

.nflx-season-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95);
  z-index: 200;
  min-width: 100%;
  width: max-content;
  max-width: calc(100vw - 40px);
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0;
  animation: nflxMenuPopIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes nflxMenuPopIn {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nflx-season-menu-item {
  padding: 12px 28px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.nflx-season-menu-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nflx-season-menu-item.active {
  background: rgba(255, 255, 255, 0.08);
}

.nflx-season-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nflx-season-item-count {
  font-size: 14px;
  font-weight: 400;
  color: #a3a3a3;
  white-space: nowrap;
  flex-shrink: 0;
}

.nflx-modal-episodes-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nflx-modal-ep-item {
  display: grid;
  grid-template-columns: 44px 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nflx-modal-ep-item:hover {
  background: #282828;
}

.nflx-modal-ep-num {
  font-size: 24px;
  font-weight: 700;
  color: #a3a3a3;
  text-align: center;
}

.nflx-modal-ep-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #141414;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.nflx-modal-ep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nflx-modal-ep-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nflx-modal-ep-item:hover .nflx-modal-ep-play-overlay {
  opacity: 1;
}

.nflx-modal-ep-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nflx-modal-ep-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.nflx-modal-ep-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.nflx-modal-ep-dur {
  font-size: 15px;
  font-weight: 500;
  color: #a3a3a3;
}

.nflx-modal-ep-overview {
  font-size: 14.5px;
  line-height: 1.5;
  color: #b3b3b3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Episode Item Animation & Hidden State */
.nflx-modal-ep-item.nflx-modal-ep-hidden {
  display: none !important;
}

@keyframes nflxEpItemFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nflx-modal-more-card.nflx-modal-more-hidden {
  display: none !important;
}

/* Netflix Centered Expander Divider (Matches Video Reference) */
.nflx-episodes-expand-divider,
.nflx-more-expand-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 10px;
  width: 100%;
}

.nflx-divider-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.nflx-divider-expand-btn {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
  outline: none;
}

.nflx-divider-expand-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.15);
}

/* 4. Collection Section */
.nflx-modal-collection-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

/* 5. More Like This / Rekomendasi (Exact 3-Column Grid) */
.nflx-modal-more-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.nflx-modal-more-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
}

.nflx-modal-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .nflx-modal-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nflx-modal-more-grid {
    grid-template-columns: 1fr;
  }
}

.nflx-modal-more-card {
  background: #2f2f2f;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  display: flex;
  flex-direction: column;
}

.nflx-modal-more-card:hover {
  transform: translateY(-4px);
  background: #383838;
}

.nflx-modal-more-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.nflx-more-logo-wrap {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 3;
}

.nflx-more-logo-img {
  max-width: 135px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
}

.nflx-more-title-overlay {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
}

.nflx-modal-more-duration-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  z-index: 3;
}

.nflx-modal-more-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.nflx-modal-more-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.nflx-modal-more-left-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nflx-modal-more-overview {
  font-size: 12.5px;
  line-height: 1.45;
  color: #b3b3b3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nflx-modal-more-btn-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 2px;
  outline: none;
}

.nflx-modal-more-btn-play:hover {
  background: #ffffff;
  color: #141414;
  border-color: #ffffff;
  transform: scale(1.12);
}

.nflx-modal-cast-more {
  color: #a3a3a3;
  font-style: italic;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-left: 2px;
}

.nflx-modal-cast-more:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 5. About Section (Footer Detail) */
.nflx-modal-about-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  transition: background 0.4s ease;
}

@keyframes nflxAboutGlow {
  0% { background: rgba(255, 255, 255, 0.1); border-radius: 8px; }
  100% { background: transparent; }
}

.nflx-modal-about-section.highlight-glow {
  animation: nflxAboutGlow 1.5s ease;
  padding: 16px;
}

.nflx-modal-about-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
}

.nflx-modal-about-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.nflx-modal-about-row {
  display: flex;
  line-height: 1.5;
}

.nflx-modal-about-label {
  color: #777777;
  min-width: 110px;
  flex-shrink: 0;
}

.nflx-modal-about-val {
  color: #e5e5e5;
}

/* ================= MOBILE MODE: NATIVE APP PAGE DETAIL VIEW ================= */
@media (max-width: 768px) {
  .nflx-modal-overlay {
    padding: 0;
    align-items: stretch;
    background: #141414;
  }

  .nflx-modal-container {
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
    animation: nflxMobilePageSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nflx-modal-container.closing {
    animation: nflxMobilePageSlideDown 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  @keyframes nflxMobilePageSlideUp {
    0% {
      opacity: 0;
      transform: translateY(60px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes nflxMobilePageSlideDown {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(60px);
    }
  }

  .nflx-modal-close-btn {
    top: 12px;
    right: 12px;
    background: rgba(20, 20, 20, 0.8);
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .nflx-modal-hero {
    max-height: 280px;
  }

  .nflx-modal-body {
    padding: 18px 16px 40px;
    gap: 24px;
  }

  .nflx-modal-hero-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .nflx-modal-title {
    font-size: 22px;
  }

  .nflx-modal-logo-img {
    max-width: 220px;
    max-height: 80px;
  }

  .nflx-modal-ep-item {
    grid-template-columns: 24px 105px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .nflx-modal-more-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ================= NETFLIX-GRADE PRE-ROLL VIDEO AD OVERLAY ENGINE ================= */
.nflx-preroll-ad-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.nflx-preroll-ad-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.nflx-preroll-top-badge {
  position: absolute;
  top: 28px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 30px;
  z-index: 102;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.nflx-preroll-ad-tag {
  background: #e50914;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nflx-preroll-ad-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.nflx-preroll-countdown-text {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nflx-preroll-close-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 105;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.nflx-preroll-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.85);
}

.nflx-preroll-close-btn:active {
  transform: scale(0.94);
}

.nflx-preroll-bottom-controls {
  position: absolute;
  bottom: 72px;
  right: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 102;
}

.nflx-preroll-btn {
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.nflx-preroll-learn-btn {
  background: #e50914;
  color: #ffffff;
  padding: 10px 18px;
  border: none;
}

.nflx-preroll-learn-btn:hover {
  background: #e50914;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.nflx-preroll-skip-wrap {
  display: inline-flex;
  align-items: center;
}

.nflx-preroll-wait-text {
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  padding: 10px 18px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.nflx-preroll-skip-btn {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 10px 20px;
}

.nflx-preroll-skip-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .nflx-preroll-top-badge {
    top: 18px;
    left: 18px;
    padding: 6px 12px;
  }
  .nflx-preroll-countdown-text {
    font-size: 12px;
  }
  .nflx-preroll-bottom-controls {
    bottom: 56px;
    right: 20px;
    gap: 8px;
  }
  .nflx-preroll-btn,
  .nflx-preroll-wait-text {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* ================= STRICT NETFLIX ANTI-ADBLOCK MODAL ================= */
.adblock-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: adblockFadeIn 0.25s ease-out;
}

@keyframes adblockFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.adblock-modal-card {
  background: #141419;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 9, 20, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adblock-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #e50914;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.25);
}

.adblock-modal-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 10px 0;
}

.adblock-modal-desc {
  color: #a1a1aa;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 24px 0;
  font-weight: 400;
}

.adblock-modal-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adblock-btn-primary {
  width: 100%;
  padding: 13px 20px;
  background: #e50914;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

.adblock-btn-primary:hover {
  background: #f40612;
  transform: translateY(-1px);
}

.adblock-btn-primary:active {
  transform: translateY(0);
  background: #b80710;
}

.adblock-modal-subtext {
  font-size: 11px;
  color: #71717a;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.shake-anim {
  animation: adblockShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes adblockShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}
