/* === Premium Glassy Floating Bottom Navigation === */
.glassy-nav {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  max-width: 520px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.88));
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 34px;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(234, 179, 8, 0.12);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 6px;
  z-index: 9999;
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(250, 204, 21, 0.25),
    transparent
  );
}

.bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.25s ease;
  position: relative;
  border-radius: 18px;
  padding: 10px 4px;
}

.bottom-nav .nav-item i {
  display: block;
  font-size: 21px;
  margin-bottom: 3px;
  color: #f8fafc;
  transition: all 0.25s ease;
}

.bottom-nav .nav-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #cbd5e1;
}

/* Hover */
.bottom-nav .nav-item:hover {
  background: rgba(250, 204, 21, 0.08);
}

.bottom-nav .nav-item:hover i,
.bottom-nav .nav-item:hover span {
  color: #facc15;
}

/* Active */
.bottom-nav .nav-item.active {
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

.bottom-nav .nav-item.active i,
.bottom-nav .nav-item.active span {
  color: #111827 !important;
}

.bottom-nav .nav-item.active::after {
  display: none;
}

/* === Center Wallet Button === */
.wallet-btn {
  position: relative;
  top: -24px;
  z-index: 10;
  flex: 1.35;
}

.wallet-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.95), rgba(234, 179, 8, 0.95)),
    rgba(15, 23, 42, 0.95);
  border: 4px solid rgba(253, 224, 71, 0.85);
  box-shadow:
    0 16px 30px rgba(234, 179, 8, 0.35),
    0 0 32px rgba(250, 204, 21, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
}

.wallet-circle i {
  font-size: 29px !important;
  color: #111827 !important;
  margin: 0 !important;
}

.wallet-btn span {
  font-size: 12px !important;
  font-weight: 900;
  color: #fde047 !important;
}

.wallet-btn:hover .wallet-circle,
.wallet-btn.active .wallet-circle {
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 18px 36px rgba(234, 179, 8, 0.45),
    0 0 42px rgba(250, 204, 21, 0.65);
}

/* Wallet active */
.wallet-btn.active .wallet-circle {
  background: linear-gradient(135deg, #fde047, #facc15);
  border-color: #fde047;
}

.wallet-btn.active .wallet-circle i {
  color: #111827 !important;
}

.wallet-btn.active span {
  color: #fde047 !important;
}

/* Responsive */
@media (max-width: 720px) {
  .glassy-nav {
    width: 94%;
    border-radius: 30px;
    padding: 7px 4px;
  }

  .bottom-nav .nav-item {
    padding: 9px 2px;
  }

  .bottom-nav .nav-item i {
    font-size: 18px;
  }

  .bottom-nav .nav-item span {
    font-size: 9.5px;
  }

  .wallet-circle {
    width: 58px;
    height: 58px;
  }

  .wallet-circle i {
    font-size: 25px !important;
  }

  .wallet-btn {
    top: -21px;
  }
}