* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

#gameContainer {
    position: relative;
}

#gameCanvas {
    border: 2px solid #0f0;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    display: block;
}

#ui {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #0f0;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

.hidden {
    display: none !important;
}

#startScreen, #gameOverScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #0f0;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

#startScreen h1, #gameOverScreen h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 4px;
    animation: pulse 1.5s ease-in-out infinite;
}

#startScreen p, #gameOverScreen p {
    font-size: 16px;
    margin: 8px 0;
}

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