:root {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e1b4b;
  --text: #1e1b4b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --primary: #6d28d9;
  --primary-dark: #4c1d95;
  --primary-light: #f5f3ff;
  --primary-border: #ddd6fe;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  --header-bg: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
  --border: #e2e8f0;
  --border-soft: #ede9fe;
  --card: #ffffff;
  --surface: #faf8ff;
  --shadow-md: 0 8px 24px rgba(76, 29, 149, 0.08);
  --shadow-lg: 0 16px 48px rgba(76, 29, 149, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
  --success: #059669;
  --success-bg: #ecfdf5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #faf5ff 0%, #f5f3ff 40%, #ede9fe 100%);
  background-attachment: fixed;
}

.site-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 32px;
}

.site-hero {
  background: var(--header-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-md);
  color: #fff;
  text-align: center;
}

.site-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.site-domain {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
}

.card {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-md);
}

.section-label {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.intro-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--text);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.download-item:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.download-info {
  min-width: 0;
}

.download-name {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.btn {
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn.primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.download-empty {
  margin: 0;
  padding: 16px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.88rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.download-loading {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 12px 0;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.site-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

@media (max-width: 520px) {
  .download-item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .btn.primary {
    width: 100%;
  }
}
