* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

body{
    background-color: #0f0f0f;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    height: 60px;
    width: 100%;
    display: flex;
}
.nav-links{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
}

.logo {
    color: white;
    margin: 0;
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
    padding: 10px;
}

button{
    padding: 10px 25px;
    background: red;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover{
    transform: scale(1.05);
}
.hero{
    height: 80vh;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
        url('https://images.unsplash.com/photo-1574267432553-4b4628081c31?w=1920') center/cover;
        
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 50px;
    position: relative;
    font-size: 20px;
    overflow: hidden;
}
.hero-content{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    font-size: 25px;
    max-width: 600px;
    position: relative;
    margin-top: 80px;
    
}

.hero h1{
    font-size: 60px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
@media (max-width: 768px) {

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

}
.info-btn{
    background: rgba(109, 109, 110, 0.7);
    
}

.featured{
    width: 100%;   
    max-width: 1200px;    /* optional */
    display: flex;
    padding: 50px;
    padding: 40px 60px;
    align-items: center;
    gap: 40px;
    background: linear-gradient( #1a1a1a 100%);
    margin: auto;
}


@media (max-width: 768px){
    .featured{
        flex-direction: column;
        padding: 30px 20px;
    }
}
.featured-img img{
    height: 250px;   

    object-fit: cover;
    display: block;
    border-radius: 20px; 
}

.featured-content .tag{
    color: white;
    background-color: red;
    padding: 7px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-content h2{
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
}

.featured-content p{
    color: #b3b3b3;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}
/* ========Category========== */

.featured.two{
    display: block;
    gap: 25px;
    padding: 40px 30px;
    overflow-x: auto;   
}
.featured-img-two{
    position: relative;
    width: 170px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease;
    min-width: 140px;   /* important */
    height: 200px;
    border-radius: 8px;
    flex-shrink: 0;     /* ye compress hone se bachata hai */
    
}
.featured-img-two img{
    height: 200px;   
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px; 
    transition: 0.3s ease;
}

.featured-img-two:hover{
    transform: scale(1.1);
}

.movie-row{
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;

}
@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }
    
    .hero {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .line {
        padding: 20px 30px;
    }
    
    .featured {
        padding: 30px;
        flex-direction: column;
    }
    
    .featured-img {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        align-items: center;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .line {
        padding: 15px 20px;
    }
    
    .featured-img-two {
        width: 150px;
    }
    
    .featured-content{
        justify-content: center;
        align-items: center;
    }
    .featured-content h2 {
        font-size: 28px;
    }
    
    footer {
        padding: 30px 20px;
    }
    
    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    
    .login-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Overlay */
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0,0,0,0.7); */
    background: linear-gradient(to top, black, transparent);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: 0.3s ease;
    position: absolute;
} 

/* Hover Effect */
.featured-img-two:hover .overlay{
    opacity: 1;
}

.featured-img-two:hover img{
    transform: scale(1.1);
} 

/* Watch Icon */

section{
    padding: 40px 60px;
    
}

section h2{
    margin-bottom: 20px;
}
.watch-icon{
    font-size: 28px;
    color: white;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    transition: 0.3s ease;
}  

.watch-icon:hover {
  transform: scale(1.1);
  background: #ff1a1a;
}
.section-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    border-left: 4px solid red;
    padding-left: 10px;
}

.download-link {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    bottom: auto;
}

footer{
    background-color: #0f0f0f;
    color: #b3b3b3;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}