/* 视频资讯页面专用样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 40px;
    margin-top: 76px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 视频资讯区域 */
.video-news-section {
    padding: 40px 0;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* 视频网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-wrapper:hover video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.video-meta i {
    color: #667eea;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 视频标签 */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.video-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 资讯卡片 */
.news-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.news-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.news-meta {
    flex: 1;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-content {
    color: #555;
    line-height: 1.6;
}

/* 加载更多按钮 */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-wrapper {
        height: 200px;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-card {
        padding: 20px;
    }
}

/* 夜间模式 */
[data-theme="dark"] .video-news-section {
    background: #1a1a1a;
}

[data-theme="dark"] .content-card {
    background: #2d2d2d;
    color: #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .video-card {
    background: #2d2d2d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .video-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

[data-theme="dark"] .video-title {
    color: #e9ecef;
}

[data-theme="dark"] .video-meta {
    color: #adb5bd;
}

[data-theme="dark"] .video-description {
    color: #adb5bd;
}

[data-theme="dark"] .video-tag {
    background: #3d4a5c;
    color: #66b3ff;
}

[data-theme="dark"] .news-card {
    background: #2d2d2d;
    color: #e9ecef;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .news-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

[data-theme="dark"] .news-title {
    color: #e9ecef;
}

[data-theme="dark"] .news-date {
    color: #adb5bd;
}

[data-theme="dark"] .news-content {
    color: #adb5bd;
}

[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, #2d3748 0%, #4c1d95 100%);
}

/* 视频模态框 */
.video-modal .modal-dialog {
    max-width: 900px;
}

.video-modal .modal-content {
    background: #000;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.video-modal .modal-body {
    padding: 0;
}

.video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

.video-modal .modal-header {
    background: rgba(0,0,0,0.8);
    border-bottom: none;
    color: white;
}

.video-modal .btn-close {
    filter: invert(1);
}

[data-theme="dark"] .video-modal .modal-content {
    background: #1a1a1a;
}

/* 热门话题样式 */
.hot-topics {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.topic-rank {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 30px;
    text-align: center;
    margin-right: 12px;
}

.topic-text {
    color: #333;
    font-size: 0.9rem;
}

/* 即将开始赛事样式 */
.upcoming-events .event-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.upcoming-events .event-item:last-child {
    border-bottom: none;
}

.upcoming-events .event-date {
    background: #e3f2fd;
    color: #1976d2;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    min-width: 40px;
    text-align: center;
    margin-right: 12px;
}

.upcoming-events .event-info {
    flex: 1;
}

.upcoming-events .event-info strong {
    color: #333;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

.upcoming-events .event-info small {
    color: #666;
    font-size: 0.8rem;
}

/* 章节头部样式 */
.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header h2 i {
    color: #667eea;
    margin-right: 10px;
}

.section-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* 夜间模式补充 */
[data-theme="dark"] .topic-item {
    border-bottom-color: #495057;
}

[data-theme="dark"] .topic-text {
    color: #e9ecef;
}

[data-theme="dark"] .upcoming-events .event-item {
    border-bottom-color: #495057;
}

[data-theme="dark"] .upcoming-events .event-date {
    background: #3d4a5c;
    color: #66b3ff;
}

[data-theme="dark"] .upcoming-events .event-info strong {
    color: #e9ecef;
}

[data-theme="dark"] .upcoming-events .event-info small {
    color: #adb5bd;
}

[data-theme="dark"] .section-header h2 {
    color: #e9ecef;
}

[data-theme="dark"] .section-header p {
    color: #adb5bd;
}