
        /* CSS 变量定义 */
        :root {
            --primary-color: #0f403f;
            --light-bg: #ffffff;
            --text-color-default: #0f403f;
            --text-color-hover: #ffffff;
            --background-color: #ffffff; /* 页面背景色 */
        }

        /* 整体容器样式 */
        .collection-section {
            background-color: var(--background-color);
            padding: 50px 0;
            font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            text-align: center;
        }

        /* 头部内容样式 */
        .header-content {
            max-width: 800px;
            margin: 0 auto 50px;
            padding: 0 20px;
        }

        .main-title {
            font-size: 32px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 10px;
        }

        .subtitle {
            font-size: 16px;
            line-height: 1.6;
            color: #0f403f;
        }

        /* 图片网格布局 */
        .collections-grid {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3x3 布局 */
            gap: 20px; /* 网格间距 */
            padding: 0 20px;
        }

        /* 单个图片卡片容器 */
        .collection-card {
            position: relative;
            overflow: hidden;
            border-radius: 5px;
            
        }

        /* 图片容器，用于保持宽高比 */
        .image-container {
            width: 100%;
           
        }

        /* 图片样式 */
        .collection-img {
           
            top: 0;
            left: 0;
           
            display: block;
            transition: transform 0.3s ease;
        }

        /* 鼠标悬停时图片轻微放大 */
        .collection-card:hover .collection-img {
            transform: scale(1.05);
        }

        /* 底部名称覆盖层 (可点击链接) */
        .name-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px 10px;
            
            /* 默认状态：白色底，60% 透明度 */
            background-color: rgba(255, 255, 255, 0.5);
            
            text-align: center;
            text-decoration: none;
            transition: background-color 0.3s ease;
            z-index: 10;
            cursor: pointer; /* 确保显示为可点击 */
        }

        /* 底部名称文本 */
        .category-name {
            font-size: 16px;
            font-weight: bold;
            color: var(--text-color-default); /* 默认文字颜色 #0f403f */
            transition: color 0.3s ease;
            display: block;
        }

        /* 鼠标悬停效果：改变背景和文字颜色 */
        .name-overlay:hover {
            /* 悬停状态：绿色底 (#0f403f)，不透明 */
            background-color: var(--primary-color); 
        }

        .name-overlay:hover .category-name {
            /* 悬停状态：文字变白 (#ffffff) */
            color: var(--text-color-hover); 
        }

        /* 响应式调整 */
        @media (max-width: 992px) {
            .collections-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 600px) {
            .collections-grid {
                grid-template-columns: 1fr;
            }
        }
    