@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

/* ==========================================================================
   0. DESIGN TOKENS & OTT CINEMATIC ATMOSPHERE (ZEE5 AESTHETIC)
   ========================================================================== */
:root {
    --sx-bg: #08080c;
    --sx-bg-soft: #101018;
    --sx-card: #13131c;
    --sx-card-hover: #191926;
    --sx-accent: #e50914;
    --sx-accent-2: #ff334b;
    --sx-accent-glow: rgba(229, 9, 20, 0.45);
    --sx-gold: #ffd700;
    --sx-text: #f4f4f7;
    --sx-text-muted: #9c9ca8;
    --sx-border: rgba(255, 255, 255, 0.08);
    --sx-border-hover: rgba(255, 255, 255, 0.22);
    --sx-glass: rgba(12, 12, 18, 0.72);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--sx-bg) !important;
    background-image: 
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(45, 20, 70, 0.35), transparent 70%),
        radial-gradient(ellipse 60% 50% at 100% 30%, rgba(229, 9, 20, 0.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 75%, rgba(20, 40, 80, 0.08), transparent 60%) !important;
    background-attachment: fixed !important;
    color: var(--sx-text) !important;
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #08080c;
}
::-webkit-scrollbar-thumb {
    background: #232330;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--sx-accent);
}

/* ==========================================================================
   1. HEADER & GLASSMORPHISM NAVIGATION
   ========================================================================== */
.sx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(8, 8, 12, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sx-header.scrolled {
    background: rgba(6, 6, 10, 0.94) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.09) !important;
}

.sx-logo {
    display: inline-flex;
    align-items: center;
    height: 42px;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
}

.sx-logo-img {
    height: 100%;
    max-height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 500;
    font-size: 0.92rem;
    margin: 0 0.35rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    letter-spacing: -0.1px;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .dropdown-menu {
    background: var(--sx-card);
    border: 1px solid var(--sx-border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
}

.navbar-nav .dropdown-item {
    color: var(--sx-text-muted);
    font-size: 0.88rem;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Glass Search Bar */
.sx-search {
    position: relative;
    width: 250px;
    transition: width 0.3s ease;
}

.sx-search:focus-within {
    width: 290px;
}

.sx-search input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 30px !important;
    color: #fff !important;
    padding: 0.48rem 1rem 0.48rem 2.4rem !important;
    font-size: 0.85rem !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.sx-search input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 16px rgba(229, 9, 20, 0.35) !important;
    border-color: var(--sx-accent) !important;
    color: #fff !important;
}

.sx-search input::placeholder {
    color: var(--sx-text-muted) !important;
    font-size: 0.82rem;
}

.sx-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sx-text-muted);
    font-size: 0.82rem;
    z-index: 5;
    pointer-events: none;
}

.sx-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 350px;
    max-width: 90vw;
    max-height: 420px;
    overflow-y: auto;
    background: var(--sx-card);
    border: 1px solid var(--sx-border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    padding: 0.6rem;
    display: none;
    z-index: 1060;
}

.sx-search-results.show {
    display: block;
    animation: sxSearchIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sxSearchIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sx-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--sx-text);
    transition: background 0.15s ease;
    text-decoration: none;
}

.sx-search-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sx-search-item img {
    width: 48px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: var(--sx-bg-soft);
}

.sx-search-item-info {
    min-width: 0;
}

