@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

body {
    font-family: 'Orbitron', monospace;
}

#gameCanvas {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vw;
}

.game-control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-control-btn:active {
    transform: translateY(0);
}

kbd {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.8), 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

.glow {
    animation: glow 2s infinite;
}

@media (max-width: 640px) {
    #gameCanvas {
        width: 90vw;
        height: 90vw;
    }
    
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}