/**
 * Global Footer Styles
 * Appears on all pages
 */

.global-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(16px, 4vw, 44px);
  background: rgba(7, 9, 15, 0.6);
  border-top: 1px solid var(--stroke);
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}

body[data-theme="light"] .global-footer {
  background: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(15, 23, 42, 0.15);
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

body[data-theme="light"] .footer-copyright {
  color: rgba(15, 23, 42, 0.65);
}

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

.footer-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--neon-cyan);
  background: rgba(60, 255, 250, 0.1);
  text-decoration: underline;
}

.footer-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

body[data-theme="light"] .footer-link {
  color: #0f172a;
}

body[data-theme="light"] .footer-link:hover {
  color: #0369a1;
  background: rgba(79, 70, 229, 0.08);
}

.footer-separator {
  color: var(--stroke);
  user-select: none;
}

/* Responsive footer */
@media (max-width: 620px) {
  .global-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

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

  .footer-separator {
    display: none;
  }

  .footer-link {
    display: block;
    margin: 4px 0;
  }
}
