
    /* 全局样式 */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Roboto:wght@400;700&display=swap');

    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
        color: #ffffff;
        line-height: 1.6;
    }

    h1, h2, h3, h4 {
        font-family: 'Inter', sans-serif;
        color: #00ADEF;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2.5em;
        text-align: center;
        margin-top: 40px;
    }

    h2 {
        font-size: 2em;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

    h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }

    p {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    pre {
        background: rgba(255, 255, 255, 0.1);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 20px;
    }

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

    .transparent-box {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin: 20px;
    }

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

    .grid-item {
        background: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 8px;
        position: relative;
    }

    .grid-item img {
        width: 100%;
        border-radius: 8px;
    }

    .hover-button {
        background-color: #FFC700;
        color: #000;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1em;
    }

    .hover-button:hover {
        transform: scale(1.1);
        background-color: #FF9F00;
    }

    .dynamic-image {
        animation: rotate 5s infinite linear;
    }

    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    nav {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        padding: 10px 20px;
        display: flex;
        justify-content: center;
        z-index: 1000;
    }

    nav a {
        color: #ffffff;
        margin: 0 15px;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    nav a:hover {
        color: #FFC700;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.8);
        position: relative;
    }

    /* 响应式设计 */
    @media (max-width: 480px) {
        h1 {
            font-size: 2em;
        }

        h2 {
            font-size: 1.5em;
        }

        .hover-button {
            padding: 8px 16px;
            font-size: 0.9em;
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        h1 {
            font-size: 2.2em;
        }

        h2 {
            font-size: 1.8em;
        }
    }

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

        h2 {
            font-size: 2em;
        }
    }

    @media (min-width: 1025px) and (max-width: 1440px) {
        h1 {
            font-size: 3em;
        }

        h2 {
            font-size: 2.5em;
        }
    }

    @media (min-width: 1441px) {
        h1 {
            font-size: 3.5em;
        }

        h2 {
            font-size: 3em;
        }
    }

    /* 代码块样式优化 */
    pre code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
        font-size: 0.9em;
    }


