
    /* 引入字体 */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto&display=swap');

    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        background-color: #121212;
        color: #FFFFFF;
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
    }

    /* 渐变背景 */
    .primary-gradient {
        background: linear-gradient(135deg, #673AB7, #9C27B0);
    }

    .secondary-gradient {
        background: linear-gradient(135deg, #2196F3, #03A9F4);
    }

    /* 强调色彩 */
    .success {
        color: #4CAF50;
    }

    .error {
        color: #F44336;
    }

    .highlight {
        color: #FF9800;
    }

    /* 布局 */
    .container {
        display: flex;
        min-height: 100vh;
    }

    .sidebar {
        position: fixed;
        width: 220px;
        height: 100%;
        background-color: #1E1E1E;
        padding-top: 20px;
        box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    }

    .sidebar a {
        display: block;
        padding: 15px 20px;
        color: #FFFFFF;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        transition: background 0.3s;
    }

    .sidebar a:hover {
        background: rgba(255, 152, 0, 0.2);
    }

    .sidebar a.active {
        background: #FF9800;
    }

    .content {
        margin-left: 220px;
        padding: 20px;
        flex: 1;
        background: #121212;
    }

    .toolbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #1E1E1E;
        position: fixed;
        width: calc(100% - 220px);
        top: 0;
        left: 220px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .toolbar .search-box {
        width: 300px;
        padding: 8px 12px;
        border: none;
        border-radius: 4px;
        background-color: #2C2C2C;
        color: #FFFFFF;
    }

    .toolbar .notifications {
        position: relative;
        cursor: pointer;
    }

    .toolbar .notifications::after {
        content: '';
        position: absolute;
        top: 5px;
        right: 5px;
        width: 8px;
        height: 8px;
        background-color: #FF9800;
        border-radius: 50%;
    }

    /* 按钮样式 */
    .button {
        position: relative;
        padding: 10px 20px;
        background: #673AB7;
        border: none;
        border-radius: 4px;
        color: #FFFFFF;
        cursor: pointer;
        overflow: hidden;
        transition: background 0.3s;
        margin: 10px 0;
        font-family: 'Montserrat', sans-serif;
    }

    .button:hover {
        background: #9C27B0;
        box-shadow: 0 0 10px #FF9800;
    }

    .button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .button:hover::before {
        width: 200px;
        height: 200px;
        opacity: 1;
    }

    /* 文章样式 */
    .article {
        background-color: #1E1E1E;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .article h2, .article h3, .article h4 {
        font-family: 'Montserrat', sans-serif;
        color: #FFEB3B;
    }

    .article pre {
        background-color: #2C2C2C;
        padding: 15px;
        border-radius: 4px;
        overflow-x: auto;
    }

    .article code {
        color: #81C784;
        font-family: 'Roboto', monospace;
    }

    /* 表格样式 */
    .article table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    .article table, .article th, .article td {
        border: 1px solid #424242;
    }

    .article th, .article td {
        padding: 10px;
        text-align: left;
    }

    .article th {
        background-color: #333333;
    }

    /* 示例展示 */
    .example-display {
        margin-top: 40px;
    }

    .example-display img {
        width: 100%;
        max-width: 320px;
        height: auto;
        margin: 10px;
        border-radius: 4px;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .toolbar {
            width: calc(100% - 220px);
        }
    }

    @media (max-width: 1200px) {
        .toolbar .search-box {
            width: 250px;
        }
    }

    @media (max-width: 1024px) {
        .toolbar .search-box {
            width: 200px;
        }
    }

    @media (max-width: 768px) {
        .sidebar {
            position: static;
            width: 100%;
            height: auto;
            box-shadow: none;
        }
        .toolbar {
            width: 100%;
            top: auto;
            left: 0;
        }
        .content {
            margin-left: 0;
            padding-top: 70px;
        }
    }

    @media (max-width: 480px) {
        .toolbar .search-box {
            width: 150px;
        }
    }

    @media (max-width: 320px) {
        .toolbar .search-box {
            width: 100px;
        }
    }

    /* 装饰性动画 */
    .aurora {
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
        animation: aurora-move 15s linear infinite;
    }

    @keyframes aurora-move {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    /* 提示文字 */
    .reference-note {
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
        color: #757575;
    }

