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(220px, 76vw, 320px);
}

.grid__card {
  border-radius: 16px;
  background: #17141a;
  border: 1px solid rgba(255, 247, 230, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation-name: cardGlow;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.grid__card--1 {
  animation-delay: 0s;
}

.grid__card--2 {
  animation-delay: -1.5s;
}

.grid__card--3 {
  animation-delay: -1s;
}

.grid__card--4 {
  animation-delay: -0.5s;
}

.grid__dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(47, 109, 246, 0.35);
}

.grid__label {
  margin: 0;
  color: #fff7e6;
  font: 600 clamp(11px, 2.8vw, 13px)/1.3 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

@keyframes cardGlow {
  0%, 76%, 100% {
    border-color: rgba(255, 247, 230, 0.08);
    box-shadow: none;
  }
  13% {
    border-color: #2f6df6;
    box-shadow: 0 0 0 1px rgba(47, 109, 246, 0.5), 0 14px 24px rgba(23, 20, 26, 0.32);
  }
}
@media (prefers-reduced-motion: reduce) {
  .grid__card {
    animation: none !important;
    border-color: rgba(255, 247, 230, 0.08);
    box-shadow: none;
  }
}
