
.bottom-nav {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: 70px;
    background: rgba(20, 25, 45, 0.85);
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #4a9eff;
    border-radius: 0 0 2px 2px;
    transition: width 0.3s ease;
}

.nav-item.active::before {
    width: 40%;
}

.nav-item.active {
    color: #4a9eff;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.2);
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
}

.nav-item:active {
    transform: scale(0.95);
}


@media (max-width: 380px) {
    .nav-label {
        font-size: 11px;
    }

    .nav-icon {
        font-size: 22px;
    }

    .bottom-nav {
        height: 65px;
    }
}
