/* 页面头部样式 */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(196, 18, 48, 0.1), rgba(196, 18, 48, 0.05));
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #c41230;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
}

/* 主视频播放器样式 */
.media-player {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    margin-bottom: 20px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-info h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.video-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
}

.video-meta i {
    margin-right: 5px;
}

/* 分类标签样式 */
.media-categories {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-button {
    padding: 10px 20px;
    border: 2px solid #c41230;
    background: none;
    color: #c41230;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(196, 18, 48, 0.1);
}

.tab-button.active {
    background-color: #c41230;
    color: white;
}

/* 视频网格样式 */
.category-content {
    display: none;
}

.category-content.active {
    display: block;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-thumbnail {
    position: relative;
    height: 200px;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(196, 18, 48, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-thumbnail:hover .play-button {
    opacity: 1;
}

.media-info {
    padding: 20px;
}

.media-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.media-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.meta-info {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 12px;
}

.meta-info i {
    margin-right: 5px;
}

/* 音频列表样式 */
.audio-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.audio-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.audio-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.audio-details h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.audio-details p {
    color: #666;
    font-size: 14px;
}

.audio-player {
    flex: 2;
}

.audio-player audio {
    width: 100%;
}

/* 推荐内容样式 */
.media-recommendations {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.media-recommendations h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recommendation-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.recommendation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-card:hover img {
    transform: scale(1.1);
}

.recommendation-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.recommendation-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.recommendation-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .recommendation-grid {
        grid-template-columns: 1fr;
    }

    .audio-item {
        flex-direction: column;
        align-items: stretch;
    }

    .audio-info {
        margin-bottom: 15px;
    }
} 