.page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent), var(--glass);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  padding: 12px 24px;
  box-sizing: border-box;
  font-size: 0.95rem;
  color: var(--muted);
}

.page-footer .footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.page-footer .footer-text {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.page-footer .footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.page-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  color: var(--text);
  background: transparent;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.page-footer .footer-links a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 14px var(--blue);
  background: rgba(61,161,240,0.15);
  color: var(--blue);
}

.page-footer .footer-links a i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 100px;
  }

  .page-footer {
    padding: 16px 24px;
  }

  .page-footer .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .page-footer .footer-links {
    justify-content: center;
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .page-footer {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
