html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  font-family: Matt, Arial, sans-serif;
  background: linear-gradient(to top, #d0f0ff, #87ceeb);
  color: white;
  transition: background 12s;
}
#scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#ground {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 400px;
  background: url('assets/platform.png') no-repeat center bottom;
  background-size: cover;
  z-index: 0;
  transition: transform 4s;
}
#rocket-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  transition: bottom linear;
  z-index: 3;
}
#rocket {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
}
#flame {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 160px;
  background: radial-gradient(ellipse at center, orange 0%, red 70%, transparent 100%);
  border-radius: 50%;
  animation: flame-flicker 0.3s infinite alternate;
  opacity: 0.8;
  filter: blur(4px);
  z-index: 1;
  display: none;
}
@keyframes flame-flicker {
  0% { transform: translateX(-50%) scaleY(1) scaleX(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scaleY(1.3) scaleX(0.9); opacity: 1; }
}
#button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 32px;
  font-size: 24px;
  background: linear-gradient(to right, #ff9800, #ff5722);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 0 20px rgba(255,140,0,0.8);
}
#info {
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;
  z-index: 2;
  width: 80%;
  max-width: 800px;
}
#join {
  display: none;
  position: absolute;
  bottom: 15vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  padding: 16px 32px;
  background: linear-gradient(to right, #ff9800, #ff5722);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 0 20px rgba(255,140,0,0.8);
}
#logo {
  display: block;
  position: absolute;
  top: 20vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 48px;
  text-align: center;
  color: white;
  z-index: 3;
}
.star {
  position: absolute;
  top: -10px;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: fall 8s linear infinite;
}
@keyframes fall {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
.planet {
  position: absolute;
  top: -200px;
  height: 200px;
  transition: all 10s linear;
  z-index: 1;
}
@media (max-width: 1280px) {
  #ground {
    bottom: -150px;
   /* height: 260px; */
  }
}

@media (max-width: 640px) {
  #ground {
    bottom: -200px;
   /* height: 260px; */
  }
  .planet {
  }
  #rocket-container {
    width: 160px;
  }
  #flame {
    width: 50px;
    height: 100px;
    bottom: -50px;
  }
  #info {
    font-size: 15px;
  }
}