body {
    margin: 0;
    padding: 0;
    background: #222;
    font-family: Arial, sans-serif;
    color: white;
    overflow: hidden;
}

.game-container {
    position: relative;
    height: 100vh;
    width: 100vw;
}

canvas {
    border: none;
    background:
        linear-gradient(to bottom, #87CEEB 0%, #87CEEB 15%, #90EE90 15%, #90EE90 16%, transparent 16%, transparent 90%, #FF4500 90%, #FF4500 100%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%),
        url('soil.png');
    background-size: auto, auto, cover;
    background-position: 0 0, 0 16%, 0 16%;
    background-repeat: no-repeat, no-repeat, no-repeat;
    touch-action: none;
    display: block;
}

.ui {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.game-over {
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
}

.next-level-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    display: none;
}

.next-level-btn:hover {
    background: #45a049;
}

.level-info {
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 10px;
}

#gameStatus {
    display: none;
}

#resetBtn {
    padding: 10px 20px;
    font-size: 16px;
    background: #666;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
