
.swiper{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}


.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}


.item-top {
    position: relative;
    width: 100%;
    height: 100%;
}


.item-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.item-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4); 
    display: block;
}


.item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    z-index: 0;
}

.item-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 2;
}


.item-desc {
    width: calc(100% - 120px);
    margin: 0 auto;
    
}


.video-type {
        background-color: #ff0000;
        color: #ffffff;
        padding: 4px 8px;
        border-radius: 4px;
        display: inline-block;
    margin-bottom: 10px;
}


.video-title {
    font-size:32px;
    font-style: normal;
    color:#fff;
    margin-bottom: 15px;
}



.video-info{
    width:100%;
    line-height: 22px;
    max-width: auto;
    font-size: 16px;
    margin-bottom: 20px;
}

.item-btnwarp {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.left.flex {
    display: flex;
    gap: 15px;
}


.right {
    display: flex;
    gap: 15px;
}


.video-play-btn,
.video-detail-btn,
.video-mark-btn,
.video-reply-btn,
.video-mutue-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 99;
}

.video-detail-btn:hover,
.video-mark-btn:hover,
.video-reply-btn:hover,
.video-mutue-btn:hover {
    background-color: rgba(128, 128, 128, 0.8);
}
.video-mark-btn .text-danger {
    color: #E50916 !important;
}

.video-detail-btn{width:auto;}

.video-play-btn {
    width:auto;
    color:#fff;
    background-color:#E50916 ;
}

.video-play-btn:hover { 
    color: #fff !important;
    background-color: #ff1f1f;
    opacity: 0.9; 
    transform: scale(1.02); 
}
.video-play-btn i {
    font-size: 14px;
}

.related-grid {
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}




.related-swiper {
    width: 100%;
    height: auto !important;
    overflow: visible;
}

.related-swiper .swiper-wrapper {
    display: flex;
    height: auto !important;
}


.related-swiper .swiper-slide {
    width: calc(33.333% - 7px) !important; 
    height: auto !important;
    flex-shrink: 0;
}


.related-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.related-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


.related-poster {
    width: 100%;
    aspect-ratio: 3/4; 
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}


.related-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.related-poster:hover img {
    transform: scale(1.1);
}


.related-box-title{ font-size: 16px;
    font-weight: bold;
    margin: 8px 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    height: 20px; 
    line-height: 20px;}



.related-title{
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-align: center;
    height: 20px;
    line-height: 20px;
}


.related-actor {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6); 
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 18px;
    line-height: 18px;
    width: 100%;
    text-align: center;
}

.related-actor a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 5px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-actor a:hover {
    color: #E50916 !important; 
}


.related-swiper .swiper-button-next,
.related-swiper .swiper-button-prev {
    color: #fff;
    width: 25px;
    height: 25px;
}

.related-swiper .swiper-button-next:after,
.related-swiper .swiper-button-prev:after {
    font-size: 16px;
}





@media (max-width: 768px) {
    .swiper {
        height: 60vh;
        margin: 0;
    }
    
    .item-video video {
        transform: scale(1.5);
    }
    
    .item-desc {
        width: 100%;
        padding: 0 10px;
    }
    
    .item-bottom {
        padding: 15px 10px;
    }
    
    .wap-hide {
        display: none !important;
    }
    
    .video-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .video-type {
        font-size: 12px;
    }

       .right {
        display: none;
    }
    

    .left.flex {
        width: 100%;
        justify-content: flex-start;
        padding-left: 0; 
    }
    

    .item-btnwarp {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
        align-items: flex-start;
    }

    .related-swiper .swiper-slide {
        width: calc(33.333% - 5px) !important;
    }
    
    .related-poster {
        aspect-ratio: 3/4; 
    }
    
    .related-title {
        font-size: 12px;
        height: 18px;
        text-align: center;
        line-height: 18px;
    }
    
    .related-actor {
        font-size: 10px;
        height: 16px;
        line-height: 16px;
        display: block !important; 
        visibility: visible !important; 
        opacity: 1 !important;
    }
    
    .related-actor a {
        font-size: 10px;
    }
    
    .related-swiper .swiper-button-next,
    .related-swiper .swiper-button-prev {
        width: 20px;
        height: 20px;
    }
    
    .related-swiper .swiper-button-next:after,
    .related-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}