:root {
     /* Wonder TV Palette */
     --wtv-gold: #FFD700;
     --wtv-gold-dark: #D4AF37;
     --wtv-blue-glow: #00A3FF;
     --wtv-primary-blue: #0042D9;
     --wtv-silver: #E0E6ED;
     --wtv-vibrant-red: #E50914;

     /* Dark Theme Tokens */
     --wtv-bg-dark: #070913;
     --wtv-card-bg-dark: rgba(13, 19, 36, 0.72);
     --wtv-glass-border-dark: rgba(212, 175, 55, 0.2);
     --wtv-text-dark: #F3F4F6;
     --wtv-text-sub-dark: rgba(255, 255, 255, 0.65);
     --wtv-nav-bg-dark: rgba(7, 9, 19, 0.85);

     /* Light Theme Tokens */
     --wtv-bg-light: #F4F6F9;
     --wtv-card-bg-light: rgba(255, 255, 255, 0.85);
     --wtv-glass-border-light: rgba(0, 163, 255, 0.25);
     --wtv-text-light: #0F172A;
     --wtv-text-sub-light: #475569;
     --wtv-nav-bg-light: rgba(244, 246, 249, 0.88);

     /* Active Theme Variables (Defaults to Dark) */
     --bg-main: var(--wtv-bg-dark);
     --card-bg: var(--wtv-card-bg-dark);
     --glass-border: var(--wtv-glass-border-dark);
     --text-main: var(--wtv-text-dark);
     --text-sub: var(--wtv-text-sub-dark);
     --nav-bg: var(--wtv-nav-bg-dark);
 }

 [data-bs-theme="light"] {
     --bg-main: var(--wtv-bg-light);
     --card-bg: var(--wtv-card-bg-light);
     --glass-border: var(--wtv-glass-border-light);
     --text-main: var(--wtv-text-light);
     --text-sub: var(--wtv-text-sub-light);
     --nav-bg: var(--wtv-nav-bg-light);
 }

 body {
     font-family: 'Plus Jakarta Sans', sans-serif;
     background-color: var(--bg-main);
     color: var(--text-main);
     overflow-x: hidden;
     margin: 0;
     padding: 0;
     transition: background-color 0.4s ease, color 0.4s ease;
 }

 /* Interactive Floating Cosmic Canvas Layer */
 #cosmic-canvas {
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     height: 100vh;
     z-index: 0;
     pointer-events: none;
 }

 /* Hero Wrapper with Blend Overlay */



/* Continuous Background Container */
/*
   .bg-wrapper {
       background-image: url('../images/wondertv_background.png');
       background-size: 100% auto;
       background-repeat: no-repeat;
       background-position: top center;
       width: 100%;
       min-height: 100vh;
       position: relative;
   }

*/


 .bg-wrapper {
     background-image: 
        linear-gradient(180deg, rgba(7, 9, 19, 0.4) 0%, rgba(7, 9, 19, 0.95) 75%, var(--bg-main) 100%),
        linear-gradient(90deg, rgba(7, 9, 19, 0.9) 0%, rgba(7, 9, 19, 0.4) 50%, rgba(7, 9, 19, 0.1) 100%),
        url('../images/wondertv_background.png');
    
     background-size: 100% auto;
     background-repeat: no-repeat;
     background-position: center top;
     width: 100%;
     min-height: 100vh;
    
     /*
     position: relative;
     z-index: 1;
     transition: background 0.4s ease;
     */
     
 }
 


[data-bs-theme="light"] .bg-wrapper {
    background-image:
        linear-gradient(
            180deg,
            rgba(30, 45, 65, 0.22) 0%,
            rgba(220, 225, 232, 0.32) 38%,
            var(--bg-main) 88%
        ),
        url('../images/wondertv_background_light.png');
}



 

