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

    body {
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
        color: #333;
        line-height: 1.6;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    header {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    header h1 {
        font-size: 2rem;
        color: #ffffff;
        animation: fadeIn 2s ease-in-out;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        color: #ffffff;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1rem;
        transition: color 0.3s;
    }

    nav a:hover {
        color: #ffcc00;
    }

    main {
        flex: 1;
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .card {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 16px 64px rgba(31, 38, 135, 0.37);
    }

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

    article {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
        margin-top: 40px;
    }

    article h2 {
        color: #ffffff;
        margin-bottom: 20px;
        text-align: center;
    }

    article h3 {
        color: #ffcc00;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    article p {
        margin-bottom: 15px;
        color: #e0e0e0;
    }

    article pre {
        background: #1e1e1e;
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 15px;
    }

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

    ul {
        list-style: disc inside;
        margin-bottom: 15px;
        color: #e0e0e0;
    }

    footer {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
        padding: 20px;
        color: #ffffff;
    }

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

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

    .animated-background {
        background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
        background-size: 400% 400%;
        animation: auroraMove 15s linear infinite;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

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

        nav a {
            margin: 0 10px;
            font-size: 0.8rem;
        }

        article {
            padding: 20px;
        }
    }

    @media (min-width: 321px) and (max-width: 480px) {
        header h1 {
            font-size: 1.8rem;
        }

        nav a {
            margin: 0 12px;
            font-size: 0.9rem;
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        header h1 {
            font-size: 2rem;
        }

        nav a {
            margin: 0 15px;
            font-size: 1rem;
        }

        .card-container {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        header h1 {
            font-size: 2.5rem;
        }

        nav a {
            font-size: 1.1rem;
        }

        .card-container {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }
    }

    @media (min-width: 1025px) and (max-width: 1200px) {
        header h1 {
            font-size: 3rem;
        }

        nav a {
            font-size: 1.2rem;
        }

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

    @media (min-width: 1201px) {
        header h1 {
            font-size: 3.5rem;
        }

        nav a {
            font-size: 1.3rem;
        }

        .card-container {
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        }
    }

    /* 代码块样式 */
    .code-block {
        background: #2d2d2d;
        padding: 20px;
        border-radius: 10px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

    .code-block code {
        color: #f8f8f2;
        font-family: 'Courier New', Courier, monospace;
        font-size: 0.9rem;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #ffcc00;
        color: #333;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background 0.3s, color 0.3s;
    }

    .btn:hover {
        background: #e0b400;
        color: #fff;
    }


