/* 红白蓝主题 */
:root {
    --primary: #e53935;      /* 红色 */
    --primary-dark: #c62828;
    --primary-light: #ffcdd2;
    --secondary: #1e88e5;     /* 蓝色 */
    --secondary-dark: #0b5e7e;
    --white: #ffffff;
    --bg-light: #f5f5f5;
    --gray-light: #f0f0f0;
    --text-dark: #333;
    --text-light: #666;
}

body {
    background: var(--bg-light);
    font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.app-container {
    max-width: 450px;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding-bottom: 70px;
}

.top-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 450px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(229,57,53,0.2);
    z-index: 1000;
}
.bottom-item {
    text-align: center;
    color: #999;
    text-decoration: none;
    font-size: 11px;
    flex: 1;
    transition: all 0.2s;
    padding: 6px 0;
    border-radius: 30px;
}
.bottom-item i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}
.bottom-item.active {
    color: var(--primary);
    background: rgba(229,57,53,0.1);
}
.bottom-item:active i {
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: bold;
    transition: all 0.2s;
}
.btn-primary:active {
    transform: scale(0.98);
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.user-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin: 12px 16px;
    border-radius: 24px;
    padding: 14px 16px;
    color: white;
    box-shadow: 0 8px 20px rgba(229,57,53,0.25);
}
.action-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    padding: 8px 0;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.action-btn:active {
    transform: scale(0.96);
    background: rgba(255,255,255,0.3);
}
.action-btn.recharge i { color: #ffd966; }
.action-btn.withdraw i { color: #ffb347; }
.action-btn.promote i { color: #a5d6a5; }

.nav-btn.active {
    background: linear-gradient(90deg, rgba(229,57,53,0.1), transparent);
    border-left-color: var(--primary);
}
.nav-btn i {
    color: var(--primary);
}
.nav-btn.active span {
    color: var(--primary);
}
.game-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hot-badge {
    background: var(--primary);
}
