:root {
  --bg: #0e0f14;
  --card: #161826;
  --text: #e8e9ee;
  --muted: #a4a8c0;
  --accent: #7c5cff;
  --border: #24273a;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

.header {
  margin-bottom: 24px;
}

h1 {
  margin: 0;
  font-size: 36px;
}

.subtitle {
  margin-top: 6px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card h2 {
  margin: 0 0 6px 0;
  font-size: 18px;
}

.card p {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.card a {
  text-decoration: none;
  color: white;
  background: linear-gradient(180deg, #7c5cff, #6a4fe0);
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.card a:hover {
  filter: brightness(1.05);
}

.footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}
