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

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            /* 移动端优化 */
            -webkit-text-size-adjust: 100%;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            /* 防止水平滚动 */
            overflow-x: hidden;
        }

        .container {
            display: flex;
            min-height: 100vh;
            position: relative;
        }



        .sidebar {
            width: 240px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 30px 20px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            border: none;
            clip-path: polygon(0 0, 85% 0, 100% 15%, 95% 30%, 100% 45%, 90% 60%, 100% 75%, 85% 90%, 100% 100%, 0 100%);
        }





        /* 移除右边缘过渡效果 */

        @keyframes gentleGlow {
            0%, 100% { 
                opacity: 0.4;
                transform: scale(1);
            }
            50% { 
                opacity: 0.6;
                transform: scale(1.02);
            }
        }

        .sidebar h2 {
            color: white;
            margin-bottom: 30px;
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            padding: 20px 0;
            position: relative;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }

        .sidebar h2::before {
            content: '';
        }

        .sidebar h2::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
            border-radius: 50px;
        }

        @keyframes float {
            0%, 100% { transform: translateX(-50%) translateY(0px); }
            50% { transform: translateX(-50%) translateY(-5px); }
        }

        .category-list {
            list-style: none;
            margin-top: 15px;
            z-index: 2;
            position: relative;
        }

        .category-item {
            margin-bottom: 8px;
        }

        .category-link {
            display: flex;
            align-items: center;
            padding: 12px 18px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 14px;
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            margin-bottom: 6px;
            z-index: 1;
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-height: 44px; /* iOS 建议的最小触摸目标大小 */
        }

        /* 水波纹效果 */
        .category-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.6s ease;
            z-index: 0;
        }

        /* 清理分类链接背景 */
        .category-link {
            background-image: none;
            padding-right: 18px;
        }

        .category-link:hover::before {
            width: 300px;
            height: 300px;
            opacity: 0;
        }

        .category-link:hover {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            transform: translateX(6px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .category-link:hover::after {
            transform: scale(1.1);
            filter: brightness(1.2);
        }

        .category-link:active {
            transform: translateX(4px) scale(0.98);
        }

        .category-link.active {
            background: rgba(255, 255, 255, 0.25);
            color: white;
            transform: translateX(4px);
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .category-link.active::after {
            transform: scale(1.1);
            filter: brightness(1.3);
        }

        /* 涟漪点击效果 */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.6);
            transform: scale(0);
            animation: rippleEffect 0.6s linear;
            pointer-events: none;
        }

        @keyframes rippleEffect {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }

        .main-content {
            flex: 1;
            padding: 20px 30px;
            overflow-y: auto;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            position: relative;
        }

        .header {
            text-align: center;
            margin-bottom: 35px;
            color: white;
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .header h1 {
            font-size: 32px;
            margin-bottom: 8px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            font-weight: 700;
            flex: 1;
            margin: 8px 0 0 0;
        }

        .header p {
            font-size: 16px;
            opacity: 0.9;
            font-weight: 300;
        }



        .media-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            padding: 5px 0 20px 0;
            max-width: 1400px;
            margin: 0 auto;
        }

        .media-item {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }

        .media-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            border-color: rgba(102, 126, 234, 0.3);
        }

        .media-thumbnail {
            width: 100%;
            height: 220px;
            position: relative;
            overflow: hidden;
        }

        .media-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-color: #f8f9fa;
            transition: transform 0.3s ease;
        }

        .media-item:hover .media-thumbnail img {
            transform: scale(1.05);
        }

        .media-info {
            padding: 15px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 0 0 15px 15px;
            text-align: center;
        }

        .media-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin: 0 0 10px 0;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .media-meta {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .category-tag {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 3px 8px; /* 减小内边距 */
            border-radius: 12px; /* 减小圆角 */
            font-size: 11px; /* 减小字体 */
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px; /* 减小字间距 */
            margin: 1px; /* 减小外边距 */
            display: inline-block;
            white-space: nowrap; /* 防止文字换行 */
            max-width: 90px; /* 稍微增加最大宽度，为1-2个标签提供更多空间 */
            overflow: hidden;
            text-overflow: ellipsis; /* 超长文字显示省略号 */
            flex-shrink: 0; /* 防止在flex容器中被压缩 */
        }
        
        /* 当标签较少时，提供更大的显示空间 */
        .categories-container.few-tags .category-tag {
            max-width: 120px; /* 1-2个标签时，允许更大宽度 */
        }

        .categories-container {
            display: flex;
            flex-wrap: nowrap; /* 不换行，保持在一行 */
            gap: 4px;
            align-items: center;
            justify-content: center;
            overflow: hidden; /* 隐藏超出的内容 */
            height: 28px; /* 固定高度，防止卡片被拉长 */
            min-height: 28px;
            max-height: 28px;
        }

        .category-tag.more-tags {
            background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
            font-size: 10px; /* 更小的字体 */
            text-transform: none;
            letter-spacing: 0;
            padding: 2px 6px; /* 更小的内边距 */
            border-radius: 8px; /* 更小的圆角 */
            max-width: 40px; /* 更小的最大宽度 */
            font-weight: 600; /* 加粗显示 */
        }

        .fish-name {
            color: #667eea;
            font-weight: 500;
            font-size: 14px;
            margin-top: 8px;
            padding: 4px 8px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 6px;
            display: inline-block;
        }

        .video-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0, 0, 0, 0.75);
            color: white;
            padding: 8px;
            border-radius: 50%;
            font-size: 12px;
            font-weight: 500;
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
        }

        /* 模态框样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
            backdrop-filter: blur(12px);
            transition: all 0.3s ease;
        }

        .modal.show {
            display: flex !important;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
            padding: 20px;
            box-sizing: border-box;
        }
        
        /* 移动端优化 */
        @media (max-width: 768px) {
            .modal.show {
                align-items: stretch !important;
                justify-content: stretch !important;
                padding: 0 !important;
            }
            
            .modal-header {
                background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%) !important;
                position: sticky;
                top: 0;
                z-index: 100;
            }
            
            /* 移动端分类标签优化 */
            .categories-container {
                height: 24px; /* 移动端稍微减小高度 */
                min-height: 24px;
                max-height: 24px;
                gap: 2px; /* 减小间距 */
            }
            
            .category-tag {
                font-size: 10px; /* 移动端更小字体 */
                padding: 2px 6px; /* 更小内边距 */
                border-radius: 8px; /* 更小圆角 */
                max-width: 60px; /* 移动端更小最大宽度 */
                letter-spacing: 0.2px;
            }
            
            .category-tag.more-tags {
                font-size: 9px; /* 更小字体 */
                padding: 1px 4px; /* 更小内边距 */
                max-width: 30px; /* 更小宽度 */
            }
        }

        .modal-content {
            background: white;
            border-radius: 24px;
            width: 95%;
            max-width: 1400px;
            height: 85vh;
            max-height: 800px;
            min-height: 600px;
            overflow: hidden;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
            animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            flex-direction: column;
            position: relative;
            margin: 0 auto;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 32px;
            border-bottom: none;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
            color: white;
            flex-shrink: 0;
            position: relative;
        }

        .modal-header::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
        }

        .modal-title {
            font-size: 28px;
            font-weight: 700;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-width: 44px;
            min-height: 44px;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .close-btn:active {
            transform: rotate(90deg) scale(0.95);
        }

        .modal-body {
            display: flex;
            flex: 1;
            overflow: hidden;
        }

        .media-display {
            flex: 2;
            position: relative;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;
        }

        .fish-details {
            flex: 1;
            padding: 0;
            overflow-y: auto;
            background: linear-gradient(135deg, #f8f9ff 0%, #f0f4f8 100%);
            border-left: 1px solid rgba(106, 90, 205, 0.1);
            position: relative;
        }

        .fish-details::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(180deg, rgba(248, 249, 255, 0.9) 0%, transparent 100%);
            pointer-events: none;
            z-index: 1;
        }

        .media-slider {
            position: relative;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slides-container {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        /* 统一的媒体样式 */
        .slide img,
        .slide video {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: none !important;
        }

        /* 确保模态框中的图片不会有悬停效果 */
        .slide img {
            filter: none !important;
            opacity: 1 !important;
            transition: none !important;
        }

        .slide img:hover {
            filter: none !important;
            opacity: 1 !important;
            transform: none !important;
            box-shadow: none !important;
        }

        /* 确保视频控制栏可见，移除悬停变暗效果 */
        .slide video {
            outline: none;
            filter: none !important;
            opacity: 1 !important;
            transition: none !important;
            background: transparent !important;
        }

        .slide video:hover {
            filter: none !important;
            opacity: 1 !important;
            transform: none !important;
            box-shadow: none !important;
        }

        /* 彻底防止视频在显示控制栏时变暗 - 更强力的修复 */
        .slide video::-webkit-media-controls-overlay-enclosure {
            display: none !important;
        }

        .slide video::-webkit-media-controls-enclosure {
            background: transparent !important;
            backdrop-filter: none !important;
            box-shadow: none !important;
        }

        .slide video::-webkit-media-controls-panel {
            background: rgba(0, 0, 0, 0.8) !important;
            backdrop-filter: blur(3px) !important;
            box-shadow: none !important;
        }

        /* 移除所有可能的遮罩和覆盖层 */
        .slide video::-webkit-media-controls-overlay {
            display: none !important;
        }

        .slide video::-webkit-media-controls-start-playback-button {
            background: rgba(0, 0, 0, 0.8) !important;
            border-radius: 50% !important;
        }

        /* 确保视频控制按钮正常显示 */
        .slide video::-webkit-media-controls {
            opacity: 1 !important;
            background: transparent !important;
            filter: none !important;
        }

        .slide video::-webkit-media-controls-play-button,
        .slide video::-webkit-media-controls-volume-slider,
        .slide video::-webkit-media-controls-timeline,
        .slide video::-webkit-media-controls-current-time-display,
        .slide video::-webkit-media-controls-time-remaining-display,
        .slide video::-webkit-media-controls-fullscreen-button,
        .slide video::-webkit-media-controls-mute-button {
            opacity: 1 !important;
            filter: none !important;
            background: transparent !important;
        }

        /* 针对Firefox的视频控制栏 */
        .slide video::-moz-media-controls {
            background: transparent !important;
        }

        /* 确保视频本身不会因为控制栏而变暗 */
        .slide video::before,
        .slide video::after {
            display: none !important;
            content: none !important;
        }

        /* 移除可能的遮罩层 - 更全面的处理 */
        .slide video::-webkit-media-controls-overlay-play-button {
            background: rgba(0, 0, 0, 0.8) !important;
            border-radius: 50% !important;
            opacity: 1 !important;
        }

        /* 强制移除任何可能的暗化效果 */
        .slide video[controls]:hover {
            filter: brightness(1) !important;
            opacity: 1 !important;
            background: transparent !important;
        }

        .slide video[controls] {
            filter: brightness(1) !important;
            opacity: 1 !important;
            background: transparent !important;
        }
        
        /* 额外的视频美化 */
        .slide video {
            border-radius: 12px !important;
            box-shadow: none !important;
        }
        
        .slide video:not([poster]) {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        }
        
        /* 强制移除视频的所有阴影效果，包括控制栏出现时 */
        .slide video,
        .slide video:hover,
        .slide video:focus,
        .slide video:active,
        .slide video[controls],
        .slide video[controls]:hover,
        .slide video[controls]:focus {
            box-shadow: none !important;
            filter: none !important;
            -webkit-filter: none !important;
        }
        
        /* 移除所有视频伪元素的阴影 */
        .slide video::before,
        .slide video::after,
        .slide video::-webkit-media-controls,
        .slide video::-webkit-media-controls-panel,
        .slide video::-webkit-media-controls-enclosure,
        .slide video::-webkit-media-controls-overlay-enclosure {
            box-shadow: none !important;
            filter: none !important;
            -webkit-filter: none !important;
        }

        /* 视频加载指示器 */
        .video-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            color: #667eea;
            font-size: 14px;
            z-index: 10;
            background: rgba(255, 255, 255, 0.95);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-left-color: #fff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* 视频播放按钮覆盖层 */
        .video-play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            opacity: 1;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 5;
        }

        .video-play-overlay.hidden {
            opacity: 0;
        }

        .play-button {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            cursor: pointer;
            pointer-events: auto;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .play-button:hover {
            transform: scale(1.1);
            background: linear-gradient(135deg, rgba(102, 126, 234, 1) 0%, rgba(118, 75, 162, 1) 100%);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .play-button svg {
            margin-left: 3px; /* 视觉居中调整 */
        }

        /* 针对可能的伪元素遮罩 */
        .slide video *,
        .slide video *::before,
        .slide video *::after {
            background: transparent !important;
            backdrop-filter: none !important;
            filter: none !important;
        }

        /* 确保视频容器本身不会影响视频显示 */
        .slide {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
            filter: none !important;
            opacity: 1 !important;
        }

        /* 移除任何可能的CSS动画或过渡效果 */
        .slide video,
        .slide video * {
            animation: none !important;
            transition: none !important;
        }
        
        /* 彻底阻止视频控制栏导致的变暗效果 - 终极解决方案 */
        .slide video::-webkit-media-controls-overlay,
        .slide video::-webkit-media-controls-overlay-enclosure {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            background: transparent !important;
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
        }
        
        /* 强制视频在任何状态下都保持原始亮度 */
        .slide video {
            -webkit-filter: brightness(1) contrast(1) saturate(1) !important;
            filter: brightness(1) contrast(1) saturate(1) !important;
            background-color: transparent !important;
        }
        
        .slide video:hover,
        .slide video:focus,
        .slide video:active,
        .slide video:playing {
            -webkit-filter: brightness(1) contrast(1) saturate(1) !important;
            filter: brightness(1) contrast(1) saturate(1) !important;
            background-color: transparent !important;
        }
        
        /* 移除所有可能的视频遮罩和伪元素 */
        .slide video::after,
        .slide video::before,
        .slide video::-webkit-media-controls,
        .slide video::-webkit-media-controls-panel,
        .slide video::-webkit-media-controls-enclosure {
            content: none !important;
            display: none !important;
            background: transparent !important;
            opacity: 0 !important;
            visibility: hidden !important;
            position: absolute !important;
            top: -9999px !important;
            left: -9999px !important;
        }
        
        /* 强制所有子元素都透明 */
        .slide video * {
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px 15px;
            font-size: 18px;
            cursor: pointer;
            border-radius: 4px;
            z-index: 10;
            transition: background 0.3s;
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-width: 44px;
            min-height: 44px;
        }

        .slider-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .prev-btn {
            left: 10px;
        }

        .next-btn {
            right: 10px;
        }

        .slide-indicators {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s;
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            min-width: 32px;
            min-height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .indicator::before {
            content: '';
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            transition: background 0.3s;
        }

        .indicator.active::before {
            background: white;
        }



        .cover-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #007bff;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            z-index: 5;
        }

        .video-indicator {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 6px;
            border-radius: 4px;
            font-size: 12px;
        }

        .no-media, .no-details {
            text-align: center;
            color: #666;
            padding: 60px 20px;
            font-style: italic;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            margin: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .no-media {
            font-size: 16px;
            color: #888;
        }

        /* 占位图片样式 */
        .placeholder-image {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-size: 48px;
            position: relative;
        }

        .placeholder-image::before {
            content: "🐠";
            opacity: 0.5;
        }

        .placeholder-image::after {
            content: "暂无图片";
            position: absolute;
            bottom: 20px;
            font-size: 14px;
            color: #999;
        }

        .fish-details-content {
            padding: 32px 28px;
            position: relative;
            z-index: 2;
        }

        .fish-details-content h3 {
            color: #2d3748;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid transparent;
            background: linear-gradient(90deg, #667eea, #764ba2) bottom / 60px 3px no-repeat;
            position: relative;
            text-align: center;
        }



        .detail-section {
            margin-bottom: 24px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 20px rgba(106, 90, 205, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .detail-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .detail-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(106, 90, 205, 0.15);
            border-color: rgba(106, 90, 205, 0.2);
        }

        .detail-section h4 {
            color: #4c51bf;
            margin-bottom: 16px;
            font-size: 18px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .detail-section h4::before {
            content: '';
            width: 6px;
            height: 6px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            border-radius: 50%;
        }

        .detail-item {
            margin-bottom: 12px;
            line-height: 1.7;
            color: #4a5568;
            font-size: 15px;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .detail-item strong {
            color: #2d3748;
            font-weight: 600;
            min-width: 140px;
            flex-shrink: 0;
        }

        .detail-item span {
            color: #4a5568;
            line-height: 1.6;
        }

        .habits-text, .care-text {
            background: rgba(102, 126, 234, 0.05);
            padding: 12px 16px;
            border-radius: 12px;
            border-left: 4px solid #667eea;
            font-style: italic;
            line-height: 1.7;
            margin-top: 8px;
            display: block;
        }

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #a0aec0;
        }



        .empty-state h4 {
            color: #718096;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .empty-state p {
            color: #a0aec0;
            font-size: 14px;
            margin: 0;
        }

        .fish-name {
            color: #007bff;
            font-weight: 500;
            margin-top: 5px;
        }

        /* 分页样式 */
        .pagination {
            margin: 30px auto;
            max-width: 1400px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .pagination-info {
            display: flex;
            gap: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            text-align: center;
        }

        .pagination-controls {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .page-btn {
            padding: 8px 16px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            min-width: 44px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none;
        }

        .page-btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .page-numbers {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .page-number {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            /* 移动端触摸优化 */
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
            user-select: none;
        }

        .page-number:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
        }

        .page-number.active {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            font-weight: 600;
        }

        .page-ellipsis {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.6);
            font-size: 14px;
        }

                @keyframes fadeIn {
            from { 
                opacity: 0;
                backdrop-filter: blur(0px);
            }
            to { 
                opacity: 1;
                backdrop-filter: blur(8px);
            }
        }

        @keyframes modalSlideIn {
            0% {
                opacity: 0;
                transform: translateY(60px) scale(0.9);
                filter: blur(10px);
            }
            50% {
                opacity: 0.8;
                transform: translateY(20px) scale(0.95);
                filter: blur(5px);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
                filter: blur(0px);
            }
        }

        @keyframes gradientShift {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
                min-height: 100vh;
            }
            
            .sidebar {
                width: 100%;
                padding: 20px 0;
                clip-path: none;
                border-radius: 0 0 20px 20px;
                order: 1;
                max-height: 140px;
                overflow: hidden;
                position: relative;
            }

            .sidebar h2 {
                font-size: 18px;
                margin-bottom: 18px;
                padding: 0 15px;
                text-align: center;
            }

            .category-list {
                display: flex;
                flex-wrap: nowrap;
                gap: 12px;
                padding: 0 15px;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-behavior: smooth;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE/Edge */
            }

            .category-list::-webkit-scrollbar {
                display: none; /* Chrome/Safari */
            }

            /* 滚动提示渐变已移除，避免蓝色阴影效果 */

            .category-item {
                margin-bottom: 0;
                flex: 0 0 auto;
            }

            .category-link {
                padding: 12px 20px;
                font-size: 15px;
                white-space: nowrap;
                min-width: auto;
                border-radius: 20px;
                min-height: 48px;
                font-weight: 500;
            }
            
            .main-content {
                padding: 15px 15px;
                order: 2;
                flex: 1;
            }

            .header {
                margin-bottom: 15px;
            }

            .header-top {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .header h1 {
                font-size: 24px;
                margin-bottom: 5px;
            }

            .lang-btn {
                font-size: 13px;
                padding: 8px 14px;
            }

            .header p {
                font-size: 14px;
            }
            
            .media-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
                padding: 0 0 10px 0;
            }
            
            .media-item {
                border-radius: 12px;
            }
            
            .media-thumbnail {
                height: 200px;
            }

            .media-title {
                font-size: 15px;
                line-height: 1.4;
            }

            .media-info {
                padding: 12px 15px;
            }

            .media-meta {
                margin-top: 8px;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .category-tag {
                font-size: 11px;
                padding: 6px 12px;
            }
            
            .modal {
                padding: 0;
            }
            
            .modal-content {
                width: 100%;
                height: 100vh;
                border-radius: 0;
                margin: 0;
                display: flex;
                flex-direction: column;
            }

            .modal-header {
                padding: 15px 20px;
                position: sticky;
                top: 0;
                background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
                backdrop-filter: blur(10px);
                z-index: 100;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }
            
            .modal-header .modal-title {
                color: white !important;
            }
            
            .modal-header .close-btn {
                background: rgba(255, 255, 255, 0.2);
                border-color: rgba(255, 255, 255, 0.3);
                color: white;
            }

            .modal-title {
                font-size: 20px;
            }
            
            .modal-body {
                flex-direction: column;
                padding: 15px;
                gap: 15px;
                flex: 1;
                overflow: hidden;
                height: 100%;
            }
            
            .media-display {
                order: 1;
                width: 100%;
            }
            
            .media-slider {
                height: 250px;
                border-radius: 10px;
                background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            }

            .fish-details {
                order: 2;
                width: 100%;
                flex: 1;
                overflow-y: auto;
                min-height: 0;
                height: 100%;
            }
            
            .slider-btn {
                padding: 10px 15px;
                font-size: 18px;
                width: 50px;
                height: 50px;
            }

            .slide-indicators {
                bottom: 10px;
            }

            .indicator {
                width: 8px;
                height: 8px;
                margin: 0 3px;
            }
        }

        /* 超小屏幕优化 */
        @media (max-width: 480px) {
            .sidebar {
                padding: 15px 0;
                max-height: 120px;
            }

            .sidebar h2 {
                font-size: 16px;
                margin-bottom: 12px;
            }

            .category-list {
                padding: 0 10px;
                gap: 10px;
            }

            .category-link {
                padding: 10px 16px;
                font-size: 14px;
                min-height: 44px;
                border-radius: 18px;
                font-weight: 500;
            }

            .sidebar::after {
                top: 50px;
                width: 20px;
                height: 45px;
            }

            .main-content {
                padding: 10px 10px;
            }

            .header h1 {
                font-size: 20px;
                margin-bottom: 8px;
            }

            .media-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                padding: 0 0 15px 0;
            }
            
            .media-thumbnail {
                height: 220px;
            }

            .media-info {
                padding: 10px 12px;
            }

            .media-title {
                font-size: 14px;
                margin-bottom: 8px;
            }

            .media-meta {
                margin-top: 6px;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .category-tag {
                font-size: 10px;
                padding: 5px 10px;
                border-radius: 16px;
            }

            .media-slider {
                height: 200px;
                background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
                border-radius: 8px;
            }

            .slider-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .modal-body {
                padding: 10px;
            }

            .media-display {
                flex: 0 0 auto;
                max-height: 35vh;
                min-height: 200px;
            }

            .fish-details {
                flex: 1;
                height: 100%;
            }

            .fish-details-content {
                padding: 16px 12px;
            }

            .fish-details-content h3 {
                font-size: 16px;
                text-align: center;
            }

            .detail-section {
                padding: 12px;
                margin-bottom: 12px;
            }

            .detail-section h4 {
                font-size: 15px;
            }

            .detail-item {
                font-size: 13px;
            }
        }

        /* 触摸优化 */
        @media (hover: none) and (pointer: coarse) {
            .category-link:hover {
                transform: none;
                box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
            }

            .media-item:hover {
                transform: none;
            }

            .media-item:active {
                transform: scale(0.98);
                transition: transform 0.1s ease;
            }

            .category-link:active {
                transform: scale(0.95);
                transition: transform 0.1s ease;
            }

            .slider-btn:active {
                transform: scale(0.9);
                transition: transform 0.1s ease;
            }

            .close-btn:active {
                transform: scale(0.9);
                transition: transform 0.1s ease;
            }

            /* 模态框移动端优化 */
            .modal.show {
                padding: 0;
            }

            .modal-content {
                width: 100%;
                height: 100vh;
                max-height: none;
                min-height: 100vh;
                border-radius: 0;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }

            .modal-header {
                padding: 20px 24px;
                position: sticky;
                top: 0;
                background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
                backdrop-filter: blur(10px);
                z-index: 100;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }
            
            .modal-header .modal-title {
                color: white !important;
            }
            
            .modal-header .close-btn {
                background: rgba(255, 255, 255, 0.2);
                border-color: rgba(255, 255, 255, 0.3);
                color: white;
            }

            .modal-title {
                font-size: 22px;
            }

            .close-btn {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .modal-body {
                flex-direction: column;
                flex: 1;
                overflow: hidden;
                height: 100%;
                background: white;
            }

            .media-display {
                flex: 0 0 auto;
                min-height: 250px;
                max-height: 35vh;
                background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            }

            .fish-details {
                flex: 1;
                border-left: none;
                border-top: 1px solid rgba(106, 90, 205, 0.1);
                overflow-y: auto;
                min-height: 0;
                height: 100%;
            }

            .fish-details-content {
                padding: 20px 16px;
            }

            .fish-details-content h3 {
                font-size: 18px;
                margin-bottom: 18px;
                text-align: center;
            }

            .detail-section {
                margin-bottom: 16px;
                padding: 16px;
            }

            .detail-section h4 {
                font-size: 16px;
                margin-bottom: 12px;
            }

            .detail-item {
                font-size: 14px;
                flex-direction: column;
                gap: 4px;
                margin-bottom: 10px;
            }

            .detail-item strong {
                min-width: auto;
                margin-bottom: 2px;
            }

            /* 超小屏幕优化 */
            @media (max-width: 480px) {
                .modal-content {
                    width: 100%;
                    height: 100vh;
                    border-radius: 0;
                    max-height: none;
                }

                .modal.show {
                    padding: 0;
                }

                .modal-header {
                    padding: 16px 20px;
                    position: sticky;
                    top: 0;
                    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
                    backdrop-filter: blur(10px);
                    z-index: 100;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
                }
                
                .modal-header .modal-title {
                    color: white !important;
                }
                
                .modal-header .close-btn {
                    background: rgba(255, 255, 255, 0.2);
                    border-color: rgba(255, 255, 255, 0.3);
                    color: white;
                }

                .modal-title {
                    font-size: 18px;
                }

                .media-display {
                    flex: 0 0 auto;
                    min-height: 180px;
                    max-height: 30vh;
                    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
                }

                .fish-details {
                    flex: 1;
                    height: 100%;
                }

                .fish-details-content {
                    padding: 16px 12px;
                }

                .fish-details-content h3 {
                    font-size: 16px;
                    text-align: center;
                }

                .detail-section {
                    padding: 12px;
                    margin-bottom: 12px;
                }

                .detail-section h4 {
                    font-size: 15px;
                }

                .detail-item {
                    font-size: 13px;
                }
            }
        }

        /* 页脚联系区域样式 */
        .footer-contact {
            background: linear-gradient(135deg, rgba(15, 20, 30, 0.95) 0%, rgba(25, 35, 50, 0.9) 100%);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            animation: fadeInUp 0.8s ease-out;
            position: relative;
            overflow: hidden;
        }

        .footer-contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 20px 12px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .company-info h3 {
            color: #ffffff;
            font-size: 20px;
            margin-bottom: 8px;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .company-info p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            margin-bottom: 8px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .address {
            color: rgba(255, 255, 255, 0.7);
            font-size: 13px;
            margin-top: 5px;
        }

        .contact-actions {
            flex-shrink: 0;
        }

        .contact-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            align-items: center;
        }

        .contact-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 12px 16px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 500;
            font-size: 13px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 2px solid transparent;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
            position: relative;
            overflow: hidden;
            min-width: 100px;
            text-align: center;
        }

        .contact-btn-icon {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
        }

        .contact-btn-label {
            font-size: 11px;
            opacity: 0.9;
            font-weight: 400;
        }

        .contact-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .contact-btn:hover::before {
            left: 100%;
        }

        .facebook-btn {
            background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
            color: white;
        }

        .facebook-btn:hover {
            background: linear-gradient(135deg, #166fe5 0%, #1464d6 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .whatsapp-btn {
            background: linear-gradient(135deg, #25d366 0%, #22c65e 100%);
            color: white;
        }

        .whatsapp-btn:hover {
            background: linear-gradient(135deg, #22c65e 0%, #1fb854 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .contact-btn svg {
            transition: transform 0.3s ease;
        }

        .contact-btn:hover svg {
            transform: scale(1.15) rotate(5deg);
        }

        .contact-btn:active {
            transform: translateY(-1px);
        }



        .footer-bottom {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .copyright p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 13px;
            margin: 0;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* 移动端优化 */
        @media (max-width: 768px) {
            .footer-container {
                padding: 15px 10px 10px;
            }

            .footer-content {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .company-info {
                margin-bottom: 5px;
                order: 2;
            }

            .contact-actions {
                order: 1;
            }

            .company-info h3 {
                font-size: 16px;
                margin-bottom: 4px;
            }

            .company-info p {
                font-size: 12px;
                margin-bottom: 4px;
            }

            .address {
                font-size: 11px;
                margin-top: 3px;
            }

            /* 横向滚动的联系方式 */
            .contact-buttons {
                display: flex;
                overflow-x: auto;
                gap: 12px;
                padding: 8px 5px;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Firefox */
                -ms-overflow-style: none; /* IE/Edge */
                scroll-behavior: smooth;
                position: relative;
            }

            .contact-buttons::-webkit-scrollbar {
                display: none; /* Chrome/Safari */
            }

            /* 滚动提示 */
            .contact-buttons::after {
                content: '👈 滑动查看更多';
                position: absolute;
                right: -5px;
                top: 50%;
                transform: translateY(-50%);
                background: linear-gradient(90deg, transparent 0%, rgba(15, 20, 30, 0.8) 30%, rgba(15, 20, 30, 0.9) 100%);
                color: rgba(255, 255, 255, 0.6);
                font-size: 10px;
                padding: 2px 8px 2px 15px;
                border-radius: 10px;
                pointer-events: none;
                opacity: 0;
                transition: opacity 0.3s ease;
                z-index: 10;
            }

            .contact-buttons.show-scroll-hint::after {
                opacity: 1;
            }

            .contact-btn {
                flex: 0 0 auto;
                padding: 8px 12px;
                font-size: 11px;
                min-width: 70px;
                max-width: 90px;
            }

            .contact-btn-icon {
                font-size: 12px;
            }

            .contact-btn-label {
                font-size: 9px;
                line-height: 1.2;
            }

            .footer-bottom {
                margin-top: 10px;
                padding-top: 10px;
            }

            .copyright p {
                font-size: 11px;
            }
        }

        @media (max-width: 480px) {
            .footer-container {
                padding: 12px 8px 8px;
            }

            .footer-content {
                gap: 12px;
            }

            .company-info {
                order: 2;
            }

            .contact-actions {
                order: 1;
            }

            .company-info h3 {
                font-size: 14px;
            }

            .company-info p {
                font-size: 11px;
            }

            .address {
                font-size: 10px;
            }

            /* 小屏幕使用网格布局 */
            .contact-buttons {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
                gap: 8px;
                padding: 5px 0;
                overflow: visible;
                max-width: 280px;
                margin: 0 auto;
            }

            .contact-btn {
                padding: 6px 8px;
                font-size: 10px;
                min-width: 70px;
                max-width: none;
            }

            .contact-btn-icon {
                font-size: 11px;
            }

            .contact-btn-label {
                font-size: 8px;
            }

            .footer-bottom {
                margin-top: 8px;
                padding-top: 8px;
            }

            .copyright p {
                font-size: 10px;
            }
        }

        /* 超小屏幕优化 */
        @media (max-width: 320px) {
            .footer-container {
                padding: 10px 5px 6px;
            }

            .company-info {
                order: 2;
            }

            .contact-actions {
                order: 1;
            }

            .company-info h3 {
                font-size: 13px;
            }

            .contact-buttons {
                grid-template-columns: repeat(2, 1fr);
                max-width: 200px;
                gap: 6px;
            }

            .contact-btn {
                padding: 5px 6px;
                font-size: 9px;
                min-width: 60px;
            }

            .contact-btn-icon {
                font-size: 10px;
            }

            .contact-btn-label {
                font-size: 7px;
            }
        }

        /* 加载状态样式 */
        .loading-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            min-height: 300px;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
        }

        .loading-state .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255, 255, 255, 0.2);
            border-left-color: rgba(255, 255, 255, 0.8);
            border-top-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            animation: loadingSpin 1s linear infinite;
            margin-bottom: 20px;
        }

        .loading-state .loading-text {
            font-size: 16px;
            font-weight: 500;
            opacity: 0.9;
            animation: loadingPulse 2s ease-in-out infinite;
        }

        @keyframes loadingSpin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes loadingPulse {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }

        /* 防止加载状态时的布局跳动 */
        .media-grid:has(.loading-state) {
            min-height: 400px;
        }

        /* 移动端优化 */
        @media (max-width: 768px) {
            .loading-state {
                padding: 40px 15px;
                min-height: 250px;
            }
            
            .loading-state .loading-spinner {
                width: 40px;
                height: 40px;
                border-width: 2px;
            }
            
            .loading-state .loading-text {
                font-size: 14px;
            }
        }

        /* 库存状态标签 */
        .stock-label {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            z-index: 2;
        }

        .stock-label.in-stock {
            background-color: #28a745;
            color: white;
        }

        .stock-label.out-of-stock {
            background-color: #dc3545;
            color: white;
        }

    
