  body {
    margin: 0;
    background: #222;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  #gameWrapper {
    width: 100%;
    max-width: 880px;
    padding: 0;
    box-sizing: border-box;
  }
#game {
  position: relative;
  width: 100%;
  height: min(350px, 70vh);

  background-image: url('../bg/BG.png');
  background-size: cover;
  background-position: 0 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}
  #ground {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    border-top: 3px solid rgba(0,0,0,0.7);
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
  }
  #dino {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 20px;
    left: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-image: url('../dino/Idle (1).png');
    display: none;
  }
  .obstacle {
    position: absolute;
    bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
  }
  .cloud {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
  }
  #score {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    z-index: 10;
    display: none;
  }
  #mensaje {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    text-align: center;
    background: rgba(0,0,0,0.6);
    padding: 20px 40px;
    border-radius: 15px;
    z-index: 20;
    cursor: pointer;
    backdrop-filter: blur(5px);
  }
  .mensaje-hint {
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    color: #ddd;
  }
  #startScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
  }
  #startGif {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #startText {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ddd;
    font-size: 18px;
    background: rgba(0,0,0,0.6);
    padding: 15px 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    cursor: pointer;
    z-index: 10;
  }
