:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #9a9a9a;
  --accent: #2563eb;
  --card-bg: #ffffff;
  --card-border: #e5e5e5;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hub {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.hub-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.hub-subtitle {
  color: var(--muted);
  margin: 0 0 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.project-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-card--active h2 {
  color: var(--accent);
}

.project-card--active:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-card--placeholder {
  cursor: default;
  opacity: 0.5;
}

.hub-footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.85rem;
}

.visitor-counter {
  margin: 8px 0 0;
}

@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hub-title {
    font-size: 1.5rem;
  }
}
