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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(to bottom, #000000, #0a0a2e);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
}

#game-container {
    position: relative;
    width: 800px;
    max-width: 95vw;
    background: #000;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    overflow: hidden;
}

#game-canvas {
    display: block;
    width: 100%;
    height: 600px;
    max-height: 70vh;
    background: #000;
}

#score-display, #lives-display {
    position: absolute;
    top: 10px;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
    color: #00ff00;
    z-index: 10;
}

#score-display {
    left: 15px;
}

#lives-display {
    right: 15px;
}

#start-screen, #game-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    gap: 20px;
}

#start-screen h1, #game-over h1 {
    font-size: 48px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
    50% { text-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00; }
}

#start-screen p, #game-over p {
    font-size: 18px;
    color: #00ff00;
    letter-spacing: 2px;
}

button {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    background: transparent;
    color: #00ff00;
    border: 2px solid #00ff00;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

button:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px #00ff00;
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

#final-score {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #game-container {
        width: 100%;
        border-width: 2px;
    }
    
    #game-canvas {
        height: 500px;
    }
    
    #start-screen h1, #game-over h1 {
        font-size: 32px;
    }
    
    button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    #score-display, #lives-display {
        font-size: 16px;
        top: 5px;
    }
}