* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Share Tech Mono', monospace;
}

body {
  background-color: #0f1115;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;
}

/* Header */
.header {
  margin-bottom: 2rem;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  color: #00ffc3;
  text-shadow: 0 0 10px #00ffc3;
  letter-spacing: 2px;
  border-bottom: 2px solid #00ffc3;
  padding-bottom: 0.5rem;
}

/* Buttons */
button {
  background-color: #1f2937;
  color: #00ffc3;
  border: 2px solid #00ffc3;
  padding: 0.75rem 2rem;
  margin: 0.5rem;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.5);
  text-transform: uppercase;
}

button:hover {
  background-color: #00ffc3;
  color: #0f1115;
  box-shadow: 0 0 10px #00ffc3;
}

/* Scoreboard */
.scoreBoard {
  background-color: #1a1d23;
  border: 2px dashed #00ffc3;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.3);
  text-align: center;
}

.scoreBoard p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #c0c0c0;
}

/* Rocket & Explosion Effects */
.rocket-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

@keyframes launch {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-600px);
    opacity: 0;
  }
}

@keyframes explode {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes flicker {
  from { transform: scaleY(1); opacity: 1; }
  to { transform: scaleY(1.2); opacity: 0.7; }
}

/* Rocket */
.rocket {
  position: absolute;
  bottom: 0;
  width: 40px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: launch 1.5s ease-out forwards;
}

.rocket-body {
  background: linear-gradient(to top, #e74c3c, #ff7675);
  width: 20px;
  height: 50px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.rocket-window {
  width: 10px;
  height: 10px;
  background-color: #dff9fb;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #74b9ff;
}

.rocket-left-fin,
.rocket-right-fin {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  position: absolute;
  top: 30px;
}

.rocket-left-fin {
  border-right: 10px solid #ff7675;
  left: -10px;
}

.rocket-right-fin {
  border-left: 10px solid #ff7675;
  right: -10px;
}

.rocket-flame {
  width: 12px;
  height: 20px;
  background: radial-gradient(circle, #f9ca24, #e67e22, #d35400);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin-top: 4px;
  animation: flicker 0.2s infinite alternate;
  z-index: 1;
}

/* Explosion */
.explosion {
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, #f9ca24, #e84118, transparent);
  border-radius: 50%;
  animation: explode 0.6s ease-out forwards;
  pointer-events: none;
  box-shadow: 0 0 10px #e84118;
}

@media (max-width: 600px) {
  .title {
    font-size: 2rem;
  }

  button {
    width: 80%;
    font-size: 1rem;
  }

  .scoreBoard {
    width: 90%;
    font-size: 0.9rem;
  }
}

.result-message {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #00ffc3;
    text-shadow: 0 0 10px #00ffc3;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.result-message.show {
    opacity: 1;
}

