
        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }

        :root {
            --neon-blue: #00f3ff;
            --neon-purple: #9000ff;
            --dark-bg: #0a0a12;
            --accent-color: #00f3ff;
            --electric-color: #ffa200;
            --electric-glow: #ff7b00;
        }

        html, body {
            background-color: var(--dark-bg);
            color: #ffffff;
            overflow-x: hidden; /* 只禁止水平滚?*/
            height: 100%; /* 确保占满整个视口 */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(144, 0, 255, 0.05) 0%, transparent 20%);
        }

        /* 导航?*/
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background-color: rgba(10, 10, 18, 0.8);
            backdrop-filter: blur(10px);
            padding: 20px;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 243, 255, 0.2);
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--accent-color);
            text-shadow: 0 0 10px var(--accent-color);
            text-decoration: none;
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            position: relative;
            padding: 5px 0;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent-color);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        /* 汉堡菜单图标 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            z-index: 120;
        }

        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: var(--accent-color);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        /* 导航菜单开关状?*/
        .menu-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        /* 主内容区 */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 120px 20px 50px;
            overflow-y: auto; /* 允许垂直滚动 */
        }

        /* 水滴特效 */
        .rain-container {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: -1;
            pointer-events: none;
        }
        
        .raindrop {
            position: absolute;
            background: radial-gradient(
                circle at center,
                rgba(0, 243, 255, 0.7) 0%,
                rgba(0, 243, 255, 0.3) 50%,
                rgba(0, 243, 255, 0.1) 80%
            );
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
            transform-origin: center bottom;
            animation: splash 3s infinite ease-out;
            pointer-events: none;
        }
        
        .ripple {
            position: absolute;
            border: 1px solid rgba(0, 243, 255, 0.6);
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(0, 243, 255, 0.3), inset 0 0 8px rgba(0, 243, 255, 0.3);
            animation: ripple-effect 3s cubic-bezier(0.2, 0.5, 0.3, 1) infinite;
            pointer-events: none;
        }
        
        @keyframes ripple-effect {
            0% {
                width: 0px;
                height: 0px;
                opacity: 0.8;
                transform: translateZ(0);
            }
            100% {
                width: 120px;
                height: 120px;
                opacity: 0;
                transform: translateZ(0);
            }
        }
        
        @keyframes splash {
            0% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 0.8;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: scale(1.5);
            }
        }
        
        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        
        .shake {
            animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
        }

        /* 页脚 */
        .footer {
            padding: 30px;
            text-align: center;
            background-color: rgba(10, 10, 18, 0.8);
            border-top: 1px solid rgba(0, 243, 255, 0.2);
        }

        .footer p {
            font-size: 1rem;
            color: #999999;
        }

        /* 电流边框容器 */
        .reward-container {
            position: relative;
            width: 80%; /* ?0%减小?0% */
            max-width: 500px; /* ?00px减小?00px */
            aspect-ratio: 1 / 1.2; /* 调整宽高比从1/1.3改为1/1.2，使其更方正一?*/
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: rgba(10, 10, 18, 0.6);
            border-radius: 10px;
            padding: 20px;
            z-index: 1;
        }
        
        /* 礼包图片样式 */
        .gift-image {
            position: relative;
            margin-bottom: 15px;
            animation: float-gift 3s ease-in-out infinite;
        }
        
        #gift-img {
            width: 80px;
            height: 80px;
            filter: drop-shadow(0 0 10px var(--electric-color));
            transform-origin: center center;
        }
        
        /* 礼包内容气泡 */
        .gift-tooltip {
            position: absolute;
            top: -10px;
            left: 100px;
            width: 270px;
            background: rgba(0, 0, 0, 0.9);
            border: 1px solid var(--electric-color);
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(255, 162, 0, 0.5), inset 0 0 10px rgba(255, 162, 0, 0.1);
            padding: 15px;
            color: white;
            font-size: 0.9rem;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            pointer-events: none;
        }

        /* 移动端礼包内容弹?*/
        .mobile-gift-tooltip-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(3px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-gift-tooltip {
            width: 85%;
            max-width: 300px;
            background: rgba(0, 0, 0, 0.9);
            border: 1px solid var(--electric-color);
            border-radius: 12px;
            box-shadow: 0 0 20px rgba(255, 162, 0, 0.5), inset 0 0 10px rgba(255, 162, 0, 0.1);
            padding: 20px 15px;
            position: relative;
            animation: fadeIn 0.3s ease;
        }

        .mobile-gift-tooltip h4 {
            color: var(--electric-color);
            margin-bottom: 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 162, 0, 0.3);
            text-align: center;
            font-size: 1.1rem;
        }

        .mobile-gift-tooltip ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-gift-tooltip li {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
            line-height: 1.4;
            text-align: left;
        }

        .mobile-gift-tooltip li::before {
            content: '✦';
            position: absolute;
            left: 0;
            color: var(--electric-color);
        }

        .mobile-close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 162, 0, 0.3);
            color: var(--electric-color);
            font-size: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        
        .gift-tooltip.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto; /* 让提示框可点?*/
        }
        
        .gift-tooltip::before {
            content: '';
            position: absolute;
            top: 25px;
            left: -10px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-right: 10px solid var(--electric-color);
        }
        
        .gift-tooltip h4 {
            color: var(--electric-color);
            margin-bottom: 10px;
            text-align: center;
            font-size: 1.1rem;
        }
        
        .gift-tooltip ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .gift-tooltip li {
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
            line-height: 1.4;
        }
        
        .gift-tooltip li::before {
            content: '✦';
            position: absolute;
            left: 0;
            color: var(--electric-color);
        }
        
        @keyframes float-gift {
            0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 10px var(--electric-color)); }
            50% { transform: translateY(-10px) scale(1.05); filter: drop-shadow(0 0 20px var(--electric-color)) brightness(1.1); }
        }

        /* 电流边框效果 */
        .electric-border {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: -1;
        }

        .electric-border::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border-radius: 12px;
            background: var(--electric-color);
            opacity: 0.3;
        }

        .reward-label {
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--electric-color);
            padding: 8px 20px;
            border-radius: 30px;
            font-weight: bold;
            margin-bottom: 40px;
            box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
            border: 1px solid rgba(255, 162, 0, 0.3);
            letter-spacing: 2px;
        }

        .reward-title {
            font-size: 2.2rem;
            margin-top: 30px;
            color: white;
            text-align: center;
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding: 5px 0;
            position: relative;
        }
        
        .reward-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--electric-color), transparent);
        }

        .reward-description {
            font-size: 1.2rem;
            text-align: center;
            margin: 0 auto 30px;
            width: 100%;
            color: #cccccc;
            padding: 0 15px;
            box-sizing: border-box;
            line-height: 1.5;
        }

        /* 玩家ID样式 */
        #displayed-id {
            color: var(--electric-color);
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 162, 0, 0.5);
            padding: 0 5px;
        }

        /* 礼包码区?*/
        /* ID验证区域样式 */
        .id-input-area {
            width: 80%;
            margin: 20px auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* 标题样式 */
        .id-verification-title {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: white;
            text-align: center;
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding: 5px 0;
            position: relative;
        }

        .id-verification-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--electric-color), transparent);
        }

        .game-id-input {
            width: 100%;
            padding: 12px 15px;
            font-size: 1.1rem;
            border: none;
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--electric-color);
            border-radius: 5px;
            margin-bottom: 15px;
            text-align: center;
            letter-spacing: 1px;
            border: 1px solid rgba(255, 162, 0, 0.3);
            outline: none;
            transition: all 0.3s ease;
        }
        
        .game-id-input:focus {
            border-color: var(--electric-color);
            box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
        }
        
        .id-note {
            color: #aaa;
            font-size: 0.9rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .verify-btn {
            background: linear-gradient(45deg, var(--neon-purple), var(--electric-glow));
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 1rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 20px;
            box-shadow: 0 0 15px rgba(144, 0, 255, 0.3);
        }
        
        .verify-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(144, 0, 255, 0.5);
        }
        
        .error-message {
            color: #ff4d4d;
            font-size: 0.9rem;
            height: 50px;
            text-align: center;
            margin-top: 5px;
        }
        
        .player-id-display {
            background-color: rgba(0, 0, 0, 0.4);
            padding: 8px 15px;
            border-radius: 20px;
            color: var(--electric-color);
            margin-bottom: 15px;
            font-size: 0.9rem;
            display: inline-block;
        }
        
        /* 兑换码区?*/
        .code-area {
            width: 80%;
            margin: 0 auto 20px;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 162, 0, 0.3);
            border-radius: 8px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 15px rgba(255, 162, 0, 0.2);
        }

        .code {
            font-family: 'Courier New', monospace;
            font-size: 1.5rem;
            color: var(--electric-color);
            letter-spacing: 2px;
            font-weight: bold;
            text-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
        }

        .copy-btn {
            background: linear-gradient(45deg, var(--electric-color), var(--electric-glow));
            color: white;
            border: none;
            padding: 12px 25px;
            font-size: 1rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            box-shadow: 0 0 15px rgba(255, 162, 0, 0.3);
        }

        .copy-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(255, 162, 0, 0.5);
        }
        
        .participant-count {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-top: 20px;
            margin-bottom: 5px;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 15px;
        }
        
        #participant-number {
            color: var(--electric-color);
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 162, 0, 0.3);
        }

        .copy-message {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(0, 0, 0, 0.8);
            color: var(--electric-color);
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .copy-message.show {
            opacity: 1;
        }

        #reward-code-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            text-align: center;
            padding: 0 10px;
            box-sizing: border-box;
        }

        /* 响应式设?*/
        @media (max-width: 768px) {
            .navbar {
                padding: 15px;
                align-items: center;
                justify-content: space-between;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                max-width: 300px;
                height: 100vh;
                background: rgba(10, 10, 18, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                gap: 20px;
                padding: 80px 30px 30px;
                transition: right 0.3s ease;
                z-index: 110;
                box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
                border-left: 1px solid rgba(0, 243, 255, 0.2);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links a {
                font-size: 1.2rem;
                width: 100%;
                padding: 15px 0;
            }
            
            .nav-links a::after {
                bottom: 10px;
            }
            
            .reward-container {
                width: 90%;
                max-width: 450px; /* 从之前的值减?*/
                aspect-ratio: auto;
                padding: 15px 10px;
                margin: 80px auto 30px;
                min-height: 480px; /* ?20px减小?80px */
            }
            
            .gift-image {
                margin: 10px 0;
            }
            
            #gift-img {
                width: 64px;
                height: 64px;
            }
            
            .reward-label {
                font-size: 0.9rem;
                margin-bottom: 20px;
                padding: 6px 15px;
            }
            
            .reward-title, .id-verification-title {
                font-size: 1.4rem;
                margin: 15px 0;
            }
            
            .reward-description {
                font-size: 0.95rem;
                max-width: 100%;
                padding: 0 10px;
                margin-bottom: 15px;
                line-height: 1.4;
            }
            
            #reward-code-container {
                padding: 0 5px;
            }
            
            .id-input-area {
                width: 95%;
            }
            
            .game-id-input {
                padding: 10px;
                font-size: 1rem;
            }
            
            .verify-btn, .copy-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .code {
                font-size: 1rem;
                letter-spacing: 1px;
            }
            
            .code-area {
                width: 95%;
                padding: 15px 10px;
            }
            
            .gift-tooltip {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) translateY(10px);
                width: 85%;
                max-width: 300px;
                margin: 0;
                z-index: 1001;
                border-radius: 12px;
                padding: 20px 15px;
                box-shadow: 0 0 30px rgba(255, 162, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
                text-align: left;
            }
            
            .gift-tooltip.show {
                transform: translate(-50%, -50%);
                display: block;
            }
            
            .gift-tooltip::before {
                display: none;
            }
            
            .gift-tooltip h4 {
                margin-bottom: 15px;
                padding-bottom: 8px;
                border-bottom: 1px solid rgba(255, 162, 0, 0.3);
            }
            
            .gift-tooltip ul {
                display: block;
                width: 100%;
            }
            
            .gift-tooltip li {
                text-align: left;
                margin-bottom: 10px;
            }
            
            .close-tooltip-btn {
                position: absolute;
                top: 10px !important;
                right: 15px !important;
                font-size: 24px !important;
                color: var(--electric-color) !important;
                cursor: pointer;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background: rgba(0, 0, 0, 0.3);
                border: 1px solid rgba(255, 162, 0, 0.3);
            }
            
            #tooltip-overlay {
                background: rgba(0, 0, 0, 0.7);
                backdrop-filter: blur(3px);
            }

            .main-content {
                padding: 80px 15px 30px;
                align-items: center;
                justify-content: flex-start; /* 上对齐内?*/
                overflow-y: auto; /* 确保内容可滚?*/
            }
            
            body {
                overflow-y: auto; /* 在移动设备上允许页面滚动 */
            }
        }
        @media (max-width: 640px) {
            .main-content {
                padding: 96px 14px 120px;
            }

            .reward-container {
                width: 100%;
                max-width: 100%;
                min-height: 0;
                padding: 22px 16px 18px;
                margin: 70px auto 24px;
                border-radius: 18px;
                background: linear-gradient(180deg, rgba(14, 20, 32, 0.92), rgba(7, 10, 18, 0.94));
                box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
            }

            .id-input-area,
            .code-area,
            #reward-code-container {
                width: 100%;
            }

            .game-id-input,
            .verify-btn,
            .copy-btn {
                width: 100%;
                min-height: 46px;
            }

            .reward-description,
            .participant-count {
                line-height: 1.7;
            }
        }
    