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

    /* 全局字体与背景设置 */
    body {
        font-family: 'Roboto', sans-serif;
        color: #ffffff;
        background: linear-gradient(135deg, #1e3c72, #2a5298, #4681b9);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* 头部样式 */
    header {
        padding: 20px;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
        position: relative;
        z-index: 1;
    }

    header h1 {
        font-size: 2.5rem;
        color: #f7dc6f;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    }

    /* 主内容区域 */
    main {
        flex: 1;
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 文章样式 */
    article {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    article h2, article h3 {
        color: #f7dc6f;
        margin-bottom: 10px;
    }

    article p {
        margin-bottom: 15px;
        line-height: 1.6;
        color: #ffffff;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 15px;
    }

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

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

    table, th, td {
        border: 1px solid #ffffff;
    }

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

    th {
        background: #2a5298;
    }

    /* 图片样式 */
    .images {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .images img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
    }

    /* 动画效果 */
    .fade-in {
        opacity: 0;
        animation: fadeIn 2s forwards;
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        overflow: hidden;
    }

    .particle {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #ffffff;
        border-radius: 50%;
        animation: moveParticles 5s infinite ease-in-out;
    }

    @keyframes moveParticles {
        0% {
            transform: translate(0, 0);
        }
        100% {
            transform: translate(50vw, 50vh);
        }
    }

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

    @media (max-width: 1200px) {
        header h1 {
            font-size: 2rem;
        }
    }

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

    @media (max-width: 768px) {
        header h1 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 1.5rem;
        }

        .images {
            flex-direction: column;
            align-items: center;
        }
    }

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

    /* 交互效果 */
    a {
        color: #f7dc6f;
        text-decoration: none;
        position: relative;
    }

    a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: #f7dc6f;
        transition: width 0.3s;
        position: absolute;
        left: 0;
        bottom: -5px;
    }

    a:hover::after {
        width: 100%;
    }

    button {
        background: #2a5298;
        color: #ffffff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: box-shadow 0.3s;
    }

    button:hover {
        box-shadow: 0 0 10px #f7dc6f;
    }

    /* 模块化布局 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .grid-item {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 15px;
        text-align: center;
    }

    /* 表示这是参考设计 */
    .reference-note {
        text-align: center;
        font-size: 1rem;
        margin: 20px 0;
        color: #ffffff;
    }

