.movie-sections{
    display: flex;
    flex-direction: column;
}

.movie-sec{
    width: 100%;
    text-align: center;
    padding: 50px;
}

.ms-title{
    font-size: 75px;
    font-weight: bolder;
    margin-bottom: 20px;
    padding-left: 20px;
}

.ms-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow-x: auto;
}

.ms-video-wrapper{
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    margin: 10px;
    display: block;
}

.ms-video{
    width: 100%;
    height: 100%;
    border: none;
}

.ms-video-thumbnail{
    display: none;
    width: 98%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 9"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(40,40,40);stop-opacity:1" /><stop offset="100%" style="stop-color:rgb(20,20,20);stop-opacity:1" /></linearGradient></defs><rect width="16" height="9" fill="url(%23grad)"/></svg>');
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative;
    margin: 10px 0;
    transition: transform 0.3s ease;
    z-index: 0;
}

.ms-video-thumbnail:hover{
    transform: scale(1.02);
}

.ms-play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #1687a7;
    border: none;
    border-radius: 0 15px 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    color: white;
    transition: all 0.3s ease;
    z-index: 0;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ms-video-thumbnail:hover .ms-play-button{
    background: var(--button-hover-color);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ms-watch-text{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    z-index: 5;
}

@media screen and (max-width: 991.5px) {
    .movie-sec{
        padding: 10px;
    }
    .ms-container{
        flex-direction: column;
        align-items: center;
    }
    .ms-video-wrapper{
        display: none;
    }
    .ms-video-thumbnail{
        display: block;
    }
    .ms-title{
        font-size: 50px;
    }
}