/*css for pages - movies and homepage*/


        body {
            max-width: 1600px;
            justify-self: center;
            width: -webkit-fill-available;
            background-color: rgb(0, 0, 0);
            font-family: arial !important;
        }

        .background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgb(0, 0, 0);
            background-size: cover;
            background-position: center;
            filter: blur(10px);
            z-index: -1;
            /* Place it behind everything */
        }

        main {
            position: relative;
            z-index: 1;
            /* Place it above the blurred background */
           padding: 40px 40px;
    padding-top: 110px;
            color: white;
           border-bottom: 2px solid red;
           background-color: #000000ba;
        }

        .poster-box {
            position: relative;
            z-index: 2;
            /* Place the poster above the main content */
            width: fit-content;

        }

        .poster-box .poster {
            width: 300px;
            /* Adjust as needed */
            height: 445px;
            border-radius: 10px;
            box-shadow: 0 0px 56px rgb(255 0 0 / 50%);
            max-width: 300px;
            border: 2px solid red;
            object-fit: cover;
        }

   
        .full-width {
            width: 100%;
            gap: 40px;
            align-items: center;
        }

        .detials-list {
            display: flex;
            flex-direction: row;
            gap: 5px;
            flex-wrap: wrap;
        }


        .detials-list .styled-li {
            background-color: whitesmoke;
            padding: 3px 16px;
            color: black;
            list-style: none;
            border-radius: 2px;
            align-content: center;
            position: relative;
            transition: background-color 0.3s ease;

        }

        .moviedetials-style {
            font-size: 20px;
            padding-inline: 10px;
        }



        .detials-list .normal-li {
            margin-left: 30px;
            align-content: center;
        }



        /* Button Styles */
        .watch-trailer-btn {
            display: inline-flex;
            align-items: center;
            padding: 12px 24px;
            background-color: #ffffff;
            color: #000000;
            font-size: 16px;
            font-weight: bold;
            border: none;
            border-radius: 33px;
            cursor: pointer;
            overflow: hidden;
            position: relative;
            transition: background-color 0.3sease;
            justify-content: center;

        }


        /* Video Icon Styles */
        .video-icon {
            margin-left: 10px;
            /* Space between text and icon */
            font-size: 20px;
            transition: transform 0.3s ease;
            /* Smooth icon movement */
        }

        /* Icon Movement on Hover */
        .watch-trailer-btn:hover .video-icon {
            transform: translateX(10px);
            /* Move icon to the right */
        }



        /* Base Button Styles */
        .download-btn {
            display: inline-flex;
            align-items: center;
            padding: 15px 30px;
            background: linear-gradient(135deg, #ff0000, #000000);
            color: white;
            font-size: 18px;
            font-weight: bold;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0px 23px rgb(255 3 3 / 68%);
            transition: all 0.4sease;
        }
        
        
               /* Base Button Styles */
        .download-btn a {
            text-decoration: inherit;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    color: white;
        }
        
        

        /* Glow Effect */
        .download-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
            /* Glow effect */
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.5s ease, opacity 0.5s ease;
            opacity: 0;
            pointer-events: none;
        }

        /* Hover Effects */
        .download-btn:hover {
            transform: translateY(-5px);
            /* Lift button on hover */
            box-shadow: 0 8px 25px rgba(39, 174, 245, 0.6);
            /* Stronger shadow */
        }

        .download-btn:hover::before {
            transform: translate(-50%, -50%) scale(1);
            /* Expand glow effect */
            opacity: 1;
        }

        /* Icon Styles */
        .download-icon {
            margin-left: 10px;
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        /* Icon Animation on Hover */
        .download-btn:hover .download-icon {
            transform: translateY(-3px);
            /* Move icon up slightly */
        }

        /* Pulse Animation */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(39, 174, 245, 0.7);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(39, 174, 245, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(39, 174, 245, 0);
            }
        }

        /* Add Pulse Animation on Hover */
        .download-btn:hover {
            animation: pulse 1.5s infinite;
            /* Continuous pulse effect */
        }




        .btnsfor-DowloadandWatch {
            gap: 20px;
            width: fit-content;
            z-index: 0;
        }


        .imdb-logo {
            background: rgb(225, 190, 0);
            padding-inline: 5px;
            font-weight: 900;
            border-radius: 4px;
        }

        .detials-list .imdb-color {
            background: rgb(225, 190, 0);
        }


        .detials-list .tomato-color {
            background-color: #ff0000;
            color: #f7f7f7;
            text-shadow: 0px 0px 3px black;
        }


        /* See More/Less Button */
        .see-more-btn {
            color: yellow;
            cursor: pointer;
            font-weight: bold;
            margin-top: 10px;
            display: inline-block;
        }


        .description-content.truncated {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            /* Limit to 3 lines */
            -webkit-box-orient: vertical;
        }



        .see-more-btn:hover {
            text-decoration: underline;
        }



        .movie-info {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 200px;
            padding: 10px;
            background: rgb(255 255 255);
            backdrop-filter: blur(54px);
            border-radius: 5px;
            box-shadow: 2px 0px 17px rgb(255 7 7 / 36%);
        }


        .styled-li:hover .movie-info {
            display: block;
            color: #000000;
            text-shadow: none;
        }


        /* Blur and darken background on hover */
        .styled-li:hover {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(5px);
        }



        .watch-trailer-btn,
        .download-btn {
            position: relative;
            /* Required for z-index to work */
            z-index: 3;
            /* Higher than .styled-li */
        }

        /* Adjust the z-index of .styled-li */
        .styled-li {
            position: relative;
            /* Required for z-index to work */
            z-index: 1;
            /* Lower than the buttons */
        }

        /* Ensure the movie-info popup has a higher z-index than the buttons */
        .movie-info {
            z-index: 2;
            /* Higher than .styled-li but lower than buttons */
        }



        @media (max-width:458px) {
            main {
                display: flex;
                flex-direction: column;
                position: inherit;
                padding: 20px;
            }

            .heading-director {
                gap: 10px;
                display: flex;
                flex-direction: column;
            }



            .moviedetials-style {
                padding: 0;
                margin-right: 15px;
            }


            .full-width {
                width: 100%;
                gap: 40px;
                align-items: center;
            }


        }


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

