*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  background-color: #0b0f19;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: #0284c7;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  margin-bottom: 0.75rem;
}

.btn-download:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-download:active {
  transform: translateY(0);
}

.meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.support-link:hover {
  color: #e2e8f0;
}

.support-link svg.heart-icon {
  color: #ec4899;
}

.readme-container {
  max-width: 720px;
  text-align: left;
}

.readme-topbar {
  margin-bottom: 1.5rem;
}

.lang-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.lang-tab {
  padding: 0.4rem 1rem;
  background: transparent;
  border: 1px solid #1e293b;
  color: #94a3b8;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-tab:hover {
  color: #e2e8f0;
  border-color: #334155;
}

.lang-tab.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.readme-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #cbd5e1;
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.readme-body h1 {
  font-size: 1.5rem;
  color: #f8fafc;
  margin-bottom: 1rem;
}

.readme-body h2 {
  font-size: 1.15rem;
  color: #f8fafc;
  margin: 1.75rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #1e293b;
}

.readme-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.readme-body h3 {
  font-size: 1rem;
  color: #e2e8f0;
  margin: 1.25rem 0 0.5rem;
}

.readme-body p {
  margin-bottom: 0.75rem;
}

.readme-body ul,
.readme-body ol {
  margin: 0 0 0.75rem 1.25rem;
}

.readme-body li {
  margin-bottom: 0.35rem;
}

.readme-body strong {
  color: #f8fafc;
  font-weight: 600;
}

.readme-body code {
  font-family: 'Menlo', 'Consolas', monospace;
  background: #1e293b;
  color: #7dd3fc;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85em;
}

.readme-body blockquote {
  border-left: 3px solid #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 0.75rem 1rem;
  margin: 0 0 1rem;
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
}

.readme-body blockquote p {
  margin-bottom: 0;
}

.readme-body a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.readme-body a:hover {
  color: #7dd3fc;
}
