
    /* 基础重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 全局字体与背景 */
    body {
        font-family: 'Montserrat', sans-serif;
        background: linear-gradient(135deg, #0A2463, #652C90, #FF69B4);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
        animation: backgroundMove 15s linear infinite;
    }

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

    /* 容器布局 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    /* 标题样式 */
    h1, h2, h3, h4 {
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        color: #FFD700;
        text-align: center;
        margin-bottom: 20px;
        background: -webkit-linear-gradient(45deg, #DAA520, #C0C0C0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    /* 段落与文本 */
    p {
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    /* 代码块样式 */
    pre {
        background: #1E90FF;
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    code {
        font-family: 'Courier New', Courier, monospace;
        color: #FFFFFF;
        background: rgba(0, 0, 0, 0.3);
        padding: 2px 4px;
        border-radius: 4px;
    }

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

    th, td {
        border: 1px solid #FFD700;
        padding: 10px;
        text-align: center;
    }

    th {
        background: #8A2BE2;
        color: #FFFFFF;
    }

    /* 按钮样式 */
    .button {
        display: inline-block;
        padding: 10px 20px;
        margin: 10px 0;
        background: linear-gradient(to bottom, #228B22, #32CD32);
        color: #FFFFFF;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        font-size: 1rem;
    }

    .button:hover {
        background: linear-gradient(to bottom, #1E90FF, #4169E1);
        transform: scale(1.1);
    }

    /* 卡片布局 */
    .card {
        background: #FFFFFF;
        color: #000000;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(138, 43, 226, 0.3);
        padding: 20px;
        margin-bottom: 20px;
        transition: transform 0.3s;
    }

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

    /* 图片样式 */
    img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 10px;
        margin: 10px;
    }

    /* 导航菜单 */
    nav {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    nav a {
        color: #FFFFFF;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

    nav a:hover {
        color: #FFD700;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        h1 {
            font-size: 2.5rem;
        }

        h2 {
            font-size: 2rem;
        }

        h3 {
            font-size: 1.75rem;
        }

        h4 {
            font-size: 1.25rem;
        }
    }

    @media (max-width: 1200px) {
        .container {
            padding: 15px;
        }

        nav a {
            font-size: 1rem;
            margin: 0 10px;
        }
    }

    @media (max-width: 1024px) {
        h1 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }

        h1 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 480px) {
        nav {
            flex-direction: column;
        }

        nav a {
            margin: 10px 0;
        }

        h1 {
            font-size: 1.5rem;
        }

        p {
            font-size: 1rem;
        }
    }

    @media (max-width: 320px) {
        .button {
            font-size: 0.9rem;
            padding: 8px 16px;
        }

        h1 {
            font-size: 1.2rem;
        }

        p {
            font-size: 0.9rem;
        }
    }

    /* 表单与输入框样式 */
    input, textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #A9A9A9;
        border-radius: 5px;
        background: linear-gradient(to right, #FFFFFF, rgba(255, 255, 255, 0));
        transition: border 0.3s ease;
    }

    input:focus, textarea:focus {
        border: 2px solid #00BFFF;
        outline: none;
    }

    /* 提示信息 */
    .notice {
        text-align: center;
        font-size: 1rem;
        margin-top: 20px;
        color: #FF6347;
    }

    /* 代码示例预览 */
    .code-preview {
        background: #333;
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

