
/* Server Status Styles */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  min-width: 140px;
}

.server-status-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #555; /* Default/Loading */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  opacity: 0.7;
  animation: pulse 2s infinite;
}

.status-dot.online {
  background-color: #2ecc71;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
}

.status-dot.offline {
  background-color: #e74c3c;
  box-shadow: 0 0 12px rgba(231, 76, 60, 0.4);
}

.status-text {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.server-status-pill.online .status-text {
  display: none; /* Hide 'Online' text to show player count more prominently or keep it if preferred */
}

.player-count {
  color: var(--brand);
  font-weight: 700;
}

.server-status-pill.offline .player-count {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Adjust actions layout to accommodate new pill */
.hero-content .actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
