        :root {
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
            --primary-soft: #eff6ff;
            --bg: #f5f7fb;
            --card: #ffffff;
            --text: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
            --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.1);
            --radius: 10px;
        }

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

        html {
            min-height: 100%;
        }

        body {
            background:
                radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.2), transparent 360px),
                radial-gradient(circle at 82% 4%, rgba(14, 165, 233, 0.16), transparent 340px),
                linear-gradient(180deg, #eef6ff 0%, var(--bg) 340px);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            color: var(--text);
            line-height: 1.55;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            user-select: none;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }

        .particle-bg {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.95;
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 24px 16px;
            width: 100%;
            flex: 1 0 auto;
            position: relative;
            z-index: 1;
        }

        /* ===== 软件卡片 ===== */
        .software-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
            margin-bottom: 28px;
        }

        .software-item {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.86);
            backdrop-filter: blur(10px);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 16px 20px;
            border: 1px solid rgba(226, 232, 240, 0.9);
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
            gap: 18px;
        }

        .software-item:hover {
            border-color: #bfdbfe;
            box-shadow: var(--shadow-md);
            transform: translateY(-1px);
        }

        .software-item-main a {
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f6f8fa;
            border-radius: 8px;
            padding: 6px 10px;
            text-decoration: none;
            transition: box-shadow 0.2s;
        }

        .software-item-main a:hover {
            box-shadow: 0 2px 8px rgba(80, 120, 200, 0.15);
        }

        .software-item-main img {
            width: 160px;
            height: 64px;
            object-fit: contain;
            border-radius: 6px;
            background: #fff;
        }

        .software-item-info-group {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 8px;
        }

        .software-item-info {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
            letter-spacing: 0.01em;
        }

        .software-item-link a {
            color: #fff;
            background: linear-gradient(135deg, var(--primary), #3b82f6);
            padding: 6px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.18s, box-shadow 0.18s;
            display: inline-block;
        }

        .software-item-link a:hover {
            background: linear-gradient(135deg, var(--primary-hover), var(--primary));
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
        }

        /* ===== 工具栏 ===== */
        .toolbar {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            margin-bottom: 16px;
        }

        .search-box {
            flex: 1;
            min-width: 240px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 10px 14px 10px 40px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 14px;
            background: rgba(255, 255, 255, 0.88);
            color: var(--text);
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
        }

        .search-box input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .search-box input::placeholder {
            color: #94a3b8;
        }

        .search-icon {
            position: absolute;
            left: 13px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 16px;
            pointer-events: none;
        }

        .search-shortcut {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 11px;
            color: var(--text-muted);
            background: #f1f5f9;
            border: 1px solid var(--border);
            border-radius: 4px;
            padding: 2px 6px;
            pointer-events: none;
        }

        .result-count {
            font-size: 13px;
            color: var(--text-secondary);
            white-space: nowrap;
            padding: 8px 0;
        }

        /* ===== 分类按钮 ===== */
        .switch-buttons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px;
            margin-bottom: 20px;
        }

        .switch-button {
            padding: 8px 16px;
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.88);
            cursor: pointer;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            transition: all 0.2s;
            white-space: nowrap;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
        }

        .switch-button:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-soft);
            transform: translateY(-1px);
        }

        .switch-button.active {
            background: linear-gradient(135deg, var(--primary), #3b82f6);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
        }

        .switch-button .count {
            font-size: 11px;
            opacity: 0.7;
            margin-left: 4px;
        }

        /* ===== 链接网格 ===== */
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 8px;
        }

        .link-item {
            text-decoration: none;
            color: var(--text);
            padding: 10px 14px;
            border-radius: 8px;
            transition: all 0.2s;
            background: rgba(255, 255, 255, 0.86);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(226, 232, 240, 0.9);
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
        }

        .link-logo {
            width: 30px;
            height: 30px;
            color: #fff;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 13px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #2563eb, #60a5fa);
            transition: all 0.2s;
        }

        .link-text {
            flex: 1;
            text-align: left;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
            font-weight: 500;
            color: var(--text);
        }

        .link-item:hover {
            background: linear-gradient(135deg, var(--primary), #3b82f6);
            color: #fff;
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .link-item:hover .link-text {
            color: #fff;
        }

        .link-item:hover .link-logo {
            background: #fff;
            color: var(--primary);
        }

        /* ===== 数据展示区 ===== */
        .data {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--text);
            max-width: 100%;
            overflow: hidden;
        }

        /* ===== 空状态 ===== */
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 48px 20px;
            color: var(--text-muted);
        }

        .empty-state .icon {
            font-size: 40px;
            margin-bottom: 12px;
        }

        /* ===== 回到顶部 ===== */
        .back-to-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 42px;
            height: 42px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            box-shadow: var(--shadow-md);
            transition: opacity 0.2s, transform 0.2s;
            opacity: 0;
            pointer-events: none;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .back-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .back-to-top:hover {
            transform: translateY(-2px);
        }

        /* ===== 页脚 ===== */
        .copyright {
            width: 100%;
            min-height: 48px;
            margin-top: auto;
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 12px 16px;
            line-height: 1.5;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-top: 1px solid var(--border);
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            color: var(--text-muted);
            font-size: 13px;
            position: relative;
            z-index: 1;
        }

        .copyright p {
            margin: 0;
        }

        /* ===== 语言切换 ===== */
        .lang-switch {
            position: fixed;
            top: 16px;
            right: 20px;
            z-index: 100;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.88);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            color: var(--primary);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            transition: all 0.25s;
            letter-spacing: 0.02em;
            user-select: none;
        }

        .lang-switch:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
            transform: translateY(-2px) scale(1.05);
        }

        .lang-switch:active {
            transform: translateY(0) scale(0.97);
        }

        /* ===== 响应式 ===== */
        /* 平板 (641px - 1024px) */
        @media (max-width: 1024px) {
            .lang-switch {
                display: none;
            }

            .container {
                padding: 20px 16px;
            }

            .software-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .software-item {
                padding: 14px 16px;
                gap: 14px;
            }

            .software-item-main img {
                width: 130px;
                height: 52px;
            }

            .links-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 6px;
            }

            .link-item {
                padding: 8px 12px;
            }
        }

        /* 手机 (< 641px) */
        @media (max-width: 640px) {
            .container {
                padding: 16px 12px;
            }

            .software-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .software-item {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 16px;
                gap: 12px;
            }

            .software-item-main a {
                width: auto;
                padding: 8px 20px;
            }

            .software-item-main img {
                width: 140px;
                height: 56px;
            }

            .software-item-info-group {
                align-items: center;
            }

            .software-item-info {
                font-size: 14px;
            }

            .software-item-link a {
                padding: 6px 18px;
                font-size: 13px;
            }

            .links-grid {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            .toolbar {
                flex-direction: column;
                gap: 8px;
            }

            .search-box {
                min-width: 100%;
            }

            .switch-buttons {
                gap: 4px;
                margin-bottom: 16px;
            }

            .switch-button {
                padding: 6px 10px;
                font-size: 12px;
                border-radius: 6px;
            }

            .lang-switch {
                top: 8px;
                right: 8px;
                width: 36px;
                height: 36px;
                font-size: 11px;
            }

            .back-to-top {
                bottom: 16px;
                right: 16px;
                width: 36px;
                height: 36px;
                font-size: 16px;
            }

            .copyright {
                font-size: 11px;
                padding: 10px 12px;
                min-height: 40px;
            }
        }

        /* 小屏手机 (< 480px) */
        @media (max-width: 480px) {
            .container {
                padding: 12px 8px;
            }

            .software-item {
                padding: 12px;
                gap: 10px;
            }

            .software-item-main a {
                padding: 6px 14px;
            }

            .software-item-main img {
                width: 110px;
                height: 44px;
            }

            .software-item-info {
                font-size: 13px;
            }

            .software-item-link a {
                padding: 5px 14px;
                font-size: 12px;
            }

            .link-item {
                padding: 8px 10px;
                gap: 8px;
            }

            .link-logo {
                width: 26px;
                height: 26px;
                font-size: 11px;
            }

            .link-text {
                font-size: 13px;
            }

            .switch-button {
                padding: 5px 8px;
                font-size: 11px;
            }

            .search-box input {
                padding: 8px 12px 8px 36px;
                font-size: 13px;
            }

            .search-icon {
                left: 10px;
                font-size: 14px;
            }

            .search-shortcut {
                display: none;
            }

            .lang-switch {
                top: 6px;
                right: 6px;
                width: 32px;
                height: 32px;
                font-size: 10px;
            }

            .back-to-top {
                bottom: 12px;
                right: 12px;
                width: 32px;
                height: 32px;
                font-size: 14px;
            }

            .copyright {
                font-size: 10px;
                padding: 8px 10px;
            }
        }

