body{
margin:0;
font-family:'Segoe UI';
background:#0a0a0a;
color:#fff;
display:flex;
}

/* SIDEBAR */
.sidebar{
width:70px;
background:#111;
height:100vh;
position:fixed;
display:flex;
flex-direction:column;
align-items:center;
padding-top:20px;
gap:20px;
}

.logo{
color:#e50914;
font-weight:bold;
font-size:18px;
}

.sidebar i{
color:#aaa;
cursor:pointer;
transition:0.3s;
}

.sidebar i:hover{
color:#e50914;
}

/* MAIN */
.main{
margin-left:80px;
width:100%;
padding:20px;
}

/* HERO */
.hero{
height:500px;
background:url('https://image.tmdb.org/t/p/original/8rpDcsfLJypbO6vREc0547VKqEv.jpg');
background-size:cover;
background-position:center;
position:relative;
border-radius:12px;
overflow:hidden;
}

.overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(to right, rgba(0,0,0,0.8), transparent);
}

.hero-content{
position:absolute;
top:50%;
left:50px;
transform:translateY(-50%);
}

.hero h1{
font-size:50px;
margin:0;
}

.hero input{
margin-top:15px;
padding:12px;
width:250px;
border:none;
border-radius:6px;
}

.hero button{
margin-top:10px;
padding:12px 20px;
background:#e50914;
border:none;
color:white;
cursor:pointer;
}

/* GRID */
.grid{
margin-top:20px;
display:grid;
grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
gap:15px;
}

.card{
cursor:pointer;
position:relative;
}

.card img{
width:100%;
border-radius:8px;
transition:0.3s;
}

.card:hover img{
transform:scale(1.05);
}

/* PREVIEW */
.preview{
position:absolute;
background:#111;
padding:15px;
width:320px;
border-radius:10px;
z-index:9999;
box-shadow:0 0 30px rgba(0,0,0,0.8);
}

.preview iframe{
width:100%;
height:180px;
border:none;
border-radius:8px;
}
