@import url('https://fonts.googleapis.com/css?family=PT+Sans');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PT Sans',sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(#007bb2,#0d1423);
}
.card{
    position: relative;
    width: 320px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
.card .poster{
    position: relative;
    overflow: hidden;
}
.card .poster::before{
    content: '';
    bottom: -180px;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,#1064a6 50%,transparent);
    transition: 0.5s;
    z-index: 1;
}
.card:hover .poster::before{
    bottom: 0px;
}
.card .poster img{
    width: 100%;
    transition: 0.5s;
}
.card:hover .poster img{
    transform: translateY(-50px);
    filter: blur(5px);
}
.card .details{
    position: absolute;
    bottom: -210px;
    left:0;
    padding: 20px;
    z-index: 2;
    transition: 0.5s;
    width: 100%;
}
.card:hover .details{
    bottom: 40px;
}
.card .details .logo{
    max-width: 180px;
}
.card .details h3{
    color: #fff;
    font-size: 14px;
}
.card .details .rating .fa-solid{
    color: #f7f406;
    font-size: 1em;
}
.card .details .rating{
    position: relative;
    padding: 5px 0 ;
}
.card .details .rating .fa-regular{
    color: #f7f406;
    font-size: 1em;
}
.card .details .rating span{
    color: #fff;
}
.card .details .tags{
    position: relative;
    margin-top: 5px;

}
.card .details .tags span{
    padding: 2px 5px;
    color: #fff;
    background: #03a8f5;
    border-radius: 4px;
}
.card .details .tags span:nth-child(2){
    background: #ff5722;
}
.card .details .info{
    color: #fff;
    margin-top:20px;
}
.card .details .cast{
    position: relative;
}
.card .details .cast h4{
    color: #fff;
    margin-top: 10px;
}
.card .details .cast ul{
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
 .card .details .cast ul li{
    list-style: none;
    width: 35px;
    height: 35px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #fff;
 }
 .card .details .cast ul li img{
    max-width: 100%;
 }