/* Ensure the canvas covers the full screen */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: relative;
    font-family: Arial, sans-serif;
}

#gameCanvas {
    display: block;
    background: #87ceeb; /* Sky blue background */
}

/* Mobile Control Buttons Styling */
#mobileControls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

#mobileControls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Jump Height Slider Styling */
#controls {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

#controls label {
    font-size: 16px;
    font-weight: bold;
}

#jumpSlider {
    width: 200px;
}

#jumpValue {
    font-size: 16px;
    min-width: 40px;
    text-align: center;
}
