/* =========================
   Footer – Minimal / cBioPortal style
   ========================= */

footer {
    background: linear-gradient(180deg, rgb(21 20 36), rgb(26 27 45));
    color: var(--gb-text-secondary);
    padding: 60px 20px 40px;
    width: 100%;
    border-top: 1px solid rgba(120,170,255,0.15);
    font-family: 'Fira Code', monospace;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03),
    0 -20px 60px rgba(0,0,0,0.6);
}
#foot_content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Main text */
footer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gb-text-secondary);
  margin: 12px 0;
}

/* Links inside paragraphs */
footer p a {
  color: var(--gb-text-muted);
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.2s ease;
}

footer p a:hover {
  color: var(--gb-text-secondary);
}

/* Icons inside links */
footer p a i {
  margin-right: 4px;
}

/* Horizontal separators */
.custom-line {
  border: none;
  height: 1px;
  width: 80%;
  margin: 28px auto;
  background-color: var(--gb-text-muted);
}

/* Footnotes block (legal text) */
.footer-footnotes {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.footer-footnotes p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gb-text-muted);
  margin: 6px 0;
}

.footer-footnotes sup {
  font-size: 9px;
  vertical-align: super;
  color: var(--gb-text-secondary);
}

.footer-footnotes a {
  color: rgba(17, 24, 39, 0.65);
  text-decoration: none;
}

.footer-footnotes a:hover {
  color: rgba(17, 24, 39, 0.95);
}

/* "Also Developing" section */
.website-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 20px 10px;
  flex-wrap: wrap;
}

/* Logos */
.website-logo {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.website-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

/* Footer navigation */
footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

footer nav a {
  font-size: 13px;
  color: var(--gb-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer nav a:hover {
  color: var(--gb-text-primary);
}

/* =========================
   MOBILE REFINEMENTS
   ========================= */
@media (max-width: 600px) {

  footer {
    padding: 40px 16px;
  }
  /* Logos breathe a bit less */
  .website-logos {
    gap: 20px;
    
  }

  /* Footer nav aligns left */
  footer nav {
    gap: 14px;
  }
  .footer-footnotes {
    padding: 0px 20px; /* first for the left and right margins */
  }
}
/* Related platforms section */
.related-platforms {
  margin-top: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.related-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gb-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links li {
  margin: 6px 0;
}

.related-links a {
  font-size: 13px;
  color: var(--gb-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-links a:hover {
  color: var(--gb-text-secondary);
}

/* =========================
   Footer Logo Component
   ========================= */

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.footer-logo-icon {
  height: 24px;     /* smaller than header */
  width: auto;
  opacity: 0.9;
}

.footer-logo-text {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gb-text-primary);
}
.footer-logo {
    color: #4fa3d1;
}