.nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    width: 45%;
    max-width: 180px;
    margin-bottom: 20px;
    height: 55px;
    z-index: 2;

    background: rgba(13, 13, 13, 0.6); 
    backdrop-filter: blur(5px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);


    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(5px) saturate(150%);

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}


.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #BEBCE9;
    font-weight: 500;
    width: 60px;
    font-size: 11px;
    transition: color 0.25s ease, transform 0.2s ease;
    text-decoration: none;
}

.nav-btn.active,
.nav-btn:hover {
    color: white;
}


.nav-btn img {
    width: 25px;
    height: 25px;
    opacity: 0.7;
    transition: opacity 0.2s ease, filter 0.2s ease;
}



.nav-btn.active img,
.nav-btn:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.046)) brightness(1.3);
}

.nav-btn.active{
    background-color: #181818;
    padding: 4px 15px;
    border-radius: 27px;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.nav.hide {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
    pointer-events: none;
    display: none;
}
