
body{
    overflow: hidden;
}
.videocontent {
    max-width: 1600px;
    width: 80%;
    margin: 0 auto;
    /* padding: 0 10%; */
    height: calc(100vh - 5rem); /* 100vh减去导航栏 */
    display: flex;
    align-items: center;
    justify-content: center; /* 水平居中 */
    margin-top: 5rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 一行展示3个视频 */
    gap: 30px;
    width: 100%; /* 占据父容器全部宽度 */
    height: 80%; /* 视频占据父容器高度的80%，上下各留白10% */
    justify-self: center; /* 水平居中 */
    align-items: center;
}

.video-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 100%;
}

.video-card:hover {
    /* transform: translateY(-5px); */
}

.video-card:hover .video-thumbnail {
    filter: brightness(0.7);
    /* 变暗 */
}

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

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    z-index: 2;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 10px;
    color: white;
    text-align: center;
}

.video-desc {
    font-size: 0.6rem;
    line-height: 1.4;
    opacity: 0.9;
    color: white;
    text-align: center;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-icon i {
    font-size: 24px;
    color: white;
    margin-left: 4px;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 1024px) {
    .videocontent {
        width: 92%;
        padding: 0 20px;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }
    .videocontent {
        width: 92%;
        padding: 5rem 16px 40px;
        min-height: auto;
        height: auto;
        margin-top: 4rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        height: auto;
    }

    .video-card {
        min-height: 200px;
    }

    .video-title {
        font-size: 1.2rem;
    }

    .video-overlay {
        padding: 1.25rem 1.5rem;
    }

    .video-thumbnail {
        height: 280px;
        min-height: 200px;
    }

    .play-icon {
        width: 50px;
        height: 50px;
    }

    .play-icon i {
        font-size: 20px;
    }
}

/* video 页底部 Contact us / CONNECT WITH US 移动端适配 */
@media (max-width: 768px) {
    .footer .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    .footer .footer-left {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    .footer .footer-left p {
        font-size: 0.85rem;
        margin: 0;
    }
    .footer .footer-right {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
    }
    .footer .footer-center {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }
    .footer .footer-center p {
        font-size: 0.9rem;
        margin: 0;
    }
    .footer .social-link {
        margin: 0;
    }
    .footer .social-link img {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px;
        max-height: 24px;
    }
}

@media (max-width: 480px) {
    .videocontent {
        width: 95%;
        padding: 4.5rem 12px 24px;
    }
    .video-thumbnail {
        height: 220px;
    }
    .video-title {
        font-size: 1rem;
    }
    .footer .footer-left p {
        font-size: 0.8rem;
    }
    .footer .footer-center p {
        font-size: 0.85rem;
    }
    .footer .social-link img {
        width: 22px !important;
        height: 22px !important;
    }
}