/*
 * The footer from pridebot.xyz, shared by the PFP, profile and status sites.
 *
 * Those sites load Bootstrap 4, or none at all, while pridebot.xyz loads 5, so
 * this file sets everything it needs itself instead of using Bootstrap classes
 * or the page's colour variables.
 */
.footer-section {
  --footer-accent: #ff70f3;
  --footer-text: #fff;
  --footer-text-secondary: #dcdcdc;

  box-sizing: border-box;
  margin-top: 80px;
  padding: 6rem 15px 5rem;
  background: #262626;
  color: var(--footer-text-secondary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.footer-section *,
.footer-section *::before,
.footer-section *::after {
  box-sizing: inherit;
}

.footer-section img,
.footer-section svg {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--footer-accent);
  font-family: "Alfa Slab One", cursive;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-logo:hover {
  color: var(--footer-accent);
  text-decoration: none;
  transform: scale(1.05);
}

.footer-section .footer-logo img {
  border-radius: 0.25rem;
}

.footer-tagline {
  margin: 0 0 3.5rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links-section h6 {
  margin: 0 0 1rem;
  color: var(--footer-text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  color: var(--footer-text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--footer-accent);
  text-decoration: none;
  transform: translateX(5px);
}

.footer-divider {
  margin: 4rem -15px 2rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .footer-fine {
  margin: 0 0 0.5rem;
}

.footer-section .footer-fine:last-child {
  margin-bottom: 0;
}

.footer-fine a {
  color: var(--footer-accent);
  text-decoration: none;
}

.footer-fine a:hover {
  color: var(--footer-accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .footer-section {
    display: none;
  }
}
