:root {
  --bg: #0d0d1a;
  --card: #161625;
  --card2: #1e1e35;
  --border: #2a2a4a;
  --text: #e8e8f0;
  --muted: #8888aa;
  --accent: #6ea8fe;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(110, 168, 254, 0.12), transparent),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
}

/* Launcher grid */
.hub {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 760px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 165px;
  padding: 30px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tile:hover {
  transform: translateY(-4px);
  background: var(--card2);
}

.tile .ico { font-size: 44px; line-height: 1; }
.tile .tname { font-size: 22px; font-weight: 800; }
.tile .tsub { font-size: 13px; color: var(--muted); }

.tile.pixel:hover { border-color: #ff6b9d; }
.tile.shorts:hover { border-color: #3fb950; }
.tile.msg:hover { border-color: #4de8ff; }
.tile.grades:hover { border-color: #3fb950; }
.tile.friends:hover { border-color: #a371f7; }
.tile.games:hover { border-color: #ffb347; }
.tile.dash:hover { border-color: #58a6ff; }
.tile.admin:hover { border-color: #ffcc00; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 18px;
}
