.vip-carousel-container {
    position: relative;
    margin-bottom: 0px;
    height: 440px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
}

.vip-carousel-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    z-index: 0;
    transition: background-image 0.5s ease;
}

.vip-carousel-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-app) 10%, transparent);
}

.vip-carousel-track {
    position: relative;
    width: 100%;
    height: 320px;
    z-index: 1;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-carousel-item {
    position: absolute;
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

.vip-carousel-item img.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    transition: background 0.5s;
}

.vip-carousel-item.active::after {
    background: rgba(0,0,0,0);
}

.vip-carousel-item.active {
    transform: translateX(0) translateZ(0) scale(1.1);
    z-index: 3;
    opacity: 1;
    box-shadow: 0 15px 35px rgba(249, 212, 35, 0.3), 0 0 0 2px rgba(249, 212, 35, 0.5);
}

.vip-carousel-item.prev {
    transform: translateX(-55%) translateZ(-100px) scale(0.85);
    z-index: 2;
    opacity: 0.8;
}

.vip-carousel-item.next {
    transform: translateX(55%) translateZ(-100px) scale(0.85);
    z-index: 2;
    opacity: 0.8;
}

.vip-carousel-item.hidden {
    transform: translateX(0) translateZ(-200px) scale(0.6);
    z-index: 1;
    opacity: 0;
}

.vip-carousel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: rgba(249, 212, 35, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 212, 35, 0.5);
    z-index: 10;
}

.vip-carousel-item.active .vip-carousel-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.vip-carousel-play i {
    color: #000;
    fill: #000;
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.vip-carousel-info {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 10px;
    width: 80%;
    height: 60px;
}

.vip-carousel-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    overflow: hidden; word-break: break-word;
}

.vip-carousel-tags {
    display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px;   /* 单行；放不下的由 tags.js 丢弃 */
    justify-content: center;                                          /* 居中，对齐上方剧名 */
    transition: all 0.3s ease;
}

.vip-carousel-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.vip-carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.vip-carousel-dots .dot.active {
    width: 16px;
    background: #F9D423;
}