/* hub.css — layout for games.drwan.com (medical/light theme) */
body{
  display:block;
  align-items:initial;
  justify-content:initial;
  min-height:100vh;
  padding:72px 0 40px;
}

.topnav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:56px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 18px;
  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
  z-index:10;
}

.brand{
  font-weight:900;
  letter-spacing:.2px;
  color: var(--text);
}

.navlink{
  color: var(--text);
  border:1px solid var(--border);
  background: var(--muted-surface);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  box-shadow: var(--shadow-sm);
}

.navlink:hover{
  background: var(--brandSoft);
  border-color: rgba(37,99,235,.25);
}

.spacer{ flex:1; }

.hub{
  width:min(96vw,1100px);
  margin:0 auto;
  padding:0 14px;
}

.hub h1{ font-size: 28px; margin:0; }

.grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

@media (max-width: 1100px){
  .grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
}

.gamecard{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.gamecard:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,.25);
}

.gamecard .title{ font-size: 14px; font-weight:900; color: var(--text); }
.gamecard .meta{ color: var(--muted); line-height:1.35; font-size:12px; }

.tagrow{ display:flex; gap:8px; flex-wrap:wrap; }
.tag{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--muted-surface);
  color: var(--muted);
}

.small{ color: var(--muted); font-size:12px; line-height:1.5; }

.footer{
  margin-top:18px;
  color: var(--muted);
  font-size:12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
