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

    body {
        font-family: 'Roboto Mono', 'Poppins', sans-serif;
        line-height: 1.6;
        background: linear-gradient(135deg, #1e1e2c, #3a0ca3);
        color: #ffffff;
        overflow-x: hidden;
    }

    /* 动态背景 */
    .background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255,87,34,0.3), transparent);
        animation: aurora-move 15s linear infinite;
        z-index: -1;
    }

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

    /* 容器 */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* 导航栏 */
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        padding: 15px 0;
        z-index: 1000;
    }

    nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px;
    }

    nav ul li a {
        color: #ffffff;
        text-decoration: none;
        padding: 5px 10px;
        transition: all 0.3s ease;
    }

    nav ul li a:hover {
        color: #32CD32;
        text-shadow: 0 0 10px #32CD32;
    }

    /* 头部 */
    header {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: rgba(0, 0, 0, 0.5);
    }

    header h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        animation: fadeIn 2s ease-in-out;
    }

    header p {
        font-size: 1.2rem;
        max-width: 600px;
        animation: fadeIn 2s ease-in-out 0.5s;
    }

    /* 主要内容 */
    main {
        padding: 60px 20px;
    }

    section {
        margin-bottom: 60px;
    }

    section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        text-align: center;
        position: relative;
    }

    section h2::after {
        content: '';
        width: 50px;
        height: 3px;
        background: #32CD32;
        display: block;
        margin: 10px auto 0;
        border-radius: 2px;
    }

    .card-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 20px;
        width: calc(33.333% - 40px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

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

    .card h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
        color: #ff5722;
    }

    .card p {
        font-size: 1rem;
        color: #ffffff;
    }

    /* 示例展示 */
    .example {
        background: rgba(0, 0, 0, 0.7);
        padding: 30px;
        border-radius: 10px;
        position: relative;
    }

    .example::before {
        content: '这是一个网页样式设计参考';
        position: absolute;
        top: -20px;
        left: 20px;
        background: #32CD32;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9rem;
    }

    .example article {
        max-height: 600px;
        overflow-y: auto;
        padding-right: 10px;
    }

    .example pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }

    .example code {
        color: #32CD32;
        font-family: 'Courier New', Courier, monospace;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
        border-radius: 8px;
        overflow-x: auto;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #ffffff;
    }

    /* 提示语 */
    .badge {
        display: inline-block;
        background: #ff5722;
        color: #ffffff;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

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

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

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

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

        nav ul {
            flex-direction: column;
        }

        nav ul li {
            margin: 10px 0;
        }
    }

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

        header p {
            font-size: 1rem;
        }

        .card h3 {
            font-size: 1.2rem;
        }

        .card p {
            font-size: 0.9rem;
        }
    }

    @media (max-width: 320px) {
        .container {
            padding: 10px;
        }
    }

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

    .animate {
        animation: fadeIn 2s ease-in-out;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        background: #32CD32;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        transition: background 0.3s ease;
    }

    .btn:hover {
        background: #28a428;
        box-shadow: 0 0 10px #32CD32;
    }

