* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Main Content */
.main-content {
    max-width: 1650px;
    margin: 0 auto;
    padding: 90px 0 100px 0;
}

.page-title {
    font-size: 46px;
    font-weight: normal;
    margin-bottom: 30px;
    color: #333;
}

.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 70px;
}

.tabs {
    display: flex;
    gap: 0;
}

.tab {
    padding: 15px 30px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent; 
    color: #000;
    text-decoration: none;
}



.tab.active {
    border-bottom-color: #000;
}

.page-info {
    color: #666;
    font-size: 14px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.video-item {
    width: 530px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.video-thumbnail {
    position: relative;
    width: 530px;
    height: 370px;
    overflow: hidden;
    flex: 0 0 auto;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button img {
    width: 65px;
    height: 65px;
}

.video-title {
    padding: 20px 0;
    font-size: 20px;
}

.video-title .time {
    font-size: 15px;
    color: #d2d2d2;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #e8e8e8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pagination a:hover {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
    text-decoration: none;
}

.pagination a:first-child,
.pagination a:last-child {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
    font-weight: bold;
}

.pagination a:first-child:hover,
.pagination a:last-child:hover {
    background: #cc0000;
    border-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        padding: 80px 20px 80px 20px;
    }
    
    .page-title {
        font-size: 38px;
        font-weight: normal;
    }
    
    .video-grid {
        justify-content: center;
    }
    
    .video-item {
        width: 450px;
    }
    
    .video-thumbnail {
        width: 450px;
        height: 315px;
    }
}

@media (max-width: 768px) {
    .main-content {
        max-width: 100%;
        padding: 40px 15px 60px 15px;
    }
    
    .page-title {
        font-size: 28px;
        font-weight: normal;
        margin-bottom: 20px;
    }
    
    .tabs-container {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 40px;
    }
    
    .tabs {
       
        overflow-x: auto;
        width: 100%;
     }
 
     .tab {
         flex: 1;
         white-space: nowrap;
         font-size: 16px !important;
         padding: 8px 16px;
         flex-wrap: nowrap;
     }
    .video-grid {
        justify-content: center;
        gap: 15px;
    }
    
    .video-item {
        width: 100%;
        max-width: 350px;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 260px;
    }
    
    .video-title {
        padding: 15px 0;
        font-size: 16px;
    }
    
    .video-title .time {
        font-size: 12px;
    }
    
    .play-button img {
        width: 50px;
        height: 50px;
    }
    
    .pagination {
        justify-content: center;
        padding-top: 30px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 10px 40px 10px;
    }
    
    .page-title {
        font-size: 22px;
        font-weight: normal;
        margin-bottom: 15px;
    }
    
    .tabs-container {
        margin-bottom: 30px;
    }
    
    .tab {
        padding: 10px 15px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .video-grid {
        gap: 12px;
    }
    
    .video-item {
        width: 100%;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .video-title {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .video-title .time {
        font-size: 11px;
    }
    
    .play-button img {
        width: 40px;
        height: 40px;
    }
    
    .pagination {
        justify-content: center;
        padding-top: 25px;
        gap: 6px;
    }
}
