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

        /* 导航栏样式（匹配你的页面风格） */
.nav {
            background-color: #90ee90; /* 淡绿色 */
            padding: 10px 0;
            text-align: center;
        }
.nav a {
            color: #ffd700; /* 金黄色 */
            text-decoration: none;
            margin: 0 15px;
            font-weight: bold;
        }


        /* 核心：视频容器 - 水平+垂直居中 */
 .video-container {
            /* 占满屏幕剩余高度（减去导航+标题+版权） */
           min-height: calc(100vh - 120px);
            /* flex布局实现居中 */
            display: flex;
            justify-content: center; /* 水平居中 */
            align-items: center;     /* 垂直居中 */
            /* 背景色匹配你的页面（浅灰白） */
            background-color: #ffffff;
            padding: 20px;
        }

        /* 视频样式：自适应大小，确保能播放 */
.cat-video {
            max-width: 90%;   /* 不超出屏幕宽度 */
            max-height: 80vh; /* 不超出屏幕高度 */
            border: none;
            /* 可选：添加阴影更美观 */
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
 .video-container h2 {
    color: #ffc400;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

 .video-container p {
    color: #666;
    line-height: 1.6;
}
        
 .gallery-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    margin-bottom: 5rem;
}

.gallery-container h1 {
    text-align: center;
    color: #ffc400;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.features {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.feature-card h2 {
    color: #ffc400;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    .gallery-item {
        margin-bottom: 1rem;
    }
    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-container h1 {
        font-size: 2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
   