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

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

.tag {
  position: relative;
  width: 132px;
  height: 92px;
  clip-path: polygon(0 0, 76% 0, 100% 50%, 76% 100%, 0 100%);
  background: #ff4d1f;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform-origin: 8% 50%;
}

.tag__hole {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #17141a;
}

.tag__text {
  color: #fff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  padding-left: 8px;
}

.stage.is-demo .tag {
  animation: tag-swing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes tag-swing {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  }
  30% {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 18px 30px rgba(23, 20, 26, 0.4);
  }
  60% {
    transform: rotate(3deg) scale(1.02);
  }
  80% {
    transform: rotate(-1deg) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-demo .tag {
    animation: none;
  }
}
