/* ==================== common.css ==================== */
/* 此文件为项目基础样式文件，已拆分为以下模块文件： */
/*   - layout.css      基础布局、容器、页面结�?*/
/*   - navigation.css   顶部导航、二级导航、底部导�?*/
/*   - games.css        游戏卡片、游戏分类、游戏中心样�?*/
/*   - user.css         个人资料、设置、用户信息样�?*/
/*   - payment.css      充值、提现、绑定方式、交易样�?*/
/*   - theme-light.css  所有浅色模式覆盖样�?*/
/* 请在HTML中同时引入这些模块文件以确保样式完整 */
/* ==================== 全局样式 ==================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    margin: 0;
    padding: 0;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; 
    background: #1a1c2e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app { 
    max-width: 750px; 
    margin: 0 auto; 
    background: #1a1c2e; 
    min-height: 100vh; 
    position: relative; 
    padding-bottom: 60px; 
}

/* ==================== 顶部导航�?==================== */
.top-nav, .top-header {
    background: linear-gradient(135deg, #2a2d4a 0%, #1a1c2e 100%);
    color: white;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.top-nav h1, .top-header h1 { 
    font-size: 20px; 
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.top-header .back-arrow {
    color: #ffffff;
}

/* 顶部标题栏内�?*/
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.header-content h1 {
    margin: 0;
    text-align: center;
    flex: 1;
}

.header-dropdown {
    position: absolute;
    right: 15px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-dropdown:hover {
    transform: scale(1.1);
}

.header-dropdown span {
    font-size: 12px;
}

/* 顶部标题下拉菜单 */
.header-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2d4a;
    border: 1px solid #3d4166;
    border-top: 2px solid #4CAF50;
    border-radius: 4px;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    min-width: 120px;
    margin-top: 10px;
}

.header-dropdown-item {
    padding: 12px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #ccc;
    border-bottom: 1px solid #3d4166;
}

.header-dropdown-item:last-child {
    border-bottom: none;
}

.header-dropdown-item:hover {
    background: #3d4166;
    color: #fff;
}

.header-dropdown-item.active {
    color: #4CAF50;
    font-weight: bold;
    background: #3d4166;
}

/* ==================== 轮播�?==================== */
.banner {
    width: 100%;
    height: 150px;
    background: #2a2d4a;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    z-index: 1;
}

.banner::before {
    display: none;
}

/* 轮播指示�?*/
.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    background: #ffd700;
    width: 20px;
    border-radius: 3px;
}

/* ==================== 跑马�?==================== */
.marquee {
    background: #2a2d4a;
    padding: 5px 15px;
    border-radius: 25px;
    margin: 8px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    position: relative;
    height: 36px;
}

/* 喇叭图标 */
.marquee-icon {
    font-size: 12px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    padding: 3px 10px;
    border-radius: 12px;
    flex-shrink: 0;
    margin-right: 10px;
    white-space: nowrap;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 滚动内容 */
.marquee-content-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: #ffd700;
    font-size: 13px;
}

.marquee-content .highlight {
    color: #e74c3c;
    font-weight: bold;
}

.marquee-content .platform {
    color: #f39c12;
    font-weight: bold;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 更多按钮 */
.marquee-more {
    background: linear-gradient(135deg, #7cb87c 0%, #9dc49d 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 10px;
    transition: all 0.3s;
    position: relative;
}

.marquee-more:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(67, 160, 71, 0.4);
}

/* 角标 */
.marquee-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ==================== 热门游戏 ==================== */
.hot-games-section {
    padding: 15px;
    background: #2a2d4a;
    margin-top: 2px;
    margin-bottom: 2px;
}

.hot-games-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hot-games-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 3px;
}

/* 奖金池样�?*/
.jackpot-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
}

.jackpot-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    /* 根据GIF图片实际比例设置，确保定位准�?*/
    aspect-ratio: 800 / 200; /* 假设GIF�?00x200，根据实际情况调�?*/
}

