
/* 桌面导航当前页样式 */
nav.hidden.md\\:flex a[href="about.html"] {
  font-size: 1.125rem; /* 字体加大 */
  color: #1D2129; /* 黑色（对应text-dark） */
  font-weight: 700; /* 加粗 */
}

/*  hover效果 */
nav.hidden.md\\:flex a[href="about.html"]:hover {
  color: #165DFF; /*  hover时变为主题蓝 */
}

/* 分享按钮基础样式 */
.share-btn {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  border-radius: 50%; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease; /* transition-all duration-300 */
  background-color: #1E40AF; /* 自定义分享按钮底色 */
  color: white;
  text-decoration: none; /* 去除链接下划线 */
}

/* 分享按钮悬停效果 */
.share-btn:hover {
  transform: scale(1.1); /* hover:scale-110 */
  background-color: #1E3A8A; /* 自定义悬停颜色 */
}

/* 微信分享二维码弹窗 */
.weixin-qrcode-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.weixin-qrcode-modal.visible {
  opacity: 1;
  visibility: visible;
}

.qrcode-content {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  max-width: 320px;
  width: 90%;
}

.qrcode-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}

.qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.share-tabs {
  display: flex;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.share-tab {
  flex: 1;
  padding: 8px 0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.share-tab.active {
  color: #165DFF;
  border-bottom-color: #165DFF;
  font-weight: bold;
}

    /* 回到顶部按钮样式 */
    #backToTop {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 48px;
      height: 48px;
      background-color: #165DFF;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
      cursor: pointer;
      z-index: 50;
      transition: all 0.3s ease;
      opacity: 0;
      visibility: hidden;
    }

    #backToTop.visible {
      opacity: 1;
      visibility: visible;
    }

    #backToTop:hover {
      background-color: #0E4CD1;
      transform: translateY(-3px);
    }