/* ========================================================
   StreamFliz - Premium Dark Streaming CSS
   ======================================================== */

:root {
  --primary: #E50914;
  --primary-hover: #f6121d;
  --primary-glow: rgba(229, 9, 20, 0.35);
  --bg-main: #0B0C0E;
  --bg-surface: #12141A;
  --bg-card: #181A22;
  --bg-glass: rgba(24, 26, 34, 0.75);
  --border-color: #262936;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #FFFFFF;
  --text-muted: #9CA3AF;
  --accent-gold: #F59E0B;
}

* {
  box-sizing: border-box;
}

/* Universal Link & Button Underline Removal */
a,
a *,
a:hover,
a:hover *,
a:focus,
a:active,
a:visited,
button,
button *,
button:hover,
button:hover *,
button:focus,
button:active,
.btn,
.btn:hover,
.btn:focus,
.btn:active,
[role="button"],
[role="button"]:hover,
.nav-link,
.nav-link:hover,
.page-link,
.page-link:hover,
.card-title,
.card-title a,
.card-title a:hover,
.top-tab,
.top-tab:hover,
.top-ten-card,
.top-ten-card:hover {
  text-decoration: none !important;
  text-decoration-line: none !important;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

/* Scrollbar Hide Utility */
.scrollbar-hide::-webkit-scrollbar {
  display: none !important;
}
.scrollbar-hide {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Glassmorphism */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glass-nav {
  background: rgba(11, 12, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* ========================================================
   RESPONSIVE CATALOG GRID & CARDS SYSTEM
   ======================================================== */
/* ========================================================
   GLOBAL FULL-SIZE IMMERSIVE VIEWPORT & CONTAINER SYSTEM
   Removes left and right side empty space across desktop & mobile
   ======================================================== */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.max-w-7xl {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

@media (min-width: 1920px) {
    .container,
    .container-fluid,
    .max-w-7xl {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

@media (max-width: 1024px) {
    .container,
    .container-fluid,
    .max-w-7xl {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 768px) {
    .container,
    .container-fluid,
    .max-w-7xl {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid,
    .max-w-7xl {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* Header container full-width alignment */
#header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

@media (max-width: 768px) {
    #header .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ========================================================
   RESPONSIVE CATALOG GRID (Fluid Scaling For Full-Size Layout)
   ======================================================== */
.catalog-grid {
    display: grid !important;
    gap: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 639px) {
    .catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 480px) and (max-width: 639px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 12px !important;
    }
}

@media (min-width: 640px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

@media (min-width: 850px) {
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1180px) {
    .catalog-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1480px) {
    .catalog-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (min-width: 1780px) {
    .catalog-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Content Cards (Advanced Minimal Design matching Image 2) */
.content-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.card-poster-wrap {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 2 / 3 !important;
    width: 100% !important;
    border-radius: 18px !important;
    background: #121319 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.content-card:hover .card-poster-wrap {
    transform: translateY(-4px) !important;
    border-color: rgba(235, 13, 13, 0.5) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(235, 13, 13, 0.22) !important;
}

.poster-img {
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    background: #121319 !important;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.content-card:hover .poster-img {
    transform: scale(1.06) !important;
}

/* Dual Floating Badges Inside Poster (Image 2 Style) */
.card-poster-bottom-badges {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

/* Base Audio Chip (Sub, Dub, Multi) */
.card-chip-audio {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3.5px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2.5px 6.5px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
}

.card-chip-sub {
    background: rgba(6, 78, 59, 0.88) !important;
    border: 1px solid rgba(52, 211, 153, 0.55) !important;
    color: #34d399 !important;
    text-shadow: 0 0 6px rgba(52, 211, 153, 0.35) !important;
}

.card-chip-dub {
    background: rgba(30, 58, 138, 0.88) !important;
    border: 1px solid rgba(96, 165, 250, 0.55) !important;
    color: #93c5fd !important;
    text-shadow: 0 0 6px rgba(96, 165, 250, 0.35) !important;
}

.card-chip-multi {
    background: rgba(88, 28, 135, 0.88) !important;
    border: 1px solid rgba(192, 132, 252, 0.55) !important;
    color: #c084fc !important;
    text-shadow: 0 0 6px rgba(192, 132, 252, 0.35) !important;
}

/* Card Download Badge Button (Top-Right) */
.card-download-badge {
    text-decoration: none !important;
    background: #eb0d0d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75), 0 0 10px rgba(235, 13, 13, 0.45) !important;
    cursor: pointer !important;
}
.card-download-badge:hover {
    background: #ff2222 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(235, 13, 13, 0.7) !important;
    transform: scale(1.12) !important;
}

/* Upcoming Chip */
.card-chip-upcoming {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(76, 29, 149, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(167, 139, 250, 0.5) !important;
    color: #c4b5fd !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 3.5px 9px !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 12px rgba(76, 29, 149, 0.4) !important;
    white-space: nowrap !important;
}

.card-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
}

.card-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.card-title a:hover {
    color: #eb0d0d !important;
}

/* Badges */
.badge-sub {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-dub {
  background: rgba(59, 130, 246, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-multi {
  background: rgba(168, 85, 247, 0.9);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-hd {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Hero Slider */
.hero-slider-item {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}
.hero-slider-item.active {
  display: block;
  opacity: 1;
}

.hero-gradient {
  background: linear-gradient(0deg, var(--bg-main) 0%, rgba(11, 12, 14, 0.8) 45%, rgba(11, 12, 14, 0.2) 100%),
              linear-gradient(90deg, var(--bg-main) 0%, rgba(11, 12, 14, 0.9) 35%, transparent 100%);
}

/* Skeleton Loading Animation */
.skeleton {
  background: linear-gradient(90deg, #181a22 25%, #252836 50%, #181a22 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

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

/* Cinema / Theater Mode */
body.theater-mode .main-content {
  max-width: 100% !important;
  padding: 0 !important;
}
body.lights-off {
  background: #000000;
}
body.lights-off .light-dim {
  opacity: 0.05 !important;
  pointer-events: none;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #1c1e27;
  color: #fff;
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Spoiler blur */
.spoiler-text {
  filter: blur(6px);
  transition: filter 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.spoiler-text.revealed {
  filter: none;
  user-select: text;
}


/* =========================================================
   STREAMFLIZ MODERN UI SYSTEM (HEADER, SIDEBAR & SPOTLIGHT SLIDER)
   ========================================================= */

#header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 68px !important;
    background: rgba(9, 9, 13, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(229, 9, 20, 0.25) !important;
    z-index: 1000 !important;
}

#header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    position: relative !important;
}

.header-brand-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#mobile_menu {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 15px;
    flex-shrink: 0;
}

#mobile_menu:hover,
#mobile_menu.active {
    background: rgba(229, 9, 20, 0.15);
    border-color: rgba(229, 9, 20, 0.45);
    color: #e50914;
    transform: scale(1.05);
}

#logo {
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    max-height: 38px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
    flex-shrink: 0 !important;
}

#logo:hover {
    transform: scale(1.03) !important;
}

#logo img,
.sidebar-logo img,
.logo-img {
    height: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    max-width: 165px !important;
    object-fit: contain !important;
    display: block !important;
}

.sidebar-logo {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    max-height: 36px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

/* SEARCH BAR */
#search {
    position: relative !important;
    display: block !important;
    flex: 1 1 auto !important;
    max-width: 460px !important;
    min-width: 220px !important;
    margin: 0 16px !important;
    z-index: 100 !important;
}

#search .search-content {
    position: relative !important;
    width: 100% !important;
}

#search form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    padding: 0 6px 0 14px !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

#search form:focus-within {
    background: rgba(14, 14, 20, 0.98) !important;
    border-color: #e50914 !important;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25), 0 0 25px rgba(229, 9, 20, 0.3) !important;
}

#search .search-lead-icon {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 14px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

#search input.search-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 0 8px 0 0 !important;
    outline: none !important;
}

#search input.search-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

#search .filter-icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 28px !important;
    padding: 0 11px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 9999px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    margin-right: 6px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

#search .filter-icon:hover {
    background: rgba(229, 9, 20, 0.25) !important;
    border-color: rgba(229, 9, 20, 0.5) !important;
    color: #ffffff !important;
}

#search button.search-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#search button.search-icon:hover {
    background: #e50914 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* =========================================================
   SEARCH AUTOCOMPLETE POPUP & HOVER STYLES (HiAnime/Aniwatch Style)
   ========================================================= */
#search .search-result-pop,
#search-suggest.search-result-pop {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 360px !important;
    background: #0f1017 !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(229, 9, 20, 0.18) !important;
    max-height: 480px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
    padding: 6px 0 !important;
    display: none;
}

#search .search-result-pop .result {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#search .search-result-pop .nav-item,
#search .search-result-pop .search-suggest-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 14px !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}

#search .search-result-pop .nav-item:last-child {
    border-bottom: none !important;
}

/* Smooth Red Hover Effect on Search Row */
#search .search-result-pop .nav-item:hover,
#search .search-result-pop .nav-item:focus,
#search .search-result-pop .search-suggest-item:hover {
    background: rgba(229, 9, 20, 0.16) !important;
    border-left: 3px solid #e50914 !important;
    padding-left: 17px !important;
}

/* Compact Film Poster Thumbnail */
#search .search-result-pop .film-poster {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #181a24 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    flex-shrink: 0 !important;
    display: block !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
    margin: 0 !important;
}

#search .search-result-pop .film-poster img {
    width: 44px !important;
    max-width: 44px !important;
    min-width: 44px !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 7px !important;
    transition: transform 0.3s ease !important;
}

#search .search-result-pop .nav-item:hover .film-poster img {
    transform: scale(1.08) !important;
}

#search .search-result-pop .srp-detail {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

#search .search-result-pop .film-name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.35 !important;
    margin: 0 0 4px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.18s ease !important;
}

#search .search-result-pop .nav-item:hover .film-name {
    color: #ff3838 !important;
}

#search .search-result-pop .film-infor {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
}

#search .search-result-pop .film-infor-type {
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    text-transform: uppercase !important;
    font-size: 10.5px !important;
}

#search .search-result-pop .film-infor-dot {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 9px !important;
}

#search .search-result-pop .film-infor-year {
    color: #94a3b8 !important;
}

#search .search-result-pop .film-infor-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: #f1f5f9 !important;
    font-weight: 600 !important;
}

#search .search-result-pop .search-suggest-view-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 11px 16px !important;
    background: rgba(229, 9, 20, 0.12) !important;
    border-top: 1px solid rgba(229, 9, 20, 0.25) !important;
    color: #ff4d4d !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

#search .search-result-pop .search-suggest-view-all:hover {
    background: #e50914 !important;
    color: #ffffff !important;
}

/* Loading spinner inside search popup */
#search-loading.loading-relative {
    padding: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#search-loading .loading {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

#search-loading .loading .span1,
#search-loading .loading .span2,
#search-loading .loading .span3 {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #e50914 !important;
    animation: searchBounce 0.5s infinite alternate !important;
}

