
        /* 复制首页的所有基础样式 */
        html {
            height: 100%;
        }
        
        body {
            min-height: 100vh;
            margin: 0;
            display: flex;
            flex-direction: column;
            position: relative;
            background: #f7f8fc;
        }
        
        /* 渐变背景 */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 140px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            z-index: -2;
        }
        
        /* 粒子背景 */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 50vh;
            background: transparent;
            z-index: -1;
            top: 0;
            left: 0;
        }
        
        /* 容器样式 */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 10;
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        /* 复制首页完整的头部样式 */
        .header {
            padding: 20px 25px;
            margin: 20px 0 30px 0;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            animation: headerGlow 8s ease-in-out infinite;
        }
        
        @keyframes headerGlow {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(30px, 20px); }
        }
        
        /* 头部内容布局 */
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            position: relative;
            min-height: 60px;
        }
        
        /* 左侧部分 - Logo和标题 */
        .header-left {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        
        .logo-section img {
            height: 50px;
            width: auto;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.08);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
        }
        
        .logo-section img:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        }
        
        .site-title {
            font-size: 36px;
            font-weight: 700;
            background: #fff;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
            text-decoration: none;
            transition: all 0.3s ease;
            letter-spacing: -0.5px;
            white-space: nowrap;
        }
        
        .site-title:hover {
            transform: translateY(-1px);
            filter: brightness(1.1);
        }
        
        /* 中间部分 - 搜索框 */
        .header-center {
            flex: 1;
            max-width: 600px;
            min-width: 0;
            display: flex;
        }
        
        .search-container {
            position: relative;
            width: 100%;
        }
        
        .search-box {
            width: 100%;
            padding: 16px 55px 16px 24px;
            border: 2px solid transparent;
            border-radius: 50px;
            background: #f0f2f5;
            font-size: 15px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            font-weight: 500;
            color: #2d3748;
        }
        
        .search-box:focus {
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 10px 35px rgba(0,0,0,0.08);
            transform: translateY(-1px);
        }
        
        .search-box::placeholder {
            color: #a0aec0;
            font-weight: 400;
        }
        
        .search-btn {
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: white;
            font-size: 16px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            flex-shrink: 0;
        }
        
        .search-btn:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }
        
        .search-btn:active {
            transform: translateY(-50%) scale(0.95);
        }
        
        /* 右侧部分 - 用户菜单 */
        .header-right {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        
        .user-menu {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .user-menu a,
        .user-menu span {
            padding: 10px 18px;
            background: linear-gradient(135deg, #f7f8fc, #eef1f5);
            border-radius: 50px;
            color: #4a5568;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }
        
        .user-menu a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            transition: left 0.3s ease;
            z-index: -1;
        }
        
        .user-menu a:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
        }
        
        .user-menu a:hover::before {
            left: 0;
        }
        
        .user-menu span {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        /* 移动端菜单按钮 */
        .mobile-menu-btn {
            display: none;
            background: linear-gradient(135deg, #667eea4a, #764ba259);
            border: none;
            border-radius: 12px;
            width: 20px;
            height: 20px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
            font-size: 12px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        /* 移动端菜单下拉 */
        .mobile-menu-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: white;
            min-width: 200px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border-radius: 16px;
            z-index: 9999;
            padding: 8px;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(0,0,0,0.05);
        }

        .mobile-menu-dropdown.show {
            display: block;
            opacity: 1;
        }

        .mobile-menu-dropdown a,
        .mobile-menu-dropdown span {
            color: #4a5568;
            padding: 10px 16px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s ease;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            margin: 2px 0;
        }

        .mobile-menu-dropdown a:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateX(5px);
        }

        .mobile-menu-dropdown span {
            background: linear-gradient(135deg, #f7f8fc, #eef1f5);
            cursor: default;
        }

        /* 语言切换器容器 */
        .language-switcher-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }

        /* 语言图标触发器 */
        .language-icon-trigger {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .language-icon-trigger:hover {
            transform: translateY(-2px) scale(1.05);
            border-color: #667eea;
        }

        .language-icon-trigger svg {
            color: #8a66d0;
            width: 22px;
            height: 22px;
        }

        /* 下拉菜单样式 */
        .language-dropdown-menu {
            position: absolute;
            top: 50px;
            right: 0;
            width: 220px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 8px;
            margin: 0;
            list-style: none;
            display: none;
            max-height: 70vh;
            overflow-y: auto;
            border: 1px solid rgba(0,0,0,0.05);
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .language-dropdown-menu.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        /* 菜单项样式 */
        .language-dropdown-menu li {
            padding: 0;
            margin: 2px 0;
        }

        .language-dropdown-menu li a {
            display: block;
            padding: 10px 16px;
            color: #4a5568;
            text-decoration: none;
            transition: all 0.2s ease;
            font-size: 14px;
            border-radius: 10px;
            font-weight: 500;
        }

        .language-dropdown-menu li a:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            transform: translateX(5px);
        }

        .language-dropdown-menu li a.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            font-weight: 600;
        }

        /* 分隔线 */
        .language-dropdown-menu li.divider {
            height: 1px;
            background: #e2e8f0;
            margin: 8px 0;
        }

        /* 更多语言部分 */
        .more-languages-toggle a {
            color: #667eea;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .more-languages-container {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .more-languages-container.show {
            max-height: none;
        }
        
        .language-dropdown-menu {
            max-height: 80vh; /* 增加主菜单最大高度 */
        }

        /* 滚动条样式 */
        .language-dropdown-menu::-webkit-scrollbar {
            width: 6px;
        }

        .language-dropdown-menu::-webkit-scrollbar-thumb {
            background: #ddd;
            border-radius: 3px;
        }
        
        .language-dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: #bbb;
        }

        /* 文章列表样式 */
        .articles-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 30px 20px 40px;
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 30px;
        }

        /* 左侧分类导航 */
        .category-sidebar {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .category-sidebar h3 {
            font-size: 18px;
            font-weight: 600;
            color: #2d3748;
            margin: 0 0 20px 0;
            padding-bottom: 10px;
            border-bottom: 2px solid #667eea;
        }

        .category-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

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

        .category-link {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            color: #4a5568;
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.3s ease;
            font-size: 15px;
        }

        .category-link:hover {
            background: #f7fafc;
            color: #667eea;
            transform: translateX(5px);
        }

        .category-link.active {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            font-weight: 600;
        }

        .category-count {
            background: #e2e8f0;
            color: #4a5568;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }

        .category-link.active .category-count {
            background: rgba(255, 255, 255, 0.3);
            color: white;
        }

        /* 右侧内容区 */
        .articles-main {
            min-width: 0;
        }

        .page-header {
            max-width: 1400px;
            margin: 0 auto;
            padding: 30px 20px 0px;
            display: grid;
            text-align: center;
        }

        .page-title {
            font-size: 32px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0 0 10px 0;
        }

        .page-subtitle {
            color: #718096;
            font-size: 16px;
            margin: 0;
        }

        /* 文章列表样式 - 改为列表布局 */
        .articles-list {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .article-item {
            padding: 25px 30px;
            border-bottom: 1px solid #e2e8f0;
            transition: all 0.3s ease;
            position: relative;
        }

        .article-item:last-child {
            border-bottom: none;
        }

        .article-item:hover {
            background: #f7fafc;
        }

        .article-item.pinned {
            background: #f0f7ff;
        }

        .pin-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
        }

        .article-header {
            margin-bottom: 12px;
        }

        .article-title {
            font-size: 20px;
            font-weight: 600;
            color: #2d3748;
            margin: 0 0 8px 0;
            line-height: 1.4;
        }

        .article-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .article-title a:hover {
            color: #667eea;
        }

        .article-meta {
            display: flex;
            gap: 20px;
            font-size: 14px;
            color: #718096;
            flex-wrap: wrap;
        }

        .article-meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .article-meta-item i {
            font-size: 12px;
        }

        .article-category {
            color: #667eea;
            font-weight: 500;
        }

        .article-description {
            color: #4a5568;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .article-link {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            transition: gap 0.3s ease;
        }

        .article-link:hover {
            gap: 10px;
        }

        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
        }

        .pagination a,
        .pagination span {
            padding: 10px 18px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .pagination a {
            background: white;
            color: #4a5568;
            border: 1px solid #e2e8f0;
        }

        .pagination a:hover {
            background: #667eea;
            color: white;
            border-color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .pagination .current {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        /* 空状态样式 */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #718096;
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

        .empty-state i {
            font-size: 64px;
            color: #cbd5e0;
            margin-bottom: 20px;
        }

        .empty-state h3 {
            font-size: 24px;
            margin-bottom: 10px;
            color: #4a5568;
        }

        .empty-state p {
            font-size: 16px;
        }

        /* 页脚样式 */
        .site-footer {
            margin-top: auto;
            padding: 40px 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
            width: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .site-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
            background-size: 200% 100%;
            animation: gradientMove 3s linear infinite;
        }
        
        @keyframes gradientMove {
            0% { background-position: 0% 0%; }
            100% { background-position: 200% 0%; }
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: center;
        }
        
        .footer-links {
            margin-bottom: 20px;
            font-size: 15px;
        }
        
        .footer-links a {
            color: #4a5568;
            text-decoration: none;
            padding: 8px 16px;
            border-radius: 50px;
            font-weight: 500;
            position: relative;
            display: inline-block;
        }
        
        .footer-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50px;
            opacity: 0;
            z-index: -1;
        }
        
        .footer-links a:hover {
            color: #715ab7;
        }
        
        .footer-links a:hover::before {
            opacity: 1;
        }
        
        .footer-links .separator {
            color: #cbd5e0;
            margin: 0 5px;
        }
        
        .footer-copyright {
            color: #718096;
            font-size: 14px;
        }
        
        .footer-copyright p {
            margin: 0;
        }

        /* 模态框样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 30000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            backdrop-filter: blur(8px);
        }
        
        .modal-content {
            background-color: var(--bg-card);
            margin: 5% auto;
            padding: 30px;
            border-radius: var(--border-radius);
            width: 90%;
            max-width: 400px;
            box-shadow: var(--shadow-hover);
            position: relative;
            animation: modalSlideIn 0.3s ease-out;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .close {
            position: absolute;
            right: 20px;
            top: 20px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }
        
        .close:hover {
            color: var(--color-danger);
        }
        
        .modal h2 {
            margin-bottom: 20px;
            color: var(--color-primary);
            text-align: center;
        }
        
        .modal .form-group {
            margin-bottom: 20px;
        }
        
        .modal .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .modal .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        .modal .form-group input:focus {
            border-color: var(--color-accent);
            outline: none;
        }
        
        .modal .btn {
            width: 100%;
            padding: 12px;
            margin-bottom: 10px;
        }
        
        .modal .switch-form {
            text-align: center;
            margin-top: 20px;
            color: #666;
        }
        
        .modal .switch-form a {
            color: var(--color-accent);
            text-decoration: none;
        }
        
        .modal .switch-form a:hover {
            text-decoration: underline;
        }
        
        .message {
            padding: 10px;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
            text-align: center;
        }
        
        .message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .articles-container {
                grid-template-columns: 1fr;
            }

            .category-sidebar {
                position: static;
                margin-bottom: 30px;
            }

            .category-list {
                display: flex;
                flex-wrap: wrap;
                gap: 10px;
            }

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

            .category-link {
                padding: 8px 16px;
                font-size: 14px;
            }
        }

        @media (max-width: 1200px) {
            .header-content {
                gap: 15px;
            }
            
            .site-title {
                font-size: 28px;
            }
            
            .user-menu a,
            .user-menu span {
                padding: 8px 14px;
                font-size: 13px;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 15px;
                margin: 15px 0 20px 0;
            }
            
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .header-left {
                justify-content: space-between;
            }
            
            .header-center {
                width: 100%;
                order: 2;
            }
            
            .header-right {
                display: none;
            }
            
            .mobile-menu-dropdown {
                position: fixed;
                top: 50px;
                right: 20px;
                left: auto;
                width: 250px;
                max-height: calc(100vh - 100px);
                overflow-y: auto;
            }
            
            .mobile-menu-btn {
                display: flex;
            }
            
            .site-title {
                font-size: 20px;
            }
            
            .logo-section img {
                height: 40px;
            }
            
            .search-box {
                padding: 14px 50px 14px 20px;
                font-size: 14px;
            }
            
            .search-btn {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }

            .page-title {
                font-size: 28px;
            }

            .page-subtitle {
                font-size: 16px;
            }

            .article-item {
                padding: 20px;
            }

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

            /* 隐藏语言切换器的固定定位 */
            .language-switcher-container {
                position: absolute;
                top: 10px;
                right: 10px;
            }
            
            .language-icon-trigger {
                width: 36px;
                height: 36px;
            }
            
            .language-icon-trigger svg {
                width: 18px;
                height: 18px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }
            
            .header {
                padding: 12px;
                margin: 10px 0 15px 0;
            }
            
            .header-content {
                gap: 12px;
            }
            
            .site-title {
                font-size: 18px;
            }
            
            .logo-section img {
                height: 35px;
            }
            
            .logo-section {
                gap: 8px;
            }
            
            .search-box {
                padding: 12px 45px 12px 16px;
                font-size: 13px;
            }
            
            .search-btn {
                width: 36px;
                height: 36px;
                font-size: 13px;
                right: 4px;
            }
            
            .mobile-menu-btn {
                width: 20px;
                height: 20px;
                font-size: 12px;
            }

            .language-switcher-container {
                top: 5px;
                right: 5px;
            }
            
            .language-icon-trigger {
                width: 32px;
                height: 32px;
            }
            
            .language-icon-trigger svg {
                width: 16px;
                height: 16px;
            }
        }

        @media (max-width: 360px) {
            .site-title {
                font-size: 16px;
            }
            
            .logo-section img {
                height: 30px;
            }
            
            .mobile-menu-btn {
                width: 20px;
                height: 20px;
                font-size: 12px;
            }
        }