
    /* 根变量定义 */
    :root {
        --primary-green: #8BC34A;
        --earth-brown: #964B00;
        --ivory-white: #FFFFF0;
        --tech-blue: #2196F3;
        --elegant-purple: #9C27B0;
        --gradient-bg: radial-gradient(circle, rgba(255, 87, 34, 0.8), transparent);
        --font-primary: 'Roboto', sans-serif;
        --font-secondary: 'Pacifico', cursive;
    }

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

    body {
        font-family: var(--font-primary);
        background: linear-gradient(135deg, var(--primary-green), var(--ivory-white));
        color: var(--earth-brown);
        line-height: 1.6;
        padding: 20px;
    }

    h1, h2, h3, h4 {
        font-family: var(--font-secondary);
        color: var(--tech-blue);
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 15px;
    }

    a {
        color: var(--tech-blue);
        text-decoration: none;
    }

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

    /* 头部样式 */
    header {
        text-align: center;
        padding: 50px 20px;
        background: var(--ivory-white);
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 40px;
    }

    header h1 {
        font-size: 2.5em;
        color: var(--elegant-purple);
    }

    /* 主内容样式 */
    main {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* 示例展示样式 */
    .example-display {
        border: 2px dashed var(--tech-blue);
        padding: 20px;
        margin: 40px 0;
        position: relative;
    }

    .example-display::before {
        content: '示例展示';
        position: absolute;
        top: -20px;
        left: 20px;
        background: var(--ivory-white);
        padding: 5px 10px;
        font-weight: bold;
        color: var(--tech-blue);
    }

    .example-display article {
        font-family: var(--font-primary);
    }

    /* 代码块样式 */
    pre {
        background: #f5f5f5;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

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

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

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

    th {
        background-color: var(--tech-blue);
        color: white;
    }

    /* 卡片式布局 */
    .card-container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .card {
        background: var(--ivory-white);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        width: 300px;
        padding: 20px;
        text-align: center;
        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 {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .card h3 {
        margin: 15px 0;
        color: var(--elegant-purple);
    }

    .card p {
        color: var(--earth-brown);
    }

    /* 动画效果 */
    @keyframes aurora-move {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .animated-background {
        background: var(--gradient-bg);
        animation: aurora-move 15s linear infinite;
    }

    /* 微互动按钮 */
    .button {
        background-color: var(--primary-green);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .button:hover {
        background-color: var(--tech-blue);
        transform: scale(1.05);
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        main {
            padding: 30px;
        }
    }

    @media (max-width: 1200px) {
        .card-container {
            flex-direction: row;
            justify-content: center;
        }
    }

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

    @media (max-width: 768px) {
        .card {
            width: 45%;
        }
    }

    @media (max-width: 480px) {
        .card {
            width: 100%;
        }

        header {
            padding: 30px 10px;
        }
    }

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

        body {
            padding: 10px;
        }
    }

