/* ===== BOTTOM NAV – GLASS + AUTO HIDE (UPGRADED & STABLE) ===== */

.bottom-nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 52px;                 /* thoda comfortable */
  padding: 6px 10px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  background: rgba(25,25,25,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 -6px 20px rgba(0,0,0,0.4);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;

  transform: translateY(0);
  transition: transform 0.35s ease;

  z-index: 999;
  will-change: transform;       /* 👈 smooth scroll */
}

/* ===== HIDE STATE ===== */
.bottom-nav.hide{
  transform: translateY(70px);  /* px is safest (no %) */
}

/* ===== NAV ITEM ===== */
.nav-item{
  background: transparent;
  border: none;
  color: #bdbdbd;

  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;

  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

/* ===== ACTIVE ===== */
.nav-item.active{
  color: #4de7e7;
}

/* ===== ACTIVE INDICATOR ===== */
.nav-item.active::after{
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);

  width: 22px;
  height: 3px;
  background: #4de7e7;
  border-radius: 3px;
}

/* ===== SAFE SPACE FOR CONTENT ===== */
body{
  padding-bottom: 72px; /* nav + gap */
}
