
    /* 基础样式重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Roboto', sans-serif;
        line-height: 1.6;
        background: linear-gradient(135deg, #000000, #1E1E1E, #0F2027);
        color: #FFFFFF;
        padding: 20px;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: 'Poppins', sans-serif;
        font-weight: bold;
        margin-bottom: 20px;
        color: #FFFFFF;
    }

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

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

    p {
        font-size: 1rem;
        margin-bottom: 20px;
        color: #D3D3D3;
    }

    a {
        color: #32CD32;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    a:hover {
        color: #FFA500;
    }

    /* 渐变按钮样式 */
    .button {
        position: relative;
        display: inline-block;
        padding: 10px 20px;
        margin: 10px 0;
        background: #32CD32;
        color: #FFFFFF;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        overflow: hidden;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .button:hover {
        background: #FFA500;
        transform: scale(1.05);
    }

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

    .button:active::before {
        width: 200%;
        height: 200%;
    }

    /* 卡片样式 */
    .card {
        background: #1E1E1E;
        border: 1px solid #333333;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    }

    /* 网格布局 */
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

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

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

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

    th {
        background: #333333;
        color: #FFFFFF;
    }

    td {
        background: #2A2A2A;
        color: #D3D3D3;
    }

    /* 预览代码样式 */
    pre {
        background: #2A2A2A;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        color: #C0C0C0;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 20px;
    }

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

    /* 图片样式 */
    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }

    .image-gallery img {
        width: 100%;
        max-width: 320px;
        border-radius: 10px;
    }

    /* 导航栏样式 */
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        padding: 10px 20px;
        background: rgba(0, 0, 0, 0.9);
    }

    .navbar a {
        color: #FFFFFF;
        margin-left: 15px;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .navbar a:hover {
        color: #32CD32;
    }

    /* 底部版权 */
    .footer {
        margin-top: 50px;
        padding: 20px;
        background: #1E1E1E;
        text-align: center;
        color: #AAAAAA;
        font-size: 0.9rem;
    }

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

        h3 {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 1200px) {
        .navbar a {
            font-size: 0.95rem;
        }

        .button {
            padding: 8px 16px;
        }
    }

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

        h3 {
            font-size: 1.6rem;
        }

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

    @media (max-width: 768px) {
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar a {
            margin: 5px 0;
        }

        h2 {
            font-size: 1.8rem;
        }

        h3 {
            font-size: 1.4rem;
        }
    }

    @media (max-width: 480px) {
        .button {
            width: 100%;
            text-align: center;
        }

        .image-gallery {
            flex-direction: column;
            align-items: center;
        }
    }

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

        h3 {
            font-size: 1.2rem;
        }

        p {
            font-size: 0.9rem;
        }
    }

