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

.mg-zone {
  width: min(230px, 76vw);
  height: 140px;
  display: grid;
  place-items: center;
}

.mg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9ebb, #b9a0ff);
  color: #17141a;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  cursor: pointer;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.mg-btn svg {
  width: 18px;
  height: 18px;
}

@media (hover: none), (pointer: coarse) {
  .mg-btn {
    transition: none;
  }
}
.mg-zone.is-demo .mg-btn {
  animation: mg-pull 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes mg-pull {
  0%, 10% {
    transform: translate(0, 0) scale(1);
  }
  32%, 55% {
    transform: translate(20px, -15px) scale(1.04);
  }
  82%, 100% {
    transform: translate(0, 0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mg-btn {
    animation: none !important;
    transition: none !important;
  }
}
