
    /* 全局样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        color: #ffffff;
        background: linear-gradient(135deg, #0c1e4d, #2a3d7e, #6f7df5);
        padding: 20px;
        line-height: 1.6;
    }

    h1, h2, h3 {
        font-family: 'Helvetica', sans-serif;
        color: #ffffff;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5em;
        text-align: center;
    }

    h2 {
        font-size: 2em;
        border-bottom: 2px solid #6f7df5;
        padding-bottom: 10px;
    }

    h3 {
        font-size: 1.75em;
        margin-top: 30px;
    }

    p {
        font-size: 1em;
        margin-bottom: 15px;
        text-align: justify;
    }

    ul {
        list-style-type: disc;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    li {
        margin-bottom: 10px;
    }

    a {
        color: #6f7df5;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #ffffff;
    }

    pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Courier New', Courier, monospace;
        color: #ffcc00;
    }

    /* 容器与布局 */
    .container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .module {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .module:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    /* 图片样式 */
    .decorative-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* 按钮样式 */
    .toggle-mode {
        background: transparent;
        border: 2px solid #ffffff;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease, color 0.3s ease;
        font-size: 1em;
    }

    .toggle-mode:hover {
        background: #ffffff;
        color: #0c1e4d;
    }

    /* 代码块样式 */
    .code-block {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    /* 交互动画 */
    .line {
        width: 100px;
        height: 2px;
        background-color: #ffffff;
        transition: transform 0.3s ease-in-out;
    }

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

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

        h1 {
            font-size: 2.2em;
        }

        h2 {
            font-size: 1.8em;
        }

        h3 {
            font-size: 1.5em;
        }
    }

    @media (max-width: 1200px) {
        .container {
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        }
    }

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

    @media (max-width: 768px) {
        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.6em;
        }

        h3 {
            font-size: 1.3em;
        }

        .toggle-mode {
            padding: 8px 16px;
            font-size: 0.9em;
        }
    }

    @media (max-width: 480px) {
        body {
            padding: 10px;
        }

        h1 {
            font-size: 1.8em;
        }

        h2 {
            font-size: 1.4em;
        }

        h3 {
            font-size: 1.2em;
        }

        .toggle-mode {
            padding: 6px 12px;
            font-size: 0.8em;
        }
    }

    @media (max-width: 320px) {
        h1 {
            font-size: 1.5em;
        }

        h2 {
            font-size: 1.2em;
        }

        h3 {
            font-size: 1em;
        }

        .toggle-mode {
            padding: 4px 8px;
            font-size: 0.7em;
        }
    }

