/* Import the "Press Start 2P" pixel font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1200;
  color: #ffb700;
  font-family: 'Press Start 2P', cursive;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.container {
  text-align: center;
  background-color: #2a1f00;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 
    0 0 30px rgba(0, 50, 0, 0.4),
    0 0 50px rgba(0, 0, 50, 0.2),
    0 0 80px rgba(255, 50, 0, 0.3);
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.5s ease-in-out;
}

.container.active {
  box-shadow: 
    0 0 30px rgba(0, 50, 0, 0.4),
    0 0 50px rgba(0, 0, 50, 0.2),
    0 0 80px rgba(255, 50, 0, 0.3),
    0 0 100px rgba(150, 0, 255, 0.4);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffb700;
  text-shadow: 
    0 0 10px rgba(255, 100, 200, 0.4),
    0 0 20px rgba(255, 100, 200, 0.3),
    0 0 30px rgba(255, 100, 200, 0.2);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #ffb700;
}

input, select, button {
  font-family: 'Press Start 2P', cursive;
  padding: 0.5rem;
  border: 2px solid #000000;
  border-radius: 5px;
  font-size: 0.8rem;
}

input {
  width: 100%;
  background-color: #1a1200;
  color: #ffb700;
}

input::placeholder {
  color: #000000;
}

select {
  width: 100%;
  background-color: #1a1200;
  color: #ff8c00;
}

select option {
  background-color: #1a1200;
  color: #ff8c00;
}

button {
  background-color: #000000;
  color: #ffb700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: rgba(255, 100, 200, 0.3);
}

.response-box {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #1a1200;
  border: 2px solid #000000;
  border-radius: 5px;
  font-size: 0.9rem;
  min-height: 2rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  text-shadow: 0 0 10px rgba(255, 100, 200, 0.8);
}

.response-box.visible {
  opacity: 1;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 100, 200, 0.8);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 100, 200, 0.8),
                 0 0 30px rgba(255, 100, 200, 0.6);
  }
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

footer {
  margin-top: 2rem;
  text-align: center;
}

footer a {
  color: #d49400;
  text-decoration: none;
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}