
    /* 基础样式 */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Poppins', sans-serif;
        background: linear-gradient(135deg, #8e44ad, #3498db, #2ecc71, #e74c3c);
        background-size: 400% 400%;
        animation: gradient-animation 15s ease infinite;
        color: #ffffff;
    }

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

    h1, h2, h3 {
        font-family: 'Poppins', sans-serif;
        text-align: center;
        margin: 20px 0;
        color: #ffffff;
    }

    h1 {
        font-size: 3rem;
        background: -webkit-linear-gradient(#ff5722, #673ab7);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    h2 {
        font-size: 2.5rem;
        margin-top: 40px;
    }

    h3 {
        font-size: 2rem;
        margin-top: 30px;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
        margin: 10px 20px;
    }

    /* 导航栏 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        padding: 15px 0;
        z-index: 1000;
    }

    .navbar ul {
        list-style: none;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

    .navbar li {
        margin: 0 15px;
    }

    .navbar a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.1rem;
        transition: color 0.3s;
    }

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

    /* 主容器 */
    .container {
        padding: 100px 20px 50px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* 按钮样式 */
    .btn {
        display: inline-block;
        padding: 10px 20px;
        margin: 20px auto;
        background: #2ecc71;
        color: #ffffff;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: background 0.3s, box-shadow 0.3s;
        text-decoration: none;
    }

    .btn:hover {
        background: #27ae60;
        box-shadow: 0 0 10px rgba(39, 174, 96, 0.7);
    }

    /* 图片样式 */
    .images-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 20px 0;
    }

    .images-gallery img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* 示例展示区 */
    .example-section {
        background: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 15px;
        margin-top: 50px;
    }

    .example-section h2 {
        color: #ffeb3b;
    }

    pre {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px;
        border-radius: 10px;
        overflow-x: auto;
        font-size: 0.9rem;
        margin: 10px 0;
    }

    code {
        color: #f1c40f;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
    }

    table, th, td {
        border: 1px solid #ffffff;
    }

    th, td {
        padding: 10px;
        text-align: left;
    }

    th {
        background: #3498db;
    }

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

        h2 {
            font-size: 2rem;
        }

        h3 {
            font-size: 1.5rem;
        }

        .images-gallery img {
            width: 120px;
            height: 120px;
        }
    }

    @media (max-width: 1200px) {
        .images-gallery img {
            width: 100px;
            height: 100px;
        }
    }

    @media (max-width: 1024px) {
        .container {
            padding: 80px 15px 40px 15px;
        }

        .navbar ul {
            flex-direction: column;
            align-items: center;
        }

        .navbar li {
            margin: 10px 0;
        }
    }

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

        h2 {
            font-size: 1.8rem;
        }

        pre {
            font-size: 0.8rem;
        }

        .images-gallery img {
            width: 80px;
            height: 80px;
        }
    }

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

        h2 {
            font-size: 1.5rem;
        }

        .navbar ul {
            flex-direction: column;
        }
    }

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

        h2 {
            font-size: 1.2rem;
        }

        .images-gallery img {
            width: 70px;
            height: 70px;
        }
    }

    /* 光晕扩散效果 */
    .hover-effect {
        position: relative;
        overflow: hidden;
    }

    .hover-effect::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }

    .hover-effect:hover::before {
        width: 200px;
        height: 200px;
    }

    /* 平滑过渡 */
    .transition {
        transition: all 0.5s ease;
    }

    /* 标题样式 */
    .gradient-title {
        font-family: 'Poppins', sans-serif;
        font-size: 3rem;
        background: -webkit-linear-gradient(#ff5722, #673ab7);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* 表格样式 */
    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        padding: 15px;
        text-align: left;
    }

    th {
        background-color: #2ecc71;
    }

    td {
        background-color: rgba(255, 255, 255, 0.1);
    }


