* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    touch-action: manipulation;
}

html {
    font-size: 14px;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    color: #f0e6d2;
    min-height: 100vh;
    padding-bottom: 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    min-height: 100vh;
}

/* 暗金奢华主题色 */
:root {
    --primary-color: #d4af37;
    --primary-light: #f7ef8a;
    --primary-dark: #b8860b;
    --accent-color: #c19a6b;
    --accent-light: #f0e6d2;
    --background-color: #0c0c14;
    --card-background: #1a1814;
    --text-primary: #f7ef8a;
    --text-secondary: #c9b8a4;
    --text-light: #8b7355;
    --border-color: rgba(212, 175, 55, 0.3);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 6px 25px rgba(0, 0, 0, 0.6);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.7);
    
    --touch-target-min: 44px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    --breakpoint-xs: 320px;
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* 触摸友好按钮 - 最小44px */
button,
.btn,
.nav-item,
.action-button,
.game-category-item,
.record-item,
.menu-item,
.post-action,
.deposit-channel-item,
.deposit-amount-btn,
.category-item,
.promotions-tab-item,
.rebate-claim-btn,
.vip-claim-btn,
.checkin-day,
.record-item,
.wallet-item,
.quick-action-btn,
.custom-dialog-btn,
.setting-btn,
.search-btn {
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 登录页面 - 黑金奢华风格 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 50%, #2d2920 100%);
}

