* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    color: white;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#ui-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    font-size: 18px;
    pointer-events: none;
}

.screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.hidden {
    display: none;
}

h1, h2 {
    margin-bottom: 20px;
    color: #4fc3f7;
}

p {
    margin-bottom: 25px;
    line-height: 1.5;
}

button {
    background-color: #4fc3f7;
    color: #121212;
    border: none;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #81d4fa;
    transform: scale(1.05);
}

#score, #fps {
    margin-bottom: 5px;
}
