* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}


.video-item1 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background:  #b21f1f;
}

.video-item1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.thumbnail1 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.video-info1 {
    padding: 15px;
}

.video-title1 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;

   color: #353535;
}

.video-desc {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.play-icon1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-item1:hover .play-icon1 {
    opacity: 1;
}

.thumbnail-container1 {
    position: relative;
    overflow: hidden;
}

/* 模态窗口样式 */
.modal1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal1.active {
    display: flex;
    opacity: 1;
}

.modal-content1 {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content1 {
    transform: scale(1);
}

.modal-header1 {
    padding: 15px 20px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title1 {
    font-size: 1.4rem;
    font-weight: 600;
}

.close-btn1 {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn1:hover {
    color: #ff5252;
}

.modal-body1 {
    padding: 0;
}

.modal-video1 {
    width: 100%;
    height: 450px;
    display: block;
    background: #000;
}

.modal-footer1 {
    padding: 15px 20px;
    background: #1a1a1a;
    text-align: right;
}

.loading-text1 {
    text-align: center;
    padding: 20px;
    color: #b0b0b0;
    font-style: italic;
}
@media (max-width: 768px) {
    .video-grid1 {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .modal-video1 {
        height: 300px;
    }
    
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-grid1 {
        grid-template-columns: 1fr;
    }
    
    .modal-video1 {
        height: 250px;
    }
}
/* 视频播放器样式 */
.video-containeri {
    position: relative;
    width: 100%;
    max-width: 1090px;
    margin: 0 auto;


    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholderi {
    width: 100%;

}


#videoPlayeri{
    height: 520px;
    background-image: url(./images/zhaoshangyan/c7e078a1a5ee2871bd4013ffb5292076.jpg);
    background-size: 100% 100%;
    border-radius: 10px;
    margin-bottom: 30px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.play-buttoni:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%) scale(1.05);
}

.play-buttoni::before {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #3498db;
    margin-left: 5px;
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
}

video {
    width: 100%;
    display: block;
    border-radius: 8px;
}
#road-item1  img{
    max-width: 600px;
    height: 300px;
}
#road-item2  img{
    margin-left: 178px;
    max-width: 100%;
    height: 350px;
}


/* 响应式设计 */

@media (max-width: 480px) {
    
    .play-buttoni {
        width: 60px;
        height: 60px;
    }
}