/* Space Invaders - Classic Arcade Style v1.3.1 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: monospace;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vmin;
    height: 70vmin;
    background-image: url('../../../images/logo-badge-transparent.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.07;
    pointer-events: none;
    z-index: 2;
}

.home-logo {
    position: fixed;
    top: 16px;
    left: 16px;
    opacity: 0.6;
    transition: opacity 0.2s;
    display: block;
    z-index: 10;
}
.home-logo:hover { opacity: 1; }
.home-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.arcade-cabinet {
    position: relative;
    z-index: 1;
    background: #000;
    border: 3px solid #0f0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

#gameCanvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