.login-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    background: rgba(26, 24, 20, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.login-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.site-name {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title {
    font-size: 26px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.login-subtitle {
    font-size: 14px;
    color: #c9b8a4;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #c9b8a4;
}

.form-label i {
    color: #d4af37;
    font-size: 14px;
}

.form-input {
    width: 100%;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 0 16px;
    color: #f0e6d2;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2),
                inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.form-input::placeholder {
    color: #5a4f40;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #c9b8a4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #1a1814;
}

.terms-row {
    flex-wrap: wrap;
    gap: 4px;
}

.terms-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 13px;
}

.terms-link:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border: none;
    border-radius: 14px;
    color: #1a1814;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-text {
    font-size: 14px;
    color: #8b7355;
}

.footer-link {
    font-size: 14px;
    color: #d4af37;
    text-decoration: none;
    margin-left: 6px;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

/* 顶部导航栏 - 暗金奢华风格 */
.top-nav {
    width: 100%;
    height: 57px;
    background: rgba(20, 16, 12, 0.95);
    backdrop-filter: blur(15px);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-sizing: border-box;
}

.top-nav .logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #d4af37, #f7ef8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
}

.top-nav .logo .logo-img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    border-radius: 0;
    border: none;
    margin-right: 8px;
    flex-shrink: 0;
}

.top-nav .logo span:first-child {
    color: #f7ef8a;
}

.top-nav .actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-nav .header-icon {
    font-size: 22px;
    color: #d4af37;
    transition: all 0.3s;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
    cursor: pointer;
}

.top-nav .header-icon:hover {
    color: #f7ef8a;
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(247, 239, 138, 0.5);
}

.top-nav .notification {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.top-nav .notification:hover {
    transform: scale(1.1);
}

.top-nav .notification .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #d4af37 0%, #f7ef8a 100%);
    color: #2c2418;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 滚动图 */
.banner {
    width: 100%;
    margin-top: 0;
    padding: 10px 0;
    box-sizing: border-box;
}

.banner .banner-slider {
    position: relative;
    width: 100%;
    height: 133px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.banner .banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner .banner-slide.active {
    display: flex;
}

.banner .slide-1 {
    background: linear-gradient(135deg, #1a1a1a 0%, #d4af37 100%);
    color: #f7ef8a;
}

.banner .slide-2 {
    background: linear-gradient(135deg, #2c1810 0%, #c19a6b 100%);
    color: #f0e6d2;
}

.banner .slide-3 {
    background: linear-gradient(135deg, #1a1814 0%, #8b7355 100%);
    color: #e6d3a7;
}

.banner .banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.banner .banner-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banner .banner-indicator.active {
    background: #d4af37;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* 滚动公告 */
.marquee {
    width: 100%;
    padding: 0 0 15px;
    box-sizing: border-box;
}

.marquee .announcement-box {
    background: linear-gradient(135deg, rgba(30, 25, 20, 0.9), rgba(40, 35, 25, 0.9));
    border-radius: 15px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    height: 30px;
    overflow: hidden;
}

.marquee .announcement-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: relative;
    height: 100%;
    overflow: visible;
}

.marquee .announcement-title {
    font-weight: bold;
    color: #d4af37;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee .announcement-title::before {
    content: "";
}

.marquee .announcement-text {
    font-size: 12px;
    color: #c9b8a4;
    white-space: nowrap;
    flex: 1;
    animation: scroll 15s linear infinite;
}

/* 用户信息区和操作按钮 */
.account-section {
    width: 100%;
    padding: 0 0 20px;
    box-sizing: border-box;
}

.account-section .user-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.account-section .user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f7ef8a, #d4af37);
}

.account-section .user-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.account-section .user-left {
    flex: 1;
    min-width: 0;
}

.account-section .user-name {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 5px;
}

.account-section .user-balance {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.account-section .balance-label {
    font-size: 13px;
    color: #8b7355;
}

.account-section .balance-amount {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    text-shadow: 0 0 10px rgba(247, 239, 138, 0.4);
}

.account-section .user-actions-row {
    display: flex;
    gap: 15px;
}

.account-section .action-button {
    padding: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
}

.account-section .action-button i {
    font-size: 28px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-section .action-button span {
    color: #f7ef8a;
    transition: color 0.3s ease;
}

.account-section .action-button:hover i {
    transform: scale(1.15);
}

.account-section .action-button:hover span {
    color: #fff;
}



.marquee .icon {
    margin-right: 8px;
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.marquee .text {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* 游戏分类和内容 */
.game-area {
    width: 100%;
    padding: 0 0 20px;
    box-sizing: border-box;
}

.game-container {
    display: flex;
    gap: 12px;
    height: 450px;
}

/* 左侧游戏分类 */
.game-categories {
    width: 80px;
    background: rgba(20, 16, 12, 0.95);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
}

.game-categories::-webkit-scrollbar {
    display: none;
}

.game-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    background: rgba(30, 25, 20, 0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.game-category-item:hover {
    background: rgba(40, 35, 25, 0.9);
    border-left: 3px solid #d4af37;
}

.game-category-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-left: 3px solid #f7ef8a;
}

.game-category-item i {
    font-size: 20px;
    transition: all 0.3s;
    color: #8b7355;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.game-category-item span {
    font-size: 12px;
    font-weight: 500;
    color: #8b7355;
    transition: all 0.3s;
    text-shadow: 0 0 4px rgba(247, 239, 138, 0.3);
}

.game-category-item:hover i,
.game-category-item.active i {
    color: #f7ef8a;
    transform: scale(1.1);
    text-shadow: 0 0 12px rgba(247, 239, 138, 0.6);
}

.game-category-item:hover span,
.game-category-item.active span {
    color: #f7ef8a;
}

/* 右侧游戏卡片 - 优化为3列布局 */
.game-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto-fill, 150px);
    gap: 12px;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 8px;
}

/* 隐藏滚动条 */
.game-cards::-webkit-scrollbar {
    width: 0;
}

.game-card {
    background: rgba(30, 25, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 0;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    height: 150px;
    display: flex;
    flex-direction: column;
}

.game-image-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 0 5px 0 5px;
    margin-bottom: -1px;
}

.game-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-icon {
    font-size: 48px;
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
}

.game-card:hover .game-icon {
    transform: scale(1.15) rotate(5deg);
    color: #f7ef8a;
    text-shadow: 0 0 12px rgba(247, 239, 138, 0.6);
}

.game-card .tag {
    font-size: 12px;
    color: #f7ef8a;
    background: rgba(212, 175, 55, 0.2);
    padding: 8px 10px;
    border-radius: 0 0 6px 6px;
    display: block;
    transition: all 0.3s;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 500;
    align-self: stretch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 16, 12, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    color: #8b7355;
    padding: 5px 10px;
    border-radius: 10px;
}

.nav-item i {
    font-size: 22px;
    transition: all 0.3s;
}

.nav-item span {
    font-size: 12px;
    font-weight: 500;
}

.nav-item.active, .nav-item:hover {
    color: #f7ef8a;
    background: rgba(212, 175, 55, 0.1);
}

.nav-item.active i {
    color: #f7ef8a;
    transform: translateY(-5px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 页面内容 */
.page-content {
    padding-top: 57px;
    padding-bottom: 70px;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1814, #2c2418);
    box-sizing: border-box;
}

/* 优惠页面特殊样式 - 顶部不留间隙 */
.page-content.promotions-page {
    padding-top: 0;
}

/* 推广中心页面特殊样式 - 顶部不留间隙 */
.page-content.agent-page {
    padding-top: 0;
}

/* 佣金记录页面特殊样式 - 顶部不留间隙 */
.page-content.commission-records-page {
    padding-top: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-content,
    .top-nav,
    .banner,
    .marquee,
    .game-area,
    .account-section,
    .bottom-nav {
        width: 100%;
    }
    
    .game-container {
        flex-direction: row;
        height: 450px;
    }
    
    .game-categories {
        width: 80px;
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
    }
    
    .game-categories::-webkit-scrollbar {
        display: none;
    }
    
    .game-category-item {
        min-width: auto;
    }
    
    .game-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .game-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-nav .actions {
        gap: 10px;
    }
    
    .top-nav .header-icon {
        font-size: 20px;
    }
    
    .account-section .action-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 60px;
    }
}

/* 高清显示 */
@media (-webkit-device-pixel-ratio: 2), (resolution: 192dpi), (resolution: 2dppx) {
    .top-nav,
    .banner,
    .game-card {
        border-radius: calc(16px * 2);
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

/* 优惠活动页面 */
.promotions-section {
    padding: 15px;
    box-sizing: border-box;
}

.promotion-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    gap: 15px;
}

.promotion-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2418;
    font-size: 24px;
}

.promotion-content {
    flex: 1;
}

.promotion-title {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 5px;
}

.promotion-type {
    font-size: 12px;
    color: #d4af37;
    margin-bottom: 8px;
}

.promotion-desc {
    font-size: 14px;
    color: #c9b8a4;
    margin-bottom: 10px;
}

.promotion-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.no-promotions {
    text-align: center;
    padding: 40px 0;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.no-promotions i {
    font-size: 48px;
}

/* 我的页面 */
.profile-section {
    padding: 15px;
    box-sizing: border-box;
}

.user-profile-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2418;
    font-size: 32px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 5px;
}

.user-uid {
    font-size: 14px;
    color: #c9b8a4;
}

.user-signature {
    font-size: 12px;
    color: #8b7355;
    margin-top: 5px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.account-info-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.account-info-item:last-child {
    margin-bottom: 0;
}

.account-info-label {
    font-size: 14px;
    color: #c9b8a4;
}

.account-info-value {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.profile-menu-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.menu-item i:first-child {
    font-size: 18px;
    color: #d4af37;
    margin-right: 15px;
}

.menu-item span {
    flex: 1;
    font-size: 14px;
    color: #c9b8a4;
}

.menu-item i:last-child {
    font-size: 14px;
    color: #999;
}

.logout-btn-container {
    margin-top: 20px;
    text-align: center;
}

.logout-btn {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #000;
    border: 1px solid #f7ef8a;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    transition: all 0.3s;
}

.logout-btn:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 推广中心页面 */
.agent-section {
    padding: 0;
    box-sizing: border-box;
}

.invite-code-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.invite-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.invite-code-header h3 {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin: 0;
}

.copy-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.invite-code {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
}

.agent-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #c9b8a4;
}

.agent-tabs {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    padding: 6px 2px;
    gap: 0px;
}

.tab-item {
    flex: 1;
    min-width: 0;
    padding: 4px 2px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #c9b8a4;
    background: none;
    border: none;
    border-radius: 0;
}

.tab-item i {
    font-size: 14px;
}

.tab-title {
    font-size: 8px !important;
    font-weight: bold;
    white-space: nowrap;
}

.tab-item.active {
    background: none;
    color: #f7ef8a;
}

.tab-item.active .tab-title {
    color: #f7ef8a;
}

.tab-content {
    padding: 10px;
    font-size: 14px !important;
}

.team-list,
.commission-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-item,
.commission-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    background: transparent;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.team-item-info,
.commission-item-info {
    flex: 1;
}

.team-item-name,
.commission-item-from {
    font-size: 14px !important;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 4px;
}

.team-item-details,
.commission-item-details {
    font-size: 14px !important;
    color: #c9b8a4;
}

.team-item-balance {
    font-size: 14px !important;
    font-weight: bold;
    color: #f7ef8a;
}

.commission-item-amount {
    font-size: 14px !important;
    font-weight: bold;
    color: #07c160;
}

.no-data {
    text-align: center;
    padding: 20px 0;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
}

.no-data i {
    font-size: 36px;
}

.promote-btn-container {
    margin-top: 15px;
    text-align: center;
}

.promote-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.share-content {
    padding: 10px 0;
}

.share-card {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.share-title {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 10px;
}

.share-desc {
    font-size: 14px;
    color: #c9b8a4;
    margin-bottom: 20px;
    line-height: 1.5;
}

.share-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
}

.promote-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 auto;
}

/* 账号信息 */
.account-info {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-line {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    width: 100%;
    font-size: 6px !important;
}

.info-line.center-line {
    justify-content: flex-start;
}

.info-line.left-line {
    justify-content: flex-start;
}

.info-label {
    color: #c9b8a4;
    font-size: 6px !important;
    white-space: nowrap;
}

.info-value {
    color: #f7ef8a;
    font-size: 6px !important;
    font-weight: bold;
    word-break: break-all;
}

.info-line .info-value.link-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
    font-size: 6px !important;
    min-width: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.info-item.link-item {
    flex-wrap: nowrap;
}

.info-label {
    font-size: 8px;
    color: #c9b8a4;
    min-width: auto;
    flex-shrink: 0;
}

.info-value {
    font-size: 8px;
    color: #f7ef8a;
    flex: 0 1 auto;
    min-width: 0;
    word-break: break-all;
}

.info-value.link-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn.small {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 4px;
}

/* 推广中心 - 分享赚钱页面 */
.share-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-item i {
    font-size: 20px;
    color: #d4af37;
}

.stat-info {
    text-align: center;
}

.stat-label {
    font-size: 14px !important;
    color: #c9b8a4;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px !important;
    font-weight: bold;
    color: #f7ef8a;
}

.promo-card {
    background: transparent;
    border: none;
    padding: 0;
}

.promo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
}

.promo-header i {
    font-size: 20px;
    color: #d4af37;
}

.promo-header span {
    font-size: 14px !important;
    font-weight: bold;
    color: #f7ef8a;
}

.promo-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promo-row {
    display: flex;
    gap: 20px;
}

.promo-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-item label {
    font-size: 14px !important;
    color: #c9b8a4;
}

.promo-value {
    font-size: 14px !important;
    color: #f7ef8a;
    font-weight: 500;
}

.promo-value.invite-code {
    font-family: monospace;
    font-weight: bold;
    letter-spacing: 2px;
}

.promo-value-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-text {
    flex: 1;
    font-size: 12px;
    color: #f7ef8a;
    word-break: break-all;
}

.copy-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #1a1814;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.commission-structure {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.structure-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.structure-header i {
    font-size: 20px;
    color: #d4af37;
}

.structure-header span {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.structure-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.structure-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.2));
}

.structure-line.dashed {
    background: repeating-linear-gradient(
        0deg,
        rgba(212, 175, 55, 0.3),
        rgba(212, 175, 55, 0.3) 4px,
        transparent 4px,
        transparent 8px
    );
}

.structure-row {
    display: flex;
    gap: 20px;
}

.structure-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 8px;
    min-width: 80px;
}

.structure-node.gold {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
}

.structure-node.gold .node-label,
.structure-node.gold .node-level {
    color: #1a1814;
}

.structure-node.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.structure-node.silver .node-label,
.structure-node.silver .node-level {
    color: #1a1814;
}

.structure-node.bronze {
    background: linear-gradient(135deg, #cd7f32, #d4a574);
}

.structure-node.bronze .node-label,
.structure-node.bronze .node-level {
    color: #1a1814;
}

.structure-node.gray {
    background: rgba(200, 200, 200, 0.2);
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.structure-node.gray .node-label,
.structure-node.gray .node-level {
    color: #c9b8a4;
}

.node-label {
    font-size: 14px;
    font-weight: bold;
}

.node-level {
    font-size: 11px;
}

.tips-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tips-header i {
    font-size: 20px;
    color: #d4af37;
}

.tips-header span {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.tips-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #c9b8a4;
}

.tip-item i {
    color: #d4af37;
    font-size: 14px;
}

/* 推广中心 - 我的数据页面 */
.data-overview {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.period-selector {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 10px;
}

.period-item {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #c9b8a4;
    font-size: 12px;
    border-radius: 6px;
}

.period-item.active {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #1a1814;
    font-weight: bold;
}

.calendar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.user-info-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 28px;
    color: #d4af37;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 4px;
}

.user-id {
    font-size: 12px;
    color: #c9b8a4;
}

.user-guarantee {
    text-align: right;
}

.guarantee-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 4px;
}

.guarantee-value {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
}

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

.data-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
}

.data-card.blue-card {
    border-color: rgba(59, 130, 246, 0.5);
}

.data-card.red-card {
    border-color: rgba(239, 68, 68, 0.5);
}

.data-card.purple-card {
    border-color: rgba(168, 85, 247, 0.5);
}

.data-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-icon i {
    font-size: 22px;
    color: #d4af37;
}

.data-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.data-label {
    font-size: 12px;
    color: #c9b8a4;
}

.data-value {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
}

.data-claim-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #1a1814;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.data-claim-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.data-section-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-header i {
    font-size: 18px;
    color: #d4af37;
}

.section-header span {
    font-size: 15px;
    font-weight: bold;
    color: #f7ef8a;
}

.data-grid {
    display: flex;
    gap: 15px;
}

.grid-item {
    flex: 1;
    text-align: center;
}

.item-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 6px;
}

.item-value {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

/* 推广中心 - 我的直属页面 */
.direct-team-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-box-wrap {
    margin-bottom: 5px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 12px;
}

.search-input-group i {
    color: #c9b8a4;
    font-size: 14px;
    margin-right: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: #f7ef8a;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(201, 184, 164, 0.5);
}

.search-btn {
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
    padding: 8px;
}

.summary-cards {
    display: flex;
    gap: 12px;
}

.summary-card {
    flex: 1;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.summary-card.gold-card {
    border-color: rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), #1a1814);
}

.summary-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-icon i {
    font-size: 18px;
    color: #d4af37;
}

.summary-info {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
}

.member-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.member-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.member-avatar {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar i {
    font-size: 22px;
    color: #d4af37;
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 3px;
}

.member-uid {
    font-size: 11px;
    color: #c9b8a4;
}

.member-action {
    display: flex;
    align-items: center;
}

.action-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #1a1814;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.commission-badge {
    background: rgba(212, 175, 55, 0.2);
    color: #f7ef8a;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
}

.member-stats {
    display: flex;
    gap: 15px;
}

.member-stat-item {
    flex: 1;
    text-align: center;
}

.member-stat-item .stat-label {
    font-size: 11px;
    color: #c9b8a4;
    margin-bottom: 4px;
}

.member-stat-item .stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.empty-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.empty-icon i {
    font-size: 30px;
    color: rgba(212, 175, 55, 0.5);
}

.empty-text {
    font-size: 16px;
    color: #f7ef8a;
    font-weight: bold;
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 13px;
    color: #c9b8a4;
    text-align: center;
}

/* 推广中心 - 我的团队页面 */
.my-team-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-summary {
    display: flex;
    gap: 12px;
}

.team-member-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-member-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.member-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.member-avatar-wrap {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar-wrap i {
    font-size: 22px;
    color: #d4af37;
}

.member-details {
    flex: 1;
}

.member-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.member-team-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #c9b8a4;
}

.member-team-info i {
    color: #d4af37;
}

.member-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
}

.stat-box.full-width {
    grid-column: span 2;
}

.stat-box .stat-label {
    font-size: 11px;
    color: #c9b8a4;
    margin-bottom: 4px;
}

.stat-box .stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
}

/* 推广中心 - 返佣比例页面 */
.commission-rates-page {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.title-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-icon i {
    font-size: 26px;
    color: #d4af37;
}

.title-text h2 {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 4px;
}

.title-text p {
    font-size: 13px;
    color: #c9b8a4;
}

.commission-table-container {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow-x: auto;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    padding: 12px 15px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #f7ef8a;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.table-row {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.highlight {
    background: rgba(212, 175, 55, 0.1);
}

.table-cell {
    padding: 14px 15px;
    text-align: center;
    font-size: 14px;
    color: #c9b8a4;
}

.level-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.level-cell i {
    color: #d4af37;
    font-size: 14px;
}

.rate-cell {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.info-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.info-header i {
    font-size: 18px;
    color: #d4af37;
}

.info-header span {
    font-size: 15px;
    font-weight: bold;
    color: #f7ef8a;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-content li {
    font-size: 13px;
    color: #c9b8a4;
    padding-left: 20px;
    position: relative;
}

.info-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: bold;
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* 佣金标签页 */
.commission-tabs {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.commission-tab-header {
    display: flex;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.commission-tab-item {
    flex: 1;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #c9b8a4;
    font-size: 11px;
}

.commission-tab-item.active {
    background: rgba(212, 175, 55, 0.2);
    color: #f7ef8a;
}

.commission-tab-content {
    padding: 10px;
}

.commission-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.commission-table th,
.commission-table td {
    padding: 6px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #c9b8a4;
}

.commission-table th {
    background: rgba(212, 175, 55, 0.1);
    color: #f7ef8a;
}

/* 代理教程 */
.agent-tutorial {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.tutorial-title {
    font-size: 10px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 6px;
    text-align: center;
}

.structure-diagram {
    margin-bottom: 6px;
    text-align: center;
    padding: 4px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.diagram-node {
    display: inline-block;
    margin: 1px;
    position: relative;
}

.node-content {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 40px;
    font-size: 6px;
}

.node-title {
    font-size: 8px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 1px;
}

.node-stats {
    text-align: left;
}

.stat-item {
    font-size: 5px;
    color: #c9b8a4;
    margin-bottom: 0.5px;
}

.a-node .node-content {
    min-width: 70px;
}

.diagram-connections {
    height: 8px;
    position: relative;
    margin: 1px 0;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0.2));
    top: 50%;
    transform: translateY(-50%);
}

.diagram-connections:not(.second) .connection-line {
    width: 60px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.diagram-connections.second {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.diagram-connections.second .connection-line {
    width: 30px;
}

.diagram-nodes-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1px 0;
    flex-wrap: wrap;
}

.n-node {
    margin-top: 6px;
}

.diagram-note {
    margin-top: 6px;
    font-size: 7px;
    color: #f7ef8a;
    font-style: italic;
}

.tutorial-content {
    color: #c9b8a4;
    line-height: 1.4;
    font-size: 9px;
}

.tutorial-content h4 {
    color: #f7ef8a;
    margin: 8px 0 4px;
    font-size: 10px;
}

.tutorial-content p {
    margin-bottom: 4px;
    text-align: justify;
    font-size: 8px;
}

.share-btn-container {
    text-align: center;
    margin-top: 15px;
}

/* 我的数据内容 */
.data-section {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 0;
    margin-bottom: 0;
}

.time-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 6px 4px;
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.time-tab-item {
    padding: 4px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #c9b8a4;
    font-size: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.time-tab-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.time-tab-item.active {
    background: rgba(212, 175, 55, 0.2);
    color: #f7ef8a;
}

.time-tab-item i {
    font-size: 14px;
}

/* 我的直属内容 */
.direct-section {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 0;
    margin-bottom: 0;
}

.direct-table {
    width: 100%;
}

.direct-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.direct-table-cell {
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.direct-table-cell:last-child {
    border-right: none;
}

.cell-label {
    font-size: 10px;
    color: #c9b8a4;
}

.cell-value {
    font-size: 12px;
    color: #f7ef8a;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.setting-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.setting-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 我的团队内容 */
.team-section {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 0;
    margin-bottom: 0;
}

.team-table {
    width: 100%;
}

.team-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.team-table-cell {
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.team-table-cell:last-child {
    border-right: none;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 12px 8px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    margin: 15px 0 8px;
    text-align: left;
}

.data-item.full-width {
    grid-column: 1 / -1;
}

.data-label {
    font-size: 12px;
    color: #c9b8a4;
    text-align: center;
}

.data-value {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    text-align: center;
}

.claim-btn {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #2c2418;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* 我的直属内容 */
.direct-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
}

.direct-item {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.direct-item-info {
    flex: 1;
}

.direct-item-name {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 5px;
}

.direct-item-details {
    font-size: 12px;
    color: #c9b8a4;
}

.direct-item-level {
    font-size: 14px;
    font-weight: bold;
    color: #d4af37;
}

/* 返佣比例内容 */
.commission-section {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 0;
    margin-bottom: 0;
}

.commission-table {
    width: 100%;
}

.commission-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.commission-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.commission-table-cell {
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    color: #f7ef8a;
    font-size: 12px;
}

.commission-table-header .commission-table-cell {
    font-weight: bold;
    color: #f7ef8a;
    font-size: 12px;
}

.commission-table-cell:last-child {
    border-right: none;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 游戏页面样式 */
.game-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.game-container .back-button-circle {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--background-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.game-container .back-button-circle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

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

/* 隐藏底部导航栏 */
.no-bottom-nav .bottom-nav {
    display: none;
}

/* 日期选择器样式 */
.date-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.date-picker-card {
    background: linear-gradient(135deg, #1a1814, #2d2920);
    border: 2px solid #d4af37;
    border-radius: 16px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.date-picker-header {
    text-align: center;
    margin-bottom: 20px;
}

.date-picker-header h3 {
    color: #f7ef8a;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.date-picker-body {
    margin-bottom: 20px;
}

.date-range {
    color: #d4af37;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

.date-input-container {
    margin-bottom: 15px;
}

.date-input-container label {
    display: block;
    color: #f7ef8a;
    font-size: 14px;
    margin-bottom: 8px;
}

.date-picker-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.date-picker-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-picker-btn.cancel {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    border: 1px solid #d4af37;
}

.date-picker-btn.confirm {
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    color: #1a1814;
}

.date-picker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .date-picker-card {
        padding: 15px;
        width: 95%;
    }
    
    .date-picker-header h3 {
        font-size: 16px;
    }
    
    .date-range {
        font-size: 12px;
    }
    
    .date-picker-btn {
        padding: 8px;
        font-size: 14px;
    }
}

/* 个人资料相关样式 */
.profile-menu-popup {
    background: linear-gradient(135deg, #1a1814, #2d2920);
    border-radius: 16px 16px 0 0;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.popup-header h3 {
    color: #f7ef8a;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.popup-close {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #d4af37;
    font-size: 18px;
    transition: all 0.3s;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.profile-menu-item i:first-child {
    font-size: 18px;
    color: #d4af37;
    margin-right: 15px;
}

.profile-menu-item span {
    flex: 1;
    font-size: 14px;
    color: #c9b8a4;
}

.profile-menu-item i:last-child {
    color: #8b7355;
    font-size: 14px;
}

.avatar-upload-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 20px 0;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2418;
    font-size: 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
}

.avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.avatar-preview-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-upload-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #f7ef8a;
    font-size: 10px;
    padding: 5px 0;
    text-align: center;
}

/* 支付弹窗样式 */
.payment-modal {
    background: linear-gradient(135deg, #1a1814, #2d2920);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-title {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.payment-content {
    padding: 20px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.qr-loading {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: #c9b8a4;
}

.info-value-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-value {
    font-size: 13px;
    color: #fff;
    font-family: monospace;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-value.highlight {
    color: #f7ef8a;
    font-weight: bold;
    font-size: 14px;
}

.copy-icon {
    color: #d4af37;
    font-size: 16px;
    cursor: pointer;
}

.payment-footer {
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.payment-tips {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #c9b8a4;
}

.payment-tips i {
    color: #d4af37;
}

/* Vant UI 对话框样式定制 */
.van-dialog {
    background: linear-gradient(135deg, #1a1814, #2d2920) !important;
    border: 2px solid #d4af37 !important;
}

.van-dialog__header {
    color: #f7ef8a !important;
    font-weight: bold !important;
}

.van-field__label {
    color: #c9b8a4 !important;
}

.van-field__control {
    color: #f7ef8a !important;
}

.van-button--primary {
    background: linear-gradient(135deg, #d4af37, #f7ef8a) !important;
    color: #1a1814 !important;
    border: none !important;
}

.van-button--default {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
}

/* Vant UI 底部弹窗样式定制 */
.van-popup--bottom {
    background: transparent !important;
}

/* 个人资料详情页样式 */
.nav-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #d4af37;
    font-size: 18px;
    transition: all 0.3s;
}

.nav-back:hover {
    color: #f7ef8a;
    transform: scale(1.1);
}

.profile-detail-section {
    padding: 15px;
    box-sizing: border-box;
}

.detail-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.detail-label {
    font-size: 14px;
    color: #c9b8a4;
}

.detail-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-value span {
    font-size: 14px;
    color: #f7ef8a;
}

.detail-value i {
    color: #8b7355;
    font-size: 14px;
}

.detail-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2418;
    font-size: 24px;
    overflow: hidden;
}

.detail-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* 优惠页面样式 */
.promotions-top-nav {
    width: 100%;
    height: 57px;
    background: rgba(20, 16, 12, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.promotions-top-nav .nav-title {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, #d4af37, #f7ef8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.promotions-tabs {
    display: flex;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 10px 0;
    gap: 0;
    margin-top: 57px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.promotions-tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    font-size: 14px;
    color: #c9b8a4;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.promotions-tab-item.active {
    color: #f7ef8a;
    font-weight: bold;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border-radius: 6px;
    margin: 0 5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.promotions-main {
    display: flex;
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
}

.promotions-sidebar {
    width: 55px;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    padding: 8px 0;
    border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.category-item {
    padding: 10px 5px;
    text-align: center;
    font-size: 11px;
    color: #c9b8a4;
    cursor: pointer;
    transition: all 0.3s;
    margin: 4px 5px;
    border-radius: 6px;
    word-wrap: break-word;
}

.category-item.active {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    color: #f7ef8a;
    font-weight: bold;
    border: 1px solid #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin: 4px 3px;
}

.promotions-content {
    flex: 1;
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    padding: 15px;
    overflow-y: auto;
}

.promotion-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.promotion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(212, 175, 55, 0.8);
}

.promotion-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.promotion-tag::before {
    content: '👤';
}

.promotion-image {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.promotion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-info {
    padding: 15px;
}

.promotion-title {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 8px;
}

.promotion-subtitle {
    font-size: 14px;
    color: #c9b8a4;
}

/* 反水页面样式 */
.rebate-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.rebate-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rebate-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rebate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rebate-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rebate-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 5px;
}

.rebate-value {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.rebate-claim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.rebate-claim-label {
    font-size: 13px;
    color: #c9b8a4;
}

.rebate-claim-value {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    flex: 1;
}

.rebate-claim-btn {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.rebate-claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.rebate-title {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 15px;
    text-align: center;
}

.rebate-table-wrapper {
    overflow-x: auto;
}

.rebate-table {
    width: 100%;
    border-collapse: collapse;
}

.rebate-table thead {
    background: rgba(212, 175, 55, 0.2);
}

.rebate-table th {
    padding: 12px 8px;
    text-align: center;
    color: #f7ef8a;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.rebate-table td {
    padding: 12px 8px;
    text-align: center;
    color: #c9b8a4;
    font-size: 13px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rebate-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.rebate-table tbody tr:hover td {
    color: #f7ef8a;
}

/* VIP页面样式 */
.vip-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.vip-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vip-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vip-current-level {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-level-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vip-level-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4af37, #f7ef8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1814;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.vip-level-name {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #f7ef8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vip-progress-label {
    font-size: 12px;
    color: #c9b8a4;
    text-align: center;
}

.vip-progress-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.vip-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f7ef8a, #d4af37);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.vip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vip-benefit-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.vip-benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.vip-benefit-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 6px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1814;
    font-size: 16px;
}

.vip-benefit-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 5px;
}

.vip-benefit-value {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.vip-claim {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.vip-claim-label {
    font-size: 13px;
    color: #c9b8a4;
}

.vip-claim-value {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
    flex: 1;
}

.vip-claim-btn {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.vip-claim-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.vip-title {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 15px;
    text-align: center;
}

.vip-table-wrapper {
    overflow-x: auto;
}

.vip-table {
    width: 100%;
    border-collapse: collapse;
}

.vip-table thead {
    background: rgba(212, 175, 55, 0.2);
}

.vip-table th {
    padding: 12px 8px;
    text-align: center;
    color: #f7ef8a;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.vip-table td {
    padding: 12px 8px;
    text-align: center;
    color: #c9b8a4;
    font-size: 13px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.vip-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

.vip-table tbody tr:hover td {
    color: #f7ef8a;
}

.vip-table tbody tr.active {
    background: rgba(212, 175, 55, 0.2);
}

.vip-table tbody tr.active td {
    color: #f7ef8a;
    font-weight: bold;
}

/* 签到页面样式 */
.checkin-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.checkin-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkin-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 25px 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.checkin-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #f7ef8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.checkin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.checkin-day {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s;
}

.checkin-day.visible {
    display: flex;
}

.checkin-day.canCheck {
    cursor: pointer;
    animation: pulse 2s infinite;
}

.checkin-day.canCheck:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    border-color: rgba(212, 175, 55, 0.6);
}

.checkin-day.checked {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

.checkin-redpacket {
    width: 55px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.checkin-day.checked .checkin-redpacket {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.checkin-redpacket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 27.5px solid transparent;
    border-right: 27.5px solid transparent;
    border-top: 15px solid #c0392b;
}

.checkin-day.checked .checkin-redpacket::before {
    border-top-color: #1e8449;
}

.redpacket-icon {
    font-size: 22px;
    color: #fff;
    margin-bottom: 3px;
    z-index: 1;
}

.redpacket-amount {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    z-index: 1;
}

.checkin-day-label {
    font-size: 12px;
    color: #c9b8a4;
}

.checkin-day.checked .checkin-day-label {
    color: #f7ef8a;
}

.checkin-status {
    font-size: 11px;
    font-weight: bold;
    color: #d4af37;
}

.checkin-day.canCheck .checkin-status {
    color: #f7ef8a;
}

.checkin-day.checked .checkin-status {
    color: #27ae60;
}

.checkin-rules {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.rules-title {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 12px;
}

.rules-text {
    font-size: 13px;
    color: #c9b8a4;
    line-height: 2;
}

/* 活动详情页样式 */
.promotion-detail-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.promotion-detail-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promotion-detail-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.promotion-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.promotion-detail-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promotion-detail-title {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #f7ef8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.promotion-detail-subtitle {
    font-size: 14px;
    color: #c9b8a4;
}

.promotion-detail-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 12px;
}

.promotion-detail-text {
    font-size: 14px;
    color: #c9b8a4;
    line-height: 1.8;
}

.promotion-detail-card.transparent-card {
    background: rgba(44, 36, 24, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.promotion-detail-html {
    font-size: 14px;
    color: #c9b8a4;
    line-height: 1.8;
}

.promotion-detail-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: transparent;
}

.promotion-detail-html table th,
.promotion-detail-html table td {
    padding: 10px 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.2);
}

.promotion-detail-html table th {
    background: rgba(212, 175, 55, 0.15);
    color: #f7ef8a;
    font-weight: bold;
}

.promotion-detail-html table tr:hover td {
    background: rgba(212, 175, 55, 0.1);
}

.promotion-detail-html p {
    margin: 10px 0;
}

.promotion-detail-html ul,
.promotion-detail-html ol {
    margin: 10px 0;
    padding-left: 20px;
}

.promotion-detail-html li {
    margin: 5px 0;
}

/* 记录页面样式 */
.records-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.records-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.records-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.records-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.records-tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    color: #c9b8a4;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.records-tab-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.records-tab-item.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
    border-color: transparent;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.record-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.record-type {
    font-size: 14px;
    color: #f7ef8a;
    font-weight: 500;
}

.record-time {
    font-size: 12px;
    color: #8a8070;
}

.record-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.record-amount {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.record-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
}

.record-status.success {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.no-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #8a8070;
    gap: 10px;
}

.no-records i {
    font-size: 40px;
    color: rgba(212, 175, 55, 0.3);
}

.no-records span {
    font-size: 14px;
}

/* 充值/提现/推广中心页面样式 */
.deposit-page {
    padding-top: 0 !important;
}

/* 推广中心页面顶部不留间隙 */
.agent-page {
    padding-top: 0 !important;
}

.agent-page .deposit-main {
    padding: 10px;
}

.deposit-top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.deposit-top-nav .nav-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9b8a4;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.deposit-top-nav .nav-back:hover {
    color: #f7ef8a;
}

.deposit-top-nav .nav-title {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
}

.deposit-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.deposit-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deposit-tabs {
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 10px;
}

.deposit-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    background: transparent;
    border-radius: 8px;
    color: #c9b8a4;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.deposit-tab-item i {
    font-size: 20px;
}

.deposit-tab-item:hover {
    color: #f7ef8a;
}

.deposit-tab-item.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
}

.deposit-channels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.deposit-channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.deposit-channel-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.deposit-channel-item.selected {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.6);
}

.deposit-channel-item img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    object-fit: cover;
}

.deposit-channel-item span {
    font-size: 11px;
    color: #c9b8a4;
}

.deposit-channel-item.selected span {
    color: #f7ef8a;
}

.deposit-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.deposit-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 15px;
}

.deposit-amount-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.deposit-amount-btn {
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #c9b8a4;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.deposit-amount-btn:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: #f7ef8a;
}

.deposit-amount-btn.selected {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border-color: transparent;
    color: #1a1814;
}

.deposit-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 15px;
    margin-bottom: 20px;
}

.deposit-input-prefix {
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    margin-right: 10px;
}

.deposit-input {
    flex: 1;
    padding: 15px 0;
    background: transparent;
    border: none;
    color: #f7ef8a;
    font-size: 18px;
    font-weight: bold;
    outline: none;
}

.deposit-input::placeholder {
    color: rgba(201, 184, 164, 0.5);
}

.deposit-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border: none;
    border-radius: 8px;
    color: #1a1814;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.deposit-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.deposit-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.withdraw-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.withdraw-btn:hover:not(:disabled) {
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.deposit-tips {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.tips-title {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 10px;
}

.tips-text {
    font-size: 12px;
    color: #c9b8a4;
    line-height: 2;
}

/* 提现页面特有样式 */
.balance-info {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.balance-label {
    font-size: 13px;
    color: #c9b8a4;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #f7ef8a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.withdraw-input-wrapper {
    margin-bottom: 15px;
}

.withdraw-input-label {
    font-size: 13px;
    color: #c9b8a4;
    margin-bottom: 8px;
}

.withdraw-account-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #f7ef8a;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.withdraw-account-input::placeholder {
    color: rgba(201, 184, 164, 0.5);
}

/* 投注记录页面样式 */
.bet-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 10px;
}

.bet-tab-item {
    flex: 1;
    padding: 10px 8px;
    background: transparent;
    border-radius: 6px;
    color: #c9b8a4;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.bet-tab-item:hover {
    color: #f7ef8a;
}

.bet-tab-item.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-item {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.record-game {
    font-size: 15px;
    font-weight: bold;
    color: #f7ef8a;
}

.record-status {
    font-size: 13px;
    font-weight: bold;
}

.record-status.win {
    color: #2ecc71;
}

.record-status.lose {
    color: #e74c3c;
}

.record-status.pending {
    color: #f39c12;
}

.record-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 13px;
    color: #c9b8a4;
}

.detail-value {
    font-size: 13px;
    color: #f7ef8a;
    font-weight: 500;
}

.win-amount.positive {
    color: #2ecc71;
}

/* 我的钱包页面样式 */
.add-btn-wrapper {
    margin-bottom: 15px;
}

.add-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #27ae60, #229954);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-item {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-info {
    flex: 1;
}

.wallet-network,
.wallet-type {
    font-size: 14px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 6px;
}

.wallet-address {
    font-size: 13px;
    color: #c9b8a4;
    font-family: monospace;
}

.wallet-account-name {
    font-size: 12px;
    color: #a0937d;
    margin-top: 4px;
}

.delete-btn {
    width: 36px;
    height: 36px;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 8px;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: scale(1.05);
}

.empty-wallet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #c9b8a4;
}

.empty-wallet i {
    font-size: 50px;
    margin-bottom: 15px;
    color: rgba(212, 175, 55, 0.3);
}

.empty-wallet span {
    font-size: 14px;
}

/* 快捷操作按钮样式 */
.quick-action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.quick-action-btn {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.quick-action-btn i {
    font-size: 16px;
}

.quick-action-btn.deposit {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #000;
    border: 1px solid #f7ef8a;
}

.quick-action-btn.deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.quick-action-btn.withdraw {
    background: linear-gradient(135deg, #1a1814, #262420);
    color: #d4af37;
    border: 1px solid #d4af37;
}

.quick-action-btn.withdraw:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* 确认消息样式 */
.confirm-message {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #f7ef8a;
}

/* 退出登录按钮容器样式 */
.logout-btn-container {
    display: flex;
    gap: 12px;
}

.logout-btn-container .logout-btn {
    flex: 1;
    width: auto;
}

.logout-btn.switch {
    background: linear-gradient(135deg, #1a1814, #262420);
    color: #d4af37;
    border: 1px solid #d4af37;
}

.logout-btn.switch:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* 投注记录页面已有样式 */
.no-records {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #c9b8a4;
}

.no-records i {
    font-size: 50px;
    margin-bottom: 15px;
    color: rgba(212, 175, 55, 0.3);
}

.no-records span {
    font-size: 14px;
}

/* 充值记录、提现记录、投注记录、我的钱包、设置页面 - 顶部不留间隙 */
.deposit-page,
.withdraw-page,
.bet-records-page,
.deposit-records-page,
.withdraw-records-page,
.my-wallet-page,
.profile-detail-page {
    padding-top: 0 !important;
}

/* 快捷操作按钮样式 */
.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.custom-dialog {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: dialogSlideUp 0.3s ease;
}

@keyframes dialogSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.custom-dialog-title {
    font-size: 17px;
    font-weight: bold;
    color: #f7ef8a;
}

.custom-dialog-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9b8a4;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.custom-dialog-close:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #f7ef8a;
}

.custom-dialog-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    font-size: 13px;
    color: #c9b8a4;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: #f7ef8a;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(0, 0, 0, 0.5);
}

.form-input::placeholder {
    color: rgba(201, 184, 164, 0.5);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9b8a4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: #1a1814;
    color: #f7ef8a;
}

.custom-dialog-footer {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.custom-dialog-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-dialog-btn.cancel {
    background: rgba(0, 0, 0, 0.4);
    color: #c9b8a4;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.custom-dialog-btn.cancel:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #f7ef8a;
}

.custom-dialog-btn.confirm {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
}

.custom-dialog-btn.confirm:hover {
    transform: translateY(-2px);
}

/* 站内消息页面样式 */
.messages-page .wallet-item.unread {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid #d4af37;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4f;
    border-radius: 50%;
    margin-left: 8px;
}

/* 账单明细页面样式 */
.bill-amount {
    font-size: 16px;
    font-weight: bold;
}

.bill-amount.income {
    color: #07c160;
}

.bill-amount.expense {
    color: #ff4d4f;
}

/* 财务报表页面样式 */
.time-tabs {
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 8px;
}

.time-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: #c9b8a4;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.time-tab:hover {
    color: #f7ef8a;
}

.time-tab.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
}

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

.finance-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.finance-label {
    font-size: 12px;
    color: #c9b8a4;
    margin-bottom: 8px;
}

.finance-value {
    font-size: 16px;
    font-weight: bold;
    color: #f7ef8a;
}

.finance-value.income {
    color: #07c160;
}

.finance-value.expense {
    color: #ff4d4f;
}

.finance-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.finance-detail-item {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.finance-detail-label {
    font-size: 14px;
    color: #c9b8a4;
}

.finance-detail-value {
    font-size: 15px;
    font-weight: bold;
    color: #f7ef8a;
}

/* 转账页面样式 */
.transfer-tips {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
}

/* 红包页面样式 */
.red-envelope-send {
    text-align: center;
}

.red-envelope-icon {
    font-size: 80px;
    color: #ff4d4f;
    margin: 30px 0;
}

.red-envelope-btn {
    background: linear-gradient(135deg, #ff4d4f, #ff6b6b);
    margin-top: 20px;
}

/* 社区论坛页面样式 */
.forum-tabs {
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.forum-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: #c9b8a4;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.forum-tab:hover {
    color: #f7ef8a;
}

.forum-tab.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
}

.forum-post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-post-item {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(212, 175, 55, 0.5);
}

.post-user-info {
    flex: 1;
}

.post-username {
    font-size: 15px;
    font-weight: bold;
    color: #f7ef8a;
    margin-bottom: 4px;
}

.post-time {
    font-size: 12px;
    color: #8a8070;
}

.post-content {
    font-size: 14px;
    color: #c9b8a4;
    line-height: 1.6;
    margin-bottom: 12px;
}

.post-footer {
    display: flex;
    gap: 25px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.post-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8a8070;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
}

.post-action:hover {
    color: #d4af37;
}

.post-action i {
    font-size: 15px;
}

.deposit-top-nav .nav-action {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9b8a4;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.deposit-top-nav .nav-action:hover {
    color: #f7ef8a;
}

.post-dialog {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
}

.post-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.post-dialog-title {
    font-size: 18px;
    font-weight: bold;
    color: #f7ef8a;
}

.post-dialog-content {
    flex: 1;
    padding: 20px;
}

.post-textarea {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 15px;
    color: #f7ef8a;
    font-size: 15px;
    line-height: 1.6;
    outline: none;
    resize: none;
}

.post-textarea::placeholder {
    color: #8a8070;
}

/* 新页面顶部不留间隙 */
.messages-page,
.bill-detail-page,
.operation-logs-page,
.finance-report-page,
.transfer-page,
.red-envelope-page,
.forum-page,
.lottery-page,
.tasks-page,
.leaderboard-page,
.points-page {
    padding-top: 0 !important;
}

/* 右下角浮动菜单 */
.floating-menu {
    position: fixed;
    right: 0;
    bottom: 130px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-menu-toggle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
    border: 2px solid rgba(247, 239, 138, 0.3);
    position: fixed;
    right: 0;
    bottom: 80px;
    z-index: 998;
}

.floating-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.6);
}

.floating-menu-toggle i {
    font-size: 16px;
    color: #1a1814;
    font-weight: bold;
}

.floating-menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 200px;
    transform: translateX(0);
    opacity: 1;
}

.floating-menu.open .floating-menu-items {
    max-height: 0;
    opacity: 0;
    transform: translateX(20px);
}

@keyframes menuSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: transparent;
    padding: 6px 8px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: none;
    min-width: 36px;
}

.floating-menu-item:hover {
    transform: translateY(-2px);
}

.floating-menu-item i {
    font-size: 16px;
}

.floating-menu-item span {
    font-size: 9px;
    color: #c9b8a4;
    font-weight: 500;
    white-space: nowrap;
}

.lottery-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.lottery-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #ffd700 0deg,
        #ff6b35 60deg,
        #ffd700 120deg,
        #ff6b35 180deg,
        #ffd700 240deg,
        #ff6b35 300deg,
        #ffd700 360deg
    );
    border: 2px solid #a855f7;
    animation: spin 3s linear infinite;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.lottery-wheel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a855f7;
    border: 1px solid #fff;
}

.lottery-pointer {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #ff2d55;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.floating-menu-item.tasks-item i {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.floating-menu-item.leaderboard-item i {
    color: #ff2d55;
    text-shadow: 0 0 10px rgba(255, 45, 85, 0.7);
}

.floating-menu-item.points-item i {
    color: #30d158;
    text-shadow: 0 0 10px rgba(48, 209, 88, 0.7);
}

/* 幸运大转盘页面 */
.lottery-main {
    background: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
    position: relative;
    overflow-x: hidden;
}

.lottery-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% -20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.lottery-header-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.lottery-header-decor i {
    font-size: 16px;
    animation: gemPulse 2s ease-in-out infinite;
}

@keyframes gemPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.lottery-info-card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(180deg, rgba(30, 25, 20, 0.95), rgba(15, 12, 10, 0.98));
    border-radius: 16px;
    padding: 20px 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.info-icon-wrap {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.info-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.info-icon i {
    color: #1a0a2e;
    font-size: 16px;
}

.info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.35), transparent);
}

.info-label {
    font-size: 13px;
    color: #b8a890;
    font-weight: 500;
    letter-spacing: 1px;
}

.info-value {
    font-size: 28px;
    color: #ffd700;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.lottery-grid-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.lottery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    width: 330px;
    height: 330px;
}

.grid-prize {
    background: linear-gradient(145deg, rgba(44, 36, 24, 0.95), rgba(20, 18, 15, 0.95));
    border: 3px solid rgba(255, 215, 0, 0.25);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.grid-prize::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.grid-prize:hover::before {
    left: 100%;
}

.grid-prize::after {
    content: '✨';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.grid-prize.active {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.25), rgba(255, 140, 0, 0.35));
    border-color: #ffd700;
    border-width: 4px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.2);
    transform: scale(1.08);
    animation: prizePulse 0.5s ease-in-out infinite alternate;
}

.grid-prize.active::after {
    opacity: 1;
    animation: starTwinkle 0.5s ease-in-out infinite alternate;
}

@keyframes prizePulse {
    0% { 
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.2);
        transform: scale(1.08);
    }
    100% { 
        box-shadow: 0 0 40px rgba(255, 215, 0, 1), 0 0 80px rgba(255, 215, 0, 0.6), inset 0 0 30px rgba(255, 215, 0, 0.3);
        transform: scale(1.1);
    }
}

@keyframes starTwinkle {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

.grid-prize .prize-icon {
    font-size: 32px;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.5);
    transition: all 0.3s;
    z-index: 1;
}

.grid-prize.active .prize-icon {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 215, 0, 0.8);
    animation: iconBounce 0.5s ease-in-out infinite alternate;
}

@keyframes iconBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

.grid-prize .prize-name {
    font-size: 11px;
    color: #c9b8a4;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: all 0.3s;
}

.grid-prize.active .prize-name {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    font-weight: 900;
}

.grid-center {
    background: linear-gradient(145deg, #ff4757, #ff6b81, #ff4757);
    border: 4px solid #ffd700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.6), inset 0 2px 10px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.grid-center::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: centerShine 3s linear infinite;
}

@keyframes centerShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.grid-center:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 35px rgba(255, 71, 87, 0.8), 0 0 50px rgba(255, 71, 87, 0.4);
    border-color: #ffffff;
}

.grid-center:active {
    transform: scale(0.96);
    box-shadow: 0 3px 15px rgba(255, 71, 87, 0.5);
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.center-icon {
    font-size: 40px;
    animation: giftBounce 1s ease-in-out infinite;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.center-text {
    font-size: 15px;
    color: #ffffff;
    font-weight: 900;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.lottery-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.lottery-btn {
    flex: 1;
    padding: 14px 12px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lottery-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.lottery-btn.primary {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a0a2e;
    position: relative;
    overflow: hidden;
}

.lottery-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.lottery-btn.primary:hover::before {
    left: 100%;
}

.lottery-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.lottery-btn.primary:active:not(:disabled) {
    transform: translateY(0);
}

.lottery-btn.secondary {
    background: linear-gradient(135deg, #4a3f70, #2d1b4e);
    color: #ffd700;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.lottery-btn.secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.lottery-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    color: #a0937d;
    font-size: 12px;
}

.lottery-tips i {
    color: #ffd700;
}

.lottery-records {
    background: linear-gradient(135deg, rgba(44, 36, 24, 0.9), rgba(26, 24, 20, 0.9));
    border-radius: 16px;
    padding: 18px 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.records-title {
    font-size: 16px;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.records-title i {
    font-size: 18px;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.records-list .record-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.records-list .record-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(3px);
}

.record-avatar {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.record-avatar i {
    font-size: 36px;
    color: #ffd700;
}

.record-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.record-user {
    font-size: 13px;
    color: #c9b8a4;
}

.record-prize {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
}

.record-time {
    font-size: 11px;
    color: #8a8070;
}

.prize-popup {
    background: linear-gradient(135deg, #2d1b4e, #1a0a2e);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.prize-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    border-radius: 2px;
    animation: confettiFall 3s ease-in-out infinite;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; background: #ffd700; }
.confetti:nth-child(2) { left: 25%; animation-delay: 0.3s; background: #ff6b81; }
.confetti:nth-child(3) { left: 40%; animation-delay: 0.6s; background: #7bed9f; }
.confetti:nth-child(4) { left: 55%; animation-delay: 0.9s; background: #70a1ff; }
.confetti:nth-child(5) { left: 70%; animation-delay: 1.2s; background: #ffd700; }
.confetti:nth-child(6) { left: 85%; animation-delay: 1.5s; background: #ff6b81; }
.confetti:nth-child(7) { left: 15%; animation-delay: 1.8s; background: #7bed9f; }
.confetti:nth-child(8) { left: 80%; animation-delay: 2.1s; background: #70a1ff; }

@keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(300px) rotate(720deg); opacity: 0; }
}

.prize-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    animation: prizeBounce 0.6s ease-out;
}

@keyframes prizeBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.prize-icon {
    font-size: 50px;
    color: #1a0a2e;
}

.prize-title {
    font-size: 22px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.prize-name {
    font-size: 28px;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.prize-close {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border: none;
    border-radius: 14px;
    color: #1a0a2e;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.prize-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.prize-close:active {
    transform: translateY(0);
}

/* 任务中心页面 */
.tasks-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.tasks-header {
    margin-bottom: 20px;
}

.user-points {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.points-label {
    font-size: 14px;
    color: #a0937d;
    margin-bottom: 8px;
}

.points-value {
    font-size: 32px;
    color: #f7ef8a;
    font-weight: bold;
}

.tasks-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tasks-tabs .tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: #a0937d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.tasks-tabs .tab-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.tasks-tabs .tab-item.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
    border-color: transparent;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.task-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-icon i {
    font-size: 22px;
    color: #d4af37;
}

.task-info {
    flex: 1;
}

.task-title {
    font-size: 15px;
    color: #f7ef8a;
    font-weight: 500;
    margin-bottom: 5px;
}

.task-desc {
    font-size: 12px;
    color: #8a8070;
    margin-bottom: 8px;
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #c9a227);
    border-radius: 3px;
    transition: width 0.3s;
}

.progress-text {
    font-size: 12px;
    color: #a0937d;
    min-width: 45px;
}

.task-reward {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.reward-value {
    font-size: 14px;
    color: #f7ef8a;
    font-weight: bold;
}

.claim-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border: none;
    border-radius: 8px;
    color: #1a1814;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.claimed-text {
    font-size: 12px;
    color: #8a8070;
}

.pending-text {
    font-size: 12px;
    color: #a0937d;
}

/* 排行榜页面 */
.leaderboard-main {
    background: linear-gradient(180deg, #0a0a10 0%, #1a1420 50%, #0a0a10 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 15px 0;
    position: relative;

}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.divider::before {
    left: 20%;
}

.divider::after {
    right: 20%;
}

.leaderboard-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.leaderboard-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 15px;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.header-title i {
    font-size: 28px;
    animation: trophyPulse 2s ease-in-out infinite;
}

@keyframes trophyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.leaderboard-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.leaderboard-tabs .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 10px;
    background: linear-gradient(145deg, rgba(30, 25, 35, 0.8), rgba(20, 15, 25, 0.9));
    border-radius: 14px;
    color: #a0937d;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(212, 175, 55, 0.15);
}

.leaderboard-tabs .tab-item i {
    font-size: 20px;
}

.leaderboard-tabs .tab-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.leaderboard-tabs .tab-item.active {
    background: linear-gradient(145deg, #d4af37, #c9a227);
    color: #1a1420;
    font-weight: bold;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.period-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.period-tabs .period-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: rgba(30, 25, 35, 0.6);
    border-radius: 12px;
    color: #a0937d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.period-tabs .period-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.period-tabs .period-item.active {
    background: rgba(212, 175, 55, 0.2);
    color: #ffd700;
    font-weight: bold;
    border-color: rgba(212, 175, 55, 0.5);
}

.leaderboard-rewards {
    background: linear-gradient(145deg, rgba(35, 28, 20, 0.9), rgba(25, 20, 15, 0.95));
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.rewards-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.rewards-header i {
    color: #ffd700;
    font-size: 14px;
}

.rewards-title {
    font-size: 13px;
    color: #f7ef8a;
    font-weight: bold;
}

.rewards-list {
    display: flex;
    justify-content: space-around;
}

.reward-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.reward-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #1a1420;
}

.reward-1 .reward-medal {
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.reward-2 .reward-medal {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.3);
}

.reward-3 .reward-medal {
    background: linear-gradient(145deg, #cd7f32, #b8860b);
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.3);
}

.reward-label {
    font-size: 10px;
    color: #a0937d;
}

.reward-value {
    font-size: 14px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
}

.leaderboard-top3 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-top: 35px;
    margin-bottom: 15px;
    padding: 20px 0 15px;
    height: 170px;
}

.top3-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85px;
}

.top3-item.top3-1 {
    order: 2;
}

.top3-item.top3-2 {
    order: 1;
}

.top3-item.top3-3 {
    order: 3;
}

.top3-podium {
    width: 75px;
    border-radius: 8px 8px 4px 4px;
    margin-top: auto;
}

.top3-item.top3-1 .top3-podium {
    height: 70px;
    background: linear-gradient(180deg, #ffd700, #c9a227);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.top3-item.top3-2 .top3-podium {
    height: 50px;
    background: linear-gradient(180deg, #c0c0c0, #a0a0a0);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
}

.top3-item.top3-3 .top3-podium {
    height: 35px;
    background: linear-gradient(180deg, #cd7f32, #b8860b);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}
.top3-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 5px;
}

.top3-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top3-item.top3-1 .top3-medal {
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.top3-item.top3-2 .top3-medal {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    box-shadow: 0 0 12px rgba(192, 192, 192, 0.4);
}

.top3-item.top3-3 .top3-medal {
    background: linear-gradient(145deg, #cd7f32, #b8860b);
    box-shadow: 0 0 12px rgba(205, 127, 50, 0.4);
}

.top3-medal i {
    font-size: 14px;
    color: #1a1420;
}

.top3-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, rgba(45, 35, 50, 0.9), rgba(30, 25, 35, 0.95));
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.top3-item.top3-1 .top3-avatar {
    width: 60px;
    height: 60px;
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.top3-item.top3-2 .top3-avatar {
    border-color: #c0c0c0;
}

.top3-item.top3-3 .top3-avatar {
    border-color: #cd7f32;
}

.top3-avatar i {
    font-size: 26px;
    color: #d4af37;
}

.top3-item.top3-1 .top3-avatar i {
    font-size: 32px;
}

.top3-name {
    font-size: 12px;
    color: #f7ef8a;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
}

.top3-value {
    font-size: 14px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 8px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    margin-bottom: 12px;
}

.list-title {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
}

.list-count {
    font-size: 12px;
    color: #a0937d;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-list .list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(40, 35, 45, 0.8), rgba(25, 22, 30, 0.95));
    border-radius: 14px;
    padding: 14px 15px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s;
}

.leaderboard-list .list-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: linear-gradient(145deg, rgba(45, 40, 50, 0.85), rgba(30, 27, 35, 0.95));
}

.leaderboard-list .list-item.my-rank {
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}

.item-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #a0937d;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.item-rank.rank-top {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    color: #ffd700;
}

.item-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, rgba(45, 35, 50, 0.9), rgba(30, 25, 35, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.item-avatar.my-avatar {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.item-avatar i {
    font-size: 24px;
    color: #d4af37;
}

.me-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 9px;
    background: #ff4757;
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-weight: bold;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name {
    font-size: 14px;
    color: #c9b8a4;
    font-weight: 500;
}

.item-label {
    font-size: 11px;
    color: #a0937d;
}

.item-value {
    font-size: 16px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.my-rank-card {
    background: linear-gradient(145deg, rgba(40, 35, 45, 0.9), rgba(25, 22, 30, 0.95));
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.my-rank-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.my-rank-header i {
    color: #ffd700;
    font-size: 18px;
}

.my-rank-header span {
    font-size: 16px;
    color: #f7ef8a;
    font-weight: bold;
}

.my-rank-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.my-rank-badge {
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, #ffd700, #c9a227);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    color: #1a1420;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.my-rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.my-rank-label {
    font-size: 13px;
    color: #a0937d;
}

.my-rank-amount {
    font-size: 24px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border: none;
    border-radius: 10px;
    color: #1a1814;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.share-btn i {
    font-size: 18px;
}

.share-btn span {
    font-size: 12px;
    font-weight: bold;
}

/* 积分商城页面 */
.points-main {
    background: linear-gradient(135deg, #0c0c14 0%, #1a1814 100%);
    min-height: calc(100vh - 60px);
    padding: 15px;
}

.points-header {
    margin-bottom: 20px;
}

.points-balance-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.points-balance-card .balance-label {
    font-size: 14px;
    color: #a0937d;
    margin-bottom: 8px;
}

.points-balance-card .balance-value {
    font-size: 36px;
    color: #f7ef8a;
    font-weight: bold;
    margin-bottom: 15px;
}

.balance-actions {
    display: flex;
    gap: 10px;
}

.balance-actions .action-btn {
    flex: 1;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #d4af37;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.balance-actions .action-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.2));
}

.products-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.products-tabs .tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: #a0937d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.products-tabs .tab-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.products-tabs .tab-item.active {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
    font-weight: bold;
    border-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.product-image i {
    font-size: 28px;
    color: #d4af37;
}

.product-info {
    flex: 1;
    text-align: center;
    margin-bottom: 12px;
}

.product-name {
    font-size: 14px;
    color: #f7ef8a;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 11px;
    color: #8a8070;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 15px;
    color: #f7ef8a;
    font-weight: bold;
}

.exchange-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    border: none;
    border-radius: 8px;
    color: #1a1814;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.exchange-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.exchange-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.records-popup {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1814, #0c0c14);
}

.records-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.records-popup .popup-title {
    font-size: 18px;
    color: #f7ef8a;
    font-weight: bold;
}

.records-popup .van-icon {
    font-size: 22px;
    color: #a0937d;
    cursor: pointer;
}

.records-popup .records-list {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.records-popup .record-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 10px;
}

.records-popup .record-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.records-popup .record-title {
    font-size: 14px;
    color: #f7ef8a;
}

.records-popup .record-time {
    font-size: 12px;
    color: #8a8070;
}

.records-popup .record-amount {
    font-size: 16px;
    font-weight: bold;
}

.records-popup .record-amount.positive {
    color: #27ae60;
}

.records-popup .record-amount.negative {
    color: #e74c3c;
}

.exchange-confirm-popup {
    background: linear-gradient(135deg, #2c2418, #1a1814);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
}

.exchange-confirm-popup .confirm-title {
    font-size: 18px;
    color: #f7ef8a;
    font-weight: bold;
    margin-bottom: 15px;
}

.exchange-confirm-popup .confirm-info {
    margin-bottom: 25px;
}

.exchange-confirm-popup .confirm-product {
    font-size: 16px;
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 8px;
}

.exchange-confirm-popup .confirm-price {
    font-size: 14px;
    color: #a0937d;
}

.exchange-confirm-popup .confirm-buttons {
    display: flex;
    gap: 12px;
}

.exchange-confirm-popup .btn-cancel,
.exchange-confirm-popup .btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.exchange-confirm-popup .btn-cancel {
    background: rgba(0, 0, 0, 0.3);
    color: #a0937d;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.exchange-confirm-popup .btn-confirm {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1814;
}

/* 搜索功能样式 */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    z-index: 9999;
}

.search-popup {
    width: 100%;
    max-height: 100%;
    background: linear-gradient(135deg, #1a1814, #2c2418);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(26, 24, 20, 0.95);
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    background: rgba(44, 36, 24, 0.8);
    color: #f7ef8a;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #c9b8a4;
}

.search-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.search-close-btn {
    padding: 8px 15px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    color: #c9b8a4;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-close-btn:hover {
    border-color: #d4af37;
    color: #f7ef8a;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.search-games {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-game-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-game-item:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateX(5px);
}

.search-game-icon {
    font-size: 28px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 10px;
}

.search-game-name {
    font-size: 15px;
    color: #f7ef8a;
    font-weight: 500;
}

.no-search-result,
.search-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
    color: #c9b8a4;
}

.no-search-result i,
.search-hint i {
    font-size: 48px;
    color: rgba(212, 175, 55, 0.4);
}

.no-search-result span,
.search-hint span {
    font-size: 14px;
}

/* 滚动图标题 */
.banner-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #f7ef8a;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

/* 滚动图点击 */
.banner .banner-slide {
    cursor: pointer;
}

/* ===== 响应式设计断点 ===== */

/* 超小屏幕 (手机, < 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    body {
        padding-bottom: 65px;
    }
    
    /* 顶部导航 */
    .top-nav {
        height: 52px;
        padding: 0 12px;
    }
    
    .top-nav .logo {
        font-size: 22px;
    }
    
    .top-nav .header-icon {
        font-size: 18px;
    }
    
    .top-nav .actions {
        gap: 8px;
    }
    
    /* 底部导航 */
    .bottom-nav {
        padding: 10px 0;
    }
    
    .nav-item {
        padding: 4px 6px;
    }
    
    .nav-item i {
        font-size: 18px;
    }
    
    .nav-item span {
        font-size: 10px;
    }
    
    /* 页面内容 */
    .page-content {
        padding-top: 52px;
        padding-bottom: 60px;
    }
    
    /* 登录页面 */
    .login-container {
        padding: 25px 20px;
        margin: 10px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .login-btn {
        height: 48px;
        font-size: 15px;
    }
    
    /* 用户卡片 */
    .account-section .user-card {
        padding: 12px 15px;
    }
    
    .account-section .user-name {
        font-size: 14px;
    }
    
    .account-section .balance-amount {
        font-size: 18px;
    }
    
    /* 游戏区域 */
    .game-container {
        height: 400px;
    }
    
    .game-categories {
        width: 65px;
    }
    
    .game-category-item {
        padding: 10px 0;
    }
    
    .game-category-item i {
        font-size: 16px;
    }
    
    .game-category-item span {
        font-size: 10px;
    }
    
    .game-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .game-card {
        height: 130px;
    }
    
    /* 充值页面 */
    .deposit-channels {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .deposit-amount-btns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 统计卡片 */
    .team-summary,
    .summary-cards {
        flex-direction: column;
        gap: 10px;
    }
    
    .summary-card {
        flex: none;
    }
    
    /* 团队成员统计网格 */
    .member-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 表格布局调整 */
    .direct-table-row,
    .team-table-row,
    .commission-table-header,
    .commission-table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .direct-table-cell,
    .team-table-cell,
    .commission-table-cell {
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding: 10px 8px;
    }
    
    .direct-table-cell:last-child,
    .team-table-cell:last-child,
    .commission-table-cell:last-child {
        border-bottom: none;
    }
    
    /* 按钮尺寸 */
    .login-btn,
    .deposit-submit-btn,
    .withdraw-btn,
    .quick-action-btn,
    .custom-dialog-btn {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    /* 输入框 */
    .form-input,
    .deposit-input,
    .withdraw-account-input {
        height: 46px;
        font-size: 14px;
    }
    
    /* 弹窗 */
    .custom-dialog {
        margin: 15px;
        width: calc(100% - 30px);
    }
    
    /* 签到页面 */
    .checkin-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .checkin-redpacket {
        width: 45px;
        height: 55px;
    }
    
    /* 排行榜 */
    .leaderboard-top3 {
        gap: 8px;
        height: 140px;
    }
    
    .top3-item {
        width: 70px;
    }
    
    .top3-podium {
        width: 60px;
    }
    
    .top3-item.top3-1 .top3-podium {
        height: 55px;
    }
    
    .top3-item.top3-2 .top3-podium {
        height: 40px;
    }
    
    .top3-item.top3-3 .top3-podium {
        height: 28px;
    }
    
    /* 优惠页面 */
    .promotions-sidebar {
        width: 45px;
    }
    
    .category-item {
        padding: 8px 3px;
        font-size: 9px;
    }
    
    /* 浮动菜单 */
    .floating-menu-toggle {
        width: 44px;
        height: 44px;
        right: 10px;
        bottom: 90px;
    }
    
    /* 表格响应式 */
    .rebate-table-wrapper,
    .vip-table-wrapper,
    .commission-table-container {
        overflow-x: auto;
    }
    
    .rebate-table,
    .vip-table {
        min-width: 480px;
    }
}

/* 小屏幕 (平板, 480px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .game-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deposit-channels {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-summary {
        flex-direction: row;
    }
    
    .member-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 中等屏幕 (桌面, 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .game-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .deposit-channels {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 大屏幕 (桌面, 1025px+) */
@media (min-width: 1025px) {
    .page-content {
        max-width: 1024px;
        margin: 0 auto;
    }
    
    .game-container {
        height: 500px;
    }
    
    .game-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== 移动端交互优化 ===== */

/* 触摸高亮移除 */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* 按钮点击效果 */
button:active,
.nav-item:active,
.action-button:active,
.game-category-item:active,
.record-item:active,
.menu-item:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* 虚拟键盘适配 */
.input-focus-visible {
    padding-bottom: calc(env(safe-area-inset-bottom) + 60px);
}

/* 安全区域适配 */
@media (max-width: 480px) {
    .bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .page-content {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

/* 横屏适配 */
@media (orientation: landscape) and (max-width: 768px) {
    .game-container {
        height: calc(100vh - 120px);
    }
    
    .game-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(212, 175, 55, 0.6);
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
                           