:root {
    --bg-color: #030509;
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff0055;
    --text-color: #ffffff;
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* ----- CONTENITORE TESTO GLITCH ----- */
.text-container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.glitch-text {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 5px var(--neon-cyan),
        0 0 15px rgba(0, 243, 255, 0.4);
}

/* Effetto VHS leggero */
.glitch-text {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    text-shadow:
        0 0 6px var(--neon-cyan),
        0 0 25px rgba(0, 243, 255, 0.16),
        0 0 2px rgba(255, 0, 85, 0.12);
    filter: saturate(1.15) contrast(1.05);
}

/* Cursor di battitura */
.cursor {
    display: inline-block;
    width: 12px;
    height: 1em;
    background-color: var(--neon-cyan);
    vertical-align: middle;
    margin-left: 5px;
    animation: blink 0.7s infinite;
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* ----- OVERLAY CRT & VIGNETTE ----- */
.scanlines {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.5) 50%
    );
    background-size: 100% 4px;
    z-index: 20;
    pointer-events: none;
}

.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 21;
    pointer-events: none;
}

/* ----- FOOTER ----- */
.footer-bar {
    position: fixed;
    bottom: 15px;
    left: 0;
    width: 100%;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    z-index: 30;
    letter-spacing: 1px;
    opacity: 0.7;
    gap: 12px;
}

.hum-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 12px;
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.hum-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--neon-cyan);
}

@media (max-width: 720px) {
    body {
        padding: 16px 12px 80px;
        min-height: 100vh;
    }

    .text-container {
        padding: 18px 12px;
    }

    .glitch-text {
        font-size: clamp(1.4rem, 8vw, 2.4rem);
        letter-spacing: 1px;
    }

    .cursor {
        width: 10px;
        margin-left: 4px;
    }

    .footer-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 16px;
        background: rgba(3, 5, 9, 0.85);
    }

    .footer-bar > div,
    .hum-btn {
        text-align: center;
        width: 100%;
    }

    .footer-bar {
        font-size: 0.72rem;
    }
}

/* Animazioni Keyframes */
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

