html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: white;
  background: black;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

#starfield {
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
}

#space-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(ellipse at bottom right, #22254c, #000 70%);
  opacity: 0.3;
  animation: fadeInOut 4s ease-in-out infinite alternate;
  pointer-events: none;
}

nav.navbar {
	z-index: 10;
}

@keyframes fadeInOut {
  0% {
	opacity: 0.2;
  }

  100% {
	opacity: 0.6;
  }
}

h1 {
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
  color: white;
  z-index: 2;
  position: relative;
}

.agents-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px;
}

.agent-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.4s, box-shadow 0.4s;
  padding: 30px 30px 60px 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.agent-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.15);
}

@keyframes fadeInUp {
  to {
	opacity: 1;
	transform: translateY(0);
  }
}

.agent-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #6d7dd1;
  overflow: hidden;
  margin: 0 auto 20px;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card h5 {
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.agent-card p {
  color: #ccc;
  font-size: 14px;
  min-height: 50px;
}

.status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
  line-height: 20px;
  vertical-align: middle;
  white-space: nowrap;
}

.status.progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  padding: 14px 14px;
}

.ready {
  background: #22c55e;
  color: #fff;
}

.progress {
  background: #eab308;
  color: #000;
}

.not-ready {
  background: red;
  color: #fff;
}

.progress-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  height: 8px;
  margin: 10px 0;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

.progress-bar-custom {
  height: 8px;
  background: linear-gradient(90deg, #6d7dd1, #4e60d1);
  transition: width 0.5s;
}

.link-button {
  position: absolute;
  bottom: 15px;
  left: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #6d7dd1;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.link-button:hover {
  background: #4e60d1;
  transform: scale(1.05);
}

.link-button.disabled,
.link-button:disabled {
  background: gray;
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  opacity: 0.6;
}