
    /* 全局样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Montserrat', sans-serif;
        background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
        color: #ffffff;
        background-size: 400% 400%;
        animation: gradientAnimation 15s ease infinite;
    }

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

    h1, h2, h3, h4 {
        font-family: 'Roboto', sans-serif;
        color: #ffffff;
        text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    }

    p {
        line-height: 1.6;
        color: #d1d9e6;
    }

    a {
        color: #a29bfe;
        text-decoration: none;
        position: relative;
    }

    a::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #a29bfe;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

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

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

    .card:hover {
        transform: scale(1.05);
    }

    pre {
        background: rgba(0, 0, 0, 0.5);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
    }

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

    img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 10px;
        margin: 10px;
    }

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

    @media (max-width: 480px) {
        h1 {
            font-size: 24px;
        }
        h2 {
            font-size: 20px;
        }
        p, code {
            font-size: 14px;
        }
    }

