.floating-nav {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: calc(100vw - 44px);
  padding: 5px;
  border: 1px solid rgba(209, 255, 0, .52);
  border-radius: 3px;
  background: rgba(13, 14, 21, .92);
  color: #f4f5f6;
  box-shadow: 0 10px 30px rgba(13, 14, 21, .28), 0 0 0 1px rgba(255,255,255,.05) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.floating-nav a {
  padding: 8px 10px;
  border-radius: 1px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}

.floating-nav a:hover,
.floating-nav a:focus-visible,
.floating-nav a[aria-current="page"] {
  background: #d1ff00;
  color: #0d0e15;
  outline: none;
}

.floating-nav .floating-brand {
  padding: 8px 12px;
  font-weight: 700;
  background: #d1ff00;
  color: #0d0e15;
  letter-spacing: .12em;
}

.floating-nav::before {
  content: "NAV / TEKTURA";
  margin: 0 7px 0 5px;
  color: rgba(244, 245, 246, .55);
  font-size: 9px;
  letter-spacing: .12em;
}

@media (max-width: 760px) {
  .floating-nav {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .floating-nav::-webkit-scrollbar { display: none; }
  .floating-nav a { padding: 8px 9px; }
  .floating-nav .floating-brand { display: none; }
  .floating-nav::before { display: none; }
}
