Tilt card lift

Tilt card lift: a CSS button. Copy the rules, or the prompt that rebuilds it.

tilt3droundedperspectivelift

CSS
.btn-121 {
  font: 600 15px/1 system-ui,sans-serif;
  color: #fff;
  background: #1e1b4b;
  border: 0;
  border-radius: 12px;
  padding: 15px 30px;
  cursor: pointer;
  transform: perspective(500px) rotateX(0) rotateY(0);
  box-shadow: 0 4px 10px -4px #1e1b4b88;
  transition: transform .25s ease-out,box-shadow .25s
}
.btn-121:hover {
  transform: perspective(500px) rotateX(10deg) rotateY(-8deg) translateY(-3px);
  box-shadow: 8px 14px 24px -8px #1e1b4b99
}
.btn-121:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 4px
}
.btn-121:active {
  transform: perspective(500px) rotateX(4deg) rotateY(-3deg) scale(.98);
  box-shadow: 0 2px 6px -2px #1e1b4b88
}
HTML
<button class="btn-121">Explore</button>
Prompt

An indigo-black #1e1b4b button, 12px radius, white 15px semibold text, 15px by 30px padding. On hover it tilts in 3D (perspective 500px, rotateX 10deg, rotateY -8deg) and lifts 3px, and its shadow shifts to the lower right (8px 14px 24px) as if lit from the top left, 250ms ease-out. Active flattens most of the tilt and scales to 0.98. Focus 2px indigo outline offset 4px.