body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: #ffffff;
  background: url('forest-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.container {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  z-index: 2;
  position: relative;
}

.logo {
  width: 120px;
  margin-bottom: 1rem;
}

.character {
  width: 150px;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

button {
  background-color: #F2B949;
  color: #000;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #DCA1A1;
}

/* Fireflies floating */
.firefly {
  position: absolute;
  background: #f2b949;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  opacity: 0.8;
  animation: fly 10s linear infinite;
}

@keyframes fly {
  0% { transform: translateY(0) translateX(0); opacity: 0.2; }
  50% { transform: translateY(-300px) translateX(200px); opacity: 1; }
  100% { transform: translateY(-600px) translateX(-200px); opacity: 0.2; }
}

/* Magic Message styling */
#magic-message {
  margin-top: 20px;
  animation: fadeIn 1s ease-in;
  color: #F2B949;
  text-shadow: 0 0 8px #f2b949, 0 0 20px #ffffff;
}

#magic-message h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

#magic-message img.success-sprite {
  width: 160px;
  margin-top: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 4px #f2b949); }
  to { filter: drop-shadow(0 0 12px #ffffff); }
}