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

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

.herocandy {
  position: relative;
  width: clamp(220px, 76vw, 360px);
}

.herocandy__mist {
  position: absolute;
  width: clamp(96px, 36vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
}

.herocandy__mist--a {
  top: -22px;
  left: -20px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 185, 207, 0.95), rgba(255, 185, 207, 0) 70%);
  animation: mistA 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.herocandy__mist--b {
  right: -24px;
  top: 26%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 210, 184, 0.95), rgba(255, 210, 184, 0) 70%);
  animation: mistB 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: -1s;
}

.herocandy__mist--c {
  left: 6%;
  bottom: -26px;
  background: radial-gradient(circle at 45% 55%, rgba(205, 188, 242, 0.9), rgba(205, 188, 242, 0) 70%);
  animation: mistA 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: -0.5s;
}

.herocandy__card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(255, 185, 207, 0.55);
  animation: cardBob 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.herocandy__eyebrow {
  margin: 0;
  color: #55395e;
  font-weight: 700;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.herocandy__title {
  margin: 0;
  color: #55395e;
  font-weight: 700;
  font-size: clamp(18px, 4.6vw, 24px);
  line-height: 1.2;
}

.herocandy__desc {
  margin: 0;
  color: rgba(85, 57, 94, 0.78);
  font-weight: 500;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1.4;
}

.herocandy__cta {
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #55395e;
  padding: 8px 20px;
  font-weight: 700;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1;
  box-shadow: 0 6px 14px rgba(255, 185, 207, 0.6);
}

.herocandy__cta:focus-visible {
  outline: 3px solid #55395e;
  outline-offset: 2px;
}

@keyframes mistA {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(7%, 9%) scale(1.14);
  }
}
@keyframes mistB {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-6%, -7%) scale(0.88);
  }
}
@keyframes cardBob {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(255, 185, 207, 0.55);
  }
  50% {
    transform: translateY(-7px);
    box-shadow: 0 16px 30px rgba(255, 185, 207, 0.5);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .herocandy__mist {
    width: clamp(60px, 22vw, 86px);
  }
  .herocandy__mist--a {
    top: -8px;
    left: -8px;
  }
  .herocandy__mist--b {
    right: -8px;
    top: 12%;
  }
  .herocandy__mist--c {
    left: 8%;
    bottom: -8px;
  }
  .herocandy__card {
    padding: 12px 16px;
    gap: 4px;
  }
  .herocandy__eyebrow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .herocandy__mist, .herocandy__card {
    animation: none !important;
    transform: none;
  }
}
