/* 科技蓝色主题 */
:root {
  --primary-color: #1e40af;
  --secondary-color: #3b82f6;
  --accent-color: #06b6d4;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* 页面头部样式 */
.page-header {
  /* background: linear-gradient(
      135deg,
      rgba(30, 64, 175, 0.9),
      rgba(59, 130, 246, 0.9)
    ),
    url("/img/about-header-bg.png"); */
  background-size: cover;
  background-position: center;
            background-attachment: fixed;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

/* 面包屑导航 */
.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 10px 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* 固定消息提示 */
.fixed-notice {
  position: fixed;
  /* 固定定位 */
  bottom: 20px;
  /* 底部对齐 */
  left: 20px;
  /* 左侧对齐 */
  z-index: 9999;
  /* 确保在最顶层 */
  border-radius: 0;
  /* 去除圆角 */
  padding: 8px 15px;
  /* 内边距 */
  margin: 0;
  /* 清除默认边距 */
  width: auto;
  /* 自动宽度 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* 添加阴影 */
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* 右侧固定按钮 */
.floating-buttons {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 10px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.floating-btn:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.floating-content {
  position: absolute;
  right: 70px;
  top: 0;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid var(--primary-color);
}

.floating-btn:hover .floating-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-content h6 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.floating-content p {
  margin: 5px 0;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.qr-code {
  width: 120px;
  height: 120px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 右侧固定按钮 */
  .floating-buttons {
    right: 15px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* 回到顶部按钮 */
  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 45px;
    height: 45px;
  }
}
