body {
  background: linear-gradient(135deg, #1b1b1b, #2a2a2a);
  color: white;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  width: 90%;
  max-width: 600px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  animation: fadeIn 1s ease;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.upload-box {
  border: 2px dashed #888;
  padding: 30px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.upload-box:hover {
  background: rgba(255,255,255,0.1);
}

#preview img {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  animation: fadeIn 0.6s ease;
}

button {
  margin-top: 20px;
  padding: 10px 25px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #00bfff, #00ffff);
}

.hidden {
  display: none;
}

#result {
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 10px;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
  }
