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

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

    /* 基本字体设置 */
    body {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #ffffff;
        background: linear-gradient(180deg, #000033, #330066);
        overflow-x: hidden;
    }

    h1, h2, h3, h4 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: #ffffff;
    }

    p {
        font-family: 'Roboto', sans-serif;
        font-weight: 300;
        color: #dddddd;
        margin-bottom: 1em;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        padding: 20px 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .navbar h1 {
        margin-right: auto;
        font-size: 1.5em;
        color: #ffffff;
    }

    .navbar ul {
        list-style: none;
        display: flex;
    }

    .navbar ul li {
        margin-left: 20px;
    }

    .navbar ul li a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1em;
        transition: color 0.3s ease;
    }

    .navbar ul li a:hover {
        color: #1E90FF;
    }

    /* 主内容区域 */
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 50px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .header-section {
        text-align: center;
        margin-bottom: 50px;
    }

    .header-section h1 {
        font-size: 3em;
        margin-bottom: 20px;
        background: linear-gradient(90deg, #8A2BE2, #1E90FF);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .header-section p {
        font-size: 1.2em;
        color: #cccccc;
    }

    /* 动态星云和粒子效果 */
    .starfield {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgb(255, 87, 34), transparent);
        animation: aurora-move 15s linear infinite;
        z-index: -1;
    }

    @keyframes aurora-move {
        0% {
            transform: translateY(0) rotate(0deg);
        }
        100% {
            transform: translateY(-50px) rotate(360deg);
        }
    }

    /* 主要模块 */
    .module {
        background: rgba(0, 0, 0, 0.6);
        padding: 30px;
        border-radius: 15px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 800px;
        box-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .module:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(30, 144, 255, 0.7);
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #1E90FF;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        font-size: 1em;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .btn:hover {
        box-shadow: 0 0 10px #1E90FF;
        transform: scale(1.05);
    }

    /* 示例展示区 */
    .sample-article {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        margin-top: 50px;
        width: 100%;
        max-width: 1000px;
        color: #ffffff;
        position: relative;
    }

    .sample-article::before {
        content: '这是一个网页样式设计参考';
        position: absolute;
        top: -20px;
        left: 20px;
        background: #000033;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9em;
        color: #ffffff;
    }

    .sample-article pre {
        background: #1E90FF;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Roboto Mono', monospace;
        color: #ffffff;
        margin-bottom: 20px;
    }

    .sample-article code {
        font-family: 'Roboto Mono', monospace;
        color: #ffeb3b;
    }

    /* 图片样式 */
    .images-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 30px;
    }

    .images-grid img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .images-grid img:hover {
        transform: scale(1.1);
    }

    /* 底部信息栏 */
    .footer {
        width: 100%;
        padding: 20px;
        background: linear-gradient(180deg, #330066, #000033);
        text-align: center;
        font-size: 0.9em;
        color: #cccccc;
        position: relative;
        margin-top: 50px;
    }

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

    @media (max-width: 1200px) {
        .module {
            max-width: 700px;
        }
    }

    @media (max-width: 1024px) {
        .navbar {
            padding: 15px 30px;
        }

        .header-section h1 {
            font-size: 2em;
        }

        .module {
            max-width: 600px;
        }
    }

    @media (max-width: 768px) {
        .images-grid {
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        }

        .navbar ul li {
            margin-left: 15px;
        }

        .header-section h1 {
            font-size: 1.8em;
        }

        .module {
            padding: 20px;
            max-width: 90%;
        }
    }

    @media (max-width: 480px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar ul {
            flex-direction: column;
            width: 100%;
        }

        .navbar ul li {
            margin: 10px 0;
        }

        .header-section h1 {
            font-size: 1.5em;
        }

        .sample-article {
            padding: 15px;
        }
    }

    @media (max-width: 320px) {
        .header-section h1 {
            font-size: 1.2em;
        }

        .navbar h1 {
            font-size: 1.2em;
        }
    }

