/* 个人中心样式 */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px 12px 60px;
    color: var(--bg-white);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

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

.user-details {
    flex: 1;
}

.username {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.userid {
    font-size: 13px;
    opacity: 0.9;
}

.settings-icon {
    color: var(--bg-white);
    font-size: 20px;
    text-decoration: none;
}

.assets-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 15px;
}

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

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

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

/* 钱包卡片 */
.wallet-card {
    background: var(--bg-white);
    margin: -40px 12px 12px;
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

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

.wallet-header span {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-primary);
}

.wallet-header i {
    color: var(--primary-color);
    margin-right: 5px;
}

.wallet-more {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
}

.wallet-balance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-page);
    border-radius: 8px;
}

.balance-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.balance-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.wallet-actions {
    display: flex;
    gap: 10px;
}

.wallet-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

.wallet-btn:hover {
    background: var(--bg-page);
}

.wallet-btn i {
    font-size: 16px;
    color: var(--primary-color);
}

/* 菜单列表 */
.menu-section {
    background: var(--bg-white);
    margin-bottom: 12px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 12px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
}

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

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

.menu-left i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    color: var(--bg-white);
    font-size: 12px;
}

.menu-left span {
    font-size: 14px;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
}

.menu-value {
    background: var(--danger-color);
    color: var(--bg-white);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}
