
    /* 样式重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 定义CSS变量 */
    :root {
        --main-color: #0A2540; /* 深蓝色 */
        --highlight-color: #4FC3F7; /* 浅蓝色 */
        --gradient-start: #673AB7; /* 深紫色 */
        --gradient-end: #26C6DA; /* 蓝绿色 */
        --background-color: #FFFFFF; /* 白色背景 */
        --text-color: #0A2540;
        --secondary-text-color: #4FC3F7;
        --font-title: 'Roboto', sans-serif;
        --font-body: 'Merriweather', serif;
    }

    body {
        font-family: var(--font-body);
        background: linear-gradient(270deg, var(--gradient-start), var(--gradient-end));
        background-size: 400% 400%;
        animation: aurora-move 15s linear infinite;
        color: var(--text-color);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 顶部提示 */
    .top-banner {
        background-color: var(--highlight-color);
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-family: var(--font-title);
        font-size: 18px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    }

    /* 主容器 */
    .container {
        display: flex;
        flex: 1;
        margin-top: 50px; /* 为顶部提示留出空间 */
    }

    /* 侧边导航栏 */
    .sidebar {
        width: 250px;
        background-color: var(--main-color);
        padding-top: 20px;
        position: fixed;
        top: 50px;
        bottom: 0;
        left: 0;
        overflow-y: auto;
        transition: all 0.3s ease;
    }

    .sidebar ul {
        list-style: none;
    }

    .sidebar ul li {
        margin-bottom: 10px;
    }

    .sidebar ul li a {
        display: block;
        padding: 15px 20px;
        color: #fff;
        text-decoration: none;
        font-family: var(--font-title);
        transition: background 0.3s;
    }

    .sidebar ul li a:hover,
    .sidebar ul li a.active {
        background-color: var(--highlight-color);
        border-left: 5px solid #fff;
    }

    /* 主要内容区域 */
    .main-content {
        margin-left: 250px;
        padding: 20px;
        flex: 1;
        background-color: #f5f5f5;
        overflow-y: auto;
        min-height: 100vh;
    }

    /* 模块卡片 */
    .card {
        background-color: #fff;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
        transition: transform 0.2s;
    }

    .card:hover {
        transform: translateY(-5px);
    }

    /* 文章展示 */
    .example-article {
        background: linear-gradient(135deg, #e0e0e0, #ffffff);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
        margin-top: 40px;
    }

    .example-article h2,
    .example-article h3,
    .example-article h4 {
        font-family: var(--font-title);
        color: var(--main-color);
        margin-bottom: 10px;
    }

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

    .example-article pre {
        background-color: #272822;
        color: #f8f8f2;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 15px;
    }

    .example-article code {
        background-color: #272822;
        color: #f8f8f2;
        padding: 2px 4px;
        border-radius: 4px;
    }

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

    .example-article table, .example-article th, .example-article td {
        border: 1px solid #dddddd;
    }

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

    .example-article th {
        background-color: var(--highlight-color);
        color: #fff;
    }

    /* 图像样式 */
    .decorative-images {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .decorative-images img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 5px;
    }

    /* Links样式 */
    a {
        color: var(--highlight-color);
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    /* 代码块响应式 */
    pre {
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    /* 媒体查询 */
    @media (max-width: 1440px) {
        .sidebar {
            width: 220px;
        }

        .main-content {
            margin-left: 220px;
        }
    }

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

        .main-content {
            margin-left: 200px;
        }
    }

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

        .main-content {
            margin-left: 180px;
        }
    }

    @media (max-width: 768px) {
        .sidebar {
            position: fixed;
            width: 100%;
            height: auto;
            top: 50px;
            left: 0;
            transform: translateY(-100%);
            transition: transform 0.3s ease-in-out;
            background-color: var(--main-color);
            z-index: 1000;
        }

        .sidebar.open {
            transform: translateY(0);
        }

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

        .menu-toggle {
            display: block;
            position: fixed;
            top: 10px;
            left: 10px;
            background-color: var(--highlight-color);
            color: #fff;
            padding: 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            z-index: 1100;
        }
    }

    @media (max-width: 480px) {
        .decorative-images img {
            width: 80px;
            height: 80px;
        }

        .example-article h2 {
            font-size: 24px;
        }

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

        .example-article h4 {
            font-size: 18px;
        }

        .top-banner {
            font-size: 16px;
        }
    }

    @media (max-width: 320px) {
        .decorative-images img {
            width: 60px;
            height: 60px;
        }

        .example-article h2 {
            font-size: 20px;
        }

        .example-article h3 {
            font-size: 18px;
        }

        .example-article h4 {
            font-size: 16px;
        }

        .top-banner {
            font-size: 14px;
        }
    }

    /* 动画效果 */
    @keyframes aurora-move {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    /* 代码高亮展示 */
    pre code {
        display: block;
        padding: 10px;
        background-color: #2d2d2d;
        color: #f8f8f2;
        border-radius: 5px;
        overflow-x: auto;
    }

