:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border: #e2e8f0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(135deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--text);
}
.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.hero-card {
  width: min(960px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  padding: 32px;
  display: grid;
  gap: 24px;
}
.hero-copy h1 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); margin: 0 0 8px; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; }
.subtle { color: var(--muted); margin: 0; }
.dropzone {
  border: 2px dashed var(--accent);
  border-radius: 24px;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  display: grid;
  place-items: center;
  min-height: 220px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.dropzone:hover, .dropzone.dragover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}
.dropzone-content { text-align: center; padding: 18px; }
.dropzone-icon { font-size: 2.4rem; }
.dropzone-title { font-size: 1.2rem; font-weight: 700; margin: 10px 0 4px; }
.dropzone-subtitle { color: var(--muted); margin-bottom: 12px; }
.primary-btn {
  border: 0;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.selection-panel, .status-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  background: #fcfdff;
}
.selection-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.file-list { display: grid; gap: 10px; margin-top: 14px; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; background: white; }
.file-item .meta { display: flex; align-items: center; gap: 10px; }
.badge { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; }
.progress-panel { display: grid; gap: 8px; margin-top: 10px; }
.progress-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.meter { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.meter-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), #60a5fa); transition: width 160ms ease; }
.qr-card { margin-top: 12px; display: inline-block; padding: 14px; border-radius: 16px; background: white; border: 1px solid var(--border); }
.gallery { display: grid; gap: 16px; }
.gallery-card { border: 1px solid var(--border); border-radius: 20px; padding: 14px; background: white; display: grid; gap: 10px; }
.preview-media { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; background: #f8fafc; }
.preview-video { width: 100%; max-height: 260px; border-radius: 14px; background: #000; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.link-btn { color: var(--accent); text-decoration: none; font-weight: 700; }
@media (max-width: 720px) {
  .hero-card { padding: 20px; }
  .selection-meta { flex-direction: column; align-items: flex-start; }
}
