@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
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);
}

.glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 16px 32px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  font-family: inherit;
  font-size: clamp(15px, 4.5vw, 19px);
  font-weight: 700;
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 4px;
  background: conic-gradient(from var(--angle), rgba(255, 158, 187, 0) 0deg, rgba(255, 158, 187, 0) 232deg, #ff9ebb 300deg, rgba(255, 158, 187, 0.2) 330deg, rgba(255, 158, 187, 0) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: glow-run 2s linear infinite;
}

.glow__ic {
  display: inline-flex;
  color: #ff9ebb;
}

@keyframes glow-run {
  to {
    --angle: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .glow::before {
    animation: none;
    background: rgba(255, 158, 187, 0.7);
  }
}
