.site-footer {
  margin-top: 60px;
  padding: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(5, 8, 22, 0.96));
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-badge {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: conic-gradient(
    from 180deg,
    #22c55e,
    #38bdf8,
    #a855f7,
    #22c55e
  );
  padding: 2px;
  box-shadow: 0 8px 26px rgba(56, 189, 248, 0.45);
  flex-shrink: 0;
}

.footer-badge-inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 10%, #1e293b, #020617 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-title {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
}

.footer-brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.3;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--accent);
}

.footer-nav-link:hover::after {
  width: 100%;
}

.footer-nav-separator {
  color: var(--text-muted);
  opacity: 0.4;
  font-size: 0.9rem;
  user-select: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  transition: width var(--transition-fast);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link-active {
  color: var(--text-main);
  font-weight: 600;
}

.footer-link-active::after {
  width: 100%;
}

.footer-extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.9;
  text-align: right;
}

.footer-extra-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  opacity: 0.85;
  white-space: nowrap;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.footer-back-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-back-link::before {
  content: "↩";
  font-size: 0.8rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    align-items: center;
  }

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

  .footer-nav {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    gap: 20px;
  }

  .footer-nav {
    gap: 10px;
    font-size: 0.75rem;
  }

  .footer-nav-link {
    font-size: 0.75rem;
  }

  .footer-nav-separator {
    font-size: 0.8rem;
  }
}
