/* 基础样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
}

/* 面包屑导航 */
.breadcrumb {
    font-size: 14px;
    background-color: transparent;
    padding: 8px 0;
}

.breadcrumb a {
    color: #6c757d;
}

.breadcrumb a:hover {
    color: #0d6efd;
}

/* 标题样式 */
.section-title {
    font-size: 1.5rem;
    color: #212529;
    font-weight: 600;
    position: relative;
    padding-left: 10px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #0d6efd;
}

/* 轮播样式 */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide-item {
    min-width: 100%;
    position: relative;
}

.slide-img {
    height: 450px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slider-nav {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.slider-nav button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.slider-nav button.active {
    background-color: white;
}

/* 视频项样式 */
.vod-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vod-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.vod-pic {
    overflow: hidden;
}

.vod-pic img {
    transition: transform 0.5s ease;
}

.vod-item:hover .vod-pic img {
    transform: scale(1.05);
}

.vod-item-horizontal {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: background-color 0.3s ease;
}

.vod-item-horizontal:last-child {
    border-bottom: none;
}

.vod-item-horizontal:hover {
    background-color: #f8f9fa;
}

.vod-pic-small img {
    width: 80px;
    height: 110px;
    object-fit: cover;
}

.update-badge {
    font-size: 12px;
    padding: 2px 6px;
}

/* 详情页样式 */
.vod-intro {
    line-height: 1.8;
}

.episode-list {
    display: none;
}

.episode-list.active {
    display: block;
}

.source-tab {
    cursor: pointer;
}

.source-tab.active {
    background-color: #0d6efd;
    color: white;
}

.btn-episode {
    font-size: 14px;
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-episode.active {
    background-color: #0d6efd;
    color: white;
}

/* 播放页样式 */
.player-container {
    position: relative;
    overflow: hidden;
}

.episode-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* 标签云样式 */
.tags-cloud a {
    transition: all 0.3s ease;
}

.tags-cloud a:hover {
    background-color: #0d6efd;
    color: white !important;
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slide-img {
        height: 250px;
    }
    
    .slide-caption h3 {
        font-size: 1.2rem;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
        display: none;
    }
    
    .vod-pic-small img {
        width: 60px;
        height: 80px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}
