        /* 优化后的样式 */
        :root {
            --primary: #2c7de6;
            --primary-light: #d4e6ff;
            --primary-dark: #0d4a9c;
            --nav-hover: #0d4a9c;
            --text-color: #333;
            --text-light: #666;
            --border-color: #e4e7ed;
            --bg-gray: #f5f7fa;
            --success: #52c41a;
            --warning: #faad14;
            --danger: #f5222d;
            --shadow: 0 4px 12px rgba(0,0,0,0.06);
            --radius: 8px;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
            color: var(--text-color);
            background-color: #fff;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.3s ease;
        }
        
        a:hover {
            color: var(--primary);
            text-decoration: none;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 顶部导航栏 */
        .topbar-bg {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            color: #666;
            font-size: 13px;
        }
        
        /* 主导航 */
        .header {
            background-color: #fff;
        }
        
        .header-container {
            display: flex;
            flex-direction: column;
            padding: 15px 0 0;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo {
            height: 50px;
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 100%;
            width: auto;
        }
        
        /* 搜索框 */
        .nav-search {
            flex: 1;
            max-width: 500px;
            margin-left: 20px;
            position: relative;
            z-index: 1000;
        }
        
        .search-form {
            display: flex;
            position: relative;
            width: 100%;
            box-shadow: var(--shadow);
            border-radius: var(--radius);
            overflow: hidden;
            z-index: 1000;
        }
        
        .search-input {
            flex: 1;
            height: 42px;
            padding: 0 20px;
            border: none;
            outline: none;
            font-size: 15px;
            background: #fff;
            border-radius: var(--radius) 0 0 var(--radius);
        }
        
        .search-input:focus {
            background: #f8fafc;
        }
        
        .search-button {
            height: 42px;
            padding: 0 24px;
            background: var(--primary);
            color: #fff;
            border: none;
            cursor: pointer;
            font-size: 15px;
            font-weight: 500;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        
        .search-button:hover {
            background: var(--primary-dark);
        }
        
        .nav-container {
            background-color: var(--primary-light);
            border-radius: var(--radius);
            margin-top: 10px;
        }
        
        .navbar {
            display: flex;
            list-style: none;
            width: 100%;
            padding: 0;
            margin: 0;
        }
        
        .navbar li {
            padding: 0;
        }
        
        .navbar li a {
            font-weight: 500;
            font-size: 16px;
            padding: 15px 18px;
            position: relative;
            display: block;
            color: #1a68cc;
            transition: all 0.3s;
        }
        
        .navbar li a:hover {
            color: var(--nav-hover);
            background: rgba(255,255,255,0.2);
        }
        
        .navbar li a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: 0;
            left: 0;
            background-color: var(--nav-hover);
            transition: width 0.3s ease;
        }
        
        .navbar li a:hover:after {
            width: 100%;
        }
        
        /* 网站统计区 */
        .stats-bar {
            background-color: var(--primary-light);
            padding: 8px 0;
            margin: 15px 0;
        }
        
        .stats-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .stats-info {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .stats-info strong {
            color: var(--primary);
            font-weight: bold;
            padding: 0 3px;
        }
        
        .quick-links {
            font-size: 14px;
        }
        
        .quick-links a {
            margin-left: 10px;
            color: var(--primary);
            font-weight: 500;
            position: relative;
        }
        
        .quick-links a:hover:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: var(--primary);
        }
        
        /* 版块通用样式 */
        .section {
            margin: 30px 0;
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 25px;
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .section-title {
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            color: var(--text-color);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -16px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            margin-bottom: 20px;
            font-size: 14px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .breadcrumb a {
            color: var(--primary);
            margin: 0 5px;
        }
        
        .breadcrumb a:first-child {
            margin-left: 0;
        }
        
        .breadcrumb span {
            margin: 0 5px;
            color: #999;
        }
        
        /* 分类目录样式 - 列表式布局 */
        .category-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .category-item {
            padding: 0;
            background: #fff;
            border-radius: var(--radius);
            transition: all 0.3s ease;
        }
        
        .category-header {
            background: var(--primary-light);
            padding: 15px 20px;
            border-radius: var(--radius) var(--radius) 0 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .category-title {
            font-size: 18px;
            font-weight: 600;
            display: flex;
            align-items: center;
        }
        
        .category-title a {
            color: var(--primary-dark);
            transition: all 0.3s;
        }
        
        .category-title a:hover {
            color: var(--primary);
        }
        
        .category-count {
            background: var(--primary);
            color: #fff;
            font-size: 14px;
            padding: 2px 10px;
            border-radius: 12px;
            margin-left: 10px;
        }
        
        .subcategories {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 15px;
            padding: 20px;
            background: #fff;
            border-radius: 0 0 var(--radius) var(--radius);
        }
        
        .subcategory-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            border-radius: var(--radius);
            background: var(--bg-gray);
            transition: all 0.3s;
        }
        
        .subcategory-item:hover {
            background: var(--primary-light);
            transform: translateX(5px);
        }
        
        .subcategory-name {
            flex: 1;
            font-size: 16px;
            color: var(--text-color);
            transition: all 0.3s;
        }
        
        .subcategory-name a {
            color: inherit;
            display: flex;
            align-items: center;
        }
        
        .subcategory-name a:before {
            content: "•";
            color: var(--primary);
            margin-right: 8px;
            font-weight: bold;
        }
        
        .subcategory-name a:hover {
            color: var(--primary);
        }
        
        .subcategory-count {
            font-size: 14px;
            color: var(--text-light);
            background: #fff;
            padding: 3px 8px;
            border-radius: 12px;
            min-width: 55px;
            text-align: center;
        }
        
        /* 侧边栏 */
        .sidebar-section {
            margin-bottom: 30px;
        }
        
        .sidebar-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
            color: var(--primary);
            display: flex;
            align-items: center;
        }
        
        .ranking-list {
            list-style: none;
        }
        
        .ranking-item {
            padding: 12px 0;
            border-bottom: 1px dashed var(--border-color);
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }
        
        .ranking-item:hover {
            background: rgba(44,125,230,0.03);
        }
        
        .ranking-item:last-child {
            border-bottom: none;
        }
        
        .ranking-item span {
            font-weight: bold;
            width: 25px;
            flex-shrink: 0;
        }
        
        .ranking-item a {
            flex: 1;
            font-size: 15px;
            transition: all 0.3s;
        }
        
        .ranking-item em {
            color: var(--text-light);
            font-size: 13px;
            margin-left: 10px;
            font-style: normal;
        }
        
        .ranking-item a:hover {
            color: var(--primary);
        }
        
        .article-list {
            list-style: none;
        }
        
        .article-item {
            padding: 12px 0;
            border-bottom: 1px dashed var(--border-color);
            transition: all 0.3s;
        }
        
        .article-item:hover {
            background: rgba(44,125,230,0.03);
        }
        
        .article-item:last-child {
            border-bottom: none;
        }
        
        .article-item a {
            display: block;
            font-size: 15px;
            transition: all 0.3s;
            padding-left: 28px;
            position: relative;
            color: #444;
            line-height: 1.6;
        }
        
        .article-item a:before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
        }
        
        .article-item a:hover {
            color: var(--primary);
            padding-left: 30px;
        }
        
        .recommended-sites {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
        }
        
        .recommended-card {
            text-align: center;
            transition: all 0.3s;
            display: block;
            text-decoration: none;
        }
        
        .recommended-card:hover {
            transform: translateY(-5px);
        }
        
        .recommended-thumb {
            width: 100%;
            height: 90px;
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: 10px;
            background: #f8fafc;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 8px rgba(0,0,0,0.05);
        }
        
        .recommended-thumb img {
            max-width: 90%;
            max-height: 90%;
        }
        
        .recommended-name {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-color);
        }
        
        /* 广告位 */
        .sidebar-ad {
            margin-bottom: 30px;
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            text-align: center;
            height: 350px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8fafc;
            border: 1px dashed #cbd5e1;
            color: #94a3b8;
            font-size: 16px;
        }
        
        .sidebar-ad img {
            max-width: 100%;
            max-height: 100%;
        }
        
        /* 双列布局 */
        .dual-column {
            display: grid;
            gap: 30px;
        }
        
        @media (min-width: 992px) {
            .dual-column {
                grid-template-columns: 3fr 1fr;
            }
        }
        
        /* 主内容区域 */
        .main-content {
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 30px;
        }
        
        /* 页脚 */
        .footer {
            margin-top: 40px;
            padding: 50px 0 30px;
            background: #fff;
            text-align: center;
            border-top: 1px solid var(--border-color);
            color: var(--text-light);
        }
        
        .footer-menu {
            margin-bottom: 25px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .footer-menu a {
            margin: 0 15px 10px;
            font-size: 14px;
            color: var(--text-light);
            transition: all 0.3s;
        }
        
        .footer-menu a:hover {
            color: var(--primary);
        }
        
        .footer-copyright {
            font-size: 13px;
            margin-top: 15px;
            line-height: 1.6;
        }
        
        /* 移动端调整 */
        @media (max-width: 991px) {
            .topbar {
                display: none;
            }
            
            .header-container {
                padding: 10px 0 0;
            }
            
            .header-top {
                flex-direction: column;
                align-items: stretch;
                margin-bottom: 10px;
            }
            
            .logo {
                margin-bottom: 15px;
                justify-content: center;
            }
            
            .nav-search {
                margin: 0 0 15px;
                max-width: 100%;
            }
            
            .navbar {
                margin: 0;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .navbar li {
                padding: 0;
                flex: 1 0 auto;
                text-align: center;
            }
            
            .navbar li a {
                padding: 12px 10px;
                font-size: 14px;
            }
            
            .search-form {
                width: 100%;
            }
            
            .search-input {
                height: 42px;
            }
            
            .search-button {
                height: 42px;
                padding: 0 15px;
            }
            
            .stats-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .quick-links {
                margin-top: 10px;
                display: flex;
                flex-wrap: wrap;
            }
            
            .quick-links a {
                margin: 5px 10px 5px 0;
            }
            
            .dual-column {
                grid-template-columns: 1fr;
            }
            
            /* 移动端隐藏广告位 */
            .sidebar-ad {
                display: none !important;
            }
            
            /* 移动端隐藏网站统计 */
            .stats-bar {
                display: none !important;
            }
        }
        
        @media (max-width: 768px) {
            .section {
                padding: 20px;
            }
            
            .main-content {
                padding: 20px;
            }
            
            .subcategories {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                padding: 15px;
                gap: 12px;
            }
            
            .subcategory-item {
                padding: 8px 12px;
            }
            
            .category-header {
                padding: 12px 15px;
            }
            
            .category-title {
                font-size: 16px;
            }
            
            .subcategory-name {
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .subcategories {
                grid-template-columns: 1fr;
            }
            
            .subcategory-item {
                padding: 10px 15px;
            }
        }
        
        /* SVG图标 */
        .icon {
            width: 18px;
            height: 18px;
            fill: currentColor;
            margin-right: 8px;
        }
        
        .btn-icon {
            width: 16px;
            height: 16px;
            fill: #fff;
        }