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

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: clamp(260px, 88vw, 420px);
}

.card {
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #17141a;
  transform: translate(8px, 8px);
}

.card__body {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 3px solid #17141a;
  border-radius: 0;
  background: #fff7e6;
  animation: floatAway 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.card:nth-child(1) .card__body {
  animation-delay: 0s;
}

.card:nth-child(2) .card__body {
  animation-delay: -0.5s;
}

.card:nth-child(3) .card__body {
  animation-delay: -1s;
}

.card:nth-child(4) .card__body {
  animation-delay: -1.5s;
}

.card__icon {
  display: block;
  width: clamp(18px, 5vw, 24px);
  height: clamp(18px, 5vw, 24px);
  background: #2f6df6;
  border-radius: 0;
}

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

@keyframes floatAway {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, -8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card__body {
    animation: none !important;
    transform: none;
  }
}
