
    /* 基础样式重置 */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        color: #333;
        background: linear-gradient(135deg, #87CEEB, #D8BFD8, #FFA07A);
        background-size: 400% 400%;
        animation: gradient-animation 15s ease infinite;
        overflow-x: hidden;
    }

    @keyframes gradient-animation {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    header {
        padding: 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    header h1 {
        font-size: 2.5rem;
        color: #333;
    }

    nav a {
        margin: 0 15px;
        text-decoration: none;
        color: #555;
        font-weight: bold;
    }

    nav a:hover {
        color: #000;
    }

    .container {
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .card {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        flex: 1 1 calc(33.333% - 40px);
        backdrop-filter: blur(10px);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

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

    .card h3 {
        margin-bottom: 10px;
        color: #444;
    }

    .card p {
        color: #666;
    }

    .code-block {
        background: #f5f5f5;
        border-left: 5px solid #FFA07A;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        margin: 20px 0;
    }

    .article-section {
        background: rgba(255, 255, 255, 0.8);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        margin-bottom: 40px;
    }

    .article-section h2, .article-section h3, .article-section h4 {
        color: #333;
        margin-bottom: 15px;
    }

    .article-section p {
        margin-bottom: 15px;
        color: #555;
    }

    .示例展示 {
        background: rgba(240, 248, 255, 0.9);
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 4px 25px rgba(0,0,0,0.15);
        margin-top: 50px;
    }

    .示例展示 h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

    .示例展示 pre {
        background: #2d2d2d;
        color: #ccc;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
        position: relative;
        bottom: 0;
        width: 100%;
    }

    footer p {
        color: #777;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .card {
            flex: 1 1 calc(33.333% - 40px);
        }
    }

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

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

    @media (max-width: 480px) {
        nav a {
            display: block;
            margin: 10px 0;
        }
        .container {
            padding: 10px;
        }
    }

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

    /* 动态粒子效果 */
    #particle-canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
    }

    /* 水波纹按钮效果 */
    .ripple-button {
        position: relative;
        overflow: hidden;
        padding: 10px 20px;
        background: #FFA07A;
        color: #fff;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .ripple-button:hover {
        background: #ff7f50;
    }

    .ripple-button::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
    }

    /* 灵感捕捉器 */
    .inspiration-catcher {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: rgba(255, 255, 255, 0.7);
        padding: 15px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .inspiration-catcher:hover {
        transform: scale(1.1);
    }

