
    /* 全局样式与变量定义 */
    :root {
        --primary-color: #0D1117; /* 深蓝色 */
        --accent-color-blue: #61DAFB; /* 霓虹蓝 */
        --accent-color-orange: #FF4500; /* 橙红色 */
        --background-gradient: linear-gradient(135deg, #0D1117, #61DAFB, #FF4500);
        --text-color: #FFFFFF;
        --font-title: 'Roboto', sans-serif;
        --font-body: 'Inter', sans-serif;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-body);
        color: var(--text-color);
        background: var(--background-gradient);
        line-height: 1.6;
    }

    header {
        background: rgba(13, 17, 23, 0.8);
        padding: 20px;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header h1 {
        font-family: var(--font-title);
        font-size: 24px;
    }

    nav ul {
        list-style: none;
        display: flex;
    }

    nav ul li {
        margin-left: 20px;
    }

    nav ul li a {
        text-decoration: none;
        color: var(--text-color);
        transition: color 0.3s;
    }

    nav ul li a:hover {
        color: var(--accent-color-blue);
    }

    .container {
        max-width: 1200px;
        margin: 100px auto 50px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }

    h2, h3, h4 {
        font-family: var(--font-title);
        color: var(--accent-color-orange);
        margin-bottom: 15px;
    }

    p {
        margin-bottom: 15px;
        color: #E0E0E0;
    }

    ul {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    ul li {
        margin-bottom: 10px;
    }

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

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

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

    th {
        background-color: #1F2833;
    }

    pre {
        background: #0B0C10;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
        margin-bottom: 20px;
    }

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

    .loader {
        width: 50px;
        height: 50px;
        border: 5px solid var(--accent-color-blue);
        border-top: 5px solid transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 20px auto;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .button {
        background-color: var(--accent-color-blue);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        color: var(--text-color);
        cursor: pointer;
        transition: transform 0.3s ease-in-out, background-color 0.3s;
    }

    .button:hover {
        transform: scale(1.1);
        background-color: var(--accent-color-orange);
    }

    .parallax {
        background-image: url('https://images.gptkong.com/demo/sample3.png');
        height: 500px;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 50px;
    }

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

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }

    .gallery img {
        width: 100%;
        height: auto;
        border: none;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: rgba(13, 17, 23, 0.8);
        position: fixed;
        width: 100%;
        bottom: 0;
    }

    footer p {
        color: #A9A9A9;
    }

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .container {
            max-width: 1000px;
        }
    }

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

    @media (max-width: 1024px) {
        header h1 {
            font-size: 20px;
        }

        nav ul li {
            margin-left: 15px;
        }

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

    @media (max-width: 768px) {
        .gallery {
            grid-template-columns: 1fr;
        }

        header {
            flex-direction: column;
            align-items: flex-start;
        }

        nav ul {
            flex-direction: column;
            width: 100%;
        }

        nav ul li {
            margin: 10px 0;
        }
    }

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

        .container {
            padding: 15px;
            margin: 80px auto 70px;
        }

        h2 {
            font-size: 22px;
        }

        h3 {
            font-size: 18px;
        }

        h4 {
            font-size: 16px;
        }

        p {
            font-size: 14px;
        }
    }

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

        nav ul li a {
            font-size: 14px;
        }

        h2 {
            font-size: 20px;
        }

        h3 {
            font-size: 16px;
        }

        h4 {
            font-size: 14px;
        }

        p {
            font-size: 12px;
        }
    }

    /* 动画效果 */
    .fade-in {
        animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* 链接样式 */
    a {
        color: var(--accent-color-blue);
        text-decoration: none;
    }

    a:hover {
        color: var(--accent-color-orange);
    }

