body{
    margin:0;
    background:#111;
    color:white;
    font-family:Arial,sans-serif;
}

header{
    background:linear-gradient(90deg,#0066ff,#ff0000);
    padding:20px;
    text-align:center;
}

header h1{
    margin:0;
}

header input{
    margin-top:15px;
    width:90%;
    padding:14px;
    border:none;
    border-radius:12px;
    font-size:16px;
}

.section{
    padding:15px;
}

.cards{
    display:flex;
    gap:10px;
    overflow-x:auto;
}

.card{
    min-width:180px;
    width:180px;
    background:#1c1c1c;
    border-radius:15px;
    overflow:hidden;
    transition:0.3s;
    cursor:pointer;
    flex-shrink:0;
}

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

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


.card p{
    margin:4px;
    font-size:13px;
    color:#ccc;
}

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


.card h3{
    margin:10px;
    font-size:16px;
}

.details-container{
    max-width:900px;
    margin:auto;
    padding:20px;
}

.details-container img{
    width:100%;
    max-width:350px;
    border-radius:15px;
    display:block;
    margin:auto;
}

.details-container h1{
    text-align:center;
    margin-top:20px;
}

.watch-btn{
    display:inline-block;
    padding:12px 25px;
    border-radius:10px;
    text-decoration:none;
    margin-top:15px;
}
.featured-banner{
    position:relative;
    height:300px;
    margin:20px;
    border-radius:20px;
    overflow:hidden;
    background:#222;
}

.featured-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.featured-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.2)
    );
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
}

.featured-overlay h2{
    margin:0 0 10px;
    font-size:32px;
}

.featured-overlay p{
    margin:0 0 15px;
    max-width:600px;
    color:#ddd;
}

.featured-btn{
    display:inline-block;
    width:max-content;
    padding:12px 25px;
    background:#0066ff;
    color:white;
    text-decoration:none;
    border-radius:10px;
}

.section h2{
    margin-bottom:15px;
    font-size:32px;
}

.cards{
    display:flex;
    gap:15px;
    overflow-x:auto;
    padding-bottom:10px;
}

.cards::-webkit-scrollbar{
    height:6px;
}

.cards::-webkit-scrollbar-thumb{
    background:#444;
    border-radius:10px;
}

.ad-space{
    height:90px;
    margin:20px;
    border-radius:15px;
    border:1px dashed #555;
    background:#1a1a1a;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#888;
}

.card-info{
    padding:10px;
    text-align:center;
}

.card h3{
    margin:0;
    font-size:15px;
    line-height:1.5;
    height:48px;
    overflow:hidden;
}

.card p{
    margin-top:8px;
    color:#bbb;
    font-size:13px;
}

@media(max-width:768px){

.card{
    min-width:150px;
    width:150px;
}

.card img{
    height:220px;
}

.featured-banner{
    height:220px;
}

.featured-overlay h2{
    font-size:24px;
}

.card{
    min-width:180px;
    width:180px;
    background:#1c1c1c;
    border-radius:15px;
    overflow:hidden;
    flex-shrink:0;
}

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

.card-info{
    padding:10px;
    text-align:center;
}

.card h3{
    margin:0;
    font-size:15px;
    line-height:1.5;
}

.card p{
    margin:5px 0;
    color:#bbb;
    font-size:13px;
}
.details-hero{
display:flex;
gap:20px;
padding:20px;
flex-wrap:wrap;
}

.details-poster{
width:250px;
border-radius:15px;
}

.details-info{
flex:1;
}

.meta{
display:flex;
gap:20px;
margin:15px 0;
color:#bbb;
}

.description{
line-height:1.8;
color:#ddd;
}

.player-container{
max-width:1200px;
margin:auto;
padding:20px;
}

.player-meta{
display:flex;
gap:20px;
margin:15px 0;
color:#ccc;
font-size:15px;
}

.player-buttons{
margin-top:15px;
}

.player-buttons button{
padding:10px 20px;
border:none;
border-radius:10px;
background:#0066ff;
color:white;
cursor:pointer;
}

.player-buttons button:hover{
opacity:0.9;
}

.player-ad{
height:90px;
margin-top:25px;

display:flex;
align-items:center;
justify-content:center;

border:1px dashed #555;
border-radius:12px;

background:#1a1a1a;
color:#888;
}

.movie-description{
margin-top:25px;
line-height:1.8;
color:#ddd;
font-size:16px;
}

