/* Base Styles */
body, html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  text-align: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: flex;

}

#game-container {
  width: 100%;
  max-width: 640px;
  height: 100vh;
  box-sizing: border-box;
  position: relative;
}


/* Title Screen Styling */
#title-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#title-screen h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #558855;
}

#title-screen button {
  padding: 15px 30px;
  font-size: 24px;
  border: none;
  border-radius: 5px;
  background: #558855;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

#title-screen button:hover {
  background: #e04444;
}

#splash-image {
  width: 80%;
  max-width: 320px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Game Over Styling */
#game-over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#game-over .content {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  width: 320px;
  text-align: center;
}

#game-over h1 {
  margin: 0 0 20px;
  font-size: 36px;
  color: #558855;
}

#game-over p {
  font-size: 20px;
  margin: 10px 0;
}

#game-over h2 {
  margin: 20px 0 10px;
  font-size: 24px;
}

#game-over ol {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#game-over li {
  font-size: 18px;
  margin: 5px 0;
}

#game-over button {
  margin: 10px;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background: #558855;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

#game-over button:hover {
  background: #e04444;
}