.jackpot-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 数字覆盖�?- 纯色无发�?*/
.jackpot-number-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(14px, 3vw, 24px);
    font-weight: 900;
    /* 纯色文字 */
    color: #FFD700;
    font-family: 'Arial Black', 'Impact', sans-serif;
    /* 无发光效�?*/
    filter: none;
    animation: number-scale 2s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 2px;
    line-height: 1;
    width: auto;
    min-width: 0;
}

@keyframes number-scale {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.win-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 56px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.win-marquee-row {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.win-marquee-content {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
}

.win-marquee-row:nth-child(2) .win-marquee-content {
    animation: marquee-scroll 30s linear infinite;
    animation-delay: -15s;
}

@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.win-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #1a1c2e;
    border-radius: 16px;
    margin-right: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 12px;
}

.vip-badge-marquee {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.vip-badge-marquee.vip1 { background: #9e9e9e; }
.vip-badge-marquee.vip2 { background: #4CAF50; }
.vip-badge-marquee.vip3 { background: #4fc3f7; }
.vip-badge-marquee.vip4 { background: #ba68c8; }
.vip-badge-marquee.vip5 { background: #ff9800; }
.vip-badge-marquee.vip6 { background: linear-gradient(135deg, #ff6b6b, #ffd700); }

.win-username {
    color: #ccc;
}

.win-platform {
    color: #888;
}

.win-amount {
    color: #4CAF50;
    font-weight: bold;
}

.hot-game-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
}

.hot-game-card:hover {
    transform: translateY(-3px);
}

.hot-game-icon {
    width: 100%;
    max-width: 60px;
    height: 60px;
    background: transparent;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    border-radius: 12px;
}

/* ==================== 全局加载样式 ==================== */
.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 28, 46, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.global-loading .loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.global-loading .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.global-loading .spinner-ring.delay-1 {
    animation-delay: 0.1s;
    border-width: 2px;
}

.global-loading .spinner-ring.delay-2 {
    animation-delay: 0.2s;
    border-width: 1px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.global-loading .loading-text {
    font-size: 14px;
    color: #999;
}

/* ==================== 图片懒加载样�?==================== */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.lazy-loaded {
    opacity: 1;
}

.lazy-image.lazy-loading {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.lazy-image.lazy-error {
    background: linear-gradient(135deg, rgba(244,67,54,0.1) 0%, rgba(244,67,54,0.05) 100%);
}

/* ==================== 图片占位�?==================== */
.img-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.img-placeholder::before {
    content: '🖼�?;
    font-size: 24px;
    opacity: 0.3;
}

.hot-game-name {
    padding: 8px 5px;
    text-align: center;
    font-size: 12px;
    color: #ccc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

/* ==================== 用户信息区域 ==================== */
.user-info-section {
    background: white;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.user-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.user-info-left {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.user-info-right {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.user-info-right .action-btn {
    padding: 4px 8px;
    background: #f1f8e9;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
}

.user-info-right .action-btn:hover {
    background: #7cb87c;
    color: white;
}

.login-prompt {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.login-prompt .auth-buttons {
    display: flex;
    gap: 8px;
}

.login-prompt .auth-btn {
    padding: 5px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
    white-space: nowrap;
}

.login-prompt .login-btn {
    background: #7cb87c;
    color: white;
}

.login-prompt .register-btn {
    background: #9dc49d;
    color: white;
}

.login-prompt .hint-text {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-account-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.user-account-info .account {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-account-info .balance {
    font-size: 16px;
    font-weight: bold;
    color: #7cb87c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== 游戏分类（首页） ==================== */
.home-category-section {
    padding: 15px;
    background: #2a2d4a;
    margin-top: 2px;
    margin-bottom: 2px;
}

.home-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.home-category-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-category-icon svg {
    width: 20px;
    height: 20px;
}

.home-category-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-category-row {
    display: grid;
    gap: 10px;
}

.home-category-row-1 {
    grid-template-columns: 1fr;
}

.home-category-row-2 {
    grid-template-columns: 1fr 1fr;
}

.home-category-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.home-category-card {
    background-color: #252842;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #3d4166;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.home-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.5);
    border-color: #5a5f8a;
}

.home-category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(37,40,66,0.85) 0%, rgba(37,40,66,0.3) 50%, rgba(37,40,66,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.home-category-row-1 .home-category-card {
    min-height: 100px;
    max-height: 100px;
    height: 100px;
}

.home-category-row-3 .home-category-card {
    min-height: 150px;
}

.home-category-card-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 12px 0 12px 14px;
}

.home-category-card-name {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.home-category-row-2 .home-category-card-name {
    font-size: 18px;
}

.home-category-row-3 .home-category-card-name {
    font-size: 16px;
}

.home-category-card-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    text-align: left;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.home-category-row-2 .home-category-card-desc {
    font-size: 12px;
}

.home-category-row-3 .home-category-card-desc {
    font-size: 11px;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .home-category-row-1 .home-category-card {
        min-height: 90px;
        max-height: 90px;
        height: 90px;
    }
    .home-category-row-2 .home-category-card {
        min-height: 90px;
    }
    .home-category-row-3 .home-category-card {
        min-height: 130px;
    }
    .home-category-card-name {
        font-size: 20px;
    }
    .home-category-row-2 .home-category-card-name {
        font-size: 17px;
    }
    .home-category-row-3 .home-category-card-name {
        font-size: 15px;
    }
    .home-category-card-text {
        padding: 10px 0 10px 12px;
    }
    .home-category-row-3 .home-category-card-desc {
        font-size: 12px;
    }
}

/* ==================== 分类标签导航 ==================== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    background: #2a2d4a;
    border-bottom: 2px solid #3d4166;
    overflow-x: auto;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-tab {
    min-width: 80px;
    padding: 14px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: 500;
}

.category-tab:hover {
    background: #3d4166;
    color: #fff;
}

.category-tab.active {
    color: #4CAF50;
    font-weight: bold;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    border-radius: 2px;
}

/* 分类下拉菜单 */
.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2a2d4a;
    border: 1px solid #3d4166;
    border-top: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 12px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    color: #ccc;
    border-bottom: 1px solid #3d4166;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #3d4166;
    color: #fff;
}

.dropdown-item.active {
    color: #4CAF50;
    font-weight: bold;
    background: #3d4166;
}

/* ==================== 游戏内容区域（游戏中心） ==================== */
.game-content {
    display: flex;
    height: calc(100vh - 120px);
    overflow: hidden;
}

/* 左侧子分类列�?*/
.subcategory-sidebar {
    width: 120px;
    background: #1a1c2e;
    border-right: 1px solid #3d4166;
    overflow-y: auto;
    flex-shrink: 0;
    height: 100%;
}

.subcategory-item {
    padding: 12px 5px;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid #3d4166;
    transition: all 0.3s;
    font-size: 11px;
    word-break: break-all;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #aaa;
}

.subcategory-icon {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.subcategory-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.subcategory-name {
    font-size: 11px;
    line-height: 1.2;
}

.subcategory-item:hover {
    background: #3d4166;
    color: #fff;
}

.subcategory-item.active {
    background: #4CAF50;
    color: white;
    font-weight: bold;
}

/* 右侧游戏网格 */
.games-area {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    height: 100%;
    background: #2a2d4a;
}

/* 搜索�?*/
.search-box {
    position: relative;
    position: sticky;
    top: 0;
    background: #2a2d4a;
    padding: 8px 0;
    z-index: 10;
    margin-bottom: 8px;
}

.search-input {
    width: 100%;
    padding: 8px 40px 8px 12px;
    border: 1.5px solid #3d4166;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
    outline: none;
    height: 36px;
    box-sizing: border-box;
    background: #1a1c2e;
    color: #fff;
}

.search-input::placeholder {
    color: #888;
}

.search-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
    pointer-events: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.game-card {
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-3px);
}

.game-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
}

.game-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-icon span {
    font-size: 32px;
}

.game-card-name {
    font-size: 12px;
    color: #eee;
    word-break: break-word;
    line-height: 1.3;
}

/* ==================== 底部认证信息 ==================== */
.footer-certification {
    background: #2a2d4a;
    padding: 8px 15px 30px 15px;
    text-align: center;
    margin-top: 5px;
}

.cert-row {
    margin-bottom: 20px;
}

.cert-row:last-child {
    margin-bottom: 0;
}

/* 第一行：18+年龄限制 */
.age-row {
    display: flex;
    justify-content: center;
}

.age-placeholder {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

/* 第二行：合作伙伴Logo */
.partners-row {
    display: flex;
    justify-content: center;
    gap: 1px;
    flex-wrap: nowrap;
}

.partner-placeholder {
    width: 80px;
    height: 50px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    flex-shrink: 0;
    overflow: hidden;
}

.partner-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 第三行：认证列表 */
.certifications-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.cert-placeholder {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: #999;
    flex-shrink: 0;
}

.cert-text {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    white-space: nowrap;
}

/* 第四行：版权信息 */
.copyright-row {
    font-size: 13px;
    color: #666;
    padding-top: 10px;
}

/* ==================== 底部导航�?==================== */
.bottom-nav-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    z-index: 1000;
}

.bottom-nav {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 6px 0 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.nav-item {
    text-align: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    padding: 4px 0;
}

.nav-item.active { 
    color: #4CAF50;
}

.nav-item i { 
    font-size: 26px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px; 
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s, transform 0.3s;
}

.nav-item.active i {
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.8));
    transform: scale(1.1);
}

.nav-item i svg {
    display: block;
    fill: currentColor;
    transition: transform 0.3s;
}

.nav-item:hover i svg {
    transform: scale(1.05);
}

.nav-item span { 
    font-size: 11px; 
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ==================== 卡片组件 ==================== */
.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-left: 4px solid #7cb87c;
    padding-left: 10px;
}

/* 金额按钮 */
.amount-btn {
    padding: 15px 10px;
    text-align: center;
    background: #f8f9ff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
}

.amount-btn:hover {
    border-color: #7cb87c;
    background: #f5f9f5;
}

.amount-btn.active {
    border-color: #7cb87c;
    background: linear-gradient(135deg, #7cb87c 0%, #9dc49d 100%);
    color: white;
    font-weight: bold;
}

/* 支付方式 */
.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9ff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #7cb87c;
    background: #f5f9f5;
}

.payment-method.active {
    border-color: #7cb87c;
    background: linear-gradient(135deg, rgba(124, 184, 124, 0.1) 0%, rgba(157, 196, 157, 0.1) 100%);
    box-shadow: 0 2px 8px rgba(124, 184, 124, 0.2);
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    margin-top: 20px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
}

/* ==================== 空状�?==================== */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

/* ==================== 按钮�?==================== */
.btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

/* ==================== 工具�?==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }

.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

.p-10 { padding: 10px; }
.p-15 { padding: 15px; }
.p-20 { padding: 20px; }

.hidden { display: none; }
.visible { display: block; }

/* ==================== 响应式适配 ==================== */
@media screen and (max-width: 750px) {
    .subcategory-sidebar {
        width: 70px;
    }
    
    .subcategory-item {
        font-size: 10px;
        padding: 8px 3px;
    }
    
    .game-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .game-card {
        padding: 8px 4px;
    }
}

@media screen and (max-width: 375px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .subcategory-sidebar {
        width: 65px;
    }
    
    .subcategory-item {
        font-size: 9px;
        padding: 6px 2px;
    }
    
    .game-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .game-card-name {
        font-size: 11px;
    }
    
    .game-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-item.tall {
        min-height: 160px !important;
        height: 160px !important;
    }
}

/* ==================== 滚动条美�?==================== */
/* 隐藏滚动�?*/
::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* ==================== 个人中心页面 - 深色主题修复 ==================== */
/* 修复深色模式下文字看不清的问�?*/
.profile-container .func-text {
    color: #ffffff !important;
}

.profile-container .func-arrow-right {
    color: #ccc !important;
}

.profile-container .settings-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

.profile-container .settings-section-title {
    color: #ffffff !important;
}
