/* Minimaler, sauberer CSS-Start für das Dashboard */
body {
  background: #181a20;
  color: #fff;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  max-width: 1200px;
  margin: 24px auto;
  padding: 18px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.title {
  font-size: 1.7rem;
  font-weight: 700;
}

.user-info {
  text-align: right;
}

.logout-btn {
  background: #2b2f3a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.card {
  background: #26282e;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform .12s, box-shadow .12s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(97,147,250,0.08);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  margin: 0 auto 10px;
  background: #17181b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.invite {
  border: 2px dashed #6a8dee;
  background: #0e1016;
  color: #91a0e2;
}

.server-name {
  font-weight: 600;
  margin-top: 6px;
  font-size: 0.95rem;
}

.sub {
  color: #9aa0b4;
  font-size: 0.86rem;
  margin-top: 6px;
}

a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}