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

    body {
        background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
        color: #ffffff;
        font-family: 'Inter', sans-serif;
        line-height: 1.6;
        padding: 20px;
    }

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

    a:hover {
        color: #fff;
    }

    header {
        text-align: center;
        padding: 50px 0;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        margin-bottom: 30px;
    }

    header h1 {
        font-family: 'Roboto Mono', monospace;
        font-size: 48px;
        font-weight: bold;
        background: linear-gradient(90deg, #00c6ff, #0072ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    nav a {
        font-size: 18px;
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

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

    .card h3 {
        font-family: 'Roboto Mono', monospace;
        font-size: 24px;
        margin-bottom: 10px;
        background: linear-gradient(90deg, #ff6a00, #ee0979);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .card p {
        font-family: 'Inter', sans-serif;
        font-size: 16px;
        color: #ddd;
    }

    .example-section {
        background: rgba(0, 0, 0, 0.6);
        padding: 30px;
        border-radius: 10px;
        margin: 40px 0;
    }

    .example-section h2 {
        font-family: 'Roboto Mono', monospace;
        font-size: 32px;
        text-align: center;
        margin-bottom: 20px;
        color: #64ffda;
    }

    .example-section article {
        max-width: 800px;
        margin: 0 auto;
    }

    .example-section pre {
        background: #1e1e1e;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .example-section code {
        color: #ffcc00;
        font-family: 'Fira Code', monospace;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        margin-top: 30px;
    }

    footer p {
        font-size: 14px;
        color: #aaa;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        header h1 {
            font-size: 42px;
        }

        nav a {
            font-size: 16px;
            padding: 8px 16px;
        }

        .card h3 {
            font-size: 22px;
        }

        .example-section h2 {
            font-size: 28px;
        }
    }

    @media (max-width: 1200px) {
        .container {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }

        header h1 {
            font-size: 36px;
        }

        .example-section h2 {
            font-size: 24px;
        }
    }

    @media (max-width: 1024px) {
        .container {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }

        header h1 {
            font-size: 32px;
        }
    }

    @media (max-width: 768px) {
        header h1 {
            font-size: 28px;
        }

        nav {
            flex-direction: column;
            gap: 10px;
        }

        .example-section {
            padding: 20px;
        }
    }

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

        nav a {
            font-size: 14px;
            padding: 6px 12px;
        }

        .card h3 {
            font-size: 20px;
        }

        .example-section h2 {
            font-size: 20px;
        }
    }

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

        nav a {
            font-size: 12px;
            padding: 4px 8px;
        }

        .card h3 {
            font-size: 18px;
        }

        .example-section h2 {
            font-size: 18px;
        }
    }