#search-loading .loading .span2 { animation-delay: 0.15s !important; }
#search-loading .loading .span3 { animation-delay: 0.3s !important; }

@keyframes searchBounce {
    from { transform: translateY(0); opacity: 0.35; }
    to { transform: translateY(-7px); opacity: 1; }
}

@media (max-width: 768px) {
    #search .search-result-pop,
    #search-suggest.search-result-pop {
        position: fixed !important;
        top: 122px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        min-width: 0 !important;
        max-height: calc(100vh - 140px) !important;
        border-radius: 14px !important;
    }
}

/* Nav links desktop */
.header-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 12px;
    padding: 0;
    list-style: none;
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .header-nav-links {
        display: none !important;
    }
}

.header-nav-links .nav-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-nav-links .nav-link-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.header-nav-links .badge-hindi {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    background: #e50914;
    color: #fff;
    border-radius: 4px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}

@media (max-width: 991px) {
    .header-socials {
        display: none !important;
    }
}

.header-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.header-social-btn:hover {
    background: #e50914 !important;
    border-color: #e50914 !important;
    color: #fff !important;
    transform: scale(1.08);
}

.mobile-search {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .mobile-search {
        display: flex !important;
    }
    #search {
        display: none !important;
    }
    #search.active {
        display: block !important;
        position: absolute !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        background: #0d0d14 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 1001 !important;
    }
}

.btn-login-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e50914 0%, #b80000 100%);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-login-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(229, 9, 20, 0.6);
}

/* User Avatar Dropdown */
/* User Avatar Dropdown */
.header_right-user.logged .btn-user-avatar {
    cursor: pointer;
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    background: transparent;
}

.header_right-user.logged .profile-avatar {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: visible;
}

.header_right-user.logged .profile-avatar img#avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(229, 9, 20, 0.7);
    display: block;
    transition: border-color 0.2s ease;
}

.header_right-user.logged .profile-avatar.has-deco img#avatar {
    border: none !important;
    box-shadow: none !important;
}

/* Universal Mathematically Centered & Proportional Avatar Decoration Frame */
.avatar-deco-frame {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 132% !important;
    height: 132% !important;
    min-width: 132% !important;
    min-height: 132% !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none !important;
    z-index: 10 !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Dropdown User Avatar Strip */
.dropdown-user-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    border-radius: 50%;
}
.dropdown-user-avatar-wrap .dropdown-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(229, 9, 20, 0.7);
    display: block;
}
.dropdown-user-avatar-wrap.has-deco .dropdown-avatar-img {
    border: none !important;
    box-shadow: none !important;
}

