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

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

#gameContainer {
    position: relative;
    width: 800px;
    height: 600px;
}

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

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-size: 18px;
    text-shadow: 2px 2px 4px #000;
    pointer-events: none;
}

.ui-row {
    margin-bottom: 8px;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.screen h1 {
    font-size: 64px;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 0 0 20px #fff, 0 0 40px #fff;
    letter-spacing: 8px;
}

.screen p {
    font-size: 20px;
    margin-bottom: 10px;
}

.instructions {
    margin-bottom: 40px;
}

.instructions p {
    margin: 5px 0;
}

.instructions strong {
    font-size: 24px;
    display: block;
    margin-bottom: 15px;
}

.final-score {
    font-size: 28px;
    margin-bottom: 40px;
}

button {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    padding: 15px 40px;
    background: #fff;
    border: 3px solid #fff;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
    font-weight: bold;
}

button:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 0 20px #fff;
}

button:active {
    transform: scale(0.95);
}
