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

    /* 字体与颜色变量 */
    :root {
        --main-color: #0074d9; /* 深蓝 */
        --accent-color: #ffffff; /* 白色 */
        --highlight-color: #00ff8f; /* 荧光绿 */
        --secondary-color: #ff5722; /* 辅助色橙色 */
        --background-gradient: radial-gradient(circle, rgba(0, 116, 217, 0.8), transparent);
        --button-gradient: linear-gradient(45deg, #00ff8f, #ff5722);
        --font-family-main: 'Roboto', sans-serif;
        --font-family-title: 'Poppins', sans-serif;
    }

    body {
        font-family: var(--font-family-main);
        line-height: 1.6;
        background: var(--accent-color);
        color: var(--main-color);
        padding: 20px;
    }

    header {
        background: var(--background-gradient);
        padding: 20px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    header h1 {
        font-family: var(--font-family-title);
        font-size: 2.5rem;
        color: var(--highlight-color);
        animation: fadeIn 2s ease-in-out;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        margin: 0 15px;
        text-decoration: none;
        color: var(--main-color);
        font-weight: bold;
        position: relative;
    }

    nav a::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: var(--highlight-color);
        transition: width 0.3s;
        position: absolute;
        bottom: -5px;
        left: 0;
    }

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

    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 30px;
    }

    .card {
        background: var(--accent-color);
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        width: calc(33.33% - 20px);
        margin-bottom: 30px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        position: relative;
        overflow: hidden;
    }

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

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

    .card h3 {
        font-family: var(--font-family-title);
        color: var(--main-color);
        margin-bottom: 10px;
    }

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

    .button {
        display: inline-block;
        padding: 10px 20px;
        background: var(--button-gradient);
        color: var(--accent-color);
        border: none;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: background 0.3s;
    }

    .button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.4s ease;
        opacity: 0;
    }

    .button:hover::after {
        width: 200%;
        height: 200%;
        opacity: 1;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: var(--background-gradient);
        margin-top: 40px;
    }

    footer p {
        color: var(--highlight-color);
    }

    /* 动画效果 */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes aurora-move {
        0% { background: radial-gradient(circle, rgba(255,87,34,1), transparent); }
        50% { background: radial-gradient(circle, rgba(34,193,195,1), transparent); }
        100% { background: radial-gradient(circle, rgba(255,87,34,1), transparent); }
    }

    .aurora {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        animation: aurora-move 15s linear infinite;
        z-index: -1;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .container {
            justify-content: space-between;
        }
    }

    @media (max-width: 1200px) {
        .card {
            width: calc(33.33% - 20px);
        }
    }

    @media (max-width: 1024px) {
        .card {
            width: calc(50% - 20px);
        }
    }

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

        nav {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        nav a {
            margin: 10px 0;
        }
    }

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

        .button {
            padding: 8px 16px;
            font-size: 14px;
        }
    }

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

        .card {
            padding: 15px;
        }

        .button {
            padding: 6px 12px;
            font-size: 12px;
        }
    }

    /* 示例展示样式 */
    .sample-article {
        background: #f9f9f9;
        padding: 20px;
        border-radius: 10px;
        margin-top: 40px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .sample-article h2 {
        font-family: var(--font-family-title);
        color: var(--main-color);
        margin-bottom: 15px;
    }

    .sample-article h3, .sample-article h4 {
        color: var(--secondary-color);
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .sample-article pre {
        background: #272822;
        color: #f8f8f2;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 15px;
    }

    .sample-article code {
        font-family: 'Courier New', Courier, monospace;
    }

    /* 图文并茂 */
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
    }

    .gallery img {
        width: calc(25% - 10px);
        border-radius: 5px;
    }

    @media (max-width: 768px) {
        .gallery img {
            width: calc(50% - 10px);
        }
    }

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


