/* ============================================ */
/* BOTTOM NAVIGATION — VirtualGift             */
/* ============================================ */

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  transition: bottom 0.2s ease;
  display: flex;
  height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: rgba(2,5,21,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(41,50,68,0.8);
  box-shadow: 0 -10px 36px rgba(0,0,0,0.4);
}

/* ── Item ── */
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15px;
  color: rgba(182,198,217,0.35);
  position: relative;
  transition: color 0.18s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  text-decoration: none;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  transition: filter 0.18s;
}

.bottom-nav-item:active { transform: scale(0.86); }
.bottom-nav-item:hover  { color: rgba(182,198,217,0.62); }

/* ── Activo ── */
.bottom-nav-item.active { color: #8d17fb; }

.bottom-nav-item.active svg {
  filter: drop-shadow(0 0 6px rgba(141,23,251,0.55));
}

/* Línea indicadora en el top */
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: #8d17fb;
  box-shadow: 0 0 10px rgba(141,23,251,0.7);
}

/* ── Android app: sin header fijo, el nav sigue visible ── */
html.android-app .bottom-nav,
body.android-app .bottom-nav { display: flex; }

/* ── Desktop: ocultar (el header horizontal ya navega) ── */
@media (min-width: 769px) {
  .bottom-nav { display: none; }
}
