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

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: clamp(210px, 74vw, 280px);
}

.form__field {
  display: block;
  border-radius: 12px;
  background: rgba(255, 247, 230, 0.05);
  border: 1px solid rgba(255, 247, 230, 0.12);
}

.form__input {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  outline: none;
  padding: 12px 16px;
  color: #fff7e6;
  font: 600 clamp(11px, 2.8vw, 13px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  border-radius: 12px;
  animation: inputRing 2s ease-out infinite;
}

.form__row {
  display: flex;
  gap: 12px;
}

.form__ghost {
  flex: 1 1 0;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 247, 230, 0.2);
  color: #fff7e6;
  padding: 12px 16px;
  font-weight: 600;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
}

.form__primary {
  flex: 1 1 0;
  border-radius: 12px;
  border: 0;
  background: #0a4fe8;
  color: #fff7e6;
  padding: 12px 16px;
  font-weight: 600;
  font-size: clamp(10.5px, 2.6vw, 12px);
  line-height: 1;
  animation: btnGlow 2s ease-out infinite;
}

@keyframes inputRing {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(47, 109, 246, 0);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.45);
  }
}
@keyframes btnGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(47, 109, 246, 0);
  }
  50% {
    box-shadow: 0 6px 18px rgba(47, 109, 246, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .form__input, .form__primary {
    animation: none !important;
    box-shadow: none;
  }
}
