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

body {
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Press Start 2P', monospace;
}

#game-wrapper {
    position: relative;
    border: 3px solid #1a1a3a;
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

#game-container canvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    z-index: 10;
}

footer {
    margin-top: 12px;
    text-align: center;
    z-index: 20;
}

footer a {
    color: #4af;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 1;
    text-shadow: 0 0 8px #4af;
}