html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: white;
  overflow-y: auto;
  overflow-x: hidden;
  background: black;
  font-family: "Segoe UI", sans-serif;
}

#starfield {
  z-index: 4;
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  pointer-events: none;
  transition: opacity 2s ease;
}

#startBtn {
  position: relative;
  overflow: hidden;
}

#startBtn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 70%);
  transform: scale(0);
  opacity: 0;
  animation: pulse 3s infinite;
}

h1 {
  margin-top: 40px;
  text-align: center;
  font-weight: bold;
  color: white;
  z-index: 2;
  position: relative;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

.contact-card i {
  font-size: 2rem;
  color: #6d7dd1;
  margin-bottom: 15px;
}

.agents-container {
  position: relative;
  z-index: 5;
  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.3s, box-shadow 0.3s;
  padding: 30px 30px 60px 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.2);
}

#setAnim {
  opacity: 0;
  transform: translateY(45px);
  animation: fadeInUp 0.5s forwards;
}

.setAnim {
  opacity: 0;
  transform: translateY(45px);
  animation: fadeInUp 0.5s forwards;
}

@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;
}

.agent-card.placeholder {
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  color: #777;
}

.agent-card.placeholder h5,
.agent-card.placeholder p {
  color: #777;
}

.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;
}

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.content {
  top: 50%;
  left: 50%;
  z-index: 5;
  text-align: center;
  position: absolute;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1.2s ease, opacity 1s ease;
}

.content.zoom-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(3);
}

.btn-outline-light {
  margin-top: 20px;
  font-weight: bold;
  border: 2px solid white;
}

.navbar {
  z-index: 6;
  border: none;
  position: relative;
  background-color: transparent !important;
}

.btn:active {
  transform: scale(0.95, 0.95);
}

#space-gradient {
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  position: fixed;
  pointer-events: none;
  animation: fadeInOut 2s ease-in-out infinite alternate;
  background: radial-gradient(ellipse at bottom right, #22254c, #000000 70%);
}

@keyframes fadeInOut {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.7;
  }
}

@media (max-width: 1200px) {
    .lead {
    font-size: 18px;
  }

  #startBtn {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
    .lead {
    font-size: 14px;
  }
}

@media (max-height: 500px) {
  .content {
    top: auto;
    left: auto;
    max-width: 90%;
    padding: 0 15px;
    transform: none;
    position: relative;
    text-align: center;
    margin: 80px auto 0;
    margin-bottom: 25px;
  }

  .flySpeed {
    display: none;
  }

  .content.zoom-out {
    opacity: 0;
    transform: scale(1.2);
  }
}

::selection {
  color: white;
  background: rgb(62, 64, 149);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgb(57, 65, 136, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(57, 65, 136, 0.7);
}

.container {
  position: relative;
  z-index: 10;
}