/* 由 php/tools/build-assets.cjs 生成，请勿手改。
   改动样式请改 client/src 下对应的 .vue / .css 源文件后重新执行生成脚本。
   注意：这里按组件作用域重建了选择器（等价于 Vue 的 <style scoped>），
   对应 class 已经写在各模板的根元素上，挪动模板时不要漏掉。 */

/* ---- components/SiteFooter.vue  →  作用域 .site-footer ---- */
.footer.site-footer {
  background: var(--grad-deep);
  color: #fff;
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 80%);
  pointer-events: none;
}
.footer.site-footer::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22), transparent 66%);
  filter: blur(12px);
  pointer-events: none;
}
.footer.site-footer .container { position: relative; }
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .f-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.site-footer .f-brand .logo-img {
  height: 34px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 5px 8px;
  box-sizing: border-box;
}
.site-footer .f-brand strong { font-size: 17px; }
.site-footer .f-brand small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.site-footer .desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.8;
}
.site-footer .col h4 {
  font-size: 15px;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: 0.5px;
}
.site-footer .col ul li { margin-bottom: 10px; }
.site-footer .col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}
.site-footer .col ul li a:hover { color: #fff; }
.site-footer .contact-list li { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.site-footer .bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .grid { grid-template-columns: 1fr; }
}

/* 手机（≤640px）：页脚链接由 <a> 变成块级并补内边距。
   原来 <a> 是行内元素，实测可点区只有 19px 高 —— 手指点不中，
   而手机页脚恰好是单列竖排、最需要好点的地方。 */
@media (max-width: 640px) {
  .footer.site-footer { padding: 48px 0 0; }
  .site-footer .grid { gap: 28px; padding-bottom: 32px; }
  .site-footer .col h4 { margin-bottom: 8px; }
  .site-footer .col ul li { margin-bottom: 0; }          /* 间距改由 <a> 的 padding 提供，避免双重留白 */
.site-footer .col ul li a { display: block; padding: 9px 0; font-size: 15px; }
  .site-footer .contact-list li { padding: 4px 0; }
  .site-footer .desc { font-size: 13.5px; }
  .site-footer .bottom { padding: 18px 0; font-size: 12.5px; }
}
