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

.navclay {
  box-sizing: border-box;
  width: clamp(260px, 84vw, 400px);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #fff7e6;
  padding: 8px;
  box-shadow: 6px 6px 14px rgba(23, 20, 26, 0.22), -6px -6px 14px rgba(255, 255, 255, 0.6);
}

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

.navclay__menu {
  position: relative;
  flex: 1;
  display: flex;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.06);
  padding: 4px;
  box-shadow: inset 3px 3px 6px rgba(23, 20, 26, 0.18), inset -3px -3px 6px rgba(255, 255, 255, 0.55);
}

.navclay__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 4px * 2) / 4);
  border-radius: 999px;
  background: #fff7e6;
  box-shadow: 2px 2px 6px rgba(23, 20, 26, 0.25), inset 1px 1px 0 rgba(255, 255, 255, 0.6);
  animation: navSlide 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.navclay__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;
}

.navclay__cta {
  border: 0;
  border-radius: 999px;
  background: #17141a;
  color: #fff7e6;
  padding: 8px 16px;
  font-weight: 700;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
  white-space: nowrap;
}

@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) {
  .navclay__indicator {
    animation: none !important;
    transform: translateX(0%);
  }
}