.bg-watch-live {
     background-image: 
        linear-gradient(180deg, rgba(7, 9, 19, 0.4) 0%, rgba(7, 9, 19, 0.95) 75%, var(--bg-main) 100%),
        linear-gradient(90deg, rgba(7, 9, 19, 0.9) 0%, rgba(7, 9, 19, 0.4) 50%, rgba(7, 9, 19, 0.1) 100%),
        url('../images/watch_live.png');
    
     background-size: 100% auto;
     background-repeat: no-repeat;
     background-position: center top;
     width: 100%;
     min-height: 100vh;
    
     
 }


 [data-bs-theme="light"] .bg-watch-live {
    background-image:
        linear-gradient(
            180deg,
            rgba(30, 45, 65, 0.22) 0%,
            rgba(220, 225, 232, 0.32) 38%,
            var(--bg-main) 88%
        ),
        url('../images/watch_live.png');
}



  .bg-on-demand {
     background-image: 
        linear-gradient(180deg, rgba(7, 9, 19, 0.4) 0%, rgba(7, 9, 19, 0.95) 75%, var(--bg-main) 100%),
        linear-gradient(90deg, rgba(7, 9, 19, 0.9) 0%, rgba(7, 9, 19, 0.4) 50%, rgba(7, 9, 19, 0.1) 100%),
        url('../images/watch_live.png');
    
     background-size: 100% auto;
     background-repeat: no-repeat;
     background-position: center top;
     width: 100%;
     min-height: 100vh;
    
     
 }



 [data-bs-theme="light"] .bg-on-demand {
    background-image:
        linear-gradient(
            180deg,
            rgba(30, 45, 65, 0.22) 0%,
            rgba(220, 225, 232, 0.32) 38%,
            var(--bg-main) 88%
        ),
        url('../images/watch_live.png');
}



/* Hero Typography & Elements */
.hero-banner-section {
    min-height: 80vh;
    padding-top: 100px;
}

.hero-subheading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #FFF099 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.6;
}

