@import url('https://fonts.googleapis.com/css2?family=Happy+Monkey&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f76e00;
  font-family: 'Happy Monkey', cursive;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  text-align: center;
  padding: 2rem;
}

h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: fadeIn 1.2s ease-out forwards, glowPulse 2.5s infinite ease-in-out;
  opacity: 0;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 255, 255, 0.2);
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: black;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
}

.button:hover {
  background-color: #333;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6),
      0 0 12px rgba(255, 255, 255, 0.4),
      0 0 20px rgba(255, 255, 255, 0.2);
  }

  50% {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.8),
      0 0 24px rgba(255, 255, 255, 0.6),
      0 0 32px rgba(255, 255, 255, 0.4);
  }
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  .button {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}