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

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

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #0A2540, #FFC107);
        color: #0A2540;
        line-height: 1.6;
        padding-top: 60px; /* 为固定导航栏留出空间 */
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 37, 64, 0.9);
        color: #FFC107;
        padding: 15px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .navbar a {
        color: #FFC107;
        text-decoration: none;
        margin-left: 20px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
    }

    .navbar a:hover {
        text-decoration: underline;
    }

    /* 头部动画效果 */
    .header {
        height: 400px;
        background: radial-gradient(circle, rgba(255,87,34,0.8), transparent);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        animation: aurora-move 15s linear infinite;
    }

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

    .header h1 {
        color: #F8F9FA;
        font-family: 'Montserrat', sans-serif;
        font-size: 3rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    /* 主内容区域 */
    .container {
        width: 90%;
        max-width: 1200px;
        margin: 40px auto;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .card {
        background: #F8F9FA;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 20px;
        flex: 1 1 calc(33.333% - 40px);
        min-width: 280px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 10px;
        color: #0A2540;
    }

    .card p {
        font-family: 'Roboto', sans-serif;
        color: #333;
    }

    /* 示例展示部分 */
    .example-section {
        width: 100%;
        margin: 60px 0;
    }

    .example-section h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        margin-bottom: 20px;
        color: #FFC107;
        text-align: center;
    }

    .example-article {
        background: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        max-width: 100%;
        overflow: hidden;
    }

    .example-article h2 {
        font-family: 'Montserrat', sans-serif;
        color: #0A2540;
        margin-bottom: 15px;
    }

    .example-article h3 {
        font-family: 'Montserrat', sans-serif;
        color: #FFC107;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .example-article h4 {
        font-family: 'Montserrat', sans-serif;
        color: #0A2540;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .example-article p {
        margin-bottom: 15px;
        color: #333;
    }

    .example-article pre {
        background: #0A2540;
        color: #FFC107;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Roboto', monospace;
    }

    .example-article code {
        font-family: 'Roboto', monospace;
    }

    /* 提示信息 */
    .notice {
        text-align: center;
        font-size: 1.2rem;
        color: #fff;
        background: rgba(10, 37, 64, 0.8);
        padding: 10px 0;
        position: fixed;
        bottom: 0;
        width: 100%;
    }

    /* 音乐响应式调整 */
    @media (max-width: 1440px) {
        .container {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 1200px) {
        .container {
            flex-wrap: wrap;
        }
        .card {
            flex: 1 1 calc(50% - 40px);
        }
    }

    @media (max-width: 768px) {
        .card {
            flex: 1 1 100%;
        }
        .header h1 {
            font-size: 2rem;
            text-align: center;
        }
    }

    @media (max-width: 480px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }
        .navbar a {
            margin: 10px 0;
        }
        .header {
            height: 250px;
        }
        .header h1 {
            font-size: 1.5rem;
        }
        .container {
            margin: 20px auto;
        }
    }

    @media (max-width: 320px) {
        .header {
            height: 200px;
        }
        .header h1 {
            font-size: 1.2rem;
        }
    }

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