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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
            background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
            color: #fff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* 顶部游戏中心标题 */
        .game-header {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            padding: 12px 15px 15px;
            text-align: center;
            position: relative;
        }

        .game-header-title {
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 5px;
        }

        .game-header-underline {
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #ffd700 0%, #ff6b6b 100%);
            margin: 0 auto;
            border-radius: 2px;
        }

        /* 用户信息卡片 */
        .user-card {
            background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
            margin: -10px 15px 10px;
            border-radius: 15px;
            padding: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            position: relative;
            overflow: hidden;
        }

        .user-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            animation: shine 3s infinite;
            pointer-events: none;
        }

        @keyframes shine {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-30px, -30px); }
        }

        .user-balance {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .balance-icon {
            width: 35px;
            height: 35px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .balance-info {
            flex: 1;
        }

        .balance-label {
            font-size: 11px;
            opacity: 0.9;
            margin-bottom: 2px;
        }

        .balance-amount {
            font-size: 22px;
            font-weight: 700;
            color: #ffd700;
        }

        .user-actions {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .action-btn {
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 6px;
            color: #fff;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }

        .action-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }

        /* 系统通知 */
        .system-notice {
            background: linear-gradient(90deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 68, 68, 0.05) 100%);
            margin: 0 15px 10px;
            padding: 8px 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-left: 3px solid #ff4444;
        }

        .notice-icon {
            font-size: 16px;
            animation: blink 1.5s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .notice-text {
            font-size: 15px;
            color: #ff0000;
            flex: 1;
            transition: opacity 0.3s ease-in-out;
        }

        .notice-text.fade {
            opacity: 0.3;
        }

        /* 充值提现区域 */
        .action-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            padding: 0 15px 12px;
        }

        .action-card {
            background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
            border-radius: 15px;
            padding: 15px 12px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 3px 12px rgba(255, 107, 107, 0.3);
        }

        .action-card.recharge {
            background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
        }

        .action-card.withdraw {
            background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
        }

        .action-card.transfer {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
        }

        .action-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
        }

        .action-card-icon {
            position: absolute;
            right: 10px;
            top: 10px;
            font-size: 35px;
            opacity: 0.3;
        }

        .action-card-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 3px;
        }

        .action-card-subtitle {
            font-size: 10px;
            opacity: 0.9;
        }

        /* 游戏列表区域 - 新布局 */
        .games-section {
            flex: 1;
            padding: 0 0 80px;
            display: flex;
        }

        /* 左侧导航 */
        .left-game-nav {
            width: 70px;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            flex-direction: column;
            padding: 10px 0;
            border-radius: 0 15px 15px 0;
            margin-left: 0;
        }

        .game-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 5px;
            cursor: pointer;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }

        .game-nav-item.active {
            background: rgba(255, 215, 0, 0.1);
            border-left-color: #ffd700;
        }

        .game-nav-item:hover {
            background: rgba(255, 215, 0, 0.05);
        }

        .game-nav-icon {
            font-size: 28px;
            margin-bottom: 5px;
        }

        .game-nav-label {
            font-size: 11px;
            color: #ccc;
            text-align: center;
        }

        .game-nav-item.active .game-nav-label {
            color: #ffd700;
            font-weight: 600;
        }

        /* 右侧游戏内容区 */
        .games-content-area {
            flex: 1;
            padding: 15px;
            overflow-y: auto;
            max-height: calc(100vh - 380px);
        }

        .game-section {
            display: none;
        }

        .game-section.active {
            display: block;
        }

        .section-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #fff;
        }

        .games-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .game-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            border-radius: 15px;
            padding: 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            transition: all 0.3s;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            height: 140px;
        }

        .game-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            border-color: rgba(255, 215, 0, 0.3);
        }

        .game-info {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 15px;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
        }

        .game-name {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .game-subtitle {
            font-size: 11px;
            color: #ddd;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .game-count {
            font-size: 14px;
            color: #ffd700;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        .game-image-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .game-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 768px) {
            .left-game-nav {
                width: 60px;
            }

            .game-nav-icon {
                font-size: 24px;
            }

            .game-name {
                font-size: 18px;
            }

            .game-card {
                height: 120px;
            }
        }

        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 3px;
            left: 0;
            right: 0;
            background: #000000;
            border-top: 1px solid rgba(255,255,255,0.05);
            border-radius: 20px 20px 0 0;
            display: flex;
            padding: 12px 0;
            padding-bottom: env(safe-area-inset-bottom);
            z-index: 100;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        }

        .nav-item {
            flex: 1;
            padding: 8px 5px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-decoration: none;
        }

        .nav-item.active {
            color: #ffd700;
        }

        .nav-icon {
            font-size: 22px;
        }

        .nav-label {
            font-size: 10px;
            font-weight: bold;
        }

        /* 模态框 */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
        }

        .modal-content {
            position: relative;
            background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
        }

        .modal-icon {
            font-size: 60px;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .modal-text {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .modal-btn {
            background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
            border: none;
            border-radius: 12px;
            padding: 14px 30px;
            color: #fff;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
        }

        .modal-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
        }
        .recharge-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            overflow-y: auto;
        }

        .recharge-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .recharge-content {
            background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
            border-radius: 15px;
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
        }

        .recharge-header {
            padding: 20px;
            border-bottom: 1px solid #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .recharge-header h2 {
            font-size: 20px;
            color: #ffd700;
        }

        .recharge-close {
            background: none;
            border: none;
            color: #999;
            font-size: 28px;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            line-height: 1;
        }

        .recharge-body {
            padding: 20px;
        }

        .recharge-step {
            margin-bottom: 25px;
        }

        .recharge-step-title {
            font-size: 16px;
            color: #ffd700;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .recharge-step-num {
            background: #ffd700;
            color: #000;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            font-weight: bold;
            font-size: 14px;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .payment-method {
            background: #2a2a2a;
            border: 2px solid #333;
            border-radius: 10px;
            padding: 15px 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .payment-method:hover {
            border-color: #ffd700;
        }

        .payment-method.selected {
            border-color: #ffd700;
            background: rgba(255, 215, 0, 0.1);
        }

        .payment-method-icon {
            font-size: 32px;
            margin-bottom: 8px;
        }

        .payment-method-name {
            font-size: 14px;
            color: #fff;
        }

        .amount-input-group {
            margin-bottom: 15px;
        }

        .amount-input {
            width: 100%;
            padding: 15px;
            background: #2a2a2a;
            border: 2px solid #333;
            border-radius: 10px;
            color: #fff;
            font-size: 18px;
            text-align: center;
        }

        .amount-input:focus {
            outline: none;
            border-color: #ffd700;
        }

        .amount-tips {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
            margin-top: 8px;
        }

        .qrcode-display {
            display: none;
            text-align: center;
            padding: 20px;
            background: #fff;
            border-radius: 10px;
            margin: 15px 0;
        }

        .qrcode-display.active {
            display: block;
        }

        .qrcode-image {
            max-width: 250px;
            margin: 0 auto;
        }

        .payment-account {
            background: #2a2a2a;
            padding: 12px;
            border-radius: 8px;
            margin: 10px 0;
            word-break: break-all;
            color: #ffd700;
            text-align: center;
        }

        .upload-area {
            border: 2px dashed #666;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .upload-area:hover {
            border-color: #ffd700;
        }

        .upload-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }

        .upload-text {
            color: #999;
            font-size: 14px;
        }

        .screenshot-preview {
            max-width: 100%;
            border-radius: 10px;
            margin-top: 15px;
        }

        .remark-input {
            width: 100%;
            padding: 12px;
            background: #2a2a2a;
            border: 1px solid #333;
            border-radius: 8px;
            color: #fff;
            resize: vertical;
            min-height: 80px;
        }

        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            border: none;
            border-radius: 10px;
            color: #000;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
        }

        .submit-btn:disabled {
            background: #666;
            cursor: not-allowed;
        }

        .recharge-records-link {
            text-align: center;
            padding: 15px;
            color: #ffd700;
            cursor: pointer;
            border-top: 1px solid #333;
        }

        /* 游戏容器（全屏） */
        .game-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: #000;
            z-index: 10000;
        }

        .game-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* 返回大厅按钮 */
        .return-lobby-btn {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.8);
            color: #ffd700;
            border: 2px solid #ffd700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10001;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
            backdrop-filter: blur(10px);
        }

        .return-lobby-btn svg {
            width: 28px;
            height: 28px;
            transition: transform 0.3s ease;
        }

        .return-lobby-btn:hover {
            background: rgba(255, 215, 0, 0.95);
            color: #000;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
        }

        .return-lobby-btn:hover svg {
            transform: translateX(-3px);
        }

        .return-lobby-btn:active {
            transform: scale(0.95);
        }
