        /* 全局样式 */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            /* min-height: 100vh; */
            background: linear-gradient(to right, #ffffff, #97cdff);
            color: #333;
        }

        #particles-js {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* z-index: -1; */
            z-index: 99;
            /* 允许点击穿透 */
            pointer-events: none;
        }

        /* 头部样式 */
        header {
            background: linear-gradient(to right, #222222, #ffffff);
            padding: 15px 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            position: sticky;
            z-index: 999;
            top: 0;
        }

        header h1 {
            font-size: 26px;
            color: white;
            /* margin: 0; */
            letter-spacing: 1px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* 轮播图样式 */
        .slider {
            width: 90%;
            max-width: 1200px;
            margin: 15px auto 0;
            overflow: hidden;
            position: relative;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .slide {
            width: 100%;
            /* display: none; */
            /* height: 300px; */
        }

        .slide img {
            display: block;
            width: 100%;
            /* height: auto;
            object-fit: cover; */
            /* height: 100%; */
            height: 500px;
        }

        .slider button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 12px;
            cursor: pointer;
            z-index: 10;
            font-size: 20px;
            border-radius: 50%;
            transition: background-color 0.3s ease;
        }

        .slider button.prev {
            left: 15px;
        }

        .slider button.next {
            right: 15px;
        }

        .slider button:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        /* 游戏列表样式 */
        .game-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(calc(50% - 10px), 1fr));
            gap: 20px;
            padding: 20px;
            flex-grow: 1;
            max-width: 1200px;
            margin: 0 auto;
        }

        .game-item {
            text-align: center;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 15px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
        }

        .game-item:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .game-item img {
            width: 100%;
            height: auto;
            margin-bottom: 10px;
            border-radius: 8px;
            height: 150px;
            position: sticky;
            z-index: 1;
        }

        .game-item h3 {
            font-size: 18px;
            margin-bottom: 8px;
            color: #333;
            margin-top: 0;
        }

        .game-item button {
            padding: 8px 16px;
            background-color: #515050;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            font-size: 14px;
            width: 100%;
        }

        .game-item button:hover {
            background-color: black;
        }

        /* 美化跳转链接 */
        .jump-link {
            margin: 0 auto 0px;
            max-width: 1200px;
            text-align: center;
            width: 90%;

        }

        .jump-link a {
            display: block;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            /* color: #333; */
            text-decoration: none;

        }

        /* .jump-link:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        } */

        /* 页脚样式 */
        footer {
            background: linear-gradient(to right, #222222, #ffffff);
            padding: 15px;
            text-align: center;
            color: white;
            margin-top: 10px;
            position: fixed;
            width: 100%;
            bottom: 0;
            /* z-index: 2; */
            z-index: 999;
        }

        footer p {
            max-width: 1200px;
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .game-list {
                grid-template-columns: repeat(3, 1fr);
            }

            header {
                padding: 20px 50px;
            }

            header h1 {
                font-size: 32px;
            }

            .slider {
                margin: 15px auto 0;
            }

            .game-list {
                padding: 20px 50px;
            }

            .game-item {
                padding: 20px;
            }

            .game-item h3 {
                font-size: 20px;
            }

            .game-item button {
                padding: 10px 20px;
                font-size: 16px;
            }

            footer {
                padding: 20px;
                /* margin-top: 30px; */
            }
        }

        @media (max-width: 767px) {
            .game-list {
                width: 100%;
                box-sizing: border-box;
            }

            .slide img {
                display: block;
                width: 100%;
                /* height: auto; */
                height: 150px;
            }

            .game-item img {
                /* width: 100%;
            height: auto;
            margin-bottom: 10px;
            border-radius: 8px; */
                height: 125px;
            }

            .slider button {
                padding: 0;
            }

            .jump-link {
                box-sizing: border-box;
                width: 100%;
                padding: 0 20px;
            }

            .game-list {
                gap: 10px;
                /* 在移动端（屏幕宽度小于 768px）时，将卡片间距设置为 10px */
            }
        }

        @media (min-width: 1024px) {
            .game-list {
                grid-template-columns: repeat(4, 1fr);
            }
        }