.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.docs-header {
    text-align: center;
    margin-bottom: 60px;
}

.docs-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.docs-header p {
    color: #94a3b8;
    font-size: 1.2rem;
}

.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-nav {
    background: rgba(30, 30, 46, 0.8);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.docs-nav h3 {
    color: #6366f1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.docs-nav ul {
    list-style: none;
}

.docs-nav li {
    margin-bottom: 8px;
}

.docs-nav a {
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.docs-nav a:hover,
.docs-nav a.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.2);
}

.docs-content {
    min-width: 0;
}

.command-section {
    margin-bottom: 60px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title i {
    font-size: 1.5rem;
    color: #6366f1;
}

.section-title h2 {
    font-size: 1.8rem;
    color: #fff;
}

.command-grid {
    display: grid;
    gap: 16px;
}

.command-card {
    background: rgba(30, 30, 46, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.command-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.command-name {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
}

.command-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-main {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.badge-slave {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.badge-both {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.command-description {
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.6;
}

.command-usage {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    overflow-x: auto;
}

.command-options {
    margin-top: 16px;
}

.command-options h4 {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.option-tag.required {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.search-box {
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
}

.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(30, 30, 46, 0.8);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #6366f1;
    margin-bottom: 8px;
}

.stat-card p {
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }
}