body {
margin: 0;
padding: 0;
background-color: #0b0c10;
color: #c5c6c7;
font-family: 'Segoe UI', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}

h1 {
margin: 10px 0;
font-size: 32px;
color: #66fcf1;
text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

#game-container {
position: relative;
box-shadow: 0 10px 30px rgba(0,0,0,0.9);
border: 4px solid #45a29e;
border-radius: 8px;
overflow: hidden;
width: 800px;
height: 400px;
background: #000;
}

canvas {
display: block;
}
#game-title {
position: absolute;
top: 5%;
left: 50%;
transform: translate(-50%, -50%);
color: black;
font-size: 2rem;
font-weight: bold;
pointer-events: none;
z-index: 10;
}

#menu, #overlay, #win-screen {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 20;
}

#menu {
background: #0b0c10;
}

#overlay, #win-screen {
background: rgba(0, 0, 0, 0.85);
display: none;
}

.btn {
background: #66fcf1;
color: #0b0c10;
border: none;
padding: 12px 40px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
margin: 10px;
transition: 0.3s;
width: 220px;
text-transform: uppercase;
}

.btn:hover {
background: #45a29e;
transform: scale(1.05);
}

.btn-retry {
background: #e67e22;
color: white;
}

#instructions {
margin-top: 15px;
text-align: center;
font-size: 14px;
line-height: 1.6;
}

.key {
background: #1f2833;
padding: 4px 8px;
border-radius: 4px;
color: #66fcf1;
font-weight: bold;
margin: 0 4px;
border: 1px solid #45a29e;
}