:root {
    --bg-color: #111111;
    --active-gold: #f3d691;
    --inactive-gray: #666666;
}
.bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-color);
    display: flex;
    justify-content: space-around;
    align-items: flex-end; /* 让普通的项靠下对齐 */
    padding-bottom: 8px;
    border-top: 1px solid #222;
    z-index: 999;
}
.nav-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--inactive-gray);
    font-size: 12px;
    transition: all 0.3s;
}
.nav-item p{
    color: rgba(255,255,255,.4);
    font-size: 13px;
}
.nav-item .icon{
   font-size: 30px;
}
.nav-item .icon i{
    font-size: 27px;
    color: rgba(255,255,255,.4);
    /* 模拟金属反光：深色 -> 亮色 -> 深色 */
    background: linear-gradient(135deg,
    #717171 0%,
    #ffffff 50%,
    #717171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 配合之前说的阴影，立体感倍增 */
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}
.nav-item.active p{
    color: #FFF;
}
.nav-item.active i{
    /* 1. 设置渐变背景 */
    background: linear-gradient(to bottom right, #af45e7 0%, #4ccce7 100%);
    /* 2. 将背景裁剪到文本 */
    -webkit-background-clip: text;
    background-clip: text;
    /* 3. 必须将文字颜色设为透明，否则背景显示不出来 */
    -webkit-text-fill-color: transparent;
    display: inline-block; /* 确保背景范围正确 */

}

.money-bag-container {
    padding:13px;
    top:2px;
    background: #111111;
    border-radius: 100px;
    position: relative;
    width: 100%; /* 设置容器宽度 */
    aspect-ratio: 1 / 1; /* 设置容器高度，保持宽高比 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.money-bag-icon {
    width: 100%; /* 图标充满容器 */
    height: 100%;
    object-fit: contain; /* 确保图片完整显示 */
    animation: float 3s ease-in-out infinite,
    glow 2s ease-in-out infinite alternate; /* 组合两个动画 */
    will-change: transform, filter; /* 提升动画性能 */
}
/* 动画定义：上下浮动 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); } /* 向上浮动 10px */
    100% { transform: translateY(0px); }
}
