        :root {
            --primary-color: #6366f1;
            --secondary-color: #818cf8;
            --accent-color: #8b5cf6;
            --dark-color: #1e293b;
            --light-color: #f8fafc;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --card-bg: rgba(255, 255, 255, 0.8);
            --glass-bg: rgba(255, 255, 255, 0.2);
            --glass-border: rgba(255, 255, 255, 0.3);
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            --radius: 16px;
            --transition: all 0.3s ease;
        }

        .dark-mode {
            --card-bg: rgba(30, 41, 59, 0.8);
            --glass-bg: rgba(30, 41, 59, 0.3);
            --glass-border: rgba(30, 41, 59, 0.5);
            --light-color: #1e293b;
            --dark-color: #f8fafc;
        }

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

        body {
            background: url('/assets/img/bg.png') no-repeat center center fixed;
            background-size: cover;
            color: #334155;
            min-height: 100vh;
            padding: 20px;
            line-height: 1.6;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            z-index: -1;
        }

        .dark-mode body::before {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            padding: 20px;
            border-radius: var(--radius);
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            cursor: pointer;
        }

        .logo i {
            font-size: 28px;
            color: var(--accent-color);
        }

        .logo h1 {
            font-weight: 800;
            font-size: 28px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 50px;
            border: none;
            background: var(--card-bg);
            color: var(--dark-color);
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
        }

        .view-toggle {
            display: flex;
            background: var(--card-bg);
            border-radius: 50px;
            padding: 5px;
            box-shadow: var(--shadow);
        }

        .view-toggle button {
            padding: 8px 15px;
            border-radius: 50px;
            border: none;
            background: transparent;
            cursor: pointer;
            transition: var(--transition);
            font-size: 16px;
        }

        .view-toggle button.active {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
        }

        .folders-sidebar {
            width: 280px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: var(--radius);
            padding: 20px;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow);
            margin-right: 30px;
            height: fit-content;
        }

        .folders-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .folders-list {
            list-style: none;
        }

        .folder-item {
            padding: 12px 15px;
            border-radius: var(--radius);
            margin-bottom: 10px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .folder-item:hover {
            background: var(--glass-bg);
        }

        .folder-item.active {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
        }

        .folder-item i {
            opacity: 0;
            transition: var(--transition);
        }

        .folder-item:hover i {
            opacity: 1;
        }

        .main-content {
            display: flex;
        }

        .bookmarks-container {
            flex: 1;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: var(--radius);
            padding: 25px;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow);
        }

        .bookmarks-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .search-box {
            position: relative;
        }

        .search-box i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
        }

        .search-box input {
            padding-left: 40px;
        }

        .bookmarks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 20px;
        }

        .bookmark-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 15px;
            text-align: center;
            transition: var(--transition);
            box-shadow: var(--shadow);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .bookmark-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
        }

        .icon-box {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-weight: bold;
            font-size: 20px;
            color: white;
            box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
        }

        .bookmark-card h3 {
            font-size: 14px;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .bookmark-card span {
            font-size: 12px;
            color: #64748b;
            word-break: break-all;
            display: block;
        }

        .bookmarks-list {
            display: none;
            flex-direction: column;
            gap: 10px;
        }

        .bookmark-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background: var(--card-bg);
            border-radius: var(--radius);
            transition: var(--transition);
            box-shadow: var(--shadow);
            text-decoration: none;
            color: inherit;
        }

        .bookmark-item:hover {
            transform: translateX(5px);
        }

        .bookmark-item .icon-box {
            width: 40px;
            height: 40px;
            margin: 0 15px 0 0;
            font-size: 16px;
        }

        .bookmark-item-details {
            flex: 1;
        }

        .bookmark-item h3 {
            font-size: 16px;
            margin-bottom: 5px;
        }

        .bookmark-item span {
            font-size: 14px;
            color: #64748b;
        }

        .bookmark-actions {
            display: flex;
            gap: 10px;
        }

        .action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light-color);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            color: var(--dark-color);
        }

        .action-btn:hover {
            background: var(--primary-color);
            color: white;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }

        .modal-content {
            width: 100%;
            max-width: 500px;
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            border-radius: 12px;
            border: 1px solid #cbd5e1;
            background: var(--light-color);
            font-size: 16px;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        .color-picker {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }

        .color-option {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .color-option:hover {
            transform: scale(1.1);
        }

        .color-option.active {
            transform: scale(1.2);
            box-shadow: 0 0 0 3px white, 0 0 0 5px var(--primary-color);
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 25px;
        }

        /* 移动端适配 */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }

            .folders-sidebar {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }

            .bookmarks-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
        }

        @media (max-width: 576px) {
            header {
                flex-direction: column;
                gap: 20px;
            }

            .controls {
                width: 100%;
                justify-content: center;
            }

            .bookmarks-grid {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
                gap: 15px;
            }

            .icon-box {
                width: 50px;
                height: 50px;
                font-size: 18px;
            }

            .bookmark-card h3 {
                font-size: 12px;
            }

            .bookmark-card span {
                font-size: 10px;
            }

            .modal-content {
                padding: 20px;
                margin: 20px;
            }
        }

        /* 动画效果 */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }