* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* CSS变量定义 - 所有设备共用 */
/* 在 :root 变量部分增加科技感颜色 */
:root {
    --sun-color: #FF9800;
    --sun-light: #FFB74D;
    --sun-dark: #F57C00;
    --sun-gradient: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    --neon-blue: #00f3ff;
    --neon-purple: #9d4edd;
    --neon-pink: #ff00ff;
    --cyber-blue: #00d4ff;
    --cyber-green: #00ff9d;
    --cyber-yellow: #ffde00;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(20, 20, 30, 0.9);
    --text-color: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border-color: rgba(0, 243, 255, 0.2);
    --glow-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* 科技感网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(90deg, var(--dark-bg) 21px, transparent 1%) center,
            linear-gradient(var(--dark-bg) 21px, transparent 1%) center,
            rgba(0, 243, 255, 0.1);
    background-size: 22px 22px;
    z-index: -2;
    opacity: 0.15;
}

/* 科技感粒子背景动画 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 40% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 20%);
    z-index: -1;
    animation: particleMove 20s infinite alternate;
}

@keyframes particleMove {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 10% 10%, -10% -10%, 5% 15%;
    }
}

/* 霓虹光晕效果 */
.neon-glow {
    box-shadow:
            0 0 20px var(--neon-blue),
            0 0 40px rgba(0, 243, 255, 0.2),
            0 0 60px rgba(0, 243, 255, 0.1),
            inset 0 0 10px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

/* 科技感卡片重新设计 */
.card {
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.9) 0%,
    rgba(20, 20, 30, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 30px;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(0, 243, 255, 0.1),
    transparent);
    transition: left 0.8s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.5),
            0 0 30px rgba(0, 243, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.4);
}

/* 标题科技感样式 */
.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 15px;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sun-color), var(--neon-blue));
    border-radius: 2px;
}

.card-title i {
    color: var(--neon-blue);
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* 按钮科技感重设计 */
.action-btn, .wallet-btn {
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 0.9) 0%,
    rgba(157, 78, 221, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.action-btn::before, .wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
    transition: left 0.6s;
}

.action-btn:hover::before, .wallet-btn:hover::before {
    left: 100%;
}

.action-btn:hover, .wallet-btn:hover {
    transform: translateY(-3px);
    box-shadow:
            0 8px 25px rgba(0, 243, 255, 0.4),
            0 0 20px rgba(0, 243, 255, 0.2);
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 1) 0%,
    rgba(157, 78, 221, 1) 100%);
}

.action-btn.secondary {
    background: linear-gradient(135deg,
    rgba(255, 152, 0, 0.2) 0%,
    rgba(255, 87, 34, 0.2) 100%);
    color: var(--sun-color);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg,
    rgba(255, 152, 0, 0.4) 0%,
    rgba(255, 87, 34, 0.4) 100%);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
}

/* 状态盒子科技感设计 */
.stat-box {
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.8) 0%,
    rgba(20, 20, 30, 0.8) 100%);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 243, 255, 0.1);
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--sun-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* 表格科技感设计 */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 0.2) 0%,
    rgba(157, 78, 221, 0.2) 100%);
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--neon-blue);
    border: none;
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
    position: relative;
}

.data-table th::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
    transition: width 0.3s;
}

.data-table th:hover::after {
    width: 100%;
}

.data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(30, 30, 40, 0.5);
}

.data-table tr {
    transition: all 0.3s ease;
}

.data-table tr:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateX(5px);
}

/* 进度条科技感 */
.progress-container {
    height: 12px;
    background: rgba(30, 30, 40, 0.8);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg,
    var(--neon-blue) 0%,
    var(--neon-purple) 50%,
    var(--sun-color) 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent);
    animation: progressShine 2s infinite;
}

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

/* 排行榜项科技感 */
.rank-item {
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.8) 0%,
    rgba(20, 20, 30, 0.8) 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 243, 255, 0.15);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rank-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 243, 255, 0.1);
}

.rank-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 20px;
    font-size: 20px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* 底部导航科技感 */
.bottom-nav {
    background: linear-gradient(to top,
    rgba(20, 20, 30, 0.95) 0%,
    rgba(30, 30, 40, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 0.9) 0%,
    rgba(157, 78, 221, 0.9) 100%);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.nav-icon {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

/* 模态框科技感 */
.modal {
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.95) 0%,
    rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(0, 243, 255, 0.2);
}

/* 通知科技感 */
.notification {
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.95) 0%,
    rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--neon-blue);
    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(0, 243, 255, 0.2);
}

/* 引用链接区域科技感 */
.referral-section {
    background: linear-gradient(145deg,
    rgba(0, 243, 255, 0.1) 0%,
    rgba(157, 78, 221, 0.1) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.referral-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
    rgba(0, 243, 255, 0.1) 0%,
    transparent 70%);
    z-index: 0;
}

.referral-section > * {
    position: relative;
    z-index: 1;
}

/* 动画增强 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 顶部工具栏增强 */
.top-right-tools {
}

/* 页头增强 */
header {
    background: linear-gradient(145deg,
    rgba(20, 20, 30, 0.95) 0%,
    rgba(30, 30, 40, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 数据流动效果 */
.data-flow {
    position: relative;
    overflow: hidden;
}

.data-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
    transparent,
    var(--neon-blue),
    transparent);
    animation: dataFlow 3s infinite;
}

@keyframes dataFlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 单选框组样式 */
.radio-group {
    margin-top: 10px;
}

.radio-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-option {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.radio-option:hover {
    border-color: rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1);
}

.radio-option.selected {
    border-color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.radio-option.selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
    border-radius: 4px 0 0 4px;
}

.radio-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radio-option-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.radio-option-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--sun-color);
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
    margin-left: 15px;
}

.radio-option-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0, 243, 255, 0.5);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-option.selected .radio-option-check {
    border-color: var(--neon-blue);
    background: var(--neon-blue);
}

.radio-option.selected .radio-option-check::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .radio-option {
        padding: 20px 15px;
        min-height: 70px;
        border-radius: 12px;
    }

    .radio-option-title {
        font-size: 17px;
    }

    .radio-option-price {
        font-size: 20px;
    }

    .radio-option-check {
        width: 24px;
        height: 24px;
    }

    .radio-option.selected .radio-option-check::after {
        width: 10px;
        height: 10px;
    }

    /* 滚动条样式 */
    .radio-options-container::-webkit-scrollbar {
        width: 4px;
    }

    .radio-options-container::-webkit-scrollbar-track {
        background: rgba(0, 243, 255, 0.05);
        border-radius: 2px;
    }

    .radio-options-container::-webkit-scrollbar-thumb {
        background: var(--neon-blue);
        border-radius: 2px;
    }
}

/* 空状态提示 */
.radio-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    background: rgba(30, 30, 40, 0.3);
    border-radius: 10px;
    border: 1px dashed rgba(0, 243, 255, 0.2);
}

.radio-empty i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--neon-blue);
    opacity: 0.5;
}

/* 移动端优化 */
@media (max-width: 768px) {

    .card {
        padding: 20px;
        border-radius: 14px;
    }

    .stat-box {
        padding: 20px 15px;
    }

    .stat-value {
        font-size: 26px;
    }

    .action-btn, .wallet-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 右上角固定工具栏 */
.top-right-tools {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 连接钱包按钮 */
.wallet-btn {
    padding: 10px 20px;
    background: var(--sun-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.4);
}

.wallet-btn.connected {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* 语言选择器 */
.language-selector {
    position: relative;
}

.lang-trigger {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--sun-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.lang-trigger:hover {
    background: var(--sun-color);
    color: white;
    transform: rotate(15deg);
}

.lang-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 10px;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.lang-dropdown.active {
    display: flex;
    animation: fadeInDown 0.3s ease;
}

.lang-option {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.lang-option:hover {
    background: rgba(255, 152, 0, 0.1);
}

.lang-option.active {
    background: rgba(255, 152, 0, 0.2);
    color: var(--sun-color);
}

.lang-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.lang-flag.zh {
    background: #DE2910;
    color: #FFDE00;
}

.lang-flag.en {
    background: #00247D;
    color: white;
}

/* 顶部导航栏 */
header {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--sun-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: var(--sun-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 主内容区域 */
.main-content {
    padding: 100px 0 100px;
}

/* 页面容器 */
.page-container {
    display: none;
}

.page-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* 通用卡片样式 */
.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.1);
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: var(--sun-color);
}

/* 矿机卡片 *//* 找到 .miner-stats 部分，替换为以下代码： */
.miner-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    background: linear-gradient(145deg,
    rgba(30, 30, 40, 0.8) 0%,
    rgba(20, 20, 30, 0.8) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
}

/* 统计盒子一行显示 */
.stat-box {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 0.1) 0%,
    rgba(157, 78, 221, 0.1) 100%);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple));
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 243, 255, 0.1);
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--sun-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    opacity: 0.8;
}

/* 调整按钮位置 */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

/* 移动端适配 */
@media (max-width: 992px) {
    .stat-box {
        min-width: 150px;
        padding: 18px 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .miner-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
    }

    .stat-box {
        flex: 1 1 calc(50% - 12px);
        min-width: 140px;
        padding: 16px 10px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .miner-stats {
        gap: 10px;
        padding: 12px;
    }

    .stat-box {
        flex: 1 1 calc(50% - 10px);
        padding: 14px 8px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
}

/* 添加仪表盘数字滚动效果 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-value.animating {
    animation: countUp 0.8s ease-out;
}

/* 添加数据变化指示器 */
.stat-change {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(0, 243, 255, 0.2);
    color: var(--neon-blue);
}

.stat-change.positive {
    background: rgba(0, 255, 157, 0.2);
    color: var(--cyber-green);
}

.stat-change.negative {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4747;
}

.action-btn {
    padding: 12px 25px;
    background: var(--sun-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

.action-btn.secondary {
    background: rgba(255, 152, 0, 0.1);
    color: var(--sun-color);
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
}

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

.data-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--sun-color);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:hover {
    background: rgba(255, 152, 0, 0.05);
}

/* 排行榜样式 */
.rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.rank-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sun-gradient);
    border-radius: 50%;
    font-weight: 800;
    margin-right: 15px;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.rank-amount {
    color: var(--sun-color);
    font-weight: 700;
}

/* 公告样式 */
.announcement-container {
    background: rgba(255, 152, 0, 0.05);
    border-radius: 10px;
    padding: 10px 5px;
    border: 1px solid rgba(255, 152, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.announcement-list {
    position: relative;
    animation: scrollAnnouncements 30s linear infinite;
}

.announcement-item {
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 4px solid var(--sun-color);
}

.announcement-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.announcement-content {
    font-size: 14px;
}

/* 销毁进度条 */
.burn-progress {
    margin-top: 20px;
}

.progress-container {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: var(--sun-gradient);
    border-radius: 10px;
    width: 45%;
    transition: width 1s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

/* 资产总览 */
.total-assets {
    text-align: center;
    padding: 30px;
    background: rgba(255, 152, 0, 0.05);
    border-radius: 15px;
    margin: 20px;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.total-amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--sun-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.total-label {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 网格布局 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* 底部导航 - 移动端显示，电脑端隐藏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border-top: 0px;
    padding: 2px 0;
    z-index: 999;
    display: none;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    transition: color 0.3s;
    flex: 1;
    cursor: pointer;
}

.nav-item.active {
    color: var(--sun-color);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active .nav-icon {
    background: var(--sun-gradient);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollAnnouncements {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    transform: translateY(30px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 24px;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--sun-color);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: var(--sun-color);
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--sun-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    opacity: 0.9;
}

/* 通知样式 */
.notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--card-bg);
    border-left: 4px solid var(--sun-color);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.4s;
    z-index: 3000;
    max-width: 350px;
}

.notification.active {
    transform: translateX(0);
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.notification-message {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 内部标签页样式 */
.inner-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.inner-tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s;
}

.inner-tab-btn:hover {
    color: var(--sun-light);
}

.inner-tab-btn.active {
    color: var(--sun-color);
}

.inner-tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sun-gradient);
    border-radius: 2px;
}

.inner-tab-content {
    display: none;
}

.inner-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.referral-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.referral-link {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.referral-link input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: monospace;
}

.copy-btn {
    background: var(--sun-gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--sun-dark);
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(108, 92, 231, 0.3);
    padding: 60px 20px 120px 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    color: var(--sun-color);
    margin-bottom: 15px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-bottom {
    margin-top: 30px;
}

/* 二维码相关样式 */
.qr-modal-content {
    max-width: 500px;
}

.qr-container {
    text-align: center;
    padding: 20px;
}

.qr-code-wrapper {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#qrCodeCanvas {
    display: inline-block;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

#qrCodeCanvas canvas {
    border-radius: 4px;
}

.qr-text {
    margin-top: 15px;
}

.qr-text p {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.qr-link-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 10px;
}

.qr-link-info i {
    color: #6c5ce7;
}

.qr-link-text {
    font-family: monospace;
    font-size: 12px;
    color: #495057;
    word-break: break-all;
    text-align: left;
}

.qr-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.copy-link-btn, .share-btn, .download-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.copy-link-btn {
    background: #6c5ce7;
    color: white;
}

.copy-link-btn:hover {
    background: #5a4bd1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.share-btn {
    background: #00b894;
    color: white;
}

.share-btn:hover {
    background: #00a085;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.download-btn {
    background: #fd79a8;
    color: white;
}

.download-btn:hover {
    background: #e84393;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 121, 168, 0.3);
}

/* 复制按钮样式 */
.qr-btn {
    padding: 10px 20px;
    background: #00cec9;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.qr-btn:hover {
    background: #00b7b4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 206, 201, 0.3);
}

/* 钱包连接模态框样式 */
.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.wallet-option:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: var(--sun-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.wallet-icon {
    width: 50px;
    height: 50px;
    background: var(--sun-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.wallet-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.wallet-install {
    background: rgba(255, 152, 0, 0.2);
    color: var(--sun-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}
.wallet-container {
    position: relative;
    display: inline-block;
}
/* 钱包下拉菜单样式 */
.wallet-dropdown {
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    z-index: 1001;
    overflow: hidden;
    display: none;
}

.wallet-info {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.wallet-actions {
    padding: 10px 0;
}

.wallet-actions button {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.wallet-actions button:hover {
    background: rgba(255, 152, 0, 0.1);
    color: var(--sun-color);
}

.wallet-actions button i {
    width: 24px;
    margin-right: 10px;
    font-size: 16px;
}

.wallet-actions button#disconnectWallet {
    color: var(--accent-color);
    margin-top: 5px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

/* 加载动画 */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
    margin-top: 150px;
}

.loading-spinner {
    margin-bottom: 20px;
}

.spinner-circle {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 152, 0, 0.3);
    border-top-color: var(--sun-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {
    /* 修复移动端复制按钮 */
    .referral-section {
        padding: 20px;
    }

    .referral-link {
        flex-direction: column;
        gap: 15px;
    }

    .referral-link input {
        width: 100%;
        padding: 14px 15px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 12px;
    }

    .copy-btn {
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
        border-radius: 12px;
        font-size: 16px;
        min-height: 48px;
    }

    .copy-btn i {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    /* 钱包图标调整 */
    .wallet-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 15px;
    }

    .wallet-name {
        font-size: 16px;
    }

    /* 显示底部导航 */
    .bottom-nav {
        display: block;
    }

    .top-right-tools {
        right: 15px;
    }

    /* 移动端钱包按钮调整 */
    .wallet-btn span {
        display: none;
    }

    .wallet-btn {
        padding: 10px 15px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .main-content {
        padding-bottom: 120px;
    }

    /* 移动端布局调整 */
    .miner-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-btn {
        min-width: 100%;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .total-amount {
        font-size: 36px;
    }

    .stat-value {
        font-size: 24px;
    }

    /* 钱包下拉菜单移动端调整 */
    .wallet-dropdown {
        position: fixed;
        top: auto;
        bottom: 80px;
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .miner-stats {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .total-amount {
        font-size: 28px;
    }

    .main-content {
        padding-top: 80px;
    }
}

/* 电脑端适配 */
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }

    .top-right-tools {
        top: 7px;
        right: 25px;
    }

    .wallet-dropdown {
        position: absolute;
        top: 60px;
        right: 20px;
        min-width: 280px;
    }
}

/* 资产页面专用样式 */
.assets-grid .stat-box {
    min-width: auto;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

/* 可提现按钮的特殊样式 */
#doTixian:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow:
            0 10px 25px rgba(0, 243, 255, 0.3),
            0 0 30px rgba(0, 243, 255, 0.2);
    cursor: pointer;
}

#doTixian:hover .stat-value {
    color: var(--neon-blue);
}

.stat-hint {
    transform: translateY(5px);
    transition: all 0.3s ease;
}

#doTixian:hover .stat-hint {
    opacity: 1;
    transform: translateY(0);
}

/* 为每个统计框添加不同的左边框颜色 */
.assets-grid .stat-box:nth-child(1)::before { background: linear-gradient(to bottom, #00f3ff, #00d4ff); } /* 可提现 */
.assets-grid .stat-box:nth-child(2)::before { background: linear-gradient(to bottom, #9d4edd, #7b2cbf); } /* 升级余额 */
.assets-grid .stat-box:nth-child(3)::before { background: linear-gradient(to bottom, #ff9800, #ff5722); } /* 矿机收益 */
.assets-grid .stat-box:nth-child(4)::before { background: linear-gradient(to bottom, #00ff9d, #00cc7a); } /* 见点奖 */
.assets-grid .stat-box:nth-child(5)::before { background: linear-gradient(to bottom, #ffde00, #ffc107); } /* 团队奖 */
.assets-grid .stat-box:nth-child(6)::before { background: linear-gradient(to bottom, #ff00ff, #cc00cc); } /* 节点分红 */
.assets-grid .stat-box:nth-child(7)::before { background: linear-gradient(to bottom, #00b894, #008b6e); } /* 级别分红 */
.assets-grid .stat-box:nth-child(8)::before { background: linear-gradient(to bottom, #fd79a8, #e84393); } /* 周榜奖励 */

/* 响应式调整 */
@media (max-width: 992px) {
    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .assets-grid .stat-box {
        padding: 18px 12px;
    }
}

@media (max-width: 768px) {
    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .assets-grid .stat-box {
        padding: 16px 10px;
    }

    .assets-grid .stat-value {
        font-size: 22px;
    }

    .assets-grid .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .assets-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .assets-grid .stat-box {
        padding: 15px 12px;
    }
}

/* 添加资产统计动画 */
@keyframes assetPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 243, 255, 0.3);
    }
}

.assets-grid .stat-box.updated {
    animation: assetPulse 1s ease;
}
/* ====== 九宫格布局样式 ====== */
.nine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.grid-item {
    background: rgba(30, 30, 40, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 12px;
    padding: 18px 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grid-item:hover {
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 243, 255, 0.1);
    background: rgba(30, 30, 40, 0.8);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
    rgba(0, 243, 255, 0.05) 0%,
    transparent 50%,
    rgba(255, 152, 0, 0.05) 100%);
    z-index: 0;
}

.grid-item-content {
    position: relative;
    z-index: 1;
}

.grid-item-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grid-item-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-item-hint {
    font-size: 11px;
    color: var(--neon-blue);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.grid-item-hint i {
    font-size: 10px;
}

/* 特殊的网格项样式 */
.grid-item-highlight {
    background: linear-gradient(135deg,
    rgba(255, 152, 0, 0.1) 0%,
    rgba(30, 30, 40, 0.7) 100%);
    border-color: rgba(255, 152, 0, 0.2);
}

.grid-item-highlight .grid-item-value {
    color: var(--sun-color);
}

.grid-item-warning {
    background: linear-gradient(135deg,
    rgba(0, 255, 157, 0.1) 0%,
    rgba(30, 30, 40, 0.7) 100%);
    border-color: rgba(0, 255, 157, 0.2);
}

.grid-item-warning .grid-item-value {
    color: var(--cyber-green);
}

/* 移动端适配 */
@media (max-width: 992px) {
    .nine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .nine-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .grid-item {
        padding: 15px 12px;
    }

    .grid-item-value {
        font-size: 18px;
    }

    .grid-item-label {
        font-size: 12px;
        height: auto;
        min-height: 36px;
    }
}

/* 优化页面整体间距 */
.page-container {
    padding-bottom: 100px !important;
}

#team-page .card,
#assets-page .card {
    margin-top: 20px;
}