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

.eb {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.eb__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  max-width: 260px;
  color: rgba(255, 247, 230, 0.78);
}

.eb__scene {
  position: relative;
  perspective: 640px;
  padding: 24px;
}

.eb__floor {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: clamp(140px, 52vw, 250px);
  height: clamp(42px, 15.4vw, 74px);
  margin-left: clamp(-125px, -26vw, -70px);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 140, 248, 0.7), rgba(91, 140, 248, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
}

.eb__wrap {
  position: relative;
  display: inline-block;
}

.eb__btn {
  position: relative;
  border: 1px solid rgba(255, 247, 230, 0.16);
  cursor: pointer;
  padding: 24px 48px;
  border-radius: 12px;
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  font-size: 16px;
  font-weight: 700;
  transform-style: preserve-3d;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  overflow: hidden;
  will-change: transform;
}

.eb__btn:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 3px;
}

.eb__bevel {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 4px;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.eb__side {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4px;
  height: 10px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, rgba(91, 140, 248, 0.6), rgba(10, 79, 232, 0));
  transform-origin: top center;
  pointer-events: none;
}

.eb__label {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .eb__btn {
    transition: none;
  }
}
