* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif; /* Futuristic font */
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0d1b2a no-repeat center/cover; /* Dark base */
  overflow: hidden;
  transition: background 0.8s ease;
}

.container {
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

h1 {
  color: #00ffcc;
  font-size: 3em;
  text-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc;
  margin-bottom: 30px;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc; }
  to { text-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc; }
}

.search-box {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

#city-input {
  padding: 15px;
  width: 250px;
  border: 2px solid #00ffcc;
  border-radius: 50px 0 0 50px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#city-input:focus {
  border-color: #ff00ff;
  box-shadow: 0 0 15px #ff00ff;
}

#city-input::placeholder {
  color: #aaa;
}

button {
  padding: 15px 30px;
  border: none;
  background: linear-gradient(45deg, #ff00ff, #00ffcc);
  color: #fff;
  font-size: 16px;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
}

.weather-dashboard {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px;
  border-radius: 25px;
  border: 2px solid #00ffcc;
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
  width: 400px;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 0.6s, transform 0.6s;
}

.weather-dashboard.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#city-name {
  color: #ff00ff;
  font-size: 2.5em;
  text-shadow: 0 0 15px #ff00ff;
  margin-bottom: 20px;
}

#weather-icon {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 0 20px #fff);
  margin: 0 auto 20px;
}

#temperature {
  color: #00ffcc;
  font-size: 4em;
  font-weight: bold;
  text-shadow: 0 0 25px #00ffcc;
  margin-bottom: 15px;
}

#description {
  color: #fff;
  font-size: 1.5em;
  text-transform: capitalize;
  text-shadow: 0 0 10px #fff;
  margin-bottom: 10px;
}

#humidity {
  color: #ffcc00;
  font-size: 1.3em;
  text-shadow: 0 0 15px #ffcc00;
}

.error {
  color: #ff3366;
  font-size: 1.2em;
  margin-top: 20px;
  background: rgba(255, 51, 102, 0.2);
  padding: 10px;
  border-radius: 10px;
  text-shadow: 0 0 10px #ff3366;
  display: none;
}

/* Weather Particles Effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0.7;
  animation: fall 5s infinite linear;
}

@keyframes fall {
  0% { transform: translateY(-100vh); opacity: 0.7; }
  100% { transform: translateY(100vh); opacity: 0; }
}