.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;

  display: flex;
  align-items: center;

  /* 深空渐变（和 header 呼应） */
  background: linear-gradient(
    180deg,
    rgba(34, 31, 31, 0.7) 0%,
    rgba(34, 31, 31, 0.9) 100%
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 取消传统border */
  border-top: none;

  /* 阴影 */
  box-shadow: 0 -8px 24px rgba(247, 148, 34, 0.05);

  z-index: 1000;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 148, 34, 0.25),
    rgba(247, 148, 34, 0.25),
    transparent
  );

  opacity: 0.8;
}

.footer-item {
  flex: 1 1;
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none; /* ✅ 去掉下划线 */
}

.footer-item svg {
  display: block;
  margin: 0 auto 4px;
  width: 22px;
  height: 22px;
}

.footer-item.active {
  color: #ffb347;
  font-weight: bold;
}

.footer-item:hover {
  color: #ffb347;
}

.footer-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

/* 生态弹出菜单 */
.eco-popover {
  position: absolute;
  bottom: 60px;

  /* 居中弹出 */
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  border-radius: 12px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  /* 深空毛玻璃 */
  background: rgba(34, 31, 31, 0.97);

  /* 微边框 */
  border: 1px solid rgba(247, 148, 34, 0.2);

  /* 阴影 */
  box-shadow: 0 10px 30px rgba(247, 148, 34, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.eco-popover a {
  padding: 10px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
}

.eco-popover a:hover {
  background: rgba(247, 148, 34, 0.08);
}
/* 底部导航 */
.footer {
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.language-switcher {
  margin-top: 3px;
  position: relative;
  width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switcher .fa-globe {
  font-size: 30px; /* 调整图标大小 */
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-right: -5px;
}

.language-switcher .fa-globe:hover {
  color: #dddddd;
}

.language-dropdown {
  position: absolute;
  top: 100%; /* 保证下拉框从图标下方显示 */
  right: 10px;
  background-color: white;
  border: 1px solid #ccc;
  padding: 5px;
  z-index: 9999; /* 确保下拉框显示在前面 */
  min-width: 120px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.language-dropdown div {
  padding: 8px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease; /* 平滑过渡 */
}

.language-dropdown div:hover {
  background-color: #dddddd; /* 悬停时背景变浅蓝色 */
  border-radius: 5px;
}

.language-dropdown div:active {
  background-color: #a2a2a2; /* 点击时背景色为浅蓝色 */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;

  /* 半透明深空 + 能看到背景流动 */
  background: linear-gradient(
    180deg,
    rgba(34, 31, 31, 0.85) 0%,
    rgba(34, 31, 31, 0.65) 100%
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 取消传统边框 */
  border-bottom: none;

  /* 用光线替代“线条” */
  box-shadow: 0 1px 0 rgba(247, 148, 34, 0.01),
    0 8px 24px rgba(247, 148, 34, 0.05);

  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(247, 148, 34, 0.25),
    rgba(247, 148, 34, 0.25),
    transparent
  );

  opacity: 0.8;
}

.head-right .item {
  flex: 1 1; /* 每个子元素平分空间 */
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 30px;
  height: 30px;
  display: block; /* 去掉 img 默认 inline 间隙 */
  object-fit: contain; /* 保持纵横比并完整显示 */
  image-rendering: -webkit-optimize-contrast; /* 让小图更清晰（可选） */
}

.connectButton {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 0px;
}

.wallet-btn {
  display: inline-flex; /* 让按钮内容用 flex 布局 */
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中（可改成 space-between 放图标+文字） */

  padding: 8px 10px; /* 上下 8px，左右 20px 的间距 */
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #f79422, #ffb347);
  color: #ffffff;
  font-size: 14px; /* 文字大小可调 */
  font-weight: 500; /* 稍微加粗更有质感 */
  cursor: pointer;
  transition: all 0.3s;
}
.wallet-btn:hover {
  background: #f79422;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  /* 全局背景 */
  background: linear-gradient(135deg, #05070f, #0b1220, #101a2e);
  color: inherit;
  position: relative;
}

/* 光雾特效 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
      circle at 20% 50%,
      rgba(247, 148, 34, 0.18),
      transparent 45%
    ),
    radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.18), transparent 45%);
  background-repeat: no-repeat;
  background-size: cover;

  /* 保证背景在最底层 */
  z-index: -1;
}

/* 页面容器 */
.main-container {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  padding-bottom: 60px;
}

.full-width-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 全局字体和基础样式 */
:root {
  color: rgba(255, 255, 255, 0.87);
  color-scheme: light dark;
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #181818;
  }
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;

  /* 左右分隔渐变底色 */
  background: linear-gradient(
    90deg,
    #1a1715 0%,
    /* 左深暖黑 */ #1a1715 50%,
    /* 左色段结束 */ #221f1f 50%,
    /* 右主背景 */ #141210 100% /* 右深色收尾 */
  );

  position: relative;
}

/* 左右青橙光雾 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
      circle at 25% 50%,
      rgba(247, 148, 34, 0.18),
      transparent 45%
    ),
    /* 左橙光 */
      radial-gradient(
        circle at 75% 50%,
        rgba(0, 212, 255, 0.18),
        transparent 45%
      ); /* 右蓝光 */

  z-index: -1;
}

/* 页面容器 */
.main-container {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  padding-bottom: 60px;
}

.full-width-img {
  width: 100%;
  height: auto;
  display: block;
}

