/* 视频中心样式 - 精密智造·驱动未来主题 */

/* 视频列表容器 */
.video-list-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

/* 视频列表标题 */
.video-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.video-section-title h1 {
    font-size: 2.8rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.video-section-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--highlight-color);
}

.video-section-title p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* 视频网格布局 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* 视频卡片 */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    color: inherit;
}

/* 视频缩略图 */
.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    background: var(--primary-color);
    color: white;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 视频信息 */
.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* 科技感装饰元素 */
.tech-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 20% 30%, var(--primary-color), transparent 30%),
        radial-gradient(circle at 80% 70%, var(--secondary-color), transparent 30%);
}

/* 分页样式 */
.pagination-container {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
}

.pagination a, 
.pagination span {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,102,204,0.2);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .disabled {
    color: #aaa;
    border-color: #e1e5eb;
    pointer-events: none;
}

.pagination .prev-next {
    min-width: 80px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .video-list-container {
        padding: 2rem 1rem;
    }
    
    .video-section-title h1 {
        font-size: 2.2rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-thumbnail {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .video-section-title h1 {
        font-size: 1.8rem;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}