 /* ========== YOUR EXACT STYLES (keep as is) ========== */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     background: #0a0f1a;
     color: #fff;
     font-family: 'Inter', sans-serif;
     overflow-x: hidden;
 }

 ::-webkit-scrollbar {
     width: 5px;
     height: 5px;
 }

 ::-webkit-scrollbar-track {
     background: #111827;
 }

 ::-webkit-scrollbar-thumb {
     background: #C16C07;
     border-radius: 20px;
 }

 .maincontainer {
     padding: 20px;
     width: 100%;
 }

 @media(max-width:768px) {
     .maincontainer {
         padding: 10px;
     }
 }

 #mainHeader {
     transition: transform .3s ease;
    
 }

 .nav-link {
     position: relative;
     transition: .3s ease;
 }

 .nav-link:hover {
     color: #fff;
 }

 .nav-link.active {
     color: #C16C07;
 }

 .nav-link.active::after {
     content: '';
     position: absolute;
     bottom: -6px;
     left: 0;
     width: 100%;
     height: 2px;
     background: #C16C07;
     border-radius: 20px;
 }

 #heroSection {
     width: 100%;
     position: relative;
 }

 .hero-slide {
     overflow: hidden;
 }

 .hero-slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     animation: heroZoom 12s linear infinite;
 }

 .hero-gradient {
     background: linear-gradient(90deg, rgba(10, 15, 26, 1) 0%, rgba(10, 15, 26, .7) 45%, rgba(10, 15, 26, .2) 75%, transparent 100%);
 }

 @keyframes heroZoom {
     from {
         transform: scale(1);
     }

     to {
         transform: scale(1.08);
     }
 }

 @media(max-width:768px) {
     #heroSliderContainer {
         height: 70vh !important;
     }

     .hero-slide h2 {
         font-size: 28px !important;
         line-height: 1.2;
     }

     .hero-slide p {
         font-size: 13px;
         line-height: 1.5;
         max-width: 90%;
     }
 }

 .category-row {
     display: flex;
     gap: 14px;
     overflow-x: auto;
     overflow-y: hidden;
    scroll-behavior: auto;
     padding: 10px 2px 20px;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: none;
 }

 .category-row::-webkit-scrollbar {
     display: none;
 }

 .category-row>* {
     flex-shrink: 0;
 }

 .movie-card {
     position: relative;
     min-width: 150px;
     width: 150px;
     height: 220px;
     border-radius: 16px;
     overflow: hidden;
     background: #111827;
     box-shadow: 0px 0px 10px 0px #985206;
     cursor: pointer;
     transition: transform .35s ease, box-shadow .35s ease;
     z-index: 1;
 }

 .movie-card:hover {
     transform: scale(1.06);
     z-index: 20;
     box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
 }

 .movie-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform .5s ease;
 }

 .movie-card:hover .movie-img {
     transform: scale(1.08);
 }

 .overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, .96), rgba(0, 0, 0, .6), transparent);
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
     padding: 12px;
     opacity: 0;
     transition: .3s ease;
 }

 .movie-card:hover .overlay {
     opacity: 1;
 }

 .play-btn {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     background: #C16C07;
     display: flex;
     align-items: center;
     justify-content: center;
     transform: scale(.8);
     opacity: 0;
     transition: .3s ease;
 }

 .movie-card:hover .play-btn {
     transform: scale(1);
     opacity: 1;
 }

 .details {
     transform: translateY(15px);
     opacity: 0;
     transition: .3s ease;
 }

 .movie-card:hover .details {
     transform: translateY(0);
     opacity: 1;
 }

 .watch-btn,
 .view-all {
     background: #C16C07;
     color: #fff;
     border: none;
     border-radius: 999px;
     padding: 8px 14px;
     font-size: 12px;
     font-weight: 600;
     transition: .3s ease;
 }

 @media(max-width:768px) {

     .watch-btn,
     .view-all {
         text-align: center;
         padding: 2px 4px;
         font-size: 8px;
     }
 }

 .watch-btn:hover,
 .view-all:hover {
     background: #d97706;
 }

 .premiere {
     background: #C16C07;
     color: #fff;
     padding: 4px 10px;
     border-radius: 999px;
     font-size: 11px;
     font-weight: 700;
 }

 .search-box {
     background: rgba(31, 41, 55, .85);
     border: 1px solid rgba(255, 255, 255, .06);
     border-radius: 999px;
     padding: 10px 14px;
 }

 .search-box input {
     background: transparent;
     border: none;
     outline: none;
     color: #fff;
 }

 #mobileMenu {
     transition: .3s ease;
     backdrop-filter: blur(8px);
 }

 .mobile-link {
     color: #fff;
     font-size: 15px;
     padding: 12px 14px;
     border-radius: 12px;
     transition: .3s ease;
 }

 .mobile-link:hover {
     background: rgba(255, 255, 255, .08);
     color: #C16C07;
 }

 .all-movies-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
     gap: 18px;
 }

 @media(max-width:768px) {
     .all-movies-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
         gap: 12px;
     }
 }

 #videoModal {
     padding: 10px;
 }

 #videoPlayer {
     border-radius: 18px;
     background: #000;
 }

 footer {
     width: 100%;
 }

 footer a {
     transition: .3s ease;
 }

 footer a:hover {
     color: #C16C07;
 }

 @media(max-width:768px) {
     .movie-card {
         min-width: 100px;
         width: 100px;
         height: 150px;
     }

     .movie-card:hover {
         transform: scale(1.03);
     }

     .details h4 {
         font-size: 12px;
     }

     .details p {
         display: none;
     }

     .play-btn {
         width: 42px;
         height: 42px;
     }

     .category-row {
         gap: 10px;
         padding-left: 2px;
         padding-right: 2px;
     }

     .hero-slide .absolute.bottom-\[15\%\] {
         bottom: 20% !important;
     }

     .hero-slide button {
         padding: 10px 16px;
         font-size: 13px;
     }
 }

 @media(min-width:769px) and (max-width:1024px) {
     .movie-card {
         min-width: 100px;
         width: 100px;
         height: 150px;
     }
 }

 @media(min-width:1400px) {
     .movie-card {
         max-width: 200px;
         width: 100%;
         height: 275px;
     }
 }

 .animate-fade-in {
     animation: fadeIn .35s ease;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
        
         opacity: 1;
         transform: translateY(0);
     }
 }

 #videoControls {
    transition: opacity .3s ease;
}

#videoModal:hover #videoControls {
    opacity: 1;
}

#progressBar {
    accent-color: #e50914;
}

#videoPlayer {
    object-fit: contain;
    background: #000;
}