Varinha mágica
Varinha mágica: um botão em CSS. Copie as regras, ou o prompt que o reconstrói.
CSS
.btn-180 {
display: inline-flex;
align-items: center;
gap: 8px;
font: 600 14px/1 system-ui,sans-serif;
color: #fff;
background: #0f172a;
border: 0;
border-radius: 999px;
padding: 12px 22px 12px 18px;
cursor: pointer;
box-shadow: inset 0 0 0 1px #334155;
transition: background .2s,box-shadow .2s
}
.btn-180 svg {
color: #fbbf24;
transition: transform .3s cubic-bezier(.34,1.56,.64,1)
}
.btn-180:hover {
background: #1e293b;
box-shadow: inset 0 0 0 1px #fbbf24,0 0 16px #fbbf2444
}
.btn-180:hover svg {
transform: rotate(-20deg) translateY(-2px)
}
.btn-180:focus-visible {
outline: 2px solid #fbbf24;
outline-offset: 3px
}
.btn-180:active {
background: #020617
}
.btn-180:active svg {
transform: rotate(-30deg) scale(.9)
}
HTML
<button class="btn-180"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><path d="M4 20L15 9M15 4v2M19 8h2M18 5l1-1M13 7l-1-1"/></svg>Auto-fix</button>Prompt
Uma pílula de IA escura #0f172a com um anel inset de 1px #334155, texto branco 14px semibold "Auto-fix" e um ícone inline de varinha mágica âmbar #fbbf24. No hover a varinha dá um impulso para cima e rotaciona -20 graus com easing de mola, o anel fica âmbar e surge um brilho âmbar suave; active #020617 com um impulso mais forte. Focus com outline âmbar de 2px.