/* Cosmic Galaxy Background */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(ellipse at center, #0b0c10 0%, #000000 100%);
  overflow: hidden;
  color: #fff;
}

/* Starfield animation */
@keyframes starFall {
  0% { transform: translateY(-100vh); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: starFall linear infinite;
}

/* Heading animation */
h1 {
  font-size: 3rem;
  text-align: center;
  margin-top: 80px;
  color: whitesmoke !important;
  text-shadow: 0 0 20px #00ffff, 0 0 40px #ff00ff;
  opacity: 0;
  animation: fadeInHeading 3s ease forwards;
}

@keyframes fadeInHeading {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Buttons container */
.container .btn {
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  padding: 15px 30px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInButtons 2s ease forwards;
}

@keyframes fadeInButtons {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Button hover effects */
.btn-primary:hover {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  box-shadow: 0 0 25px #00ffff, 0 0 40px #ff00ff;
  transform: scale(1.1);
}

.btn-success:hover {
  background: linear-gradient(45deg, #00ff88, #00ffff);
  box-shadow: 0 0 25px #00ff88, 0 0 40px #00ffff;
  transform: scale(1.1);
}

.btn-warning:hover {
  background: linear-gradient(45deg, #ff8800, #ff00ff);
  box-shadow: 0 0 25px #ff8800, 0 0 40px #ff00ff;
  transform: scale(1.1);
}

@media (max-width: 1100px) {
  .d-grid {
    width: 100% !important;   /* override col-6 */
    max-width: 100% !important;
  }

  .container .btn {
    width: 90% !important;          /* stretch across screen */
    border-radius: 50px !important; /* tube-like rounded ends */
    margin: 15px auto !important;
    display: block !important;
    padding: 18px 25px !important;
    font-size: 1.3rem !important;
    color: #fff !important;
    box-shadow: 0 0 20px #6a00ff, 0 0 40px #ff00aa !important;
    transition: all 0.4s ease !important;
  }

  .container .btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 25px #00ffff, 0 0 50px #ff00ff !important;
  }
}
