.toc-container {
    overflow-y: auto;
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(135deg,
    #0c0c2d 0%,
    #1a1a3a 20%,
    #2d1b44 40%,
    #4e1b6e 60%,
    #2d1b44 80%,
    #1a1a3a 100%
    );
    background-size: 400% 400%;
    animation: cyberpunk-glow 8s ease infinite;
    height: 400px;
}

@keyframes cyberpunk-glow {
    0% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 100%;
        filter: hue-rotate(20deg);
    }
    100% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg);
    }
}

.toc-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    user-select: none;

}


.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin: 15px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toc-link {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.toc-link:hover {
    color: #1890ff;
}

.toc-link.active {
    color: #1890ff;
}

@media (max-width: 1200px) {
    .right-content {
        display: none !important;
    }

}

@media (max-width: 768px) {

    .download-list {
        display: block !important;
    }

    .download-list a {
        display: block;
        margin-bottom: 10px;
    }
}

.download-list {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.download-list div {
    padding: 10px;
    background: #000000;
    font-size: 14px;
    margin-right: 5px;
}

.download-list a:hover div {
    background: var(--bs-purple);
    transition: .5s;
}

.download-list a:hover {
    color: #ffffff;
    transition: .5s;
}

.page-wrapper {
    overflow: visible !important;
}

.right-content {
    position: sticky;
    top: 100px;
    height: 700px;
}

/* 整个滚动条 */
::-webkit-scrollbar {
    width: 10px; /* 垂直滚动条宽度 */
    height: 5px; /* 水平滚动条高度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: #232323;
    border-radius: 5px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: #000000;
    border-radius: 5px;
}

/* 滚动条滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
    background: #2d1b44;
}