/* Bottom Navigation Dock - Ultra-Dark & Premium */
.bottom-nav {
    position: fixed;
    bottom: 22px;
    /* Adjusted lower for user preference */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    /* Even slimmer */
    height: 60px;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.98) 0%, rgba(2, 2, 5, 0.99) 100%);
    backdrop-filter: blur(40px) saturate(250%);
    -webkit-backdrop-filter: blur(40px) saturate(250%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    /* Barely visible edge */
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 5000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(255, 255, 255, 0.01);
    /* Extra thin outer ring */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    /* Dimer unselected for true dark mode */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex: 1;
    height: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.nav-icon {
    font-size: 1.15rem;
    /* Slightly more focused */
    margin-bottom: 3px;
    transition: transform 0.3s, filter 0.3s, color 0.3s;
}

.nav-label {
    font-size: 0.55rem;
    /* Super slim label */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.nav-item.active {
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Active state transitions */
.nav-item.active .nav-icon {
    transform: translateY(-3px);
}

.nav-item:active {
    transform: scale(0.85);
}

/* Adjust Body Padding */
body {
    padding-bottom: 110px;
}