.sx-search-item-title {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.sx-search-item-meta {
    display: flex;
    gap: 0.8rem;
    color: var(--sx-text-muted);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.sx-search-item-meta i {
    color: #f5c518;
    margin-right: 0.25rem;
}

/* Auth / Subscribe Buttons */
.sx-btn-signin {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sx-btn-signin:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

.sx-btn-subscribe {
    background: linear-gradient(135deg, #e50914 0%, #ff2d55 100%) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 0.52rem 1.35rem;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 18px rgba(229, 9, 20, 0.45);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.sx-btn-subscribe i {
    color: #ffd700;
}

.sx-btn-subscribe:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.65);
    background: linear-gradient(135deg, #ff1a2b 0%, #ff4268 100%) !important;
}

.sx-btn-subscribe-header {
    flex-shrink: 0;
}

.sx-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sx-dropdown {
    background: var(--sx-card) !important;
    border: 1px solid var(--sx-border) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
    border-radius: 14px !important;
    padding: 0.5rem !important;
    z-index: 1070 !important;
    min-width: 180px !important;
}

.sx-dropdown .dropdown-item {
    color: var(--sx-text-muted) !important;
    font-size: 0.88rem !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.sx-dropdown .dropdown-item:hover,
.sx-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

/* ==========================================================================
   2. HERO BANNER & CINEMATIC CAROUSEL (ZEE5 VIGNETTE DISSOLVE)
   ========================================================================== */
.sx-hero-carousel-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sx-hero-carousel {
    position: relative;
    width: 100%;
}

.sx-hero,
.sx-hero-slide {
    position: relative;
    height: 88vh;
    min-height: 540px;
    width: 100%;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: flex-end;
}

.sx-hero::after,
.sx-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to top, #08080c 0%, rgba(8, 8, 12, 0.88) 18%, rgba(8, 8, 12, 0.35) 52%, rgba(8, 8, 12, 0.6) 100%),
        linear-gradient(to right, #08080c 0%, rgba(8, 8, 12, 0.92) 32%, rgba(8, 8, 12, 0.2) 65%, transparent 85%) !important;
    pointer-events: none;
}

.sx-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 3.5rem 5.5rem;
    max-width: 720px;
}

/* Hero Carousel Dots & Arrows */
.sx-hero-carousel .owl-dots {
    display: none !important;
}

.sx-hero-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin: 0 !important;
}

.sx-hero-carousel .owl-nav button.owl-prev,
.sx-hero-carousel .owl-nav button.owl-next {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: rgba(8, 8, 12, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    cursor: pointer;
}

.sx-hero-carousel .owl-nav button:hover {
    background: var(--sx-accent, #e50914) !important;
    border-color: var(--sx-accent, #e50914) !important;
    transform: scale(1.08);
}

.sx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(229, 9, 20, 0.16);
    border: 1px solid rgba(229, 9, 20, 0.45);
    color: #ff4d61;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.32rem 0.95rem;
    border-radius: 30px;
    margin-bottom: 1.1rem;
    backdrop-filter: blur(8px);
}

.sx-hero-title {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 3.4rem;
    line-height: 1.15;
    letter-spacing: -0.6px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.sx-hero-meta {
    color: #b0b0bc;
    font-size: 0.92rem;
    margin: 0.9rem 0 1.3rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.sx-hero-meta .imdb {
    background: rgba(245, 197, 24, 0.15);
    color: #f5c518;
    border: 1px solid rgba(245, 197, 24, 0.35);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sx-hero-meta span:not(.imdb) {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #e0e0ea;
}

.sx-hero-desc {
    color: #c4c4d0;
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sx-btn-play {
    background: #ffffff;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 2.1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.sx-btn-play:hover {
    background: #e6e6e6;
    color: #000 !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.35);
}

.sx-btn-info {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.9rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: 0.8rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
}

.sx-btn-info:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   3. SECTIONS & MOVIE GRID (ZEE5 VERTICAL RHYTHM)
   ========================================================================== */
.sx-section {
    padding: 2.6rem 0 0.5rem;
}

.sx-section-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.5rem;
    margin-bottom: 1.2rem;
}

.sx-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.sx-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--sx-accent), var(--sx-accent-2));
    margin-right: 12px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.sx-section-viewall {
    color: var(--sx-text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.sx-section-viewall:hover {
    color: #ff334b;
    transform: translateX(3px);
}

.sx-grid-wrap {
    padding: 0 3.5rem;
}

.sx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.3rem;
}

/* ==========================================================================
   3.1 MOVIE CAROUSEL (SINGLE-ROW HORIZONTAL SLIDER WITH FORWARD/BACKWARD BUTTONS)
   ========================================================================== */
.sx-movie-carousel-wrap {
    position: relative;
    padding: 0 3.5rem;
}

.sx-movie-carousel {
    position: relative;
}

.sx-movie-carousel .owl-stage-outer {
    padding: 14px 4px 22px 4px;
    margin: -14px -4px -22px -4px;
    overflow: hidden;
}

.sx-movie-carousel .owl-stage {
    display: flex !important;
    align-items: stretch;
}

.sx-movie-carousel .owl-item {
    display: flex;
    flex-direction: column;
}

.sx-movie-carousel .sx-card {
    height: 100%;
    width: 100%;
}

/* Forward and Backward Navigation Buttons */
.sx-movie-carousel .owl-nav {
    margin: 0;
    position: static;
}

.sx-movie-carousel .owl-nav button.owl-prev,
.sx-movie-carousel .owl-nav button.owl-next {
    position: absolute;
    top: calc(50% - 4px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 14, 22, 0.88) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
    margin: 0 !important;
    padding: 0 !important;
    outline: none;
}

.sx-movie-carousel .owl-nav button.owl-prev {
    left: 14px;
}

.sx-movie-carousel .owl-nav button.owl-next {
    right: 14px;
}

.sx-movie-carousel .owl-nav button.owl-prev:hover,
.sx-movie-carousel .owl-nav button.owl-next:hover {
    background: linear-gradient(135deg, #e50914, #ff334b) !important;
    border-color: rgba(229, 9, 20, 0.9) !important;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.55), 0 0 18px rgba(229, 9, 20, 0.35) !important;
    transform: translateY(-50%) scale(1.15);
    color: #ffffff !important;
}

.sx-movie-carousel .owl-nav button.owl-prev.disabled,
.sx-movie-carousel .owl-nav button.owl-next.disabled {
    opacity: 0 !important;
    pointer-events: none;
    cursor: default;
}

/* ==========================================================================
   4. MOVIE CARDS & 3D HOVER LIFT (ZEE5 STREAMING CARDS)
   ========================================================================== */
.sx-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--sx-card);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid var(--sx-border);
    display: block;
    text-decoration: none;
}

.sx-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(229, 9, 20, 0.22);
    border-color: rgba(229, 9, 20, 0.45);
    z-index: 5;
}

.sx-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #101018;
}

.sx-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.sx-card:hover .sx-card-img-wrap img {
    transform: scale(1.09);
}

.sx-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 12, 0.98) 0%, rgba(8, 8, 12, 0.6) 45%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.95rem;
}

