* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #1e293b, #020617);
  color: white;
  min-height: 100vh;
}

/* START SCREEN */
.start-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.start-screen h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.start-screen p {
  opacity: 0.85;
  margin-bottom: 25px;
}

.start-screen button {
  padding: 14px 40px;
  border-radius: 30px;
  border: none;
  background: #6366f1;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(99,102,241,0.6);
}

.hidden {
  display: none;
}

/* GAME */
.game {
  text-align: center;
  padding-top: 15px;
}

.top-bar {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.game-area {
  width: 320px;
  height: 480px;
  background: #020617;
  margin: 0 auto;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.7);
}

/* PLAYER */
.player {
  width: 40px;
  height: 40px;
  background: #22c55e;
  position: absolute;
  bottom: 10px;
  left: 140px;
  border-radius: 6px;
}

/* OBSTACLE */
.obstacle {
  width: 40px;
  height: 40px;
  background: #ef4444;
  position: absolute;
  top: -40px;
  border-radius: 6px;
}

/* GAME OVER */
.game-over {
  margin-top: 20px;
}

.game-over h2 {
  margin-bottom: 10px;
}

.game-over button {
  padding: 12px 30px;
  border: none;
  background: #6366f1;
  color: white;
  border-radius: 20px;
  cursor: pointer;
}
