
    /* 基本样式 */
    @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

    body {
        margin: 0;
        font-family: 'Open Sans', sans-serif;
        background: linear-gradient(135deg, #0A1F44, #673AB7);
        color: #C8D1E0;
    }

    a {
        color: #39FF14;
        text-decoration: none;
        rel: nofollow;
    }

    a:hover {
        color: #FF6B35;
    }

    /* 布局 */
    .container {
        display: grid;
        grid-template-columns: 250px 1fr;
        min-height: 100vh;
    }

    .sidebar {
        background-color: #0A1F44;
        padding: 20px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 250px;
        overflow-y: auto;
    }

    .sidebar h1 {
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        color: #FF6B35;
        margin-bottom: 20px;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
    }

    .sidebar li {
        margin-bottom: 15px;
    }

    .sidebar a {
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .content {
        margin-left: 250px;
        padding: 40px;
        background: linear-gradient(135deg, #0A1F44, #673AB7);
    }

    /* 文章样式 */
    article {
        max-width: 800px;
        margin: 0 auto;
    }

    article h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 32px;
        color: #FF6B35;
        margin-bottom: 20px;
    }

    article h3 {
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        color: #39FF14;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    article p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    article pre {
        background-color: #1E2A38;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    article code {
        color: #39FF14;
        font-family: 'Source Code Pro', monospace;
    }

    /* 图片样式 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }

    .gallery img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 5px;
    }

    /* 提示样式 */
    .reference {
        background-color: rgba(255, 107, 53, 0.1);
        border-left: 5px solid #FF6B35;
        padding: 15px;
        margin-top: 30px;
        font-style: italic;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .content {
            padding: 30px;
        }
    }

    @media (max-width: 1200px) {
        .sidebar {
            width: 200px;
        }

        .content {
            margin-left: 200px;
            padding: 25px;
        }

        article h2 {
            font-size: 28px;
        }

        article h3 {
            font-size: 20px;
        }
    }

    @media (max-width: 1024px) {
        .sidebar {
            width: 180px;
        }

        .content {
            margin-left: 180px;
            padding: 20px;
        }

        .gallery img {
            max-width: 280px;
        }
    }

    @media (max-width: 768px) {
        .container {
            grid-template-columns: 1fr;
        }

        .sidebar {
            position: relative;
            width: 100%;
            height: auto;
        }

        .content {
            margin-left: 0;
            padding: 20px;
        }

        .gallery {
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        article h2 {
            font-size: 24px;
        }

        article h3 {
            font-size: 18px;
        }

        .gallery img {
            max-width: 100%;
        }
    }

    @media (max-width: 320px) {
        article h2 {
            font-size: 20px;
        }

        article h3 {
            font-size: 16px;
        }

        .sidebar h1 {
            font-size: 20px;
        }

        .sidebar a {
            font-size: 14px;
        }
    }

    /* 动画效果 */
    .line {
        width: 0;
        height: 2px;
        background-color: #39FF14;
        position: relative;
        animation: draw-line 2s ease-in-out forwards;
    }

    @keyframes draw-line {
        from {
            width: 0;
        }
        to {
            width: 100%;
        }
    }

    .fade-in {
        opacity: 0;
        animation: fadeIn 1s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* 图标样式 */
    .icon {
        width: 50px;
        height: 50px;
        background-color: #673AB7;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        transition: transform 0.3s ease-in-out;
    }

    .icon:hover {
        transform: scale(1.2);
    }


