#popupContainer {
  display: block;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: var(--ast-global-color-7);
  border: 2px solid var(--ast-global-color-0);
  border-radius: 10px;
  box-shadow: 0 4px 8px -2px #00000030;
  width: min(350px, 100%);
  transition: all 0.5s ease-in-out;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.5s;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-weight: bold;
  color: var(--ast-global-color-3);
  cursor: pointer;
  padding: 1rem;
  display: flex;
  z-index: 1;
  font-size: 20px;
}

#logoContainer {
  margin-top: 1rem;
  text-align: center;
  transform: scale(1);
  transform-origin: center;
}

.popup-links {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.popup-links > a {
  padding: 1rem;
  color: var(--ast-global-color-3);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.popup-links > a > i {
  color: var(--ast-global-color-0);
  font-size: 24px;
}

.popup-links > a:hover {
  background-color: var(--ast-global-color-0);
  color: #fff;
}

.popup-links > a:hover i {
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide Popup on Mobile Devices */
@media (max-width: 768px) {
  #popupContainer {
    display: none !important;
  }
}