.sx-card:hover .sx-card-overlay {
    opacity: 1;
}

.sx-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e50914, #ff334b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.65);
}

.sx-card:hover .sx-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.sx-card-title {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-badge-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 8, 12, 0.8);
    color: #f5c518;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sx-badge-free {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(8, 8, 12, 0.8);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sx-badge-premium {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8f00 100%);
    color: #000000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 4px 12px rgba(255, 143, 0, 0.4);
}

.sx-watchlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(8, 8, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    z-index: 4;
    backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.sx-watchlist-btn:hover,
.sx-watchlist-btn.active {
    background: var(--sx-accent);
    border-color: var(--sx-accent);
    transform: scale(1.12);
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.6);
}

/* ==========================================================================
   5. FILTER BAR & NICE-SELECT THEME
   ========================================================================== */
.sx-filter-bar {
    padding: 6.8rem 3.5rem 1.2rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.sx-page-title {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    letter-spacing: -0.3px;
    color: #fff;
    margin: 0;
}

/* Custom Styled Nice-Select for Dark Theme */
.nice-select {
    background-color: rgba(20, 20, 30, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    height: 40px !important;
    line-height: 38px !important;
    padding-left: 16px !important;
    padding-right: 36px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.nice-select:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    background-color: #1a1a28 !important;
}

.nice-select.open, .nice-select:focus, .nice-select:active {
    border-color: var(--sx-accent, #e50914) !important;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.25) !important;
    background-color: #1a1a28 !important;
}

.nice-select:after {
    border-bottom: 2px solid #ffffff !important;
    border-right: 2px solid #ffffff !important;
    right: 14px !important;
    top: 50% !important;
    margin-top: -5px !important;
    width: 6px !important;
    height: 6px !important;
    transition: transform 0.2s ease !important;
}

.nice-select.open:after {
    transform: rotate(-135deg) !important;
}

.nice-select .current {
    color: #ffffff !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
}

.nice-select .list {
    background-color: #14141e !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9) !important;
    margin-top: 6px !important;
    padding: 6px !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    min-width: 170px !important;
    z-index: 1050 !important;
}

.nice-select .option {
    color: #d1d1db !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 38px !important;
    min-height: 38px !important;
    padding-left: 14px !important;
    padding-right: 16px !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    text-align: left !important;
    background: transparent !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: rgba(229, 9, 20, 0.15) !important;
    color: #ff334b !important;
}

.nice-select .option.selected {
    font-weight: 600 !important;
    color: #ff334b !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
}

/* ==========================================================================
   6. SUBSCRIPTION PLANS
   ========================================================================== */
.sx-plans-hero {
    text-align: center;
    max-width: 640px;
    margin: 6.5rem auto 2.5rem;
    padding: 0 1rem;
}

.sx-plans-hero h2 {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sx-plans-hero p {
    color: var(--sx-text-muted);
    font-size: 0.95rem;
}

.sx-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    padding: 0 3.5rem 4rem;
}

.sx-plan-card {
    position: relative;
    background: linear-gradient(180deg, var(--sx-card) 0%, var(--sx-bg-soft) 100%);
    border: 1px solid var(--sx-border);
    border-radius: 16px;
    padding: 2.4rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.sx-plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sx-plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 9, 20, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.sx-plan-card:hover::before {
    opacity: 1;
}

.sx-plan-recommended {
    border-color: var(--sx-accent);
    box-shadow: 0 0 0 1px var(--sx-accent), 0 20px 45px rgba(229, 9, 20, 0.25);
    transform: scale(1.03);
}

.sx-plan-recommended::before {
    opacity: 1;
}

.sx-plan-recommended:hover {
    transform: scale(1.03) translateY(-6px);
}

.sx-plan-badge {
    position: absolute;
    top: 16px;
    right: -34px;
    background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 2.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transform: rotate(40deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.sx-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(229, 9, 20, 0.12);
    color: var(--sx-accent-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.sx-plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.sx-plan-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.1rem;
    line-height: 1;
}

.sx-plan-price-unit {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--sx-text-muted);
    margin-left: 0.3rem;
}

.sx-plan-perday {
    color: var(--sx-accent-2);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.sx-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    flex-grow: 1;
}

.sx-plan-features li {
    color: var(--sx-text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sx-plan-features i {
    color: var(--sx-accent);
    width: 16px;
}

.sx-btn-primary {
    background: var(--sx-accent);
    color: #fff !important;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    width: 100%;
    border: none;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sx-btn-primary:hover {
    background: #b80710;
    color: #fff !important;
    transform: translateY(-1px);
}

.sx-plan-recommended .sx-btn-primary {
    background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
}

/* ==========================================================================
   7. PLAYER PAGE & PAYWALL LOCK
   ========================================================================== */
.sx-player-wrap {
    background: #000;
    padding-top: 62px;
}

.sx-player-frame {
    position: relative;
    width: 100%;
    max-width: 1280px;
    background: #000;
    margin: 0 auto;
}

.sx-player-frame video,
.sx-player-frame iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: 0;
}

.sx-player-locked {
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 380px;
    max-height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sx-player-locked::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(8px);
}

.sx-locked-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 440px;
    background: rgba(14, 14, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(16px);
}

.sx-locked-overlay i.fa-lock {
    font-size: 2.8rem;
    color: var(--sx-accent);
    margin-bottom: 1.1rem;
    display: block;
    animation: sxPulse 2s infinite ease-in-out;
}

@keyframes sxPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

.sx-locked-overlay h3 {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sx-locked-overlay p {
    color: var(--sx-text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.6rem;
    line-height: 1.5;
}

.sx-player-info {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem;
}

.sx-player-title {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.85rem;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 0.4rem;
}

.sx-player-meta {
    color: var(--sx-text-muted);
    font-size: 0.9rem;
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin: 0.6rem 0 1.2rem;
    align-items: center;
}

.sx-player-desc {
    color: #cfcfd6;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 820px;
}

.sx-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--sx-border);
    color: var(--sx-text-muted);
    font-size: 0.78rem;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin: 0 0.4rem 0.4rem 0;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.sx-footer {
    background: linear-gradient(180deg, var(--sx-bg) 0%, var(--sx-bg-soft) 100%);
    border-top: 1px solid var(--sx-border);
    margin-top: 4rem;
    position: relative;
}

.sx-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2), #ffb648);
}

.sx-footer-heading {
    text-transform: uppercase;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.sx-footer-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent-2));
    border-radius: 2px;
}

.sx-muted-text {
    color: var(--sx-text-muted) !important;
    font-size: 0.88rem;
    line-height: 1.7;
}

.sx-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sx-footer-links li {
    margin-bottom: 0.65rem;
}

.sx-footer-links a {
    color: var(--sx-text-muted) !important;
    font-size: 0.88rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.sx-footer-links a:hover {
    color: #fff !important;
    padding-left: 4px;
}

.sx-footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.sx-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sx-card);
    border: 1px solid var(--sx-border);
    color: var(--sx-text-muted);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.sx-footer-social a:hover {
    background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.sx-footer-newsletter {
    display: flex;
    gap: 0.5rem;
}

.sx-footer-newsletter input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sx-border);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    flex: 1;
}

.sx-footer-newsletter button {
    width: 46px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.sx-footer-divider {
    border-color: var(--sx-border);
    opacity: 1;
    margin: 2.2rem 0 1.4rem;
}

/* Scroll To Top (Stacked cleanly above the bottom-right download/action button) */
.sx-scroll-top,
.scroll-top {
    position: fixed !important;
    right: 22px !important;
    bottom: 92px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, var(--sx-accent), var(--sx-accent-2)) !important;
    color: #fff !important;
    font-size: 1.05rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 16px rgba(229, 9, 20, 0.35) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, box-shadow 0.25s ease !important;
    z-index: 1040 !important;
    cursor: pointer !important;
}

.sx-scroll-top.show,
.scroll-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.sx-scroll-top:hover,
.scroll-top:hover {
    background: linear-gradient(135deg, var(--sx-accent-2), var(--sx-accent)) !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.55) !important;
    color: #fff !important;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (MOBILE TO 4K / 8K ULTRA-WIDE)
   ========================================================================== */
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 991.98px) {
    .sx-search { width: 100%; margin-top: 0.8rem; }
    .sx-search:focus-within { width: 100%; }
    .sx-search-results { width: 100%; }
    .navbar-collapse {
        background: rgba(12, 12, 18, 0.98);
        padding: 1.2rem;
        border-radius: 12px;
        margin-top: 0.8rem;
        border: 1px solid var(--sx-border);
    }
}

@media (max-width: 768px) {
    .sx-hero, .sx-hero-slide { 
        height: 50vh; 
        min-height: 280px; 
        max-height: 420px; 
        background-size: contain !important; 
        background-repeat: no-repeat !important; 
        background-position: center center !important; 
        background-color: #08080c !important; 
    }
    .sx-hero-content { padding: 0 1.2rem 1.8rem; }
    .sx-hero-title { font-size: 1.8rem; }
    .sx-section-title-wrap, .sx-grid-wrap, .sx-movie-carousel-wrap, .sx-filter-bar, .sx-plans-grid, .sx-player-info {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
    .sx-movie-carousel .owl-nav button.owl-prev { left: 4px; width: 38px; height: 38px; font-size: 0.95rem !important; }
    .sx-movie-carousel .owl-nav button.owl-next { right: 4px; width: 38px; height: 38px; font-size: 0.95rem !important; }
    .sx-plans-grid { grid-template-columns: 1fr; }
    .sx-hero-carousel .owl-dots { right: 1.2rem; bottom: 18px; }
    .sx-hero-carousel .owl-nav { display: none; }
}

@media (max-width: 576px) {
    .sx-hero, .sx-hero-slide { 
        height: 42vh; 
        min-height: 230px; 
        max-height: 350px; 
        background-size: contain !important; 
        background-repeat: no-repeat !important; 
        background-position: center center !important; 
        background-color: #08080c !important; 
    }
    .sx-hero-content { padding: 0 0.85rem 1.2rem; }
    .sx-hero-title { font-size: 1.45rem; }
    .sx-hero-desc { font-size: 0.78rem; -webkit-line-clamp: 2; margin-bottom: 1rem; }
    .sx-btn-play, .sx-btn-info { padding: 0.45rem 0.95rem; font-size: 0.78rem; }
    .sx-grid { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)) !important; gap: 0.85rem !important; }
    .sx-section-title { font-size: 1.15rem !important; }
    .sx-logo-img { max-height: 32px; }
    .sx-scroll-top, .scroll-top { right: 16px !important; bottom: 84px !important; width: 42px !important; height: 42px !important; font-size: 0.9rem !important; }
}

/* 4K Ultra-Wide & High-Resolution Displays (min-width: 1921px) */
@media (min-width: 1921px) {
    .container-fluid {
        padding-left: 3.5rem !important;
        padding-right: 3.5rem !important;
    }
    
    .sx-hero, .sx-hero-slide {
        height: 76vh;
        min-height: 620px;
        max-height: 850px;
    }
    
    .sx-hero-content {
        max-width: 880px;
        padding: 0 4rem 6rem;
    }
    
    .sx-hero-title {
        font-size: 4.8rem;
    }
    
    .sx-hero-desc {
        font-size: 1.1rem;
        line-height: 1.7;
        -webkit-line-clamp: 4;
    }
    
    .sx-btn-play, .sx-btn-info {
        padding: 0.85rem 2.2rem;
        font-size: 1.05rem;
    }
    
    .sx-section-title-wrap, .sx-grid-wrap, .sx-movie-carousel-wrap, .sx-filter-bar, .sx-player-info {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
    
    .sx-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
        gap: 1.4rem !important;
    }
    
    .sx-section-title {
        font-size: 1.5rem !important;
    }
    
    .sx-section-title::before {
        height: 22px;
        width: 5px;
    }
    
    .sx-section-viewall {
        font-size: 0.95rem;
    }
    
    .sx-filter-bar {
        padding: 7.2rem 4rem 1.4rem;
    }
    
    .sx-page-title {
        font-size: 2.7rem;
    }
    
    .sx-filter-select {
        font-size: 0.95rem !important;
        padding: 0.65rem 1.3rem !important;
    }
    
    .sx-player-frame {
        max-height: 82vh;
    }
    
    .sx-player-info {
        padding: 2.2rem 4rem 4rem;
    }
    
    .sx-player-title {
        font-size: 2.8rem;
    }
    
    .sx-player-meta {
        font-size: 1rem;
        gap: 1.4rem;
    }
    
    .sx-player-desc {
        font-size: 1.05rem;
        max-width: 960px;
    }
    
    .sx-plans-hero {
        max-width: 780px;
        margin: 7.5rem auto 3rem;
    }
    
    .sx-plans-hero h2 {
        font-size: 3.2rem;
    }
    
    .sx-plans-hero p {
        font-size: 1.1rem;
    }
    
    .sx-plans-grid {
        max-width: 1700px;
        margin: 0 auto;
        padding: 0 4rem 5rem;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.2rem;
    }
}

/* 4K Ultra-Wide UHD & 8K Displays (min-width: 2560px) */
@media (min-width: 2560px) {
    .container-fluid {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
    
    .sx-section-title-wrap, .sx-grid-wrap, .sx-movie-carousel-wrap, .sx-filter-bar, .sx-player-info {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
    
    .sx-hero-content {
        max-width: 1050px;
        padding: 0 5rem 7rem;
    }
    
    .sx-hero-title {
        font-size: 5.6rem;
    }
    
    .sx-hero-desc {
        font-size: 1.2rem;
    }
    
    .sx-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
        gap: 1.65rem !important;
    }
    
    .sx-plans-grid {
        max-width: 2000px;
    }
}
