.site-nav {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 42px;
}

.nav-link {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.52rem 0.78rem;
  border-radius: 11px;
  color: rgba(245, 245, 245, 0.92);
  font-weight: 760;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(27, 27, 30, 0.84), rgba(12, 12, 14, 0.78));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.24) 46%, transparent 70%);
  transform: translateX(-135%);
  transition: transform 280ms ease;
  pointer-events: none;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.99);
  background: linear-gradient(180deg, rgba(44, 44, 48, 0.9), rgba(18, 18, 20, 0.86));
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.44);
}

.nav-link:hover::before {
  transform: translateX(135%);
}

.nav-link[aria-current="page"] {
  color: rgba(255, 255, 255, 1);
  background: linear-gradient(180deg, rgba(54, 54, 58, 0.96), rgba(24, 24, 26, 0.9));
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.nav-link[data-nav="new"] {
  padding: 0.56rem 1rem;
  font-weight: 860;
  letter-spacing: -0.015em;
  background: linear-gradient(145deg, rgba(40, 40, 44, 0.98), rgba(14, 14, 16, 0.98) 58%, rgba(4, 4, 5, 1));
  border-color: rgba(255, 255, 255, 0.58);
  color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.26) inset;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.nav-link[data-nav="new"]:hover {
  color: #fff;
  background: linear-gradient(145deg, rgba(52, 52, 56, 1), rgba(20, 20, 22, 1) 58%, rgba(6, 6, 7, 1));
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.34) inset;
}

.nav-link[data-nav="new"][aria-current="page"] {
  background: linear-gradient(145deg, rgba(48, 48, 52, 1), rgba(16, 16, 18, 1));
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.38) inset;
}

.nav-wallet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.2rem;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  border-color: rgba(125, 211, 252, 0.42);
  background: linear-gradient(180deg, rgba(28, 44, 66, 0.9), rgba(15, 22, 35, 0.88));
}

.nav-wallet-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: rgba(149, 223, 255, 0.95);
}

.nav-wallet-link:hover {
  border-color: rgba(125, 211, 252, 0.72);
  background: linear-gradient(180deg, rgba(36, 55, 80, 0.96), rgba(18, 28, 45, 0.93));
}

.nav-wallet-link[aria-current="page"] {
  border-color: rgba(125, 211, 252, 0.86);
  box-shadow: 0 16px 30px rgba(3, 8, 18, 0.66), 0 0 0 1px rgba(125, 211, 252, 0.2) inset;
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    z-index: 12;
    padding: 0.6rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(10, 10, 12, 0.98), rgba(6, 6, 7, 0.98));
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 74px rgba(2, 6, 23, 0.56);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    transform-origin: top;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-wallet-link {
    margin-left: 0;
    width: 44px;
    justify-self: start;
    justify-content: center;
  }

}
