footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 12, 27, 0.94), rgba(2, 6, 17, 1));
  border-top: 1px solid var(--line);
  padding-top: 72px;
  padding-bottom: 64px;
  box-sizing: border-box;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(94, 242, 255, 0.08), transparent),
    radial-gradient(circle at top, rgba(76, 126, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.footer-information {
  margin: 0;
  min-width: 0;
  padding-bottom: 32px;
}

.footer-information a {
  color: var(--cyan-2);
}

.footer-information-header {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-information p {
  color: var(--muted);
  line-height: 1.5;
  width: 60%;
  margin-bottom: 16px;
  text-underline-offset: 5px;
}

.footer-information p a:hover {
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--muted);
}

.footer-links-column {
  display: flex;
  flex-direction: column;
}

.footer-links h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links a {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
  font-weight: 400;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--cyan);
}

.footer-links svg[aria-label="Hack Club logo"] {
  fill: #8fbeff;
  filter: drop-shadow(0 0 18px rgba(94, 242, 255, 0.16));
}

.footer-icons-container {
  display: grid;
  max-width: 192px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin-left: -4px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.footer-icons-container a {
  margin-bottom: 0;
}

.footer-icons-container svg {
  color: #88a8d9;
  transition: color 250ms ease, transform 250ms ease;
}

.footer-icons-container a:hover svg {
  color: var(--cyan);
  transform: translateY(-2px);
}

.footer-tel {
  display: block;
  font-size: 20px;
  color: var(--text);
}

.footer-cr-info {
  color: #6f89b4;
  margin-top: 16px;
}

@media only screen and (max-width: 900px) {
  .footer-information p {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
