body {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.start-screen {
    text-align: center;
}

.start-screen h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.start-screen button {
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
}

.game-container {
    position: relative;
    width: 800px;
    height: 600px;
    background-image: url('assets/room.jpg'); /* 地图背景 */
    background-size: cover; /* 确保地图覆盖整个容器 */
    border: 2px solid #000;
    overflow: hidden;
}

#player {
    position: absolute;
    width: 50px;
    height: 50px;
    transition: top 0.1s, left 0.1s;
}