/* Sample2 Styled Hero Buttons */
.btn-gold-solid {
    background: linear-gradient(180deg, #FFDC33 0%, #E6AC00 100%);
    color: #0B0F19;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 20px rgba(230, 172, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 220, 51, 0.5);
    color: #000;
}

.btn-gold-pill {
    background: linear-gradient(180deg, #FFDC33 0%, #E6AC00 100%);
    color: #0B0F19;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    font-size: 0.9rem;
    padding: 0.45rem 1.25rem;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.6);
}


/* Explore Our Content Cards */
.explore-card {
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.explore-card:hover {
    transform: translateY(-4px);
    border-color: var(--wtv-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.explore-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 70%);
}

.badge-text {
    font-size: 0.82rem;
    font-weight: 600;
}

        
        



 /* Glassmorphism Panels */
 .glass-panel {
     background: var(--card-bg);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border: 1px solid var(--glass-border);
     border-radius: 16px;
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.12);
     transition: background 0.4s ease, border-color 0.4s ease;
 }

 .glass-nav {
     background: var(--nav-bg);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border-bottom: 1px solid var(--glass-border);
     transition: background 0.4s ease, border-color 0.4s ease;
 }

 /* Branding Logo Effect */
 .brand-logo {
     filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.35));
     transition: filter 0.3s ease, transform 0.3s ease;
 }

 .brand-logo:hover {
     filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.6));
     transform: scale(1.02);
 }

 /* Navigation Links */
 .nav-link {
     color: var(--text-main) !important;
     font-weight: 600;
     padding: 0.5rem 1rem !important;
     border-radius: 20px;
     transition: all 0.3s ease;
     opacity: 0.85;
 }

 .nav-link:hover,
 .nav-link.active {
     opacity: 1;
     background: rgba(0, 163, 255, 0.15);
     color: var(--wtv-blue-glow) !important;
 }

 /* Custom Action Buttons */
 .btn-wtv-primary {
     background: linear-gradient(135deg, var(--wtv-primary-blue), #00227B);
     color: #FFFFFF;
     border: 1px solid rgba(0, 163, 255, 0.4);
     font-weight: 600;
     box-shadow: 0 4px 20px rgba(0, 66, 217, 0.3);
     transition: all 0.3s ease;
 }

 .btn-wtv-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 25px rgba(0, 163, 255, 0.5);
     color: #FFFFFF;
 }

 .btn-wtv-gold {
     background: linear-gradient(135deg, #FFF099 0%, var(--wtv-gold) 50%, var(--wtv-gold-dark) 100%);
     color: #05070E;
     font-weight: 700;
     border: none;
     box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
     transition: all 0.3s ease;
 }

 .btn-wtv-gold:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
     color: #000000;
 }

 .badge-live {
     background-color: var(--wtv-vibrant-red);
     color: white;
     font-weight: 700;
     letter-spacing: 1px;
     animation: pulse-red 2s infinite;
 }

 @keyframes pulse-red {
     0% {
         box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.8);
     }

     70% {
         box-shadow: 0 0 0 12px rgba(229, 9, 20, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
     }
 }

 /* Carousel Headers & Controls */
 .swiper-section-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1.25rem;
 }

 .swiper-controls {
     display: flex;
     gap: 10px;
 }

 .swiper-btn-prev,
 .swiper-btn-next {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: var(--card-bg);
     border: 1px solid var(--glass-border);
     color: var(--text-main);
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.25s ease;
 }

 .swiper-btn-prev:hover,
 .swiper-btn-next:hover {
     background: var(--wtv-gold);
     color: #000;
     border-color: var(--wtv-gold);
     box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
 }

 /* Media Card & Hover Animations */
 .media-card {
     transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
     cursor: pointer;
     overflow: hidden;
     border-radius: 14px;
     position: relative;
     height: 100%;
 }

 .media-card:hover {
     transform: translateY(-7px) scale(1.02);
     box-shadow: 0 12px 30px rgba(0, 163, 255, 0.25);
     border-color: var(--wtv-gold);
 }

 .media-card img {
     width: 100%;
     height: 180px;
     object-fit: cover;
     border-radius: 10px 10px 0 0;
     transition: transform 0.5s ease;
 }

 .media-card:hover img {
     transform: scale(1.05);
 }

 .text-sub {
     color: var(--text-sub) !important;
 }

 /* TV Remote / 10-Foot UI Focus Indicator */
 :focus-visible {
     outline: 3px solid var(--wtv-gold) !important;
     outline-offset: 4px !important;
 }

 /* Section Headings */
 .section-title {
     font-weight: 800;
     font-size: 1.35rem;
     letter-spacing: 0.8px;
     position: relative;
     display: inline-block;
     margin-bottom: 0;
     text-transform: uppercase;
     color: var(--text-main);
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -6px;
     left: 0;
     width: 45px;
     height: 3px;
     background: linear-gradient(90deg, var(--wtv-gold), var(--wtv-blue-glow));
     border-radius: 2px;
 }

 /* Search Control */
 .search-box {
     background: rgba(125, 125, 125, 0.12);
     border: 1px solid var(--glass-border);
     border-radius: 30px;
     overflow: hidden;
     backdrop-filter: blur(10px);
 }

 .search-box input {
     background: transparent;
     border: none;
     color: var(--text-main);
     padding-left: 15px;
 }

 .search-box input::placeholder {
     color: var(--text-sub);
 }

 .search-box input:focus {
     background: transparent;
     color: var(--text-main);
     box-shadow: none;
 }




 /* Remove default Bootstrap dropdown arrow */
.no-arrow::after {
    display: none !important;
}

/* Custom Dropdown Container */
.custom-avatar-menu {
    background-color: #0b0f19 !important;
    min-width: 240px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Hover effects matching Wonder TV Dark theme */
.hover-bg:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    transition: background-color 0.2s ease;
}

.hover-bg-danger:hover {
    background-color: rgba(220, 53, 69, 0.15) !important;
    transition: background-color 0.2s ease;
}

/* Mobile specific styling */
@media (max-width: 991.88px) {
    .custom-nav-collapse {
        max-height: calc(85vh - 60px);
        overflow-y: auto;
    }

    .custom-avatar-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
}

/* Desktop screen alignment */
@media (min-width: 992px) {
    .custom-nav-collapse {
        overflow: visible !important;
    }

    .custom-avatar-menu {
        right: 0 !important;
        left: auto !important;
        transform: none !important;
    }
}





 /* Navigation Enhancements matching sample2.png */
