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

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

.hero {
  position: relative;
  box-sizing: border-box;
  width: clamp(240px, 82vw, 380px);
  padding: 20px 16px;
  border-radius: 8px;
  background: #17141a;
  box-shadow: 0 0 0 1px rgba(255, 210, 63, 0.4), 0 0 24px rgba(255, 210, 63, 0.16);
  overflow: hidden;
}

.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 210, 63, 0) 0, rgba(255, 210, 63, 0) 5px, rgba(255, 210, 63, 0.1) 6px, rgba(255, 210, 63, 0) 7px), linear-gradient(to bottom, rgba(255, 210, 63, 0) 0%, rgba(255, 210, 63, 0.32) 48%, rgba(255, 210, 63, 0) 100%);
  background-size: 100% 100%, 100% 240%;
  background-position: 0 0, 0 -140%;
  animation: scanSweep 2s linear infinite;
}

@keyframes scanSweep {
  0% {
    background-position: 0 0, 0 -140%;
  }
  100% {
    background-position: 0 0, 0 140%;
  }
}
.hero__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: #ffd23f;
  border-style: solid;
  border-width: 0;
  animation: cornerPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.hero__corner--tl {
  top: 0;
  left: 0;
  border-top-width: 2px;
  border-left-width: 2px;
  transform-origin: top left;
}

.hero__corner--tr {
  top: 0;
  right: 0;
  border-top-width: 2px;
  border-right-width: 2px;
  transform-origin: top right;
  animation-delay: -0.15s;
}

.hero__corner--bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 2px;
  border-left-width: 2px;
  transform-origin: bottom left;
  animation-delay: -0.3s;
}

.hero__corner--br {
  bottom: 0;
  right: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  transform-origin: bottom right;
  animation-delay: -0.45s;
}

@keyframes cornerPulse {
  0%, 100% {
    transform: scale(0.55);
    opacity: 0.35;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
.hero__eyebrow {
  position: relative;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffd23f;
  font-family: "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(10px, 2.4vw, 11px);
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #ffd23f;
  animation: blink 2s steps(1) infinite;
}

@keyframes blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.2;
  }
}
.hero__title {
  position: relative;
  margin: 0 0 4px;
  color: #fff7e6;
  font-weight: 700;
  font-size: clamp(18px, 5vw, 25px);
  line-height: 1.15;
  font-family: inherit;
}

.hero__desc {
  position: relative;
  margin: 0 0 12px;
  color: rgba(255, 247, 230, 0.85);
  font-weight: 500;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1.4;
  font-family: inherit;
}

.hero__cta {
  position: relative;
  border: 1px solid #ffd23f;
  border-radius: 12px;
  background: rgba(255, 210, 63, 0.12);
  color: #ffd23f;
  padding: 4px 20px;
  font-weight: 700;
  font-size: clamp(12px, 2.8vw, 13px);
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.02em;
}

.hero__readout {
  position: relative;
  margin: 8px 0 0;
  color: rgba(255, 210, 63, 0.7);
  font-family: "Courier New", monospace;
  font-weight: 400;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.hero__cursor {
  display: inline-block;
  width: 6px;
  height: 10px;
  background: #ffd23f;
  vertical-align: -1px;
  animation: blink 2s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__scan, .hero__corner, .hero__dot, .hero__cursor {
    animation: none !important;
  }
  .hero__corner {
    transform: scale(1);
    opacity: 1;
  }
  .hero__dot, .hero__cursor {
    opacity: 1;
  }
}
