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

        /* 全局样式 */
        body, html {
            height: 100%;
            font-family: 'Arial', sans-serif;
            color: #fff;
            background: #000;  /* 页面默认背景色 */
            scroll-behavior: smooth;
            position: relative;
            overflow-x: hidden; /* 防止水平滚动条出现 */
        }

        /* 头部样式 */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 50px;
            z-index: 1000;
            transition: background 0.3s;
        }

        header.scrolled {
            background: rgba(0, 0, 0, 1);
        }

        /* Logo 和 标题 容器 */
        header .logo-container {
            display: flex;
            align-items: center;
            gap: 10px; /* Logo 图片与标题之间的间距 */
        }

        /* Logo 图标样式 */
        header .logo-container img {
            height: 50px; /* 增大Logo大小 */
            width: auto;
            animation: logoBreath 1.5s infinite;
        }

        /* 标题样式 */
        header .logo-container .site-title {
            font-size: 2em;
            color: #f05454;
            font-weight: bold;
            text-decoration: none;
            text-shadow: 0 0 10px rgba(240, 84, 84, 0.8);
        }

        @keyframes logoBreath {
            0%, 100% {
                transform: scale(1);
                filter: brightness(1);
            }
            50% {
                transform: scale(1.05);
                filter: brightness(1.2);
            }
        }

        nav {
            display: flex;
            align-items: center;
            gap: 30px;
            position: relative;
        }

        nav a {
            color: #fff;
            text-decoration: none;
            font-size: 1em;
            position: relative;
            transition: color 0.3s;
        }

        nav a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: #f05454;
            left: 0;
            bottom: -5px;
            transition: width 0.3s;
        }

        nav a:hover::after {
            width: 100%;
        }

        nav a:hover {
            color: #f05454;
        }

        /* 活动导航指示器样式 */
        .indicator {
            position: absolute;
            bottom: -5px;
            left: 0;
            height: 2px;
            background: #f05454;
            transition: transform 0.3s ease, width 0.3s ease;
            z-index: -1;
            width: 100%;
            transform: scaleX(0);
        }

        nav a.active .indicator {
            transform: scaleX(1);
        }

        /* Hero Section（英雄区） */
        #hero {
            height: 100vh;
            width: 100%;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            z-index: 1; /* 确保内容位于背景视频之上 */
            overflow: hidden; /* 防止内容溢出 */
        }

        #hero video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        /* Hero Section内容 */
        #hero h1 {
            font-size: 4em;
            color: #fff;
            text-shadow: 0 0 10px rgba(0,0,0,0.7);
            margin-bottom: 20px;
            z-index: 1;
        }

        #hero p {
            font-size: 1.5em;
            color: #ddd;
            margin-bottom: 30px;
            max-width: 800px;
            z-index: 1;
        }

        /* 下载按钮和观看视频按钮 */
        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            z-index: 1;
        }

        .button {
            display: inline-block;
            background: linear-gradient(90deg, #f05454, #d94343);
            color: white;
            padding: 15px 30px;
            font-size: 1.2em;
            border: none;
            cursor: pointer;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(240, 84, 84, 0.8);
            transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .button::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            transition: all 0.5s;
        }

        .button:hover::before {
            top: -10%;
            left: -10%;
            width: 120%;
            height: 120%;
        }

        .button:hover {
            transform: scale(1.05);
            box-shadow: 0 12px 30px rgba(240, 84, 84, 1);
            background: linear-gradient(90deg, #d94343, #f05454);
        }

        /* 指示下滑的箭头 */
        .scroll-down {
            position: absolute;
            bottom: 20px;
            font-size: 2em;
            animation: bounce 2s infinite;
            cursor: pointer;
            color: #f05454;
            z-index: 1;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        /* 主要内容区 */
        main {
            /* margin-top: 80px; /* 留出头部空间 */ */
            position: relative;
            z-index: 1;
        }

        /* 关于游戏 */
        #about {
            padding: 100px 50px;
            /* background: #1a1a1a; */
			background: url(static/image/123456.jpg);
			background-repeat: no-repeat;
			background-position: 1px 1px;
			background-size: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        #about h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
            color: #f05454;
        }

        #about p {
            max-width: 800px;
            margin-bottom: 15px;
            line-height: 1.6;
            font-size: 1.1em;
            color: #ddd;
        }

        /* 图片展示 */
        #gallery {
            padding: 100px 50px;
            background: #000; /* 黑色背景 */
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        #gallery h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
            color: #f05454;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            width: 90%;
            max-width: 1200px;
        }

        .gallery-grid img {
            width: 100%;
            height: auto;
            cursor: pointer;
            border-radius: 10px;
            transition: transform 0.3s;
        }

        .gallery-grid img:hover {
            transform: scale(1.05);
        }

        /* 福利活动 */
        #promotion {
            padding: 100px 50px;
            background: #1a1a1a;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        #promotion h2 {
            font-size: 2.5em;
            margin-bottom: 20px;
            color: #f05454;
        }

        .promotion-content {
            max-width: 800px;
            background: rgba(0, 0, 0, 0.8);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.5);
            position: relative;
        }

        .promotion-content p {
            margin-bottom: 20px;
            line-height: 1.6;
            font-size: 1.1em;
            color: #ddd;
        }

        .gift-code {
            font-size: 2em;
            color: #ffd700;
            font-weight: bold;
            padding: 15px 25px;
            background: rgba(255, 215, 0, 0.2);
            border-radius: 10px;
            display: inline-block;
            transition: transform 0.3s, background 0.3s;
            cursor: pointer;
            position: relative;
        }

        .gift-code:hover {
            transform: scale(1.1);
            background: rgba(255, 215, 0, 0.4);
        }

        /* 复制提示信息 - 居中弹出 */
        .copy-message {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.8);
            color: #f05454;
            padding: 10px 20px;
            border-radius: 5px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s, transform 0.5s;
            font-size: 0.8em;
            z-index: 3000;
        }

        .copy-message.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* 视频模态框样式 */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.8);
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-content {
            position: relative;
            background-color: #000;
            padding: 0;
            border: none;
            width: 100%;
            max-width: 800px;
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.5);
        }

        .close {
            position: absolute;
            top: -40px;
            right: 0;
            color: #fff;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            z-index: 2100;
        }

        .close:hover,
        .close:focus {
            color: #f05454;
            text-decoration: none;
            cursor: pointer;
        }

        .modal-video {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        /* 新增图片模态框 */
        .modal-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        /* 页脚样式 */
        footer {
            background: rgba(0, 0, 0, 0.9);
            color: #fff;
            text-align: center;
            padding: 30px 50px;
            position: relative;
            z-index: 1;
        }

        footer p {
            margin-bottom: 10px;
            font-size: 1em;
        }

        footer .social-links a {
            color: #fff;
            margin: 0 10px;
            font-size: 1.2em;
            transition: color 0.3s;
        }

        footer .social-links a:hover {
            color: #f05454;
        }

        /* 响应式设计 */
        @media (max-width: 1200px) {
            header {
                padding: 15px 30px;
            }
            #about, #gallery, #promotion {
                padding: 80px 30px;
            }
            .gallery-grid {
                width: 90%;
                grid-template-columns: repeat(3, 1fr);
            }
            #hero h1 {
                font-size: 3.5em;
            }
            #hero p {
                font-size: 1.3em;
            }
        }

        @media (max-width: 992px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            header {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px 20px;
            }
            nav {
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 10px;
            }
            #about, #gallery, #promotion {
                padding: 60px 20px;
            }
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            .gift-code {
                font-size: 1.5em;
                padding: 10px 15px;
            }
            #hero h1 {
                font-size: 2.5em;
            }
            #hero p {
                font-size: 1.2em;
            }
        }

        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            .gift-code {
                font-size: 1.2em;
                padding: 8px 12px;
            }
            .modal-content {
                max-width: 90%;
            }
            #hero h1 {
                font-size: 2em;
            }
            #hero p {
                font-size: 1em;
            }
        }