/* ========== 自定义 Footer 样式 ========== */
.footer-custom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-custom__primary,
.footer-custom__secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.8;
}

.footer-custom__year {
  font-weight: 600;
  color: var(--color-text);
}

.footer-custom__divider {
  color: var(--color-border-strong);
  font-weight: 300;
}

.footer-custom__gongan {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-custom__gongan:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.footer-custom__gongan-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.footer-custom__icp a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-custom__icp a:hover {
  color: var(--color-accent);
}

.footer-custom__secondary-label {
  white-space: nowrap;
}

.footer-custom__secondary-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .footer-custom {
    gap: 0.6rem;
    font-size: 0.85rem;
  }

  .footer-custom__primary,
  .footer-custom__secondary {
    gap: 0.35rem;
    line-height: 1.6;
  }

  .footer-custom__gongan {
    border-radius: 12px;
  }

  .footer-custom__gongan-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .footer-custom {
    font-size: 0.8rem;
  }
}

