/* 轮播容器 */
.vc-carousel {
    position: relative;
    overflow: hidden;
    margin: 30px 0;
}
.vc-carousel__track {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
}
.vc-carousel__slide {
    flex-shrink: 0;
    box-sizing: border-box;
}
/* 移动端：每个slide占满宽度，内部卡片用margin产生间距 */
@media (max-width: 767px) {
    .vc-carousel__slide {
        width: 100%;
        padding: 0;
    }
    .vc-video-card {
        margin: 0;
    }
}
/* 平板：一行2个 */
@media (min-width: 768px) and (max-width: 1023px) {
    .vc-carousel__slide {
        width: 50%;
        padding: 0 5px;
    }
}
/* 桌面：一行3个 */
@media (min-width: 1024px) {
    .vc-carousel__slide {
        width: 33.333%;
        padding: 0 5px;
    }
}
/* 视频卡片 */
.vc-video-card {
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 9 / 16;
    position: relative;
}
.vc-video-card__cover {
    width: 100%;
    height: 100%;
    position: relative;
}
.vc-video-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vc-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url(play.svg) no-repeat;background-position: 0 -39px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.vc-no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
}
/* 导航按钮 */
.vc-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.vc-carousel__nav--prev { left: 10px; }
.vc-carousel__nav--next { right: 10px; }
.vc-carousel__nav:hover { background: rgba(0,0,0,0.8); }
/* 分页圆点 */
.vc-carousel__dots {
    text-align: center;
    margin-top: 20px;
}
.vc-carousel__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.vc-carousel__dot--active {
    background: #333;
}
/* 弹窗 - 自适应 */
.vc-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}
.vc-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vc-modal__close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 1;
    background: rgba(0,0,0,0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vc-modal video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}