        * {
            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;
        }
/* HDR标签样式 - 能量核心版 */
.hdr-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, 
        #FF6B6B 0%,    /* 活力红 */
        #FFD93D 25%,   /* 能量黄 */
        #6BCF7F 50%,   /* 生命绿 */
        #4D96FF 75%,   /* 智慧蓝 */
        #9D4BFF 100%   /* 神秘紫 */
    );
    background-size: 200% 200%;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: 
        energy-core 5s infinite linear,
        energy-pulse 2s infinite ease-in-out;
    transform: translateZ(0);
    will-change: transform, background-position, box-shadow;
}

/* 能量核心动画 */
@keyframes energy-core {
    0% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
        filter: hue-rotate(360deg);
    }
}

/* 能量脉动动画 */
@keyframes energy-pulse {
    0%, 100% {
        transform: scale(1) translateZ(0);
        box-shadow: 
            0 0 25px rgba(255, 107, 107, 0.4),
            inset 0 0 15px rgba(255, 255, 255, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.05) translateZ(0);
        box-shadow: 
            0 0 40px rgba(255, 107, 107, 0.7),
            inset 0 0 25px rgba(255, 255, 255, 0.3),
            0 0 0 2px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(255, 107, 107, 0.3);
    }
}

/* 能量火花效果 */
.hdr-badge::before,
.hdr-badge::after,
.hdr-badge .spark {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: energy-spark 1.5s infinite linear;
}

.hdr-badge::before {
    top: -3px;
    left: 20%;
    animation-delay: 0s;
}

.hdr-badge::after {
    bottom: -3px;
    right: 20%;
    animation-delay: 0.5s;
}

@keyframes energy-spark {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scale(0.5);
        opacity: 0;
    }
}

/* 悬停时的能量爆发效果 */
.photo-item:hover .hdr-badge {
    animation-duration: 2s, 1s;
    animation-timing-function: linear, ease-out;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}