<div class="btn-stage">
<button class="shimmer-btn">
<span>THANH TOÁN AN TOÀN</span>
</button>
</div>
body {
margin: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #f4f6f8;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.shimmer-btn {
position: relative;
background: linear-gradient(180deg, #10a37a 0%, #0b7d5e 100%);
color: #ffffff;
border: none;
border-radius: 12px;
padding: 16px 38px;
font-size: 15px;
font-weight: 700;
letter-spacing: 1px;
cursor: pointer;
overflow: hidden;
box-shadow: 0 4px 15px rgba(16, 163, 122, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
transition: transform 0.2s, box-shadow 0.2s;
}
.shimmer-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(16, 163, 122, 0.45);
}
.shimmer-btn::before {
content: "";
position: absolute;
top: 0;
left: -120%;
width: 70%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
transform: skewX(-25deg);
animation: shimmerSweep 3s infinite;
}
@keyframes shimmerSweep {
0% { left: -120%; }
35%, 100% { left: 180%; }
}
// Shimmer sweep effect