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);
}

.navneu {
  box-sizing: border-box;
  width: clamp(260px, 84vw, 400px);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: rgb(94%, 77.4117647059%, 23.2235294118%);
  padding: 8px;
  box-shadow: 7px 7px 14px rgba(37.6%, 30.9647058824%, 9.2894117647%, 0.35), -7px -7px 14px rgba(97.6%, 90.9647058824%, 69.2894117647%, 0.6);
}

.navneu__brand {
  padding-left: 8px;
  color: #17141a;
  font-weight: 800;
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1;
  white-space: nowrap;
}

.navneu__track {
  position: relative;
  flex: 1;
  display: flex;
  border-radius: 999px;
  background: rgb(94%, 77.4117647059%, 23.2235294118%);
  padding: 4px;
  box-shadow: inset 3px 3px 6px rgba(37.6%, 30.9647058824%, 9.2894117647%, 0.35), inset -3px -3px 6px rgba(97.6%, 90.9647058824%, 69.2894117647%, 0.6);
}

.navneu__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 4px * 2) / 4);
  border-radius: 999px;
  background: rgb(94%, 77.4117647059%, 23.2235294118%);
  box-shadow: 3px 3px 6px rgba(37.6%, 30.9647058824%, 9.2894117647%, 0.35), -3px -3px 6px rgba(97.6%, 90.9647058824%, 69.2894117647%, 0.6);
  animation: navSlide 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

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

.navneu__cta {
  border: 0;
  border-radius: 999px;
  background: rgb(94%, 77.4117647059%, 23.2235294118%);
  color: #17141a;
  padding: 8px 16px;
  font-weight: 700;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 4px 4px 8px rgba(37.6%, 30.9647058824%, 9.2894117647%, 0.35), -4px -4px 8px rgba(97.6%, 90.9647058824%, 69.2894117647%, 0.6);
}

.navneu__cta:focus-visible {
  outline: 3px solid #2f6df6;
  outline-offset: 2px;
}

@keyframes navSlide {
  0%, 15% {
    transform: translateX(0%);
  }
  25%, 40% {
    transform: translateX(100%);
  }
  50%, 65% {
    transform: translateX(200%);
  }
  75%, 90% {
    transform: translateX(300%);
  }
  100% {
    transform: translateX(0%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .navneu__indicator {
    animation: none !important;
    transform: translateX(0%);
  }
}
