/* ========================================
   页脚样式
   ======================================== */

.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c20821 100%);
  color: var(--white);
  padding: 2rem 0 0 0;
  position: relative;
  overflow: hidden;
}

/* 主容器 */
.footer-container {
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 左侧Logo和标题 */
.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  width: 8rem;
  /* height: 3.5rem; */
  object-fit: contain;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05rem;
}

/* 联系信息 */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.info-label {
  font-weight: 600;
  margin-right: 0.3rem;
}

.info-text {
  font-weight: 400;
}

/* 右侧二维码组 */
.footer-right {
  flex-shrink: 0;
}

.qrcode-group {
  display: flex;
  gap: 1.5rem;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qrcode-img {
  width: 4rem;
  height: 4rem;
  background: var(--white);
  /* padding: 0.3rem; */
  /* border-radius: 0.3rem; */
  object-fit: contain;
}

.qrcode-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* 底部版权信息 */
.footer-bottom {
  background: rgba(0, 0, 0, 0.15);
  padding: 1.2rem 0;
}

.copyright {
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: left;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.divider {
  margin: 0 0.2rem;
  color: rgba(255, 255, 255, 0.5);
}

.beian {
  font-weight: 400;
}

/* ========================================
   移动端适配 (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0 0 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem 1.5rem 1rem;
  }

  /* 左侧Logo和信息 */
  .footer-left {
    width: 100%;
    align-items: center;
    gap: 1.2rem;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-logo-img {
    width: 10rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  /* 联系信息 */
  .footer-info {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .info-item {
    font-size: 0.85rem;
    flex-direction: row;
    gap: 0.2rem;
  }

  .info-label {
    margin-right: 0;
  }

  /* 右侧二维码 */
  .footer-right {
    width: 100%;
  }

  .qrcode-group {
    justify-content: center;
    gap: 1rem;
  }

  .qrcode-img {
    width: 5rem;
    height: 5rem;
    padding: 0.25rem;
  }

  .qrcode-label {
    font-size: 0.75rem;
  }

  /* 底部版权 */
  .footer-bottom {
    padding: 1rem 0;
  }

  .copyright {
    font-size: 0.75rem;
    padding: 0 1rem;
    line-height: 1.8;
  }

  .divider {
    margin: 0 0.5rem;
  }
}
