html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffd23f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.nav-a {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: clamp(240px, 82vw, 380px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.nav-a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 0.5px, transparent 0.5px), radial-gradient(rgba(23, 20, 26, 0.6) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 5px 5px;
  border-radius: inherit;
}

.nav-a__brand {
  position: relative;
  z-index: 1;
  padding-left: 8px;
  color: #ffffff;
  font: 700 clamp(12px, 3vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

.nav-a__menu {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
}

.nav-a__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: #2f6df6;
  animation: pillSlide 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.nav-a__label {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 8px 0;
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
}

.nav-a__cta {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #17141a;
  padding: 8px 16px;
  font-weight: 700;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
}

@keyframes pillSlide {
  0%, 12% {
    transform: translateX(0%);
  }
  38%, 50% {
    transform: translateX(100%);
  }
  76%, 88% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-a__pill {
    animation: none;
  }
}
