:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --card-border: #e2e8f0;
  --ink: #1e293b;
  --muted: #64748b;
  --pri: #6366f1;
  --pri-light: #818cf8;
  --accent: #4f46e5;
  --success: #10b981;
  --shadow: rgba(99, 102, 241, 0.08);
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

body {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(99,102,241,0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(168,85,247,0.04) 0%, transparent 50%);
}

a { color: var(--pri); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); text-decoration: underline; }

.topbar {
  background: var(--card);
  border-bottom: 2px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  box-shadow: 0 2px 10px var(--shadow);
}

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav a {
  margin-left: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav a:hover { background: var(--card-border); text-decoration: none; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px;
}

.hero {
  text-align: center;
  padding: 48px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
}
.hero .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--pri);
}

.card p { margin: 4px 0; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.app-card {
  border-left: 4px solid var(--pri);
}
.app-card.coming-soon { opacity: 0.6; border-left-color: var(--muted); }
.app-card .status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.app-card .status.live { background: #d1fae5; color: #065f46; }
.app-card .status.soon { background: #e2e8f0; color: #475569; }

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn:hover { opacity: 0.9; color: white; text-decoration: none; }

.donate-section {
  margin: 32px 0;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.donate-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.donate-item .label {
  font-weight: 700;
  color: var(--pri);
  margin-bottom: 4px;
}
.donate-item .addr {
  font-family: monospace;
  font-size: 0.75rem;
  word-break: break-all;
  color: var(--muted);
  user-select: all;
}
.donate-item a { word-break: break-all; }

.about {
  margin: 32px 0;
  line-height: 1.7;
}

.muted { color: var(--muted); }
.small { font-size: 0.85em; }

footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
  margin-top: 48px;
}

@media (max-width: 700px) {
  .app-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .topbar { flex-direction: column; gap: 8px; }
}
