.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 238, 247, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  padding: 0;  /* Remove padding from container */
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  border-radius: 50px;
  width: fit-content;
  overflow: hidden;  /* Contain hover effects */
}

.nav-button {
  background: transparent;
  border: none;
  padding: 15px 25px;  /* Increase vertical padding */
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgb(0, 0, 128);
  white-space: nowrap;
  position: relative;
  height: 100%;  /* Make button full height */
  z-index: 1;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250,172,224,0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
  height: 100%;  /* Make hover effect full height */
}

.nav-button:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: rgba(0, 0, 128, 0.2);
  box-shadow: 1px 0 rgba(255,255,255,0.5);
}

.nav-button:hover {
  transform: translateY(-1px);
}

.nav-button:hover::before {
  opacity: 1;
}

.nav-button:active {
  transform: translateY(1px);
}

@media (max-width: 676px) {
  .bottom-nav {
    width: auto;
    min-width: 300px;
    max-width: 95%;
  }

  .nav-button {
    font-size: 12px;
    padding: 12px 12px;
    flex: 1;
    text-align: center;
  }

  .nav-button:not(:last-child)::after {
    height: 15px;
  }
}

@media (max-width: 360px) {
  .bottom-nav {
    min-width: 280px;
  }

  .nav-button {
    font-size: 11px;
    padding: 10px 8px;
  }
}
