/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.wrapper {
  background: #fff;
  color: #333;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  text-align: center;
  width: 400px;
  animation: fadeIn 0.8s ease-in-out;
}

header h1 {
  font-size: 28px;
  margin-bottom: 5px;
  color: #2575fc;
}

header p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.upload-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed #2575fc;
  border-radius: 15px;
  height: 200px;
  margin: 20px 0;
  cursor: pointer;
  transition: 0.3s;
  padding: 10px;
}

.upload-box:hover {
  background: #f3f8ff;
  border-color: #6a11cb;
}

.upload-box i {
  color: #2575fc;
  margin-bottom: 10px;
}

button {
  background: #2575fc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #6a11cb;
}

footer {
  margin-top: 20px;
  font-size: 12px;
  color: #777;
}

#preview {
  margin-top: 10px;
  border-radius: 10px;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  display: none;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
