/* ✅ Bottom Navigation Bar - sempre visibile */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0e1320; /* colore coerente col tuo tema */
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.4rem 0.2rem;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

/* Link */
.bottom-nav .nav-item {
  color: #aaa;
  text-decoration: none;
  font-size: 0.8rem;
  flex-grow: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.3s ease;
}

/* Icone */
.bottom-nav .icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

/* Stato attivo o hover */
.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
  color: #fff;
}

/* Evita che il contenuto venga coperto */
body {
  margin: 0;
  padding-bottom: 4rem; /* spazio riservato per la navbar */
  background: #0e1320;
  color: #eee;
}

/* Mobile responsive */
@media (min-width: 768px) {
  .bottom-nav {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem 1rem 0 0;
  }
}