 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4285f4;
            --primary-dark: #1967d2;
            --secondary: #34a853;
            --warning: #fbbc04;
            --danger: #ea4335;
            --bg-primary: #1a1a2e;
            --bg-secondary: #16213e;
            --bg-tertiary: #0f3460;
            --text-primary: #e4e4e7;
            --text-secondary: #a1a1aa;
            --border: #27272a;
            --code-bg: #18181b;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
        }

        .header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.3);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header h1 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .header p {
            opacity: 0.9;
            font-size: 1.1rem;
        }

        .search-container {
            margin-top: 1.5rem;
            position: relative;
        }

        .search-input {
            width: 100%;
            max-width: 600px;
            padding: 0.875rem 1.25rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            background: rgba(255,255,255,0.15);
            color: white;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
        }

        .search-input::placeholder {
            color: rgba(255,255,255,0.6);
        }

        .search-input:focus {
            outline: none;
            background: rgba(255,255,255,0.25);
            box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
        }

        .container {
            display: flex;
            min-height: calc(100vh - 200px);
        }

        .sidebar {
            width: 300px;
            background: var(--bg-secondary);
            padding: 2rem 1rem;
            position: sticky;
            top: 200px;
            height: calc(100vh - 200px);
            overflow-y: auto;
            border-right: 2px solid var(--border);
        }

        .sidebar::-webkit-scrollbar {
            width: 8px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 4px;
        }

        .nav-section {
            margin-bottom: 2rem;
        }

        .nav-title {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--text-secondary);
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .nav-item {
            padding: 0.75rem 1rem;
            margin: 0.25rem 0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            color: var(--text-primary);
            text-decoration: none;
            display: block;
        }

        .nav-item:hover {
            background: var(--bg-tertiary);
            transform: translateX(5px);
        }

        .nav-item.active {
            background: var(--primary);
            color: white;
        }

        .main-content {
            flex: 1;
            padding: 3rem;
            max-width: 1200px;
        }

        .content-section {
            display: none;
            animation: fadeIn 0.3s;
        }

        .content-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        h2 {
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-size: 2rem;
            border-bottom: 3px solid var(--primary);
            padding-bottom: 0.5rem;
        }

        h3 {
            color: var(--secondary);
            margin: 2rem 0 1rem;
            font-size: 1.5rem;
        }

        h4 {
            color: var(--warning);
            margin: 1.5rem 0 1rem;
            font-size: 1.2rem;
        }

        .card {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-right: 0.5rem;
        }

        .badge-get { background: var(--secondary); color: white; }
        .badge-post { background: var(--primary); color: white; }
        .badge-patch { background: var(--warning); color: white; }
        .badge-delete { background: var(--danger); color: white; }

        .code-block {
            background: var(--code-bg);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1rem 0;
            overflow-x: auto;
            position: relative;
        }

        .code-tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            border-bottom: 2px solid var(--border);
        }

        .code-tab {
            padding: 0.5rem 1rem;
            cursor: pointer;
            border: none;
            background: none;
            color: var(--text-secondary);
            font-weight: 500;
            transition: all 0.2s;
            border-bottom: 2px solid transparent;
            margin-bottom: -2px;
        }

        .code-tab:hover {
            color: var(--text-primary);
        }

        .code-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .code-content {
            display: none;
        }

        .code-content.active {
            display: block;
        }

        .copy-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            padding: 0.5rem 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .copy-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.05);
        }

        .copy-btn:active {
            transform: scale(0.95);
        }

        .param-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
        }

        .param-table th,
        .param-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }

        .param-table th {
            background: var(--bg-tertiary);
            color: var(--primary);
            font-weight: 600;
        }

        .param-table tr:hover {
            background: var(--bg-tertiary);
        }

        .alert {
            padding: 1rem;
            border-radius: 6px;
            margin: 1rem 0;
            border-left: 4px solid;
        }

        .alert-info {
            background: rgba(66, 133, 244, 0.1);
            border-color: var(--primary);
            color: var(--text-primary);
        }

        .alert-warning {
            background: rgba(251, 188, 4, 0.1);
            border-color: var(--warning);
            color: var(--text-primary);
        }

        .alert-success {
            background: rgba(52, 168, 83, 0.1);
            border-color: var(--secondary);
            color: var(--text-primary);
        }

        .endpoint-card {
            margin: 1.5rem 0;
            transition: transform 0.2s;
        }

        .endpoint-card:hover {
            transform: translateX(5px);
        }

        .scope-badge {
            background: var(--bg-tertiary);
            color: var(--primary);
            padding: 0.35rem 0.75rem;
            border-radius: 4px;
            font-size: 0.813rem;
            display: inline-block;
            margin: 0.25rem;
            font-family: 'Courier New', monospace;
        }

        .quick-start {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .quick-card {
            background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid var(--border);
            cursor: pointer;
            transition: all 0.3s;
        }

        .quick-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(66, 133, 244, 0.3);
        }

        .quick-card h4 {
            color: var(--primary);
            margin: 0 0 0.5rem 0;
        }

        .quick-card p {
            color: var(--text-secondary);
            font-size: 0.938rem;
        }

        .mobile-menu-btn {
            display: none;
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            z-index: 1000;
        }

        @media (max-width: 768px) {
            .sidebar {
                position: fixed;
                left: -300px;
                top: 0;
                height: 100vh;
                z-index: 999;
                transition: left 0.3s;
            }

            .sidebar.open {
                left: 0;
            }

            .main-content {
                padding: 1.5rem;
            }

            .mobile-menu-btn {
                display: block;
            }

            .header h1 {
                font-size: 1.5rem;
            }

            .quick-start {
                grid-template-columns: 1fr;
            }
        }