.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 0 var(--page-gutter) 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 79, 163, 0.12), rgba(66, 232, 255, 0.1)),
    rgba(14, 12, 28, 0.86);
  color: var(--muted);
  backdrop-filter: blur(12px);
}

.site-footer::before {
  content: "";
  display: block;
  width: min(100%, var(--page-max));
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--cyan), var(--green));
  box-shadow: 0 0 24px rgba(66, 232, 255, 0.22);
}

.footer-content {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 34px 0 26px;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(190px, 0.8fr));
  gap: 28px;
  text-align: left;
}

.footer-brand,
.footer-panel {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: var(--ink);
  font-family: "Press Start 2P", cursive;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.3;
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--pink), 4px 4px 0 var(--shadow);
}

.footer-brand-link img {
  flex: 0 0 auto;
  width: auto;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(66, 232, 255, 0.24));
}

.footer-brand-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-brand p,
.footer-note {
  max-width: 38ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.footer-panel h2 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-family: "Press Start 2P", cursive;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-panel ul,
.footer-bottom ul {
  list-style: none;
}

.footer-panel li + li {
  margin-top: 9px;
}

.footer-panel a,
.footer-bottom a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-panel a:hover,
.footer-bottom a:hover {
  color: var(--cyan);
}

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

.footer-credit a:hover {
  color: var(--yellow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(120, 255, 154, 0.36);
  border-radius: 999px;
  background: rgba(120, 255, 154, 0.08);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(120, 255, 154, 0.12);
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.footer-bottom {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(201, 196, 218, 0.82);
  font-size: 13px;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 830px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p,
  .footer-note {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom ul {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-brand-link img {
    height: 42px;
  }

  .status-pill {
    justify-content: center;
    width: 100%;
  }
}
