/* 视频列表页样式 */
.video-page {
    padding: 30px 0;
}

.video-page .page_left {
    width: 70%;
    float: left;
}

.video-page .page_right {
    width: 28%;
    float: right;
    margin-left: 0;
}

/* 视频列表头部 */
.video-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.video-header .video-count {
    font-size: 14px;
    opacity: 0.9;
}

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

.video-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumb img {
    transform: scale(1.05);
}

.video-thumb::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-thumb::after {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.video-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.video-title a:hover {
    color: #667eea;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.video-meta .views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 分页样式 */
.video-pagination {
    text-align: center;
    padding: 25px 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .video-page .page_left {
        width: 100%;
        float: none;
    }

    .video-page .page_right {
        width: 100%;
        float: none;
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
