Gringotes
<style>
.gringotes-button {
position: relative;
padding: 18px 45px;
font-size: 18px;
font-weight: bold;
color: #1a1a2e !important;
background: linear-gradient(145deg, #d4af37, #f4d03f);
border: 3px solid #8b7355;
border-radius: 8px;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 2px;
box-shadow:
0 8px 15px rgba(212, 175, 55, 0.3),
inset 0 -3px 8px rgba(0, 0, 0, 0.2),
inset 0 3px 8px rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
overflow: hidden;
text-decoration: none !important;
display: inline-block;
font-family: 'Georgia', serif;
}
.gringotes-button::before {
content: '⚡';
position: absolute;
left: 15px;
font-size: 20px;
transition: transform 0.3s ease;
}
.gringotes-button::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s ease;
}
.gringotes-button:hover {
transform: translateY(-3px);
box-shadow:
0 12px 25px rgba(212, 175, 55, 0.5),
inset 0 -3px 8px rgba(0, 0, 0, 0.2),
inset 0 3px 8px rgba(255, 255, 255, 0.4);
background: linear-gradient(145deg, #f4d03f, #d4af37);
}
.gringotes-button:hover::before {
transform: rotate(20deg) scale(1.2);
}
.gringotes-button:hover::after {
left: 100%;
}
.gringotes-button:active {
transform: translateY(0);
box-shadow:
0 5px 10px rgba(212, 175, 55, 0.3),
inset 0 3px 8px rgba(0, 0, 0, 0.3);
}
.gringotes-text {
position: relative;
z-index: 1;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.gringotes-subtitle {
display: block;
font-size: 11px;
font-weight: normal;
letter-spacing: 1px;
margin-top: 2px;
opacity: 0.8;
}
</style>
<a href="https://sualoja.com" class="gringotes-button">
<span class="gringotes-text">
Gringotes
<span class="gringotes-subtitle">Artigos Mágicos Personalizados</span>
</span>
</a>
<script>
document.addEventListener('DOMContentLoaded', function() {
const button = document.querySelector('.gringotes-button');
if (button) {
button.addEventListener('click', function(e) {
// Efeito de partículas douradas
for (let i = 0; i < 15; i++) {
createSparkle(e.clientX, e.clientY);
}
});
}
function createSparkle(x, y) {
const sparkle = document.createElement('div');
sparkle.style.position = 'fixed';
sparkle.style.left = x + 'px';
sparkle.style.top = y + 'px';
sparkle.style.width = '6px';
sparkle.style.height = '6px';
sparkle.style.background = '#d4af37';
sparkle.style.borderRadius = '50%';
sparkle.style.pointerEvents = 'none';
sparkle.style.zIndex = '9999';
sparkle.style.boxShadow = '0 0 10px #d4af37';
document.body.appendChild(sparkle);
const angle = Math.random() * Math.PI * 2;
const velocity = 2 + Math.random() * 3;
const vx = Math.cos(angle) * velocity;
const vy = Math.sin(angle) * velocity;
let posX = 0;
let posY = 0;
let opacity = 1;
const animate = () => {
posX += vx;
posY += vy;
opacity -= 0.02;
sparkle.style.transform = `translate(${posX}px, ${posY}px)`;
sparkle.style.opacity = opacity;
if (opacity > 0) {
requestAnimationFrame(animate);
} else {
sparkle.remove();
}
};
animate();
}
});
</script>
Deixe um comentário