:root {
  --bg: #0f1115;
  --surface: #181b22;
  --surface-hover: #1f232c;
  --border: #2a2f3a;
  --border-active: #4a8cff;
  --text: #e6e8ee;
  --text-muted: #9aa0ac;
  --accent: #4a8cff;
  --accent-hover: #6aa1ff;
  --success: #3ecf8e;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
}

.tagline {
  color: var(--text-muted);
  margin: 0;
}

code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms, background 120ms;
}

.drop-zone:hover,
.drop-zone:focus {
  background: var(--surface-hover);
  outline: none;
}

.drop-zone.dragover {
  border-color: var(--border-active);
  background: var(--surface-hover);
}

.drop-zone-primary {
  font-size: 18px;
  margin: 0 0 8px;
}

.drop-zone-secondary {
  color: var(--text-muted);
  margin: 8px 0;
}

.file-input-label {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  transition: background 120ms;
}

.file-input-label:hover {
  background: var(--accent-hover);
}

.status {
  margin-top: 24px;
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
}

.status p {
  margin: 0 0 8px;
}

.progress {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 120ms;
}

.progress-text {
  color: var(--text-muted);
  font-size: 14px;
}

.download {
  margin-top: 24px;
  text-align: center;
}

.download-link {
  display: inline-block;
  background: var(--success);
  color: #0f1115;
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

footer {
  margin-top: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
