/* 视频架构页面样式 */
body {
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1600px;
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

/* 标题横幅样式 */
.banner-container {
    max-width: 1600px;
    width: 70%;
    margin: 0 auto 3rem;
    position: relative;
    margin-top: 7rem;
}

.banner-image {
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.banner-title {
    color: white;
    font-size: 3rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 视频网格样式 - 一排展示四个 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1600px;
    width: 80%;
    margin: 0 auto;
    /* max-height: 900px;
    overflow: hidden;  */
}

/* 卡片容器 */
.card-container {
    /* background: white;
    border-radius: 12px; */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.card-container:hover {
    /* transform: translateY(-4px); */
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); */
}

/* 图片容器 */
.image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-container:hover .responsive-image {
    /* transform: scale(1.05); */
}

/* 播放按钮样式 */
/* .play-btn {
    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;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
} */

.play-btn-corner {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 29999;
}

/* .card-container:hover .play-btn,
.card-container:hover .play-btn-corner {
    opacity: 1;
} */

.play-btn i,
.play-btn-corner i {
    color: #333;
    font-size: 1.2rem;
}

.play-btn-corner i {
    font-size: 0.9rem;
}

/* 卡片内容 */
.card-content {
    margin-top: 1rem;
    padding: 0.5rem 0.5rem;
    border-left: 1px solid black;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #333;
    line-height: 1.3;
}

.card-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* 响应式设计 - 自适应不同PC端 */
@media (max-width: 1400px) {
    .container {
        width: 90%;
    }
    
    .banner-container {
        width: 80%;
    }
    
    .video-grid {
        width: 90%;
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        width: 95%;
        padding: 1.5rem 0;
    }
    
    .banner-container {
        width: 90%;
        margin-bottom: 2rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
        gap: 1.5rem;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .image-container {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 1rem 0;
    }
    
    .banner-container {
        width: 95%;
        margin-bottom: 1.5rem;
    }
    
    .banner-image {
        height: 150px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 95%;
    }
    
    .image-container {
        height: 200px;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.5rem;
    }
    
    .image-container {
        height: 180px;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
    }
    
    .play-btn-corner {
        width: 35px;
        height: 35px;
    }
    
    .play-btn i {
        font-size: 1rem;
    }
    
    .play-btn-corner i {
        font-size: 0.8rem;
    }
}

