
    :root {
        --bg-color: #0D0D0D; /* 深黑色背景 */
        --primary-color: #6C5CE7; /* 深紫色 */
        --accent-color: #48DBFB; /* 霓虹蓝 */
        --highlight-color: #00FF40; /* 电光绿 */
        --text-color: #FFFFFF; /* 白色文字 */
        --card-bg: #1F1F1F; /* 卡片背景色 */
        --card-hover-bg: rgba(255, 255, 255, 0.1);
        --font-family: 'Inter', sans-serif;
        --transition-speed: 0.5s;
    }

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

    body {
        background: radial-gradient(circle, var(--primary-color), transparent);
        font-family: var(--font-family);
        color: var(--text-color);
        line-height: 1.6;
        overflow-x: hidden;
    }

    header {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        animation: gradientMove 15s linear infinite;
        position: relative;
    }

    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.gptkong.com/demo/sample1.png') center center / cover no-repeat;
        opacity: 0.2;
        pointer-events: none;
    }

    .title {
        font-size: 3rem;
        text-align: center;
        z-index: 1;
    }

    main {
        padding: 50px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    section {
        margin-bottom: 50px;
    }

    h2, h3 {
        color: var(--highlight-color);
        margin-bottom: 20px;
    }

    p {
        margin-bottom: 20px;
    }

    pre {
        background: #2E2E2E;
        padding: 15px;
        border-radius: 5px;
        overflow-x: auto;
    }

    code {
        color: var(--accent-color);
        font-family: 'Courier New', Courier, monospace;
    }

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

    th, td {
        border: 1px solid #444;
        padding: 10px;
        text-align: left;
    }

    th {
        background: var(--primary-color);
    }

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

    .card {
        background-color: var(--card-bg);
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
        padding: 20px;
        transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
        position: relative;
    }

    .card img {
        width: 100%;
        height: auto;
        border-radius: 5px;
        margin-bottom: 15px;
    }

    .card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
        background-color: var(--card-hover-bg);
    }

    .card h4 {
        color: var(--highlight-color);
        margin-bottom: 10px;
    }

    .card p {
        margin-bottom: 15px;
    }

    .card .actions a {
        margin-right: 10px;
        text-decoration: none;
        color: var(--accent-color);
        transition: color var(--transition-speed);
    }

    .card .actions a:hover {
        color: var(--highlight-color);
    }

    .code-preview {
        background: #1E1E1E;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
    }

    .code-preview code {
        display: block;
        white-space: pre-wrap;
        word-wrap: break-word;
    }

    footer {
        text-align: center;
        padding: 20px;
        background: var(--card-bg);
        border-top: 1px solid #444;
    }

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

    @media (max-width: 1440px) {
        .title {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 1200px) {
        main {
            padding: 40px 15px;
        }
    }

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

    @media (max-width: 768px) {
        header {
            height: 70vh;
        }
        .cards {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }
        .title {
            font-size: 2rem;
        }
    }

    @media (max-width: 480px) {
        .title {
            font-size: 1.5rem;
        }
        h3 {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 320px) {
        .title {
            font-size: 1.2rem;
        }
        pre, .code-preview {
            font-size: 0.8rem;
        }
    }

