.server-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 20px !important;
}

.server-card {
  padding: 20px !important;
  border-radius: 10px !important;
  border: 1px solid #30363d !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: #161b22 !important;
  text-align: left !important;
}

.status-dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #444;
  transition: all 0.3s ease;
}

/* Breathing Glow Animation */
@keyframes glow-pulse {
  0% { box-shadow: 0 0 5px 1px rgba(46, 204, 113, 0.4); }
  50% { box-shadow: 0 0 15px 4px rgba(46, 204, 113, 0.8); }
  100% { box-shadow: 0 0 5px 1px rgba(46, 204, 113, 0.4); }
}

.status-online {
  background: #2ecc71 !important;
  animation: glow-pulse 3s infinite ease-in-out;
}

.status-offline {
  background: #e74c3c !important;
  box-shadow: 0 0 8px 1px rgba(231, 76, 60, 0.2);
}

.player-badge {
  display: flex;
  align-items: center;
  background: #21262d;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 0.75em;
  border: 1px solid #30363d;
  color: #c9d1d9;
}

button {
  background: #21262d;
  color: #58a6ff;
  border: 1px solid #30363d;
  border-radius: 6px;
  transition: background 0.2s;
  margin-top: 5px;
  cursor: pointer;
  font-size: 0.7em;
  padding: 4px 8px !important;
}

button:hover {
  background: #30363d;
}

.modpack-link {
  color: #79c0ff;
  text-decoration: none;
  font-family: monospace;
}

.modpack-link:hover {
  text-decoration: underline;
}
