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

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    background-color: #000;
    color: #fff;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#game-canvas, #ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#ui-layer {
    pointer-events: none;
}

.screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

h1, h2 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button {
    background-color: #00ffff;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    text-transform: uppercase;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #fff;
    box-shadow: 0 0 10px #00ffff;
}

#hud {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 5px #00ffff;
}

#score, #lives {
    margin-bottom: 0.5rem;
}

#game-over-screen {
    display: none;
}

.particle {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
    
    to {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    }
}
