body {
    background: url("th.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;
}
#startScreen {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    max-width: 80%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
#startScreen ul {
    text-align: left;
    padding-left: 20px;
}
#startButton {
    background-color: #FFD700;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}
#startButton:hover {
    background-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 165, 0, 0.6);
}
#gameArea {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
}
canvas {
    display: block;
    width: 100%;
    height: 100%;
}
#gameInfo {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
#health, #score {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    margin-top:50px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}
#health {
    color: #ff4d4d;
}
#score {
    color: #4dff4d;
}
#endGameMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    z-index: 1000;
}
#endGameMessage h2 {
    font-size: 36px;
    margin-bottom: 20px;
}
#endGameMessage p {
    font-size: 24px;
    margin-bottom: 30px;
}
#okButton {
    background-color: #FFD700;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 198, 29, 0.4);
}
#okButton:hover {
    background-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px #e1e41b;
}
.hidden {
    display: none;
}