@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --neon-color: #0ff;
    --neon-shadow: 0 0 10px #0ff,
                   0 0 20px #0ff,
                   0 0 30px #0ff,
                   0 0 40px #0ff;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 80%;
    overflow-x: hidden;
}

body {
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-button {
    position: relative;
    padding: 2rem 4rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--neon-color);
    background: transparent;
    border: 3px solid var(--neon-color);
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-color), transparent);
    transition: all 0.5s ease;
}

.neon-button:hover::before {
    left: 100%;
}

.neon-button:hover {
    box-shadow: var(--neon-shadow);
    text-shadow: 0 0 10px var(--neon-color);
    transform: scale(1.05);
}

.neon-button:active {
    transform: scale(0.95);
}

.neon-button span {
    position: relative;
    z-index: 1;
}

/* Animation pulsante continue */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 5px var(--neon-color),
                    0 0 10px var(--neon-color),
                    0 0 15px var(--neon-color);
    }
    50% {
        box-shadow: 0 0 10px var(--neon-color),
                    0 0 20px var(--neon-color),
                    0 0 30px var(--neon-color);
    }
}

.neon-button {
    animation: pulse 2s ease-in-out infinite;
}
