/* Animated Gradient Background */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg, #667eea, #764ba2, #ff7eb3);
  background-size: 600% 600%;
  animation: gradientMove 10s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* Gradient Animation */
@keyframes gradientMove {
  0% { background-position: 0% }
  50% { background-position: 100% }
  100% { background-position: 0% }
}

/* Particle Canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Glass UI Container */
.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 20px;
  width: 350px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Input */
input {
  width: 90%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  outline: none;
}

/* Dropdowns */
.dropdowns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

select {
  padding: 10px;
  border-radius: 10px;
  border: none;
}

/* Buttons */
button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #ff7eb3;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: #ff4f9a;
}

button:active {
  transform: scale(0.9);
}

/* Result Box */
.result-box {
  margin-top: 20px;
  padding: 15px;
  border-radius: 15px;
  background: rgba(255,255,255,0.2);
}

/* Action Buttons */
.actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

/* Dark Mode */
.dark {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}