:root {
  --bg: #0b0b0f;
  --panel: #15151d;
  --panel-hover: #1b1b26;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e7e9f0;
  --text-dim: #8b8f9e;
  --accent: #5cc8ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 90% at 50% -10%, #17172130 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

.hub-header {
  text-align: center;
  padding: 56px 20px 28px;
}
.hub-header h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #5cc8ff, #b06cff 45%, #ff5470 80%, #ffcc33);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { margin: 10px 0 0; color: var(--text-dim); font-size: 15px; }

main { flex: 1 1 auto; width: 100%; max-width: 1080px; margin: 0 auto; padding: 12px 20px 60px; }

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

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--panel-hover);
  border-color: rgba(92, 200, 255, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(92, 200, 255, 0.25);
}

.thumb {
  aspect-ratio: 1 / 1;
  background: #0d0d12;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-fallback { font-size: 64px; font-weight: 800; color: var(--text-dim); }

.meta { padding: 14px 16px 18px; }
.name { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.blurb { font-size: 13px; line-height: 1.5; color: var(--text-dim); }

.empty { text-align: center; color: var(--text-dim); padding: 60px 0; }

.hub-footer {
  text-align: center;
  padding: 22px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--border);
}
