按钮
构成主义侵入按钮:黑色色块从左侧横扫,hover 时斜向位移 + 阴影骤减,active 时苏维埃配色翻转(红字黑底)
<button className="
group relative px-8 py-3
bg-[#cc0000] text-[#f2e8d5]
font-sans font-black uppercase tracking-[0.2em] text-sm
rounded-none border-4 border-[#1a1a1a]
shadow-[6px_6px_0_#1a1a1a]
hover:shadow-[2px_2px_0_#1a1a1a]
hover:translate-x-[4px] hover:translate-y-[4px]
active:translate-x-[6px] active:translate-y-[6px]
active:shadow-none
active:bg-[#1a1a1a] active:text-[#cc0000]
transition-all duration-75 ease-linear
overflow-hidden
-rotate-1
">
{/* Black block invasion — sweeps in from the left on hover */}
<div className="absolute inset-0 bg-[#1a1a1a] -translate-x-full group-hover:translate-x-0 transition-transform duration-100 ease-linear" />
<span className="relative z-10">ACTION</span>
</button>