body {
  font-family: "Poppins", sans-serif;
  background: #f7f8fc;
  color: #333;
  text-align: center;
  padding: 40px 20px;
}

.container {
  max-width: 650px;
  background: #fff;
  margin: auto;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 30px;
}

h1 {
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 25px;
}

.upload-box {
  border: 2px dashed #6a5acd;
  border-radius: 12px;
  padding: 40px 20px;
  background: #fafaff;
  transition: all 0.25s ease;
}

.upload-box.dragover {
  border-color: #4b3fd6;
  background: #f0f0ff;
}

.upload-label {
  background: #6a5acd;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.hint {
  color: #999;
  font-size: 0.9em;
}

input[type="file"] {
  display: none;
}

.options {
  margin-top: 25px;
  text-align: left;
}

.options label {
  display: block;
  margin: 12px 0;
  color: #555;
}

input[type="range"] {
  width: 100%;
}

button {
  background: #6a5acd;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 10px;
}

button:hover {
  background: #5846c4;
}

.progress-container {
  width: 100%;
  height: 10px;
  background: #e8e8ff;
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6a5acd, #8a7cff);
  transition: width 0.3s;
}

.download-btn {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s;
}

.download-btn:hover {
  background: #218838;
}

.result {
  margin-top: 25px;
}

.back-link {
  display: block;
  text-align: left;
  text-decoration: none;
  color: #6a5acd;
  font-size: 0.9em;
  margin-bottom: 10px;
}
