.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}
.logo-img {
    height: 44px;
    width: auto;
    position: relative;
    z-index: 2;
    mix-blend-mode: screen;
}
.logo-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    margin-left: -8px;
    transform: skewX(-12deg);
}

.docs-container {
    display: flex;
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 24px;
    gap: 40px;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 10;
}

.docs-sidebar {
    flex: 0 0 260px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* 隐藏侧边栏滚动条 */
.docs-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.docs-nav-item {
    display: block;
    padding: 10px 16px;
    color: #888;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 4px;
    font-size: 15px;
    cursor: pointer;
}

.docs-nav-item:hover, .docs-nav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.docs-content {
    flex: 1;
    color: #ccc;
    line-height: 1.8;
    font-size: 16px;
    padding-bottom: 80px;
    animation: fadeUp 0.6s ease forwards;
}

.docs-content h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 24px;
    font-weight: 600;
}

.docs-content h2 {
    color: #fff;
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 24px;
}

.docs-content p {
    margin-bottom: 16px;
}

.docs-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.docs-content ul, .docs-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.docs-content li {
    margin-bottom: 8px;
}

.docs-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.docs-content pre {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 16px;
}

.docs-content pre code {
    background: transparent;
    padding: 0;
}

@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
        margin-top: 80px;
    }
    .docs-sidebar {
        flex: none;
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .docs-container { margin-top: 70px; }
    .docs-content h1 { font-size: 22px; }
    .docs-content h2 { font-size: 18px; }
}
