#gameScene {
    position: relative;
}

#gameScene::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    pointer-events: none;
}

#gameScene .game-wrapper {
    z-index: 1;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 10px;
}

.game-info {
    display: flex;
    gap: 20px;
    font-size: 8px;
}

.game-info span {
    background: #2c3e50;
    padding: 6px 10px;
    border: 2px solid #34495e;
}

#gameCanvas {
    background: #f7f7f7;
}

.game-instructions {
    text-align: center;
    margin-top: 10px;
    color: #bdc3c7;
}

#levelCompleteScene,
#gameOverScene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

#levelCompleteScene[style*="display: none"],
#gameOverScene[style*="display: none"] {
    display: none !important;
}

