@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #1a2980 0%, #26d0ce 100%);
  background-size: 200% 200%;
  animation: gradientMove 8s ease-in-out infinite;
  overflow: hidden;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.decor-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#stars {
  width: 100vw;
  height: 100vh;
  display: block;
}

.content {
  position: relative;
  z-index: 2;
  background: rgba(30, 34, 60, 0.85);
  border-radius: 32px;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px 0 rgba(58, 123, 213, 0.25), 0 1.5px 8px 0 rgba(38, 208, 206, 0.10);
  text-align: center;
  max-width: 90vw;
  animation: fadeInUp 1.2s cubic-bezier(.23,1.02,.64,1) 0.2s both;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.content h1 {
  font-size: 7rem;
  margin: 0 0 1rem 0;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 32px #26d0ce, 0 2px 16px #1a2980;
  animation: popIn 1.2s cubic-bezier(.23,1.02,.64,1) 0.4s both;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.7); }
  80% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

.content p {
  font-size: 1.5rem;
  color: #e0e6f7;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s cubic-bezier(.23,1.02,.64,1) 0.7s both;
}

#homeBtn {
  background: linear-gradient(90deg, #ff61a6, #5e60ce, #26d0ce);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 0.9rem 2.7rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(255,97,166,0.15);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  background-size: 200% 200%;
  animation: btnGradient 4s ease-in-out infinite;
}
#homeBtn:hover {
  background-position: 100% 0;
  transform: translateY(-3px) scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 32px rgba(38,208,206,0.25);
}

@keyframes btnGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.astronaut {
  position: absolute;
  right: 5vw;
  bottom: 0;
  z-index: 2;
  width: 200px;
  max-width: 40vw;
  filter: drop-shadow(0 8px 32px #26d0ce88);
  animation: float 4s ease-in-out infinite, astronautEntry 1.5s cubic-bezier(.23,1.02,.64,1) 0.8s both;
}

@keyframes astronautEntry {
  0% { opacity: 0; transform: translateY(80px) scale(0.7) rotate(-20deg); }
  80% { opacity: 1; transform: translateY(-10px) scale(1.1) rotate(8deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(-8deg); }
}

.astronaut img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px #0008);
  animation: astronautWobble 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-32px) rotate(8deg); }
}

@keyframes astronautWobble {
  0%, 100% { filter: drop-shadow(0 8px 24px #0008); }
  50% { filter: drop-shadow(0 16px 48px #ff61a688); }
}

@media (max-width: 900px) {
  .astronaut {
    right: 2vw;
    width: 120px;
  }
  .content h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 600px) {
  .astronaut {
    display: none;
  }
  .content {
    padding: 1.5rem 0.5rem 1.5rem 0.5rem;
  }
  .content h1 {
    font-size: 3rem;
  }
  .content p {
    font-size: 1.1rem;
  }
  #homeBtn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
} 