:root {
            --primary-color: #2A5CAA;
            --secondary-color: #00E5FF;
            --accent-color: #6A00FF;
            --bg-color: #010409;
            --card-bg: #0d1117;
            --card-border: #30363d;
            --text-color: #ffffff;
            --text-muted: #8b949e;
            --elastic-bezier: cubic-bezier(0.34, 1.56, 0.64, 1);
            --smooth-bezier: cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Arial', sans-serif;
        }

        body {
            background: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            overflow-x: hidden;
            padding-top: 60px;
        }

        /* Top Bar */
        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 40px;
            /* 液态玻璃导航 - 更透亮 */
            background: rgba(1, 4, 9, 0.6);
            backdrop-filter: blur(10px) saturate(150%);
            -webkit-backdrop-filter: blur(10px) saturate(150%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 100;
            transition: all 0.3s ease;
        }

        .breadcrumb {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        .breadcrumb span {
            color: var(--secondary-color);
        }

        .search-box {
            position: absolute;
            left: calc(100% - 380px);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-box input {
            width: 280px;
            padding: 10px 20px;
            border-radius: 20px;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
            color: var(--text-color);
            font-size: 0.9rem;
            outline: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-box input:focus {
            width: 400px;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
        }

        .search-box.searching {
            left: 50%;
            transform: translateX(-50%);
        }

        .search-box.searching input {
            width: 500px;
        }

        .search-box input::placeholder {
            color: var(--text-muted);
        }

        /* Settings Button */
        .settings-btn {
            position: absolute;
            right: 20px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--text-muted);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 8px;
            transition: all 0.3s ease;
        }

        .settings-btn:hover {
            color: var(--secondary-color);
            background: rgba(0, 229, 255, 0.1);
            border-color: rgba(0, 229, 255, 0.3);
        }

        .settings-btn.active {
            color: var(--secondary-color);
        }

        /* Settings Dropdown */
        .settings-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            /* 液态玻璃效果 */
            background: rgba(13, 17, 23, 0.85);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 16px;
            padding: 12px 0;
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1001;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }

        .settings-dropdown.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .settings-dropdown h4 {
            padding: 8px 16px;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        .settings-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .settings-option:hover {
            background: rgba(0, 229, 255, 0.1);
        }

        .settings-option input {
            display: none;
        }

        .settings-option .radio {
            width: 18px;
            height: 18px;
            border: 2px solid var(--card-border);
            border-radius: 50%;
            position: relative;
            transition: all 0.2s ease;
        }

        .settings-option input:checked + .radio {
            border-color: var(--secondary-color);
        }

        .settings-option input:checked + .radio::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background: var(--secondary-color);
            border-radius: 50%;
        }

        .settings-option span {
            font-size: 0.95rem;
            color: var(--text-color);
        }

        /* Low Quality Mode */
        body.low-quality * {
            animation: none !important;
            transition: none !important;
        }

        body.low-quality .card {
            transform: none !important;
        }

        body.low-quality .card:hover {
            border-color: var(--secondary-color);
            box-shadow: none;
        }

        body.low-quality .morph-card {
            transition: none !important;
        }

        body.low-quality .backdrop {
            transition: none !important;
        }

        /* Hero Section */
        .hero {
            padding-top: 100px;
            padding-bottom: 80px;
            text-align: center;
            background: linear-gradient(180deg, rgba(42, 92, 170, 0.15) 0%, rgba(1, 4, 9, 1) 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .hero-icon {
            font-size: 5rem;
            margin-bottom: 25px;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 25px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.15rem;
            color: var(--text-muted);
            line-height: 1.9;
            padding: 0 20px;
        }

        /* Card Container */
        .card-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            padding: 40px;
            max-width: 80vw;
            margin: 0 auto;
        }

        /* Card */
        .card {
            /* 液态玻璃效果 - 更透亮 */
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(8px) saturate(150%);
            -webkit-backdrop-filter: blur(8px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            min-height: 90px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 8px;
            padding: 15px 20px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        /* 卡片光泽动效 */
        .card::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.6s ease;
        }

        .card:hover::before {
            left: 100%;
        }

        .card:hover {
            transform: translateY(-4px) scale(1.02);
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15), 0 0 15px rgba(255, 255, 255, 0.05);
        }

        .card-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
        }

        .card-name {
            flex: 1;
        }

        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            width: 100%;
        }

        .card-tag {
            font-size: 0.7rem;
            padding: 2px 8px;
            background: rgba(42, 92, 170, 0.2);
            border: 1px solid rgba(42, 92, 170, 0.4);
            color: var(--secondary-color);
            border-radius: 10px;
        }

        .card.hiding {
            animation: slideDown 900ms var(--smooth-bezier) forwards;
        }

        .card.returning {
            animation: slideDownFromTop 700ms var(--elastic-bezier) forwards;
        }

        @keyframes slideDown {
            to {
                transform: translateY(120vh);
                opacity: 0;
            }
        }

        @keyframes slideDownFromTop {
            0% {
                transform: translateY(-100vh);
                opacity: 0;
            }
            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Floating Morphing Card */
        .morph-card {
            position: fixed;
            z-index: 300;
            /* 液态玻璃效果 - 更透亮 */
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px) saturate(150%);
            -webkit-backdrop-filter: blur(10px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            cursor: default;
            pointer-events: auto;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
        }

        /* 浮动卡片光泽动效 */
        .morph-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 150%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.08),
                transparent
            );
            animation: morphShine 4s ease-in-out infinite;
            pointer-events: none;
        }

        @keyframes morphShine {
            0%, 100% { left: -100%; }
            50% { left: 100%; }
        }

        /* Compact state (initial) */
        .morph-card.compact {
            width: 240px;
            min-height: 90px;
            padding: 15px 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .morph-card .morph-header {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
        }

        .morph-card .morph-icon {
            font-size: 1.8rem;
        }

        .morph-card .morph-name {
            flex: 1;
            font-size: 1rem;
            font-weight: 500;
        }

        .morph-card .morph-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            width: 100%;
        }

        .morph-card .morph-tag {
            font-size: 0.7rem;
            padding: 2px 8px;
            background: rgba(42, 92, 170, 0.2);
            border: 1px solid rgba(42, 92, 170, 0.4);
            color: var(--secondary-color);
            border-radius: 10px;
        }

        /* Expanded state */
        .morph-card.expanded {
            width: 450px;
            min-height: auto;
            padding: 40px;
            text-align: center;
            border-color: rgba(0, 229, 255, 0.4);
            box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
        }

        .morph-card.expanded .morph-header,
        .morph-card.expanded .morph-tags {
            display: none;
        }

        .morph-card.expanded .morph-content {
            display: block;
        }

        .morph-card .morph-content {
            display: none;
        }

        .morph-card.expanded .morph-content .morph-big-icon {
            font-size: 4.5rem;
            margin-bottom: 20px;
        }

        .morph-card.expanded .morph-content h2 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--text-color);
        }

        .morph-card.expanded .morph-content p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 25px;
        }

        .morph-card.expanded .morph-content .btn-explore {
            display: inline-block;
            padding: 12px 40px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .morph-card.expanded .morph-content .btn-explore:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(106, 0, 255, 0.3);
        }

        .morph-card .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border: none;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-muted);
            font-size: 1.3rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .morph-card.expanded .close-btn {
            display: flex;
        }

        .morph-card .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            color: var(--text-color);
        }

        /* Backdrop */
        .backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 250;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        /* No results */
        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            font-size: 1.2rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .top-bar {
                padding: 0 20px;
            }

            .search-box {
                left: calc(100% - 180px);
            }

            .search-box input {
                width: 140px;
            }

            .search-box input:focus {
                width: 200px;
            }

            .hero {
                padding-top: 80px;
                padding-bottom: 60px;
                min-height: auto;
            }

            .hero-icon {
                font-size: 3.5rem;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .card-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                padding: 20px;
                max-width: 95vw;
            }

            .card {
                min-height: 80px;
                padding: 12px 15px;
                font-size: 0.95rem;
            }

            .card-icon {
                font-size: 1.5rem;
            }

            .morph-card.expanded {
                width: 90vw;
                padding: 30px 20px;
            }

            .morph-card.expanded .morph-content h2 {
                font-size: 1.4rem;
            }

            .morph-card.expanded .morph-content p {
                font-size: 0.9rem;
            }
        }