body { margin: 0; background: #000; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; font-family: 'Courier New', monospace; }
#game-canvas { border: 1px solid #222; box-shadow: 0 0 50px rgba(0, 255, 0, 0.05); position: relative; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.7); z-index: 10; }
.play-btn { padding: 15px 40px; font-size: 2rem; color: #0f0; background: transparent; border: 2px solid #0f0; cursor: pointer; text-transform: uppercase; letter-spacing: 5px; transition: 0.3s; box-shadow: 0 0 15px #0f0; }
.play-btn:hover { background: #0f0; color: #000; box-shadow: 0 0 30px #0f0; transform: scale(1.05); }

#hp-bar {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 200px;
    height: 20px;
    background-color: red;
    z-index: 11;
}

#game-over-screen {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 3rem;
    text-align: center;
}

#game-over-screen.active {
    display: flex;
}

.character-buff {
    position: absolute;
    top: 50px;
    left: 10px;
    width: 200px;
    height: 20px;
    background-color: blue;
    z-index: 11;
    display: none;
}

.character-buff.active {
    display: block;
}

#test-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
}

.ship-hit {
    animation: blink 0.5s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

#version-display {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 1rem;
}

.update-log {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 200px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    overflow-y: scroll;
    z-index: 12;
}

.update-log.active {
    display: block;
}

#change-log {
    position: absolute;
    bottom: 420px;
    left: 10px;
    width: 200px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    overflow-y: scroll;
    z-index: 12;
}