.flex-row {
    display: flex;
    flex-direction: row;
}




@media (min-width:1px) and (max-width: 450px) {

    /* Hide the navigation menu by default */
    .searchbar {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #f8f9fa;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .flex-row {
        display: flex;
        flex-direction: column;
    }
    


    .blur-effectfor-bottom {
        position: absolute;
        z-index: -1 !important;
    }


    .search-input {
        display: none;

    }



    .slide img {
        max-height: 60vh;
        object-position: top !important;
    }

    .controls {
        bottom: -9px !important;
    }

    .slide .text-overlay {
        justify-content: end !important;
        gap: 8px !important;
        z-index: 1;
        padding: 20px !important;
        background: linear-gradient(41deg, #000000 28%, #ffffff30 90%) !important;
    }

    .controls button {
        background-color: #000000 !important;
    }

    .btns-banner {
        min-width: 80%;
    }

    .menu-container {
        flex-wrap: wrap;
        gap: 4px 10px !important;
    }

    .banner-heading {
        font-size: 2rem !important;
    }

    .description-banner {
        min-width: 72%;
    }




    .Logo {
        width: 100px !important;

    }

    .nav-link {
        color: rgb(0, 0, 0) !important;
        text-decoration: none;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: start;
        justify-content: start;
        width: 100%;
        padding: 0px 20px;
        gap: 0px !important;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }

    .logo-hamburgur {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Active class to show the menu when toggled */
    .searchbar.active {
        display: flex;
margin-top: -4px;
    }
}




/* Responsive styles for screens with max-width of 768px */
@media (min-width:451px) and (max-width: 768px) {

    /* Hide the navigation menu by default */
    .searchbar {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #f8f9fa;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .search-input {
        display: none;

    }

    .Logo {
        width: 110px;
    }

    .nav-link {
        color: black !important;
        text-decoration: none;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: start;
        justify-content: start;
        width: 100%;
        padding: 0px 20px;
    }

    .nav-item {
        margin: 10px 0;
    }

    /* Show the hamburger icon */
    .hamburger {
        display: flex;
    }

    .logo-hamburgur {
        display: flex;
        justify-content: space-between;

        align-items: center;
    }

    .searchbar.active {
        display: flex;

    }

    .movieSlide {
        flex: 0 0 33.333% !important;
        padding: 5px !important;
    }


    .galleryNavButtons {
        display: none !important;
    }



    .text-overlayed {
        gap: 13px !important;
        justify-content: end !important;
        margin-top: -30px;
    }

    .movieGalleryWrapper {
        overflow-x: scroll;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar for IE/Edge */
        scroll-snap-type: x mandatory;
        /* Enable snap scrolling */
    }

    /* Hide scrollbar for Chrome, Safari, and Opera */
    .movieGalleryWrapper::-webkit-scrollbar {
        display: none;
    }

    .movieGallery-section {
        padding: 0px !important;
        padding-top: 20px !important;

    }

  

    .galleryNavButton {
        display: none;
        /* Hide buttons on mobile */
    }

    .heaing-movies {
        width: 100%;
        justify-content: start;
        padding-inline: 20px !important;
    }

    .search-form {
        display: none !important;
    }

    .prev-3 {

        display: none !important;

    }

    .next-3 {
        display: none !important;

    }
}




@media (min-width: 10px) and (max-width: 768px)  {

    /* Active class to show the menu when toggled */
    .searchbar.active {
        display: flex;

    }

    .prev-3 {

        display: none !important;

    }

    .next-3 {
        display: none !important;

    }

    .movieSlide {
        flex: 0 0 33.333% !important;
        padding: 5px !important;
    }

    .streamGallery .movieSlide img {
        height: 115px !important;
    }

    .streamGallery .movieSlide {
        flex: 0 0 50% !important;
        padding: 5px !important;
    }


    .search-form {
        display: none !important;
    }


    .galleryNavButtons {
        display: none !important;
    }



    .text-overlayed {
        gap: 13px !important;
        justify-content: end !important;
        margin-top: -30px;
    }

    .movieGalleryWrapper {
        overflow-x: scroll !important;
        scrollbar-width: none !important;
        margin: 10px;
        /* Hide scrollbar for Firefox */
        -ms-overflow-style: none !important;
        /* Hide scrollbar for IE/Edge */
        scroll-snap-type: x mandatory !important;
        /* Enable snap scrolling */
        display: block !important;
    }

    /* Hide scrollbar for Chrome, Safari, and Opera */
    .movieGalleryWrapper::-webkit-scrollbar {
        display: none !important;
    }

    .movieGallery-section {
        padding: 0px !important;
        padding-top: 20px !important;

    }

    .movieSlide img {
        height: 64% !important;
    }

    .galleryNavButton {
        display: none;
        /* Hide buttons on mobile */
    }

    .heaing-movies {
        width: 100%;
        justify-content: start;
        padding-inline: 20px !important;
    }
}



@media (min-width: 1024px) and (max-width: 1200px) {
    .movieSlide {
        flex: 0 0 20% !important;
    }

}




@media (min-width: 768px) and (max-width: 1024px) {
    .movieSlide {
        flex: 0 0 25% !important;
    }


    .movieGalleryContainer {
        width: -webkit-fill-available !important;
        margin-inline: 20px;
    }

}





body {
    max-width: 1600px;
    width: -webkit-fill-available;
    font-family: poppins;
    align-items: center;
    justify-self: center;
}



header {
    background-color: #1e1e1eb8;
    flex-wrap: wrap;
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1600px;

}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}


.navbar-nav .nav-item {
    list-style-type: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    
}


.nav-link:hover {
    color: red;
    
}



.Logo {
    width: 110px;


}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}





