body {
    /* 整体背景：深蓝色/黑色，营造科技感 */
    background-color: #1a1a2e; 
    /* 背景网格纹理，增强科技主题 */
    background-image: linear-gradient(to right, #2c3e50 1px, transparent 1px),
                      linear-gradient(to bottom, #2c3e50 1px, transparent 1px);
    background-size: 50px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Consolas', monospace; /* 使用等宽字体增强科技感 */
}

/* 游戏容器：白色背景改为深色，添加霓虹边框效果 */
#game-container {
    width: 600px;
    height: 150px;
    border: 3px solid #00ff99; /* 霓虹绿边框 */
    box-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99; /* 边框发光 */
    overflow: hidden;
    position: relative;
    background-color: #0d0d19; /* 游戏区深色背景 */
}

#ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background-color: #00ff99; /* 荧光绿地面 */
    box-shadow: 0 0 8px #00ff99; /* 地面发光 */
}

#score, #difficulty-level {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #00ff99; /* 荧光绿文本 */
    text-shadow: 0 0 5px #00ff99; /* 文本发光 */
    z-index: 10;
}

#difficulty-level {
    right: 120px;
}

/* 玩家（恐龙）：改为荧光色 */
#dino {
    position: absolute;
    bottom: 10px; 
    left: 50px;
    width: 20px;
    height: 30px;
    background-color: #00ffff; /* 亮青色 */
    box-shadow: 0 0 10px #00ffff; /* 恐龙发光 */
    transition: bottom 0.2s; 
}

/* 障碍物：使用高对比度的品红色 */
.obstacle {
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 15px;
    height: 25px;
    background-color: #ff0077; /* 品红色 */
    box-shadow: 0 0 8px #ff0077; /* 障碍物发光 */
}

#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 24px;
    color: #ff0077; /* 失败提示使用品红色 */
    text-shadow: 0 0 5px #ff0077;
    background-color: rgba(13, 13, 25, 0.9); /* 半透明深色背景 */
    padding: 20px;
    border: 1px solid #ff0077;
    border-radius: 5px;
    z-index: 20;
}