* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  width: 100%;
  max-width: 800px;
  padding: 24px;
}

.app-header {
  text-align: center;
  margin-bottom: 24px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.5));
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  color: #22c55e;
}

.brand-sub {
  font-size: 13px;
  color: #9ca3af;
}

h1 {
  font-size: 24px;
  margin: 4px 0 8px;
}

.subtitle {
  margin: 0;
  font-size: 14px;
  color: #9ca3af;
}

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(10px);
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  cursor: pointer;
  font-size: 14px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
  margin-bottom: 16px;
}

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

button {
  display: inline-block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
  box-shadow:
    0 10px 30px rgba(22, 163, 74, 0.6),
    0 0 0 1px rgba(22, 163, 74, 0.5);
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

button:active {
  transform: translateY(0);
  box-shadow:
    0 4px 16px rgba(22, 163, 74, 0.6),
    0 0 0 1px rgba(22, 163, 74, 0.5);
}

.status-text {
  margin-top: 16px;
  font-size: 13px;
  color: #e5e7eb;
  min-height: 18px;
}

.progress-container {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  margin-top: 10px;
  background: rgba(15, 23, 42, 0.9);
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  transition: width 0.15s ease-out;
}

.hint {
  margin-top: 10px;
  font-size: 12px;
  color: #9ca3af;
}

.footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 640px) {
  .app {
    padding: 16px;
  }

  .card {
    padding: 20px 16px 16px;
  }

  h1 {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }
}
