        body {
            background: black;
            color: rgb(255, 255, 255);
            height: 100vh;
            background-attachment: fixed;
            font-family: Arial, Helvetica, sans-serif,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
            width: 100%;
            margin: 0;
            scroll-behavior: smooth;
        }

       

         footer{
            background: #44444473;
            backdrop-filter: blur(30px);
            opacity: 0.993;
            overflow-x: hidden;
            position: fixed;
            bottom: 0;
            left: 0;
            width:100%;
            z-index: 10;
         }


       

        .nav-links a{
            text-decoration: none;
        }

        .nav-links a:hover svg{
            background-color: white;
            fill: black;
            transform: scale(1.1);
        }
       

       .footer-items,
       span{
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
       }


        .footer-labels{
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            text-decoration: none;
        }
        
        .nav-links svg{
            font-weight: 600;
            padding-top: 1px;
            padding-bottom: 1px;
            padding-right: 15px;
            padding-left: 15px;
            border-radius: 20px;
            fill:  black;
            width: 30px;
            height: 30px;
            transition: all 0.4s ease;
            border: #ffffff24 1px solid;
        }


        .nav-links a[href="index.html"]:not(:hover) svg {
            fill: white;
        }

        .nav-links{
            padding-top: 5px;
            padding-bottom: 5px;
            padding-right: 15px;
            padding-left: 15px;
            display: flex;
            list-style: none;
            justify-content: space-between;
            border: none;
        }


       

        
        nav {
            opacity: 0.98;
            padding: 10px 20px ;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #44444473;
            backdrop-filter: blur(30px);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 2;
            max-width: 100%;
            flex-wrap: wrap;
         }
 



         @media screen and (min-width: 321px) and (max-width: 410px) {
            nav {
                flex-direction: column;
            }
          
        main{
            margin-top: 10%;
        }

          #search {
                max-width: 120px;
            }

         }




          @media screen and (min-width:1px) and (max-width: 320px) {
            nav {
                flex-direction: column;
            }
          
        main{
            margin-top: 10%;
        }

          #search {
                max-width: 85px;
            }

         }
     



 



         

        nav h1 {
             font-size: 1.2rem;
         }



          .actions {
            display: flex;
            gap: 0.1rem;
            align-items: center;
         }



         #search,
         .button {
        background: #3f3e3e;
        color: #fff;
        margin: 2px 4px;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.9rem;
        border: #ffffff24 1px solid;
    }



    .svg-items{
        color: #fff;
        border-radius: 20px;
        background: #3f3e3e;
        border: #ffffff24 1px solid;
        height: 30px;
        width: 30px;
        fill: #fff;
        transition: transform ease 0.4s;
        cursor: pointer;
        align-content: center;
    }



    .svg-items svg:hover {
      transform: scale(1.1);
    }

    


    

    nav input {
        width: 200px;
    }



    main {
        padding-top: 110px;
        padding-bottom: 60px; /* Extra spacing before footer */
    }

    section {
        margin: 20px;
    }



    section h2 {
        margin: 0 0 10px 5px;
        font-size: 1.1rem;
    }


    
    .row-posters {
        display: flex;
        gap: 15px;
        padding-bottom: 5px;
        padding-top: 5px;
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: auto;
        position: relative;
    }
    
    .row-posters img{
        background-color: #222;
        transition: transform 0.4s ease-out;
        width: 136px;
        height: 200px;
        border-radius: 10px;
        object-fit: cover;
        color: white;
        border: #ffffff1a 0.2px solid;
    }
   
    .row-posters img:hover{
        transform: scale(1.05);
        cursor: pointer;
    }



     .row-posters::-webkit-scrollbar {
        height: 3px;
    }
    
    /* Search Results Container - inline-flex */
    #searchResultsContainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    }
    

   
    #majorposter img:hover{
        transform: scale(1.03) ;
    }

    
    .button-group button:hover{
        transform: scale(1.03);
        background-color: transparent;
}
    

    #majorposter a{
        cursor: pointer;
        text-decoration: none;
    }

    #majorposter img{
        background: rgba(43, 41, 41, 0.802);
        text-align: center;
        border: 1px solid rgba(255,255,255,0.3);
        color: white;
        transition: transform 0.4s ease;
        border-radius: 20px;
        overflow: hidden;
        margin-top: 10px;
        object-fit: fit;
        position: relative;
        height: 400px;
        width: 305px;
    }



    .button-group{
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 5px;
    }



     .button-group button{
        padding: 12px 18px ;
        font-size: 1rem;
        font-weight: bold;
        transition: transform ease-in 0.2s;
        background: linear-gradient(to right, tomato, pink, rgb(195, 57, 195), gold, rgb(0, 255, 208), violet, rgb(0, 162, 255));
        background-color: transparent;
        color:transparent;
        background-clip: text;
        border: 4px solid rgb(255, 0, 60);
        border-radius: 9px;
        text-decoration: none;
        -webkit-background-clip: text;
        background-size: 300% 300%;
        animation: gradientshift  5s linear  infinite;
    }


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

        50%{
            background-position: 100% 50%;
        }

        100%{
            background-position: 0% 50%;
        }
    }
    

    #majorposter{
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        flex: 1;
        flex-grow: 1;
        flex-shrink: 1;
        justify-content: center;
        gap: 100px;
    }

.movie-title{
    margin: 0 0 8px 0;
    font-size: 0.8rem;
    font-weight: bold;
    max-width: 136px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

