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

.cardgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: clamp(220px, 78vw, 340px);
}

.cardgrid__item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #fff7e6;
  box-shadow: 8px 8px 16px rgba(23, 20, 26, 0.28), -8px -8px 16px rgba(255, 255, 255, 0.5);
  animation: puff 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.cardgrid__item--a {
  animation-delay: 0s;
}

.cardgrid__item--b {
  animation-delay: -0.5s;
}

.cardgrid__item--c {
  animation-delay: -1s;
}

.cardgrid__item--d {
  animation-delay: -1.5s;
}

.cardgrid__icon {
  width: clamp(20px, 8vw, 28px);
  height: clamp(20px, 8vw, 28px);
  border-radius: 8px;
  background: #2f6df6;
}

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

@keyframes puff {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cardgrid__item {
    animation: none !important;
    transform: none;
  }
}
