:root {
  --bg: #0f1117;
  --bg-soft: #161a24;
  --card: #1b2130;
  --border: #2a3245;
  --text: #e6e9f0;
  --muted: #8b93a7;
  --accent: #5b8cff;
  --accent-2: #8a5bff;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #1c2333 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
}

.topbar {
  background: rgba(15, 17, 23, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; }

.logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 18px rgba(91, 140, 255, .35);
}

h1 { font-size: 20px; line-height: 1.2; }
.subtitle { color: var(--muted); font-size: 13px; }

main { max-width: 1200px; margin: 0 auto; padding: 24px; }

.count { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(91, 140, 255, .12);
}

.card h3 { font-size: 16px; line-height: 1.3; }

.card .desc { color: var(--muted); font-size: 13.5px; }

.arrow {
  font-size: 18px;
  color: var(--accent);
  transition: transform .15s;
}
.card:hover .arrow { transform: translateX(4px); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.hidden { display: none !important; }