* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Share Tech Mono', monospace;
}

#canvas {
    display: block;
    image-rendering: pixelated;
    touch-action: none;
}

#controls {
    display: none;
}

#footer-link {
    position: fixed;
    bottom: 10px;
    right: 15px;
    color: #003B00;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Share Tech Mono', monospace;
    transition: color 0.3s, text-shadow 0.3s;
    z-index: 100;
}

#footer-link:hover {
    color: #00FF41;
    text-shadow: 0 0 10px #00FF41;
}

/* CRT effect overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 50;
}

/* Vignette effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 49;
}

@media (max-width: 600px) {
    #footer-link {
        font-size: 10px;
        bottom: 5px;
        right: 10px;
    }
}