.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
    margin-left: 15px;
    overflow: hidden;
    transition: width 0.4s ease-in-out;
    min-width: 280px;
    height: fit-content;
}

.search-input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: none;
    outline: none;
    transition: width 0.4s ease-in-out;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}

.search-button img {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.search-form:focus-within {
    width: 300px;
    /* Expanded width */
}



/* Hamburger Icon (hidden by default) */
.hamburger {

    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}




.logo-hamburgur {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}








.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: top right;

}

.slide .text-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    /* Fixed the transition syntax */
    padding: 40px;
    /*background: linear-gradient(90deg, rgb(0, 0, 0) 13%, rgba(255, 255, 255, 0) 119%) !important;*/
    padding-top: 40px;

}


.blur-effectfor-bottom {
    box-shadow: 0 0 27px 0 rgb(0 0 0 / -14%), 0 0 128px 102px #000000;
    width: 100%;
    height: 0;
    margin-top: -20px;
    position: absolute;
    z-index: 0;
}



.controls {
    position: absolute;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    right: 15px;
    bottom: 52px;
    flex-direction: column;
    gap: 10px;
    width: 40px;
    border-radius: 10px;
    z-index: 1;
}


.controls button {
    background: rgb(185 185 185);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 8px;
}

.controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}




/* Container for the menu items */
.menu-container {
    display: flex;
    flex-direction: row;
    gap: 10px 10px;
    /* Space between items */
}

