@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

#game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    font-family: 'Press Start 2P', monospace;
    background: #000;
    min-height: 100vh;
}

#game-header {
    display: flex;
    justify-content: space-between;
    width: 480px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 10px;
}

#score-display, #lives-display, #high-score-display {
    min-width: 140px;
}

#score-display { text-align: left; }
#high-score-display { text-align: center; }
#lives-display { text-align: right; }

#game-canvas {
    display: block;
    background: #000;
    border: 2px solid #333;
}

#game-over-screen, #start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 14px;
    z-index: 10;
    padding: 40px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #0f0;
}

#game-over-screen h2, #start-screen h2 {
    color: #0f0;
    font-size: 24px;
    margin-bottom: 20px;
}

#start-screen .instructions {
    font-size: 10px;
    margin: 20px 0;
    line-height: 2.2;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

#game-wrapper {
    position: relative;
}

.hidden {
    display: none !important;
}
