
    /* 通用样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background: radial-gradient(circle, #1e3c72, transparent);
        color: #ffffff;
        line-height: 1.6;
        padding: 20px;
        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: 'Poppins', sans-serif;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin-bottom: 20px;
    }

    h2 {
        font-size: 2em;
        color: #ff5722;
    }

    h3 {
        font-size: 1.5em;
        color: #00ffcb;
    }

    h4 {
        font-size: 1.2em;
        color: #2a5298;
    }

    /* 段落样式 */
    p {
        margin-bottom: 15px;
        color: #ffffff;
    }

    /* 列表样式 */
    ul {
        list-style-type: disc;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    /* 代码块样式 */
    pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px;
        border-radius: 8px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: all 0.3s ease;
        padding: 10px 20px;
    }

    .navbar:hover {
        background: rgba(0, 0, 0, 0.9);
    }

    .navbar a {
        color: #ffffff;
        margin-right: 15px;
        text-decoration: none;
        font-weight: 500;
    }

    .navbar a:hover {
        color: #ff5722;
    }

    /* 主容器 */
    .container {
        max-width: 1200px;
        margin: 100px auto 50px;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    /* 图片样式 */
    .image-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }

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

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        border: 2px solid gold;
        border-radius: 25px;
        color: #ffffff;
        text-decoration: none;
        font-weight: bold;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        background: transparent;
    }

    .btn:hover {
        background: gold;
        color: #000000;
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: transform 0.5s ease, opacity 1s ease;
        opacity: 0;
    }

    .btn:active::after {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        transition: transform 0.5s ease, opacity 1s ease;
    }

    /* 示例展示样式 */
    .sample-display {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    .sample-display h2 {
        color: #ff5722;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .container {
            margin: 80px 10px 30px;
        }

        .navbar {
            padding: 8px 15px;
        }

        h2 {
            font-size: 1.5em;
        }

        h3 {
            font-size: 1.3em;
        }
    }

    @media (max-width: 480px) {
        .navbar a {
            display: block;
            margin: 10px 0;
        }

        .image-grid {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        }

        h1 {
            font-size: 1.5em;
        }

        h2 {
            font-size: 1.2em;
        }
    }

    /* 其他屏幕宽度适配 */
    @media (min-width: 1024px) {
        .container {
            padding: 40px;
        }
    }

    @media (min-width: 1200px) {
        .container {
            max-width: 1400px;
        }
    }