/* Each menu item */
.menu-item {
    display: flex;
    align-items: center;
    /* Align icon and text vertically */
    gap: 10px;
    /* Space between icon and text */
    cursor: pointer;
}

/* Text */
.menu-text {
    font-size: 14px;
    color: #ffffff;
    /* Text color */
}

/* Hover effect */
.menu-item:hover .menu-icon,
.menu-item:hover .menu-text {
    color: #007bff;
    /* Change color on hover */
}


.banner-heading {
    font: 40px poppins;
    font-weight: 600;
    line-height: 1em;
}


.hd-text {
    background-color: rgb(255 174 0);
    color: #000000;
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 600;
}

.description-banner {
    font-size: 14px;
    color: white;
    font-family: poppins;
    width: 50%;
}


.description-banner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* Number of lines to show */
    overflow: hidden;
    text-overflow: ellipsis;
}


.gapnogap {
    gap: 1px;
}

.text-720p {
    background-color: rgb(214, 112, 180);
    padding: 2px 7px;
    color: black;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    font-weight: 600;

}

.text-10470p {
    background-color: rgb(161, 219, 161);
    padding: 2px 7px;
    color: black;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    font-weight: 600;
}

.watch-now {
    background-color: rgb(187, 0, 0);
    color: whitesmoke;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
}

.details {
    background-color: whitesmoke;
    color: rgb(187, 0, 0);
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
}

.btns-banner {
    gap: 15px;
    width: 50%;
    display: flex;
}

.highlight {
    color: rgb(255 174 0);
    padding: 2px 5px;
    border-radius: 2px;
    font-weight: 600;
}




.movieGallery-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    padding: 30px;
    padding-top: 40px;
    flex-direction: column;
    color: white;
}

.movieGalleryContainer {
    max-width: 1600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}


.movieGalleryWrapper {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.movieGallery {
    display: flex;
     overflow-y: auto;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.movieGallery::-webkit-scrollbar {
  display: none;             /* Chrome, Safari ke liye */
}

.movieSlide {
    flex: 0 0 16.666%;
    /* 6 slides on desktop (100% / 6 = 16.666%) */
    box-sizing: border-box;
    padding: 10px;
    padding-top: 20px;
    
}

.movieSlide a {
    all: unset; /* Resets all default styles */

}


.movieSlide img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    object-position: top center;
    transition: transform 0.3s;
    box-shadow: 0px 0px 4px 1px #ff2c2c;
    height: 100%;
}



.galleryNavButton {
    background-color: rgb(150 150 150 / 50%);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 36px;
    height: 47%;
}





.galleryNavButtons {
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    position: relative;
    padding: 5px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

.text-overlayed {
    z-index: 10;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
    top: 0;
    width: 100%;
    height: 100%;

    display: flex;

}

.heaing-movies {
    width: 100%;
    justify-content: start;
    padding-inline: 20px;
}


.streamGallery .movieSlide {
    flex: 0 0 20%;
}


.streamGallery .movieSlide img {
    width: 100%;
    height: 160px;
    object-fit: cover;

}






.prev-3 {
    position: absolute;
    display: flex;
    left: 0;
    height: fit-content;
    top: 30%;
    border-radius: 50%;

}

.next-3 {
    position: absolute;
    display: flex;
    right: 0;
    height: fit-content;
    top: 30%;
    border-radius: 50%;

}