.custom-glass-nav {
    background: rgba(7, 9, 19, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-nav-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.custom-nav-item:hover,
.custom-nav-item.active {
    color: #FFFFFF !important;
}

.custom-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 15%;
    width: 70%;
    height: 2.5px;
    background-color: var(--wtv-gold);
    border-radius: 2px;
}

/* Sample2 Search Pill */
.search-input-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Theme Switcher Pill */
.theme-switch-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
}

.theme-switch-pill .pill-icon {
    font-size: 0.8rem;
    opacity: 0.6;
}

.theme-switch-pill .pill-icon.night {
    opacity: 1;
    color: var(--wtv-gold);
}





/* ==========================================================================
   FEATURED BANNER HERO & COLLECTION STYLES
   ========================================================================== */

/* Featured Hero Container */
.featured-hero-card {
    background: linear-gradient(135deg, rgba(13, 19, 36, 0.95) 0%, rgba(7, 9, 19, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.hero-glow-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

/* Custom Buttons for Collections & Featured Banner */
.btn-custom-orange {
    background: linear-gradient(135deg, #FF9900 0%, #E67E00 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom-orange:hover, 
.btn-custom-orange.active {
    background: linear-gradient(135deg, #FFAC1C 0%, #FF8C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    color: #FFFFFF !important;
}

.btn-custom-blue {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-custom-blue:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Series Cards & Badges */
.netflix-card {
    background-color: var(--card-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.netflix-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--wtv-gold);
}

.badge-favourite-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(7, 9, 19, 0.65);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.badge-favourite-btn:hover {
    transform: scale(1.1);
    background: rgba(7, 9, 19, 0.85);
}

.badge-episodes {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(7, 9, 19, 0.75);
    backdrop-filter: blur(8px);
    color: var(--wtv-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Card Hover Overlay */
.netflix-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 19, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.watch-now-overlay-btn {
    background: linear-gradient(180deg, #FFDC33 0%, #E6AC00 100%);
    color: #0B0F19;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(230, 172, 0, 0.4);
    transition: transform 0.2s ease;
}

.watch-now-overlay-btn:hover {
    transform: scale(1.05);
    color: #000;
}

/* Horizontal Scrollbar Hider */
.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Media Card Hover Overlay Styles */
.media-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 19, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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



   /* Custom Carousel Styling */
   /* Owl Carousel Custom Styling */
   .custom-wonder-owl {
       position: relative;
   }

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



   .carousel-img {
       width: 100%;
       height: 440px;
       object-fit: cover;
       object-position: center;
       border-radius: 1rem;
   }



   @media (max-width: 768px) {
       .carousel-img {
           height: 220px;
       }
   }

   /* Custom Navigation Buttons */
   .custom-wonder-owl .owl-nav button.owl-prev,
   .custom-wonder-owl .owl-nav button.owl-next {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       background: none !important;
       border: none !important;
       outline: none !important;
       z-index: 10;
   }

   .custom-wonder-owl .owl-nav button.owl-prev {
       left: 15px;
   }

   .custom-wonder-owl .owl-nav button.owl-next {
       right: 15px;
   }

   .control-icon-bg {
       width: 45px;
       height: 45px;
       background: rgba(0, 0, 0, 0.6);
       border: 1px solid rgba(255, 255, 255, 0.2);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       color: #fff;
       font-size: 1.2rem;
       transition: all 0.3s ease;
       box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
   }

   .custom-wonder-owl .owl-nav button:hover .control-icon-bg {
       background: #f97316;
       /* Primary orange accent */
       transform: scale(1.1);
   }

   /* Custom Dots Indicator Styling */
   .custom-wonder-owl .owl-dots {
       text-align: center;
       margin-top: 15px;
   }

   .custom-wonder-owl .owl-dots .owl-dot span {
       width: 10px;
       height: 10px;
       margin: 0 4px;
       background: rgba(255, 255, 255, 0.4);
       display: inline-block;
       border-radius: 50%;
       transition: all 0.3s ease;
   }

   .custom-wonder-owl .owl-dots .owl-dot.active span {
       background: #f97316;
       width: 26px;
       border-radius: 10px;
   }
