/* ============================================
   页脚样式 - Footer
   ============================================ */

/* Footer Styles */
.et-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 3rem 0 1rem;
  margin-top: 0;
}

.et-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  box-sizing: border-box;
  width: 100%;
}

.et-footer-section h4 {
  color: #66B1F1;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.et-footer-section p {
  line-height: 1.6;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.et-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.et-footer-nav a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.9;
}

.et-footer-nav a:hover {
  color: #66B1F1;
  opacity: 1;
}

.et-social-links {
  display: flex;
  gap: 1rem;
}

.et-social-link {
  color: #ecf0f1;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #66B1F1;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.et-social-link:hover {
  background: #66B1F1;
  color: #2c3e50;
  transform: translateY(-2px);
}

.et-footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* Fancy Footer Styles */
#et-fancy-footer {
  margin-top: 0;
  z-index: 1;
  width: 100%;
  min-height: var(--app-viewport-height, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 6rem 3vw 2rem;
  position: relative;
  background: url('../imgs/foot.jpg') center center/cover no-repeat;
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}

#et-fancy-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0) 5%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 1) 50%,
    rgb(0, 0, 0)
  );
  z-index: -7;
}

.et-fancy-backdrop {
  z-index: -5;
  position: absolute;
  inset: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );
  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );
}

.et-fancy-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.5rem;
  width: 100%;
  max-width: 36rem;
  min-width: 0;
  box-sizing: border-box;
  color: #f1f1f1;
  text-align: center;
  margin: 0 auto;
  gap: 0.75rem;
}

.et-fancy-col1 {
  margin-top: auto;
}

.et-fancy-col h3 {
  font-weight: 500;
  font-size: 2.4rem;
  margin: 0 0 1rem 0;
  color: #66B1F1;
}

.et-fancy-col p {
  margin: 0.5rem 0;
  line-height: 1.6;
  font-size: 1rem;
}

.et-fancy-col a {
  text-decoration: none;
  color: #d5d5d5;
  transition: color 0.3s ease;
}

.et-fancy-col a:hover {
  color: #66B1F1;
}

/* 备案号样式 */
.et-beian-link {
  color: #818181;
  text-decoration: none;
  transition: color 0.3s ease;
}

.et-beian-link:hover {
  color: #66B1F1;
}

/* 降级方案：不支持 backdrop-filter 的浏览器 */
.no-backdrop-filter .et-fancy-backdrop {
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
}
