.gh-footer {
  background-color: #0f0f12;
  border-top: 1px solid #2a2b31;
  padding: 14px 0;
  margin-top: 0;
  /* IMPORTANT: avoid creating extra vertical space */
  color: #cfcfcf;
  font-size: 0.85rem;
}

.gh-footer-links {
  flex-wrap: wrap;
}

.gh-footer-link {
  color: #ffdf00;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.gh-footer-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
  text-decoration: none;
}



.gh-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.gh-footer-links {
  justify-content: flex-end;
}

.gh-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh-footer-social {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.gh-footer-social--instagram {
  color: #e4405f;
}

.gh-footer-social--discord {
  color: #5865f2;
}

.gh-footer-social:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.gh-footer-social--instagram:hover {
  background-color: rgba(228, 64, 95, 0.12);
}



.gh-footer-social--discord:hover {
  background-color: rgba(88, 101, 242, 0.12);
}

.gh-footer-social i {
  font-size: 1rem;
  line-height: 1;
}

/* Keep the footer visible within the authenticated sidebar layout. */
@media (min-width: 768px) {
  body[data-auth="true"] {
    --gh-fixed-footer-space: 64px;
  }

  body[data-auth="true"] .gh-main-content {
    padding-bottom: var(--gh-fixed-footer-space);
  }

  body[data-auth="true"] .gh-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    margin: 0;
  }

  body[data-auth="true"] .gh-footer-inner {
    padding-right: clamp(1.5rem, 3vw, 3.75rem);
    padding-left: clamp(1.5rem, 3vw, 3.75rem);
  }
}

@media (max-width: 767.98px) {
  .gh-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .gh-footer-links {
    justify-content: center;
  }
}
