/* Universal tab bar — shared across mochee.xyz, /garden, and radio.mochee.xyz.
   Source of truth for the garden version: quartz-plugins/nav-bar/src/components/styles/navBar.scss
   Kept in sync by hand since the garden build (Quartz/Preact) and this static
   landing page don't share a bundler. */

.nav-bar {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.4rem 0.6rem;
  list-style: none;
  background: var(--panel-bg, rgba(8, 18, 10, 0.95));
  border: 1px solid var(--panel-border, rgba(80, 140, 50, 0.4));
  border-radius: 999px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.nav-bar__item {
  --bgColorItem: #7ab860;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: var(--green-dim, rgba(160, 200, 130, 0.55));
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-bar__item:hover {
  transform: translateY(-0.15rem);
}

.nav-bar__item.active {
  color: var(--bgColorItem);
}

.nav-bar__icon {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-bar__border {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2.6rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--bgColorItem, #7ab860);
  transition: transform var(--timeOut, 0.35s) cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

@media (max-width: 600px) {
  .nav-bar {
    bottom: 0.7rem;
    padding: 0.3rem 0.5rem;
  }

  .nav-bar__item {
    width: 2.3rem;
    height: 2.3rem;
  }
}
