body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

#game-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

#score-board {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
    z-index: 2;
}

#word-list-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px;
    overflow-y: auto;
    z-index: 2;
}

#result-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 36px;
    display: none;
    z-index: 2;
}

#difficulty-select {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#restart-button {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#pause-button {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

#status-container {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 250px;
}

#hp-bar-container {
    width: 100%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    position: relative;
}

#hp-bar {
    height: 100%;
    background-color: red;
    width: 100%;
    transition: width 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hp-value {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 3;
}

#status-info {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#status-info div {
    margin-bottom: 3px;
}