.vic-carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0 auto;
}

.vic-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.vic-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.vic-item.active {
    opacity: 1;
    z-index: 2;
}

/* 视频样式 */
.vic-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vic-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片样式 */
.vic-image-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vic-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-in-out;
}

.vic-image-item.kenburns img {
    animation: kenburns 8s ease-in-out infinite;
}

.vic-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Kenburns 动画效果 */
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, -2%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* 切换效果 */
.vic-carousel-container[data-transition="fade"] .vic-item {
    transition: opacity 0.5s ease-in-out;
}

.vic-carousel-container[data-transition="slide"] .vic-item {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.vic-carousel-container[data-transition="slide"] .vic-item:not(.active) {
    transform: translateX(100%);
}

.vic-carousel-container[data-transition="slide"] .vic-item.active {
    transform: translateX(0);
}

.vic-carousel-container[data-transition="zoom"] .vic-item {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.vic-carousel-container[data-transition="zoom"] .vic-item:not(.active) {
    transform: scale(0.8);
    opacity: 0;
}

.vic-carousel-container[data-transition="zoom"] .vic-item.active {
    transform: scale(1);
    opacity: 1;
}

/* 导航箭头 */
.vic-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
    user-select: none;
}

.vic-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.vic-arrow-prev {
    left: 20px;
}

.vic-arrow-next {
    right: 20px;
}

/* 分页点 */
.vic-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.vic-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vic-dot:hover {
    transform: scale(1.2);
}

.vic-dot.active {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .vic-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .vic-arrow-prev {
        left: 10px;
    }

    .vic-arrow-next {
        right: 10px;
    }

    .vic-dots {
        bottom: 15px;
    }

    .vic-dot {
        width: 10px;
        height: 10px;
    }
}

