        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            color: #f1f1f1;
            min-height: 100vh;
            padding: 20px;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        /* 毛玻璃背景效果 */
        .glass-background {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            padding: 30px;
            margin-bottom: 30px;
            flex: 1;
        }

        header {
            text-align: center;
            margin-bottom: 40px;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #7f7fd5, #86a8e7, #91eae4);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .subtitle {
            font-size: 1.2rem;
            color: #aaa;
            margin-bottom: 30px;
        }

        /* 分类按钮样式 */
        .categories {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .category-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f1f1f1;
            padding: 12px 24px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .category-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .category-btn.active {
            background: linear-gradient(90deg, #7f7fd5, #86a8e7);
            color: white;
            border-color: transparent;
        }

        /* 搜索框样式 */
        .search-container {
            max-width: 600px;
            margin: 0 auto 40px;
            position: relative;
        }

        .search-box {
            width: 100%;
            padding: 18px 25px 18px 55px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            color: #f1f1f1;
            font-size: 1.1rem;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .search-box:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(127, 127, 213, 0.5);
            box-shadow: 0 0 15px rgba(127, 127, 213, 0.2);
        }

        .search-icon {
            position: absolute;
            left: 25px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            font-size: 1.2rem;
        }

        /* 照片墙布局 - 响应式网格 */
        .photo-wall {
            display: grid;
            gap: 25px;
            margin-bottom: 30px;
        }

        /* 手机小屏幕：1列6行 */
        .photo-wall {
            grid-template-columns: 1fr;
            grid-auto-rows: auto;
        }
        
        /* 中等屏幕：2列3行 (768px以上) */
        @media (min-width: 768px) {
            .photo-wall {
                grid-template-columns: repeat(2, 1fr);
                grid-auto-rows: auto;
            }
        }
        
        /* 电脑大屏幕：3列2行 (1200px以上) */
        @media (min-width: 1200px) {
            .photo-wall {
                grid-template-columns: repeat(3, 1fr);
                grid-auto-rows: auto;
            }
        }

        /* 照片项样式 */
        .photo-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }

        .photo-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            border-color: rgba(127, 127, 213, 0.4);
        }

        /* 保持图片4:3比例的容器 */
        .photo-img-container {
            position: relative;
            width: 100%;
            padding-top: 75%; /* 4:3比例 (3/4 = 0.75) */
            overflow: hidden;
            flex-shrink: 0;
            background: rgba(0, 0, 0, 0.3);
        }

        /* 加载提示文字 */
        .loading-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            text-align: center;
            padding: 20px;
            z-index: 1;
            line-height: 1.5;
        }

        /* 图片绝对定位，填充容器并保持4:3比例 */
        .photo-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 2;
        }

        .photo-item:hover .photo-img {
            transform: scale(1.03);
        }

        .photo-info {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .photo-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #fff;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .photo-details {
            display: flex;
            justify-content: space-between;
            color: #aaa;
            font-size: 0.95rem;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .photo-category {
            display: inline-block;
            background: rgba(127, 127, 213, 0.2);
            color: #86a8e7;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin-top: 10px;
            align-self: flex-start;
        }

        /* Footer样式 */
        .footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9em;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .footer p {
            margin: 5px 0;
        }

        /* 分页器样式 */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 40px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .pagination-info {
            color: #aaa;
            font-size: 1rem;
            margin: 0 10px;
        }

        .pagination-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f1f1f1;
            padding: 10px 20px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .pagination-btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .pagination-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination-pages {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .page-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f1f1f1;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .page-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .page-btn.active {
            background: linear-gradient(90deg, #7f7fd5, #86a8e7);
            color: white;
            border-color: transparent;
        }

        /* 响应式调整 */
        @media (max-width: 767px) {
            .categories {
                gap: 10px;
            }
            
            .category-btn {
                padding: 10px 18px;
                font-size: 0.95rem;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .glass-background {
                padding: 20px;
            }
            
            .pagination-container {
                flex-direction: column;
                gap: 20px;
            }
            
            .pagination-pages {
                order: 3;
            }
            
            /* 手机屏幕确保1列布局 */
            .photo-wall {
                grid-template-columns: 1fr;
            }
            
            .photo-title {
                font-size: 1.2rem;
            }
            
            .loading-text {
                font-size: 13px;
                padding: 15px;
            }
        }

        @media (min-width: 768px) and (max-width: 1199px) {
            /* 中等屏幕2列布局 */
            .photo-wall {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .photo-title {
                font-size: 1.25rem;
            }
        }

        @media (min-width: 1200px) {
            /* 大屏幕3列布局 */
            .photo-wall {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .photo-title {
                font-size: 1.3rem;
            }
        }

        @media (max-width: 480px) {
            .categories {
                gap: 8px;
            }
            
            .category-btn {
                padding: 8px 14px;
                font-size: 0.9rem;
            }
            
            .footer {
                padding: 15px;
                font-size: 0.8em;
            }
            
            .page-btn {
                width: 35px;
                height: 35px;
                font-size: 0.9rem;
            }
            
            .photo-title {
                font-size: 1.1rem;
            }
            
            .loading-text {
                font-size: 12px;
                padding: 10px;
            }
        }

        /* 照片数量显示 */
        .photo-count {
            text-align: center;
            margin-top: 30px;
            color: #aaa;
            font-size: 1rem;
        }

        /* 空状态提示 */
        .no-results {
            text-align: center;
            padding: 60px 20px;
            grid-column: 1 / -1;
        }

        .no-results i {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #7f7fd5;
        }

        .no-results h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #f1f1f1;
        }

        .no-results p {
            color: #aaa;
            font-size: 1.1rem;
        }

        /* 错误提示 */
        .error-message {
            text-align: center;
            padding: 60px 20px;
            grid-column: 1 / -1;
            background: rgba(255, 0, 0, 0.1);
            border-radius: 15px;
            border: 1px solid rgba(255, 0, 0, 0.2);
        }

        .error-message i {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #ff6b6b;
        }

        .error-message h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #ff9e9e;
        }

        .error-message p {
            color: #ffb8b8;
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .retry-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #f1f1f1;
            padding: 12px 24px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .retry-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
        
        /* 布局说明 */
        .layout-info {
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
            margin-top: 10px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            display: none;
        }