body{
    margin:0;
    font-family:Segoe UI, Arial, sans-serif;
    background:#eef5fb;
}

.container{
    width:1100px;
    margin:auto;
    padding:20px;
}

h1{
    text-align:center;
    color:#19466f;
}

.controls{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.field{
    display:flex;
    flex-direction:column;
}

input{
    padding:8px;
    width:120px;
}

button{
    padding:10px 20px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    background:#1d6fd8;
    color:white;
}

button:hover{
    background:#0f58bb;
}

.results{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    font-weight:bold;
    margin-bottom:15px;
}

.formula{
    text-align:center;
    font-size:24px;
    margin-bottom:15px;
}

#scene{
    position:relative;
    width:1000px;
    height:520px;
    margin:auto;
    overflow:hidden;
    border-radius:15px;

    background:
    linear-gradient(
        to bottom,
        #76c9ff 0%,
        #cdeeff 55%,
        #9bd86a 55%,
        #6fb548 100%
    );

    box-shadow:0 0 20px rgba(0,0,0,0.2);
}

#sun{
    position:absolute;
    width:80px;
    height:80px;
    border-radius:50%;
    top:30px;
    right:60px;
    background:gold;
    box-shadow:0 0 50px gold;
}

#ground{
    position:absolute;
    left:0;
    bottom:0;
    width:280px;
    height:60px;
    background:#4d8f3b;
}

#slope{
    position:absolute;
    left:260px;
    bottom:60px;
    width:450px;
    height:10px;
    background:#555;
    transform-origin:left center;
}

#plateau{
    position:absolute;
    width:250px;
    height:10px;
    background:#555;
}

#ball{
    position:absolute;
    width:34px;
    height:34px;
    border-radius:50%;
    background:
    radial-gradient(circle at 30% 30%,
    white,
    #ff6c6c 20%,
    #d40000 85%);

    box-shadow:0 0 10px rgba(0,0,0,0.4);
}

#heightLabel{
    position:absolute;
    right:10px;
    color:#000;
    font-weight:bold;
    background:white;
    padding:6px;
    border-radius:6px;
}