*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:#ffffff;
    font-family:Arial,sans-serif;
    min-height:100vh;
}

a{
    text-decoration:none;
    color:#fff;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    background:#111;
    border-bottom:1px solid #222;
    position:sticky;
    top:0;
    z-index:100;
}

.logo{
    font-size:24px;
    font-weight:bold;
}

nav{
    display:flex;
    gap:20px;
}

nav a{
    color:#ddd;
    transition:.3s;
}

nav a:hover{
    color:#00c6ff;
}

.hero{
    min-height:350px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:
    linear-gradient(
    rgba(0,0,0,.7),
    rgba(0,0,0,.8)),
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1200");
    background-size:cover;
    background-position:center;
}

.hero-content{
    width:90%;
    max-width:800px;
}

.hero h1{
    font-size:48px;
    margin-bottom:15px;
}

.hero p{
    color:#ccc;
    margin-bottom:25px;
}

#searchForm{
    display:flex;
    justify-content:center;
    gap:10px;
}

#searchInput{
    width:70%;
    max-width:500px;
    padding:12px;
    border:none;
    border-radius:5px;
}

#searchForm button{
    background:#00c6ff;
    color:#fff;
    border:none;
    padding:12px 20px;
    border-radius:5px;
    cursor:pointer;
}

.section-title{
    padding:25px;
}

.section-title h2{
    font-size:28px;
}

.movie-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(220px,1fr));
    gap:20px;
    padding:20px;
}

.card{
    background:#161616;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.card-body{
    padding:15px;
}

.card-title{
    font-size:18px;
    margin-bottom:10px;
}

.card-category{
    color:#00c6ff;
    font-size:14px;
}

.loading{
    text-align:center;
    padding:40px;
    font-size:18px;
}

footer{
    text-align:center;
    padding:20px;
    margin-top:40px;
    border-top:1px solid #222;
    color:#999;
}

@media(max-width:768px){

.header{
    flex-direction:column;
    gap:15px;
}

.hero h1{
    font-size:30px;
}

#searchForm{
    flex-direction:column;
}

#searchInput{
    width:100%;
}

.movie-grid{
    grid-template-columns:
    repeat(2,1fr);
}

.card img{
    height:250px;
}

}

@media(max-width:480px){

.movie-grid{
    grid-template-columns:1fr;
}

.hero{
    min-height:280px;
}

.hero h1{
    font-size:24px;
}

}
.login-box{
max-width:400px;
margin:100px auto;
padding:30px;
background:#161616;
border-radius:10px;
}

.login-box h1{
margin-bottom:20px;
}

.login-box input{
width:100%;
padding:12px;
margin-bottom:15px;
border:none;
border-radius:5px;
}

.login-box button{
width:100%;
padding:12px;
border:none;
background:#00c6ff;
color:#fff;
cursor:pointer;
border-radius:5px;
}
