@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Share+Tech+Mono&display=swap');

.neon-bg {
    background-color: #0f172a;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 400px;
    }
}

.runner-track {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-top: 2px solid #10b981;
    border-bottom: 2px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.runner {
    filter: drop-shadow(0 0 10px #10b981);
    animation: run 0.5s steps(4) infinite;
}

.hud-panel {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.font-tech {
    font-family: 'Share Tech Mono', monospace;
}

.font-russo {
    font-family: 'Russo One', sans-serif;
}

.coin-flash {
    animation: coinPulse 0.5s ease-in-out;
}

@keyframes coinPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.5);
        filter: brightness(1.5);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* High-quality claymation background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('clay_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}