/* 底部样式 */
#footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  padding: 50px 0 0;
  font-family: var(--font-regular), sans-serif;
}

#footer .container {
  max-width: 1920px;
  margin-left:120px  ;
}

.footer-content {
  display: flex;
  /* justify-content: space-between; */
  align-items: flex-start;
  padding-bottom: 40px;
  gap: 60px;
  width: 100%;
}

/* 左侧二维码区域 */
.qrcode-section {
  display: flex;
  gap: 32px;
  min-width: 200px;
  /* flex: 0 0 220px; */
}

.qrcode-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode-image {
  width: 80px;
  height: 80px;
  /* border-radius: 8px; */
  margin-bottom: 12px;
  object-fit: cover;
  /* border: 2px solid rgba(255, 255, 255, 0.1); */
  transition: all 0.3s ease;
}

.qrcode-image:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.qrcode-item p {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* 中间导航链接区域 */
.footer-nav {
  min-width: 260px;
  flex: 0.5;
  display: flex;
  gap: 60px;
  padding-left: 0;
  margin-left: 120px;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-item {
  margin: 0;
}

.footer-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  position: relative;
  display: block;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: #74b9ff;
  transform: translateX(4px);
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #74b9ff;
  transition: width 0.3s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* 右侧联系信息区域 */
.contact-info {
  min-width: 180px;
  /* margin-left: 20px; */
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  min-width: 70px;
}

.contact-value {
  color: #fff;
  font-weight: 500;
  /* 超长换行 */
  word-wrap: break-word;
  word-break: break-all;
}

/* 底部备案信息 */
.footer-bottom {
  padding: 20px 0;
  /* background: rgba(0, 0, 0, 0.1); */
}

.footer-bottom .container {
  display: flex;
  align-items: center;
}

.footer-bottom .icp {
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  justify-content: flex-start !important;
  text-align: left !important;
}

.icp-icon {
  font-size: 14px;
  opacity: 0.8;
}

/* 响应式样式 */
@media screen and (max-width: 1024px) {
  .footer-content {
    gap: 40px;
  }

  .footer-nav {
    padding-left: 20px;
  }

  .footer-nav ul {
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .qrcode-section {
    order: 1;
    gap: 30px;
  }

  .footer-nav {
    order: 2;
    padding-left: 0;
    justify-content: center;
    gap: 40px;
  }

  .nav-column {
    align-items: center;
  }

  .contact-info {
    order: 3;
    min-width: auto;
    width: 100%;
  }

  .contact-item {
    justify-content: center;
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 576px) {
  #footer {
    padding: 40px 0 0;
  }

  .footer-content {
    gap: 30px;
    padding-bottom: 30px;
  }

  .qrcode-section {
    gap: 20px;
  }

  .qrcode-image {
    width: 80px;
    height: 80px;
  }

  .footer-nav {
    gap: 30px;
  }

  .nav-column {
    gap: 12px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .contact-item {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }

  .contact-label {
    min-width: auto;
  }

  .footer-bottom .icp {
    font-size: 11px;
    flex-direction: column;
    gap: 4px;
  }
}
