body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #222;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to canvas if needed, though we use hands */
}

#score {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    pointer-events: auto;
    z-index: 20;
}

.screen h1 {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff0055;
}

.screen p {
    font-size: 24px;
    margin-bottom: 40px;
}

button {
    padding: 15px 40px;
    font-size: 24px;
    background: linear-gradient(45deg, #ff0055, #ff5500);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 85, 0.6);
}

.hidden {
    display: none !important;
}