#user_menu.dropdown-menu {
    display: none;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 260px !important;
    background: #121319 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    padding: 8px 0 !important;
    z-index: 999999 !important;
    transform: none !important;
}

#user_menu.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#user_menu .dropdown-item-user {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#user_menu .user-role-pill {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    background: #e50914;
    color: #fff;
    border-radius: 4px;
    margin-left: 4px;
}

#user_menu .name strong { color: #fff; font-size: 14px; font-weight: 700; }
#user_menu .mail { color: #8f8f9d; font-size: 11px; margin-top: 2px; }

/* Dynamic Title Chips System */
.title-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    border: 1px solid transparent !important;
    white-space: nowrap !important;
}
.title-chip.chip-crimson  { background: rgba(239, 68, 68, 0.15) !important;  color: #f87171 !important; border-color: rgba(239, 68, 68, 0.4) !important; }
.title-chip.chip-coral    { background: rgba(249, 115, 22, 0.15) !important; color: #fb923c !important; border-color: rgba(249, 115, 22, 0.4) !important; }
.title-chip.chip-amber    { background: rgba(245, 158, 11, 0.15) !important; color: #fbbf24 !important; border-color: rgba(245, 158, 11, 0.4) !important; }
.title-chip.chip-gold     { background: rgba(234, 179, 8, 0.15) !important;  color: #facc15 !important; border-color: rgba(234, 179, 8, 0.4) !important; }
.title-chip.chip-lime     { background: rgba(132, 204, 22, 0.15) !important; color: #a3e635 !important; border-color: rgba(132, 204, 22, 0.4) !important; }
.title-chip.chip-mint     { background: rgba(16, 185, 129, 0.15) !important; color: #34d399 !important; border-color: rgba(16, 185, 129, 0.4) !important; }
.title-chip.chip-teal     { background: rgba(20, 184, 166, 0.15) !important; color: #2dd4bf !important; border-color: rgba(20, 184, 166, 0.4) !important; }
.title-chip.chip-sky      { background: rgba(14, 165, 233, 0.15) !important; color: #38bdf8 !important; border-color: rgba(14, 165, 233, 0.4) !important; }
.title-chip.chip-azure    { background: rgba(59, 130, 246, 0.15) !important; color: #60a5fa !important; border-color: rgba(59, 130, 246, 0.4) !important; }
.title-chip.chip-indigo   { background: rgba(99, 102, 241, 0.15) !important; color: #818cf8 !important; border-color: rgba(99, 102, 241, 0.4) !important; }
.title-chip.chip-violet   { background: rgba(139, 92, 246, 0.15) !important; color: #a78bfa !important; border-color: rgba(139, 92, 246, 0.4) !important; }
.title-chip.chip-orchid   { background: rgba(168, 85, 247, 0.15) !important; color: #c084fc !important; border-color: rgba(168, 85, 247, 0.4) !important; }
.title-chip.chip-pink     { background: rgba(236, 72, 153, 0.15) !important; color: #f472b6 !important; border-color: rgba(236, 72, 153, 0.4) !important; }
.title-chip.chip-rose     { background: rgba(244, 63, 94, 0.15) !important;  color: #fb7185 !important; border-color: rgba(244, 63, 94, 0.4) !important; }
.title-chip.chip-charcoal { background: rgba(71, 85, 105, 0.25) !important;  color: #cbd5e1 !important; border-color: rgba(71, 85, 105, 0.5) !important; }
.title-chip.chip-silver   { background: rgba(148, 163, 184, 0.2) !important; color: #e2e8f0 !important; border-color: rgba(148, 163, 184, 0.45) !important; }

#user_menu .grid-menu .dropdown-item {
    color: #d1d1dc !important;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

#user_menu .grid-menu .dropdown-item:hover {
    background: rgba(229, 9, 20, 0.12) !important;
    color: #ff3333 !important;
    padding-left: 22px;
}

#user_menu .logout-link {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 6px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #ff4770 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
}

/* SIDEBAR DRAWER MENU */
#sidebar_menu_bg {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(3, 3, 5, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 99990 !important;
    display: none;
}

#sidebar_menu_bg.active {
    display: block !important;
}

#sidebar_menu {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 320px !important;
    max-width: 86vw !important;
    background: linear-gradient(180deg, #0e0e14 0%, #060608 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85) !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#sidebar_menu.active {
    transform: translateX(0) !important;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    color: #e50914;
    transform: rotate(90deg);
}

.sidebar-user-card {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin: 12px 14px;
}

.suc-logged { display: flex; align-items: center; gap: 12px; }
.suc-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    border-radius: 50%;
}
.suc-avatar-wrap .suc-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e50914;
    display: block;
}
.suc-avatar-wrap.has-deco .suc-avatar-img {
    border: none !important;
    box-shadow: none !important;
}
.suc-info { flex: 1; min-width: 0; }
.suc-name strong { font-size: 14px; font-weight: 700; color: #fff; }
.suc-badge { font-size: 9px; font-weight: 800; padding: 1px 6px; background: #e50914; color: #fff; border-radius: 4px; margin-left: 6px; }
.suc-sub { font-size: 11px; color: #8b8b9a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.suc-quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.suc-quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none !important;
}

.suc-quick-links a:hover {
    background: rgba(229, 9, 20, 0.2);
    color: #fff;
}

.suc-logout-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 11.5px;
    font-weight: 700;
    color: #ff4d6d !important;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none !important;
}

.suc-guest { text-align: center; }
.suc-guest-title { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.suc-guest-desc { font-size: 11.5px; color: #8e8ea0; margin-bottom: 12px; }
.suc-guest-actions { display: flex; gap: 8px; }

.btn-guest-login {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    background: #e50914;
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.btn-guest-reg {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.sidebar-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 14px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sq-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
}

.sq-item:hover {
    background: rgba(229, 9, 20, 0.15);
    border-color: rgba(229, 9, 20, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.sq-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 5px;
}

.sq-red { background: rgba(229, 9, 20, 0.15); color: #ff3b3b; }
.sq-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.sq-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.sq-green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.sq-item span { font-size: 10.5px; font-weight: 600; }

.sidebar-nav-wrap { padding: 10px 14px 40px; }
.sidebar-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #e50914;
    padding: 16px 8px 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 6px;
}

.sidebar_menu-list { list-style: none; padding: 0; margin: 0; }
.sidebar_menu-list .nav-item { margin-bottom: 2px; }
.sidebar_menu-list .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #d6d6e5 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sidebar_menu-list .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    transform: translateX(3px);
}

.sb-nav-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.sb-icon-red { background: rgba(229, 9, 20, 0.15); color: #ff3b3b; }
.sb-icon-orange { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.sb-icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.sb-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.sb-icon-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.sb-icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.sb-icon-info { background: rgba(14, 165, 233, 0.15); color: #38bdf8; }
.sb-icon-red-glow { background: rgba(229, 9, 20, 0.25); color: #ff4747; border: 1px solid rgba(229, 9, 20, 0.6); }

.sb-nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-nav-arrow { font-size: 10px; color: rgba(255, 255, 255, 0.25); }

.badge-mini-hindi, .badge-mini-hot, .badge-mini-sub, .badge-mini-multi {
    font-size: 8.5px;
    font-weight: 800;
    padding: 1.5px 5px;
    border-radius: 4px;
    margin-left: auto;
}
.badge-mini-hindi, .badge-mini-hot { background: #e50914; color: #fff; }
.badge-mini-sub { background: rgba(14, 165, 233, 0.2); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.badge-mini-multi { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }

.genre-chips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 8px 6px; list-style: none; margin: 0; }
.genre-chips-grid .nav-link {
    display: block;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 11.5px;
    color: #b5b5c7 !important;
    text-align: center;
    text-decoration: none !important;
}
.genre-chips-grid .nav-link:hover {
    background: rgba(229, 9, 20, 0.2);
    color: #fff !important;
}

.sidebar-discord-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.3);
    margin: 18px 6px 14px;
}
.sdc-icon { width: 36px; height: 36px; border-radius: 10px; background: #5865F2; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.sdc-info { flex: 1; min-width: 0; }
.sdc-title { font-size: 12.5px; font-weight: 700; color: #fff; }
.sdc-desc { font-size: 10px; color: #a4a9d8; }
.sdc-btn { padding: 5px 10px; border-radius: 6px; background: #5865F2; color: #fff !important; font-size: 11px; font-weight: 700; text-decoration: none !important; }

.sidebar-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 11.5px;
    color: #6c6c80;
}
.sidebar-footer-links a { color: #8c8ca5; text-decoration: none; }
.sidebar-footer-links a:hover { color: #e50914; }

/* =========================================================
   SPOTLIGHT HERO SLIDER UI (.deslide-wrap)
   ========================================================= */
.deslide-wrap {
    padding: 16px 0 20px !important;
    position: relative !important;
}

#slider,
#slider.slider-container,
.swiper-container#slider {
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #08080c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7) !important;
    min-height: 480px !important;
    width: 100% !important;
}

#slider .swiper-wrapper {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: content-box !important;
    transition-property: transform !important;
}

#slider .swiper-slide {
    flex-shrink: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    transition-property: transform !important;
}

.deslide-item {
    position: relative !important;
    min-height: 480px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.deslide-cover {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.deslide-cover-img {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.deslide-cover-img img,
.deslide-cover-img .film-poster-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 70% 25% !important;
    display: block !important;
}

.deslide-cover-img::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, #08080c 0%, rgba(8, 8, 12, 0.96) 36%, rgba(8, 8, 12, 0.75) 58%, rgba(8, 8, 12, 0.25) 85%, transparent 100%) !important;
    z-index: 2 !important;
    display: block !important;
}

.deslide-cover-img::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(0deg, #08080c 0%, rgba(8, 8, 12, 0.6) 25%, transparent 60%) !important;
    z-index: 2 !important;
    display: block !important;
}

.deslide-item-content {
    position: relative !important;
    z-index: 5 !important;
    padding: 60px 40px 36px 40px !important;
    max-width: 740px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.desi-sub-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #e50914 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    display: inline-block !important;
}

.deslide-item .desi-head-title {
    font-size: clamp(22px, 3.4vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.5px !important;
    font-family: 'Poppins', sans-serif !important;
}

.slider-meta-row,
.sc-detail {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.slider-chip,
.scd-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #e0e0ea !important;
}

.slider-chip-quality,
.badge-quality {
    background: #e50914 !important;
    color: #fff !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
}

.tick {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.tick-item {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.tick-sub {
    background: rgba(14, 165, 233, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.4) !important;
}

.tick-dub {
    background: rgba(229, 9, 20, 0.2) !important;
    color: #ff4d4d !important;
    border: 1px solid rgba(229, 9, 20, 0.4) !important;
}

.tick-multi {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
}

.desi-description {
    font-size: 13.5px !important;
    color: #a0a0b2 !important;
    line-height: 1.65 !important;
    margin-bottom: 22px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-width: 650px !important;
}

.slider-btn-group,
.desi-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.slider-btn-watch,
.btn-slide-watch {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 28px !important;
    border-radius: 9999px !important;
    background: #e50914 !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(229, 9, 20, 0.45) !important;
    transition: all 0.25s ease !important;
}

.slider-btn-watch:hover,
.btn-slide-watch:hover {
    background: #ff1f2d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(229, 9, 20, 0.65) !important;
    color: #fff !important;
}

.slider-btn-detail,
.btn-slide-detail {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 12px 24px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.slider-btn-detail:hover,
.btn-slide-detail:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

/* Swiper Pagination Bullets */
.deslide-wrap .swiper-pagination {
    position: absolute !important;
    bottom: 24px !important;
    left: 40px !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 10 !important;
}

.deslide-wrap .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.deslide-wrap .swiper-pagination-bullet-active {
    width: 26px !important;
    background: #e50914 !important;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.7) !important;
}

.swiper-navigation {
    position: absolute !important;
    bottom: 24px !important;
    right: 36px !important;
    display: flex !important;
    gap: 10px !important;
    z-index: 10 !important;
}

.swiper-button,
.swiper-button-prev,
.swiper-button-next {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(14, 14, 20, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    position: static !important;
    margin: 0 !important;
}

.swiper-button:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #e50914 !important;
    border-color: #e50914 !important;
    transform: scale(1.08) !important;
}

.swiper-button::after,
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #slider,
    #slider.slider-container,
    .swiper-container#slider,
    .deslide-item {
        min-height: 420px !important;
    }

    .deslide-item-content {
        padding: 40px 20px 24px 20px !important;
    }

    .deslide-cover-img img,
    .deslide-cover-img .film-poster-img {
        object-position: center !important;
    }

    .deslide-cover-img::before {
        background: linear-gradient(0deg, #08080c 0%, rgba(8, 8, 12, 0.95) 45%, rgba(8, 8, 12, 0.65) 80%, rgba(8, 8, 12, 0.25) 100%) !important;
    }

    .swiper-navigation {
        bottom: 16px !important;
        right: 16px !important;
    }

    .deslide-wrap .swiper-pagination {
        bottom: 20px !important;
        left: 20px !important;
    }
}

/* =========================================================
   STREAMFLIZ EXACT MODERN HOMEPAGE UI COMPONENTS
   ========================================================= */

/* 1. Announcement Banner */
.announcement-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 18px !important;
    background: rgba(18, 20, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(12px) !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
}

.ann-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: rgba(245, 158, 11, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

.ann-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.btn-ann-discord {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    background: #5865F2 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.btn-ann-discord:hover {
    background: #4752c4 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4) !important;
    color: #fff !important;
}

.ann-close {
    background: transparent !important;
    border: none !important;
    color: #888 !important;
    cursor: pointer !important;
    padding: 4px !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

.ann-close:hover {
    color: #fff !important;
}

/* 2. Trending Anime TOP 10 Swiper Carousel */
.trending-icon-flame {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: rgba(229, 9, 20, 0.15) !important;
    color: #e50914 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

.badge-top10 {
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    background: #e50914 !important;
    color: #fff !important;
    letter-spacing: 0.5px !important;
    margin-left: 6px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.btn-trend-nav {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 12px !important;
}

.btn-trend-nav:hover {
    background: #e50914 !important;
    border-color: #e50914 !important;
    transform: scale(1.08) !important;
}

.trending-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.trending-poster-wrap {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 2 / 3 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

/* Rank Number overlay styling */
.rank-number {
    position: absolute !important;
    bottom: -6px !important;
    left: 8px !important;
    font-size: clamp(48px, 4vw, 68px) !important;
    font-weight: 900 !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1 !important;
    z-index: 10 !important;
    pointer-events: none !important;
    user-select: none !important;
    letter-spacing: -2px !important;
}

.rank-1 {
    color: #ffb800 !important;
    text-shadow: 0 4px 15px rgba(255, 184, 0, 0.4), 0 0 2px #fff !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7) !important;
}

.rank-2 {
    color: #e2e8f0 !important;
    text-shadow: 0 4px 15px rgba(226, 232, 240, 0.4), 0 0 2px #fff !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7) !important;
}

.rank-3 {
    color: #f97316 !important;
    text-shadow: 0 4px 15px rgba(249, 115, 22, 0.4), 0 0 2px #fff !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7) !important;
}

.rank-4, .rank-5, .rank-6, .rank-7, .rank-8, .rank-9, .rank-10 {
    color: #475569 !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5) !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9) !important;
}

/* 3. Share StreamFliz Banner */
.share-streamfliz-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 22px !important;
    background: rgba(18, 19, 26, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 28px 0 !important;
}

.share-sf-avatar-circle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e50914 0%, #ff4b55 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4) !important;
    flex-shrink: 0 !important;
}

.share-sf-badge {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #e50914 !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 2px !important;
}

.share-sf-title {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.share-sf-sub {
    font-size: 11.5px !important;
    color: #8b8b9b !important;
    margin: 0 !important;
}

.btn-share-social {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 14px !important;
    border-radius: 9999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    white-space: nowrap !important;
}

.btn-share-social:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.15) !important;
    color: #fff !important;
}

.share-tg { background: #0088cc !important; }
.share-wa { background: #25d366 !important; }
.share-tw { background: #111115 !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; }
.share-fb { background: #1877f2 !important; }
.share-copy { background: #e50914 !important; }

@media (max-width: 640px) {
    .share-streamfliz-banner {
        padding: 12px 14px !important;
        gap: 12px !important;
        margin: 16px 0 !important;
        border-radius: 14px !important;
    }
    .share-sf-right {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .btn-share-social {
        justify-content: center !important;
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    .share-copy {
        grid-column: span 2 !important;
    }
}

/* 4. Two-Column Layout (Content Left + Top 10 Sidebar) */
.home-main-cols {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

@media (max-width: 1120px) {
    .home-main-cols {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.home-main-left {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.home-main-right {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .sec-head-modern {
        margin-bottom: 14px !important;
    }
    .sec-icon-circle {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
    }
    .sec-title-modern {
        font-size: 16px !important;
    }
    .sec-sub-modern {
        font-size: 11px !important;
    }
    .btn-view-more {
        padding: 5px 11px !important;
        font-size: 11px !important;
    }
}

.sec-icon-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4) !important;
    flex-shrink: 0 !important;
}

.sec-title-modern {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.sec-sub-modern {
    font-size: 11.5px !important;
    color: #8b8b9b !important;
    margin: 0 !important;
}

.btn-view-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.btn-view-more:hover {
    background: rgba(229, 9, 20, 0.2) !important;
    border-color: #e50914 !important;
    color: #fff !important;
    transform: translateX(2px) !important;
}

/* Card Download Badge */
.card-badge-download {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    background: rgba(16, 185, 129, 0.9) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    z-index: 10 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.card-badge-download:hover {
    background: #059669 !important;
    transform: scale(1.1) !important;
    color: #fff !important;
}

/* Card Poster Bottom Episode Badges (Sub, Dub, Multi Badges) */
.card-poster-bottom-badges {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

.card-chip {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

.chip-sub {
    background: #10b981 !important;
    color: #fff !important;
}

.chip-dub {
    background: #06b6d4 !important;
    color: #fff !important;
}

.chip-multi {
    background: #f59e0b !important;
    color: #fff !important;
}

.badge-format-pill {
    font-size: 10px !important;
    font-weight: 800 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #d1d1dc !important;
    padding: 1.5px 6px !important;
    border-radius: 4px !important;
}

/* ==========================================================================
   5. Cyber HUD Top 10 Ranked Widget
   ========================================================================== */
.hud-panel {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 20px 18px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65) !important;
}

.hud-corner {
    position: absolute !important;
    width: 14px !important;
    height: 14px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.hud-corner-tl {
    top: 0 !important;
    left: 0 !important;
    border-top: 3px solid #e50914 !important;
    border-left: 3px solid #e50914 !important;
    border-top-left-radius: 18px !important;
}

.hud-corner-br {
    bottom: 0 !important;
    right: 0 !important;
    border-bottom: 3px solid rgba(229, 9, 20, 0.4) !important;
    border-right: 3px solid rgba(229, 9, 20, 0.4) !important;
    border-bottom-right-radius: 18px !important;
}

.hud-vents {
    position: absolute !important;
    top: 12px !important;
    right: 18px !important;
    width: 28px !important;
    height: 3px !important;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.15) 0 4px, transparent 4px 7px) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.top-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
}

.top-trending-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    font-family: 'Poppins', sans-serif !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.top-trending-bar {
    width: 4px !important;
    height: 18px !important;
    background: #e50914 !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.7) !important;
    display: inline-block !important;
}

.top-tabs-flex {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 3px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.top-tab {
    background: transparent !important;
    border: none !important;
    color: #8b8b9e !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
}

.top-tab:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.top-tab.is-active,
.top-tab.active {
    background: #e50914 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.45) !important;
}

/* Top Trending Card Styling (Deep Black with Glowing Red Accents) */
.top-ten-card {
    position: relative !important;
    display: block !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #0f1016 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    height: 72px !important;
    text-decoration: none !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.top-ten-card:hover {
    transform: translateY(-2px) !important;
    border-color: #e50914 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(229, 9, 20, 0.25) !important;
}

.top-ten-glow {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    opacity: 0.25 !important;
    transition: opacity 0.3s ease !important;
    box-shadow: inset 40px 0 80px -40px #e50914 !important;
}

.top-ten-card:hover .top-ten-glow {
    opacity: 0.8 !important;
}

.top-ten-bg-img {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 65% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    opacity: 0.3 !important;
    transition: opacity 0.3s ease, transform 0.4s ease !important;
    pointer-events: none !important;
}

.top-ten-card:hover .top-ten-bg-img {
    opacity: 0.55 !important;
    transform: scale(1.05) !important;
}

.top-ten-grad-r {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, #0f1016 0%, #0f1016 42%, rgba(15, 16, 22, 0.88) 68%, rgba(15, 16, 22, 0.25) 100%) !important;
    pointer-events: none !important;
}

.top-ten-grad-t {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(15, 16, 22, 0.1) 0%, rgba(15, 16, 22, 0.75) 100%) !important;
    pointer-events: none !important;
}

.top-ten-edge-bar {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3.5px !important;
    background: #e50914 !important;
    opacity: 0.75 !important;
    transition: width 0.2s ease, opacity 0.2s ease !important;
}

.top-ten-card:hover .top-ten-edge-bar {
    width: 5px !important;
    opacity: 1 !important;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.8) !important;
}

.top-ten-inner {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 12px 0 10px !important;
    gap: 12px !important;
}

.top-ten-rank-box {
    position: relative !important;
    width: 38px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Rank Numbers - Styled exactly like the uploaded reference image */
.top-ten-rank-num {
    position: relative !important;
    z-index: 1 !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1 !important;
    transition: all 0.22s ease !important;
}

/* Rank 1: Solid bright white with red neon glow */
.top-ten-rank-num.rank-val-1 {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(229, 9, 20, 0.9), 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7) !important;
}

/* Rank 2 & 3: Solid white/silver with subtle red accent */
.top-ten-rank-num.rank-val-2 {
    color: #f1f5f9 !important;
    text-shadow: 0 0 12px rgba(229, 9, 20, 0.55), 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.6) !important;
}

.top-ten-rank-num.rank-val-3 {
    color: #f1f5f9 !important;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5), 0 2px 4px rgba(0, 0, 0, 0.9) !important;
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.6) !important;
}

/* Rank 4 to 10: High-style hollow outline numbers (as seen in uploaded Image 2) */
.top-ten-rank-num.rank-val-4,
.top-ten-rank-num.rank-val-5,
.top-ten-rank-num.rank-val-6,
.top-ten-rank-num.rank-val-7,
.top-ten-rank-num.rank-val-8,
.top-ten-rank-num.rank-val-9,
.top-ten-rank-num.rank-val-10 {
    color: transparent !important;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

/* On hover: Glowing vibrant red */
.top-ten-card:hover .top-ten-rank-num.rank-val-1,
.top-ten-card:hover .top-ten-rank-num.rank-val-2,
.top-ten-card:hover .top-ten-rank-num.rank-val-3 {
    color: #ff3b3b !important;
    text-shadow: 0 0 20px rgba(229, 9, 20, 1), 0 0 35px rgba(229, 9, 20, 0.7) !important;
    transform: scale(1.12) !important;
}

.top-ten-card:hover .top-ten-rank-num.rank-val-4,
.top-ten-card:hover .top-ten-rank-num.rank-val-5,
.top-ten-card:hover .top-ten-rank-num.rank-val-6,
.top-ten-card:hover .top-ten-rank-num.rank-val-7,
.top-ten-card:hover .top-ten-rank-num.rank-val-8,
.top-ten-card:hover .top-ten-rank-num.rank-val-9,
.top-ten-card:hover .top-ten-rank-num.rank-val-10 {
    -webkit-text-stroke: 1.5px #e50914 !important;
    text-shadow: 0 0 16px rgba(229, 9, 20, 0.85) !important;
    transform: scale(1.12) !important;
}

.top-ten-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;
}

.top-ten-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.2s ease !important;
}

.top-ten-card:hover .top-ten-title {
    color: #ffffff !important;
}

.top-ten-meta {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
}

.top-ten-score {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3.5px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.28) !important;
    border-radius: 5px !important;
    padding: 1.5px 6px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.top-ten-type {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.5px 5.5px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.top-ten-ep-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3.5px !important;
    background: rgba(0, 0, 0, 0.38) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 5px !important;
    padding: 1.5px 6px !important;
    font-size: 10.5px !important;
    color: #cbd5e1 !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.ep-badge-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2.5px !important;
}

.ep-badge-sep {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 9px !important;
}

.top-ten-play-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    opacity: 0 !important;
    transform: scale(0.85) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.top-ten-card:hover .top-ten-play-btn {
    opacity: 1 !important;
    transform: scale(1) !important;
    background: var(--hover-color, #e50914) !important;
    border-color: var(--hover-color, #e50914) !important;
    box-shadow: 0 0 14px var(--hover-color, rgba(229, 9, 20, 0.5)) !important;
}

/* ==========================================================================
   6. Overlay Removal & Pure Direct Click Cards
   ========================================================================== */
.play-overlay,
.trend-overlay {
    display: none !important;
}

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

/* ==========================================================================
   7. Estimated Schedule Widget Styling
   ========================================================================== */
.schedule-widget {
    background: #121319 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.schedule-day-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scrollbar-width: thin !important;
}

.schedule-day-tabs::-webkit-scrollbar {
    height: 4px !important;
}

.schedule-day-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
}

.sched-day-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 60px !important;
    padding: 8px 14px !important;
    border-radius: 12px !important;
    background: #181a22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.sched-day-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.sched-day-btn.active {
    background: #e50914 !important;
    border-color: #e50914 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4) !important;
}

.schedule-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background: #161821 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    color: inherit !important;
    gap: 16px !important;
}

.schedule-item:hover {
    background: #1c1e2a !important;
    border-color: rgba(229, 9, 20, 0.4) !important;
    transform: translateX(4px) !important;
}

.sched-time {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    min-width: 52px !important;
    letter-spacing: 0.5px !important;
}

.sched-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    transition: color 0.2s ease !important;
}

.schedule-item:hover .sched-title {
    color: #e50914 !important;
}

.sched-jname {
    font-size: 11px !important;
    color: #64748b !important;
}

.sched-ep-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2.5px 8px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}

.sched-play-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(229, 9, 20, 0.15) !important;
    color: #e50914 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.schedule-item:hover .sched-play-btn {
    background: #e50914 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

@media (max-width: 640px) {
    .schedule-widget {
        padding: 12px 10px !important;
        border-radius: 14px !important;
    }
    .schedule-day-tabs {
        gap: 6px !important;
        margin-bottom: 12px !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }
    .schedule-day-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .sched-day-btn {
        min-width: 48px !important;
        padding: 6px 10px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
    }
    .schedule-item {
        padding: 9px 10px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }
    .sched-time {
        font-size: 11px !important;
        min-width: 44px !important;
        padding: 2px 4px !important;
    }
    .sched-title {
        font-size: 12px !important;
    }
    .sched-jname {
        display: none !important;
    }
    .sched-ep-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
    }
    .sched-play-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 9px !important;
    }
}

/* ==========================================================================
   STREAMFLIZ OFFICIAL HOME DESIGN SYSTEM (Pixel-Perfect from streamfliz.top)
   ========================================================================== */

/* Modern Spotlight Hero Slider UI */
.deslide-wrap {
    padding: 16px 0 20px !important;
    position: relative !important;
}

#slider,
#slider.slider-container.swiper-container {
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #08080c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: 480px !important;
}

.deslide-item {
    position: relative !important;
    min-height: 480px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
}

.deslide-cover {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.deslide-cover-img {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.deslide-cover-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 70% 25% !important;
    display: block !important;
}

.deslide-cover-img::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, #08080c 0%, rgba(8, 8, 12, 0.96) 36%, rgba(8, 8, 12, 0.75) 58%, rgba(8, 8, 12, 0.25) 85%, transparent 100%) !important;
    z-index: 2 !important;
    display: block !important;
}

.deslide-cover-img::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(0deg, #08080c 0%, rgba(8, 8, 12, 0.6) 25%, transparent 60%) !important;
    z-index: 2 !important;
    display: block !important;
}

.deslide-item-content {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 5 !important;
    padding: 60px 40px 36px 40px !important;
    max-width: 740px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.deslide-item .desi-head-title {
    font-size: clamp(22px, 3.4vw, 40px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.3px !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.85) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.slider-meta-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}

.slider-chip {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.slider-chip-quality {
    background: #eb0d0d !important;
    border-color: #eb0d0d !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 2px 7px !important;
}

/* Modern Glowing Audio Badges (Same as Latest Episode / card.php) */
.slider-meta-row .tick {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.slider-meta-row .tick-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2.5px 7px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
    letter-spacing: 0.2px !important;
}

.slider-meta-row .tick-item.tick-sub {
    background: rgba(6, 78, 59, 0.88) !important;
    border: 1px solid rgba(52, 211, 153, 0.55) !important;
    color: #34d399 !important;
    text-shadow: 0 0 6px rgba(52, 211, 153, 0.35) !important;
}

.slider-meta-row .tick-item.tick-dub {
    background: rgba(30, 58, 138, 0.88) !important;
    border: 1px solid rgba(96, 165, 250, 0.55) !important;
    color: #93c5fd !important;
    text-shadow: 0 0 6px rgba(96, 165, 250, 0.35) !important;
}

.slider-meta-row .tick-item.tick-multi {
    background: rgba(88, 28, 135, 0.88) !important;
    border: 1px solid rgba(192, 132, 252, 0.55) !important;
    color: #c084fc !important;
    text-shadow: 0 0 6px rgba(192, 132, 252, 0.35) !important;
}

.slider-meta-row .tick-item i {
    font-size: 10px !important;
}

.deslide-item .desi-description {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: rgba(220, 225, 235, 0.75) !important;
    margin-bottom: 20px !important;
    max-width: 620px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.slider-btn-group {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 6px !important;
}

.slider-btn-watch {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 24px !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #eb0d0d 0%, #b80000 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 6px 20px rgba(235, 13, 13, 0.45) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    border: none !important;
    line-height: 1 !important;
    height: 40px !important;
    box-sizing: border-box !important;
}

.slider-btn-watch:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(235, 13, 13, 0.65) !important;
    background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%) !important;
}

.slider-btn-watch i {
    font-size: 12px !important;
}

.slider-btn-detail {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    line-height: 1 !important;
    height: 40px !important;
    box-sizing: border-box !important;
}

.slider-btn-detail:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

#slider .swiper-pagination {
    position: absolute !important;
    bottom: 22px !important;
    right: 96px !important;
    left: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 15 !important;
}

#slider .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    cursor: pointer !important;
}

#slider .swiper-pagination-bullet-active {
    width: 24px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: #eb0d0d !important;
    box-shadow: 0 0 10px rgba(235, 13, 13, 0.7) !important;
}

#slider .swiper-navigation {
    position: absolute !important;
    bottom: 16px !important;
    right: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    z-index: 15 !important;
}

#slider .swiper-button {
    position: static !important;
    margin-top: 0 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(20, 20, 28, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.25s ease !important;
}

#slider .swiper-button:after {
    display: none !important;
}

#slider .swiper-button:hover {
    background: #eb0d0d !important;
    border-color: #eb0d0d !important;
    transform: scale(1.08) !important;
}

/* Mobile View for Slider */
@media (max-width: 768px) {
    .deslide-wrap {
        padding: 8px 0 14px !important;
    }
    #slider,
    #slider.slider-container.swiper-container {
        border-radius: 16px !important;
        min-height: 480px !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }
    .deslide-item {
        min-height: 480px !important;
        height: auto !important;
        justify-content: flex-end !important;
    }
    .deslide-cover-img img {
        object-position: center top !important;
    }
    .deslide-cover-img::before {
        background: linear-gradient(180deg, rgba(8, 8, 12, 0.05) 0%, rgba(8, 8, 12, 0.45) 28%, rgba(8, 8, 12, 0.94) 58%, #08080c 82%) !important;
        display: block !important;
    }
    .deslide-cover-img::after {
        display: none !important;
    }
    .deslide-item-content {
        padding: 120px 16px 28px 16px !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }
    .deslide-item .desi-head-title {
        font-size: 21px !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }
    .slider-meta-row {
        gap: 5px !important;
        margin-bottom: 8px !important;
    }
    .slider-chip {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }
    .slider-meta-row .tick-item {
        font-size: 11px !important;
        padding: 2px 6px !important;
    }
    .deslide-item .desi-description {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 14px !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        color: rgba(220, 225, 235, 0.72) !important;
    }
    .slider-btn-group {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
    }
    .slider-btn-watch {
        padding: 8px 18px !important;
        font-size: 12px !important;
        height: 36px !important;
    }
    .slider-btn-detail {
        padding: 8px 16px !important;
        font-size: 12px !important;
        height: 36px !important;
    }
    #slider .swiper-navigation {
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        bottom: auto !important;
        left: auto !important;
        gap: 6px !important;
        z-index: 15 !important;
    }
    #slider .swiper-button {
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
        background: rgba(10, 10, 16, 0.7) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    #slider .swiper-pagination {
        right: auto !important;
        left: 16px !important;
        bottom: 8px !important;
        gap: 4px !important;
        display: flex !important;
    }
    #slider .swiper-pagination-bullet {
        width: 5px !important;
        height: 5px !important;
    }
    #slider .swiper-pagination-bullet-active {
        width: 14px !important;
        height: 5px !important;
    }
}

/* ==========================================================================
   CYBERPUNK NOTICE BOX (Full Black & Red Style from Reference Image)
   ========================================================================== */
.home-notice-box {
    margin: 16px 0 22px 0 !important;
}

.cyber-notice-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #090a0f !important;
    border: 1px dashed rgba(229, 9, 20, 0.45) !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    position: relative !important;
    overflow: hidden !important;
    gap: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(229, 9, 20, 0.04) !important;
    transition: all 0.3s ease !important;
}

.cyber-notice-wrap:hover {
    border-color: rgba(229, 9, 20, 0.8) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(229, 9, 20, 0.08) !important;
}

.cyber-notice-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 !important;
    min-width: 0 !important;
    text-decoration: none !important;
}

.cyber-notice-bolt {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(229, 9, 20, 0.12) !important;
    border: 1px solid rgba(229, 9, 20, 0.4) !important;
    color: #e50914 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3) !important;
    transition: all 0.2s ease !important;
}

.cyber-notice-left:hover .cyber-notice-bolt {
    background: #e50914 !important;
    color: #fff !important;
    transform: scale(1.05) !important;
}

.cyber-notice-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.cyber-notice-tag {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #e50914 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.cyber-notice-msg {
    font-size: 13px !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.cyber-notice-left:hover .cyber-notice-msg {
    color: #ffffff !important;
}

.cyber-notice-hl {
    color: #e50914 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.cyber-notice-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.cyber-notice-discord {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.cyber-notice-discord:hover {
    background: rgba(229, 9, 20, 0.2) !important;
    border-color: #e50914 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

.cyber-notice-close {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.cyber-notice-close:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 768px) {
    .cyber-notice-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 14px !important;
        gap: 10px !important;
    }
    .cyber-notice-left {
        width: 100% !important;
        gap: 10px !important;
    }
    .cyber-notice-msg {
        font-size: 12px !important;
    }
    .cyber-notice-right {
        width: 100% !important;
        justify-content: space-between !important;
        padding-top: 6px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
}

/* Trending Anime Top 10 Advanced Carousel */
#anime-trending {
    margin-bottom: 24px !important;
}
.trending-header-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
}
.trending-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.trending-fire-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(235, 13, 13, 0.15) !important;
    border: 1px solid rgba(235, 13, 13, 0.3) !important;
    color: #eb0d0d !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}
.trending-main-title {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
}
.trending-pill-badge {
    font-size: 10px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #eb0d0d, #ff5722) !important;
    color: #fff !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
}
.trending-navi {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.navi-prev, .navi-next {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 12px !important;
}
.navi-prev:hover, .navi-next:hover {
    background: #eb0d0d !important;
    border-color: #eb0d0d !important;
    transform: scale(1.08) !important;
}
.trending-adv-card {
    position: relative !important;
    display: flex !important;
    align-items: flex-end !important;
    width: 100% !important;
}
.trending-adv-rank {
    position: absolute !important;
    bottom: -10px !important;
    left: -4px !important;
    z-index: 10 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: clamp(48px, 4.5vw, 76px) !important;
    line-height: 1 !important;
    pointer-events: none !important;
    user-select: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.rank-crown {
    font-size: 18px !important;
    color: #ffb800 !important;
    margin-bottom: -10px !important;
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.8) !important;
}
.trending-adv-rank.rank-1 .rank-num {
    color: #ffffff !important;
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.95), 0 0 50px rgba(229, 9, 20, 0.6) !important;
    -webkit-text-stroke: 2px #e50914 !important;
}
.trending-adv-rank.rank-2 .rank-num {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.75), 0 0 40px rgba(229, 9, 20, 0.4) !important;
    -webkit-text-stroke: 1.5px #ff4b55 !important;
}
.trending-adv-rank.rank-3 .rank-num {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.75), 0 0 35px rgba(229, 9, 20, 0.4) !important;
    -webkit-text-stroke: 1.5px #fb923c !important;
}
.trending-adv-rank .rank-num {
    color: transparent !important;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55) !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9) !important;
    transition: all 0.25s ease !important;
}
.trending-adv-card:hover .trending-adv-rank .rank-num {
    -webkit-text-stroke: 2px #e50914 !important;
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.9) !important;
    transform: scale(1.08) !important;
}
.trending-adv-poster {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 2 / 3 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #181a22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: block !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}
.trending-adv-poster:hover {
    border-color: rgba(235, 13, 13, 0.6) !important;
    transform: translateY(-4px) !important;
}
.trending-adv-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}
.trending-adv-poster:hover .trending-adv-img {
    transform: scale(1.06) !important;
}
.trending-adv-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    gap: 8px !important;
}
.trending-adv-poster:hover .trending-adv-overlay {
    opacity: 1 !important;
}
.trending-adv-play {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #eb0d0d !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: 0 4px 15px rgba(235, 13, 13, 0.6) !important;
    transform: scale(0.9) !important;
    transition: transform 0.2s ease !important;
}
.trending-adv-poster:hover .trending-adv-play {
    transform: scale(1) !important;
}
.trending-adv-hover-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* ==========================================================================
   Pre-Pagination Component (Aniwatch / HiAnime Style)
   ========================================================================== */
.pre-pagination {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.pre-pagination nav {
    display: block !important;
    width: auto !important;
}

.pre-pagination .pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
}

.pre-pagination .page-item {
    margin: 0 !important;
    list-style: none !important;
}

.pre-pagination .page-item .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #cbd5e1 !important;
    background: #14161f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.pre-pagination .page-item .page-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.pre-pagination .page-item.active .page-link {
    color: #ffffff !important;
    background: #e50914 !important;
    border-color: #e50914 !important;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.45) !important;
    cursor: default !important;
    pointer-events: none !important;
}

.pre-pagination .page-item.disabled .page-link {
    color: #475569 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* ========================================================
   GLOBAL GUARANTEED NO-UNDERLINE RESET
   ======================================================== */
a, a:hover, a:focus, a:active, a:visited,
button, button:hover, button:focus, button:active,
.btn, .btn:hover, .btn:focus, .btn:active,
[role="button"], [role="button"]:hover,
.nav-link, .nav-link:hover, .page-link, .page-link:hover,
.card-title, .card-title a, .card-title a:hover,
.top-tab, .top-tab:hover, .top-ten-card, .top-ten-card:hover,
.btn-view-more, .btn-view-more:hover, .btn-share-social, .btn-share-social:hover,
.schedule-item, .schedule-item:hover, .season-card, .season-card:hover,
.ep-item, .ep-item:hover, .server-btn, .server-btn:hover {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* ========================================================
   STREAMFLIZ MINIMALIST FOOTER STYLING
   ======================================================== */
.footer-links {
    margin-bottom: 14px;
}
.footer-links .ulclear {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links .ulclear li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links .ulclear li a {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links .ulclear li a:hover {
    color: #ffffff;
}
.footer-disclaimer p {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}
.footer-copyright p {
    color: #6b7280;
    font-size: 11.5px;
    margin: 0;
}

