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

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

.emboss {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.emboss__shadow {
  width: clamp(160px, 50vw, 216px);
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(23, 20, 26, 0.5), transparent 70%);
  animation: shadowShrink 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.emboss__sticker {
  box-sizing: border-box;
  width: clamp(176px, 54vw, 236px);
  padding: 16px 20px;
  border: 6px solid #ffffff;
  border-radius: 16px;
  background: radial-gradient(130% 130% at 30% 22%, rgba(255, 255, 255, 0.55), transparent 46%), #f4ead7;
  box-shadow: 0 4px 8px rgba(23, 20, 26, 0.28);
  text-align: center;
  animation: stickerApply 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.emboss__brand {
  margin: 0;
  color: #e2d4b8;
  font-weight: 900;
  font-size: clamp(24px, 7vw, 38px);
  line-height: 1.05;
  font-family: inherit;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 -1px 0 rgba(96, 74, 48, 0.62), 1px 0 0 rgba(255, 255, 255, 0.55), -1px 0 0 rgba(96, 74, 48, 0.35);
}

.emboss__sub {
  margin: 4px 0 0;
  color: #e2d4b8;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.34em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 -1px 0 rgba(96, 74, 48, 0.62);
}

.emboss__caption {
  margin: 0;
  color: #17141a;
  font-weight: 700;
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1;
  font-family: inherit;
}

@keyframes stickerApply {
  0% {
    transform: translateY(-24px) rotate(-8deg) scale(1.12);
  }
  40% {
    transform: translateY(0) rotate(-3deg) scale(1);
  }
  50% {
    transform: translateY(-2px) rotate(-3.6deg) scale(1.01);
  }
  60%, 88% {
    transform: translateY(0) rotate(-3deg) scale(1);
  }
  100% {
    transform: translateY(-24px) rotate(-8deg) scale(1.12);
  }
}
@keyframes shadowShrink {
  0% {
    transform: scaleX(1.4);
    opacity: 0.55;
  }
  40%, 88% {
    transform: scaleX(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scaleX(1.4);
    opacity: 0.55;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .emboss__sticker {
    padding: 12px 16px;
    border-width: 4px;
  }
  .emboss__caption {
    display: none;
  }
  .emboss {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .emboss__sticker {
    animation: none !important;
    transform: rotate(-3deg);
  }
  .emboss__shadow {
    animation: none !important;
    transform: scaleX(0.9);
    opacity: 0.9;
  }
}
