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

    body {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        background: linear-gradient(135deg, #65A637, #34C759, #FFCC00);
        color: #333;
        line-height: 1.6;
        padding: 20px;
        background-size: 400% 400%;
        animation: gradientBackground 15s ease infinite;
    }

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

    h1, h2, h3, h4 {
        font-family: 'Pacifico', cursive;
        color: #FFFFFF;
    }

    h1 {
        font-size: 48px;
        text-align: center;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 28px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    p {
        font-size: 18px;
        margin-bottom: 15px;
    }

    a {
        color: #FF5733;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #C70039;
    }

    a[rel="nofollow"] {
        /* 无需其他样式，仅添加 rel 属性 */
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .header {
        text-align: center;
        padding: 50px 0;
        background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center;
        background-size: cover;
        border-radius: 15px;
        position: relative;
    }

    .header::after {
        content: '这是一个网页样式设计参考';
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(101, 166, 55, 0.7);
        color: #fff;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 20px;
        font-family: 'Arial', sans-serif;
    }

    .content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }

    .content img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .code-block {
        background: #2d2d2d;
        color: #f8f8f2;
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        font-family: 'Courier New', Courier, monospace;
        font-size: 16px;
    }

    pre {
        margin-bottom: 15px;
    }

    .article-demo {
        background: #f0f8ff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .article-demo h2 {
        color: #4287f5;
    }

    .article-demo p, .article-demo ul {
        color: #333;
    }

    .article-demo ul {
        list-style-type: disc;
        margin-left: 20px;
    }

    .footer {
        text-align: center;
        padding: 20px 0;
        font-size: 16px;
        color: #666;
    }

    /* 动画与交互 */
    .parallax {
        perspective: 1000px;
    }

    .parallax:hover .layer {
        transform: translateZ(-50px) scale(1.1);
    }

    .layer {
        transition: transform 0.5s ease;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        h1 {
            font-size: 42px;
        }
        h2 {
            font-size: 32px;
        }
        h3 {
            font-size: 24px;
        }
        h4 {
            font-size: 20px;
        }
        p {
            font-size: 16px;
        }
    }

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

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

    @media (max-width: 768px) {
        .header {
            padding: 30px 0;
            background: url('https://images.gptkong.com/demo/sample2.png') no-repeat center center;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 32px;
        }
        h2 {
            font-size: 28px;
        }
        h3 {
            font-size: 20px;
        }
        p {
            font-size: 14px;
        }
    }

    @media (max-width: 320px) {
        h1 {
            font-size: 28px;
        }
        h2 {
            font-size: 24px;
        }
        h3 {
            font-size: 18px;
        }
        p {
            font-size: 12px;
        }
    }

