/* 底部样式 */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background-color: var(--pico-background-color);
  border-top: 1px solid var(--pico-muted-border-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-left p,
.footer-right p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--pico-muted-color);
}

.footer-left a,
.footer-right a {
  color: var(--pico-primary);
  text-decoration: none;
}

.footer-left a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

.footer-icp {
  margin-top: 0.5rem;
}

/* 社交图标样式 */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--pico-primary);
  border-radius: 50%;
  background-color: rgba(1, 127, 192, 0.05);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
  background-color: var(--pico-primary);
  transform: translateY(-2px);
}

/* 回到顶部按钮样式 */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: var(--pico-primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--pico-primary-hover);
  transform: translateY(-3px);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    right: 1rem;
  }
}