
.video-section {
    /*padding: 10px 0;*/
    position: relative;
}

/* News Section */
.news-section {
    background-color: var(--darker-color);
}

.news-slider-container {
    overflow: hidden;
    position: relative;
    margin: 0 -10px;
    padding: 10px;
}

.news-slider {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.news-slide {
    min-width: 33.333%;
    padding: 0 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    transform: scale(0.95);
    opacity: 0.7;
}

.news-slide.active {
    transform: scale(1);
    opacity: 1;
}

.news-card {
    background-color: var(--dark-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(6, 10, 18, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-dot.active {
    width: 30px;
    border-radius: 10px;
    background-color: var(--accent-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 5;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* 播放按钮样式 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url('../assets/video/play-icon.png') no-repeat center center/contain;
    opacity: 0.9;
    transition: transform 0.3s, opacity 0.3s;
}



/* 遮罩层样式 */
.videoOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    cursor: pointer;
}

/* 视频弹窗容器 */
.video-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vw;
    height: 65vh;
    max-width: 1200px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

/* 视频元素样式 */
.popupVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 关闭按钮样式 */
.close-button {
    position: absolute;
    top: 140px;
    right: 200px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.close-button:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg);
}

/* Responsive Styles */
@media (max-width: 1200px) {

    .news-slide {
        min-width: 50%;
    }
}

@media (max-width: 992px) {

    .news-slide {
        min-width: 80%;
    }
}

@media (max-width: 768px) {

    .news-slide {
        min-width: 100%;
    }

}

@media (max-width: 576px) {

    .news-grid {
        grid-template-columns: 1fr;
    }
}