/* ===== 覆盖主题默认 footer-other 内边距 ===== */
#footer .footer-other {
  padding: 0;
}

/* ===== 底部社交图标 ===== */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 30px 20px 10px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

/* ===== 底部分栏链接 ===== */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-links-col {
  flex: 1 1 140px;
  min-width: 130px;
  text-align: left;
}

.footer-links-title {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-links-col a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 3px 0;
  font-size: 0.9em;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links-col a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ===== 底部版权备案 ===== */
.footer-copyright-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9em;
}

.footer-copyright-info a {
  color: inherit;
  text-decoration: none;
}

.footer-copyright-info a:hover {
  text-decoration: underline;
}

.footer-copyright-info img {
  height: 16px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .footer-links {
    gap: 20px;
    padding: 15px;
  }

  .footer-links-col {
    flex: 1 1 45%;
    text-align: center;
  }

  .footer-links-title {
    text-align: center;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ===== 每日一言弹窗 ===== */
#footer-quote-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 420px;
  width: 90%;
  padding: 28px 32px;
  background: rgba(30, 30, 40, 0.95);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}

#footer-quote-toast .quote-text {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 12px;
}

#footer-quote-toast .quote-from {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.6);
}
