.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;

  display: flex;
  align-items: center;

  background: rgba(10, 12, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);

  z-index: 1000;
}

/* 单个入口 */
.footer-item {
  flex: 1 1;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;

  color: #8b90a0;
  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

/* hover（桌面） */
.footer-item:hover {
  color: #e5e7eb;
}

/* 激活态（只变，不装） */
.footer-item.active {
  color: #f5f7fa;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.wallet-reward.skeleton .sk-total,
.wallet-reward.skeleton .sk-row {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
}

.wallet-reward.skeleton .sk-total {
  height: 22px;
  width: 60%;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.reward-ticker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  animation: fadeIn 0.4s ease;
}

.reward-ticker .icon {
  font-size: 16px;
}

.reward-ticker b {
  color: #111;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reward-ticker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  animation: fadeIn 0.4s ease;
}

.reward-ticker .icon {
  font-size: 16px;
}

.reward-ticker b {
  color: #111;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wallet-wrapper {
  position: relative;
}

.wallet-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  width: 280px;
  background: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px;
  z-index: 1000;
}

.wallet-header {
  margin-bottom: 10px;
}

.wallet-header .address {
  font-size: 13px;
  font-weight: 600;
}

.wallet-header .chain {
  font-size: 11px;
  color: #888;
}

.wallet-reward {
  font-size: 12px;
}

.wallet-total-label {
  color: #888;
}

.wallet-total-value {
  font-size: 18px;
  font-weight: bold;
}

.wallet-breakdown .row,
.wallet-recent .recent-row {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

.wallet-divider {
  height: 1px;
  background: #333;
  margin: 8px 0;
}

.wallet-actions {
  margin-top: 10px;
  border-top: 1px solid #333;
}

.wallet-actions button {
  width: 100%;
  padding: 6px;
  background: none;
  border: none;
  color: #eee;
  cursor: pointer;
}

.wallet-actions .danger {
  color: #ff6b6b;
}

.wallet-empty,
.wallet-loading {
  font-size: 12px;
  color: #888;
  padding: 6px 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;

  /* 半透明深空 + 能看到背景流动 */
  background: linear-gradient(
    180deg,
    rgba(5, 7, 12, 0.85) 0%,
    rgba(5, 7, 12, 0.65) 100%
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 取消传统边框 */
  border-bottom: none;

  /* 用光线替代“线条” */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.45);

  color: #e5e7eb;
  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(131, 96, 195, 0.6),
    rgba(46, 191, 145, 0.6),
    transparent
  );

  opacity: 0.8;
}

.head-right .item {
  flex: 1 1; /* 每个子元素平分空间 */
  text-align: right;
  height: 100%;
  display: flex;
  align-items: right;
  justify-content: right;
}

.logo {
  width: 60px;
  height: 60px;
  display: block; /* 去掉 img 默认 inline 间隙 */
  object-fit: contain; /* 保持纵横比并完整显示 */
  image-rendering: -webkit-optimize-contrast; /* 让小图更清晰（可选） */
  /* 新增 */
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
}

.logo-clickable {
  cursor: pointer;
}

.logo-clickable:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 8px rgba(46, 191, 145, 0.35));
  opacity: 0.95;
}

.logo-clickable:active {
  transform: scale(0.98);
}

.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;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid #2ebf91;

  color: #2ebf91;
  font-size: 14px; /* 文字大小可调 */
  font-weight: 500; /* 稍微加粗更有质感 */
  cursor: pointer;
  transition: all 0.3s;
}
.wallet-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-link {
  display: flex;
  align-items: center;
}

.tg-icon {
  width: 26px;
  height: 26px;
  cursor: pointer;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.tg-icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

:root {
  background-color: #f9fbfa;
  color: rgba(251, 247, 247, 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 {
    --bg-main: #0a0a0a;
    --purple: #8360c3;
    --green: #2ebf91;
  }

  body {
    margin: 0;
    min-height: 100vh;
    background-color: #050507;
    overflow-x: hidden;

    background-image:
      /* 紫色能量光 */
      radial-gradient(
        900px 700px at 15% 25%,
        rgba(131, 96, 195, 0.25),
        transparent 60%
      ),
      /* 青绿色能量光 */
        radial-gradient(
          850px 600px at 85% 75%,
          rgba(46, 191, 145, 0.22),
          transparent 65%
        ),
      /* 主科技斜线（清晰） */
        repeating-linear-gradient(
          135deg,
          rgba(255, 255, 255, 0.04) 0px,
          rgba(255, 255, 255, 0.04) 1px,
          transparent 1px,
          transparent 15px
        ),
      /* 副科技斜线（增强层次） */
        repeating-linear-gradient(
          45deg,
          rgba(255, 255, 255, 0.045) 0px,
          rgba(255, 255, 255, 0.045) 1px,
          transparent 1px,
          transparent 15px
        ),
      /* 深空底色 */ linear-gradient(180deg, #070709 0%, #020204 100%);

    background-blend-mode: normal;
    animation: techMove 40s linear infinite;
  }

  @keyframes techMove {
    from {
      background-position:
        0% 0%,
        100% 100%,
        0 0,
        0 0,
        0 0;
    }
    to {
      background-position:
        100% 100%,
        0% 0%,
        300px 300px,
        -200px 200px,
        0 0;
    }
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* body {
  margin: 0;
  padding: 0;
  height: 100%;
} */

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;
}
/* 
.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f4f9;
  color: #333;
  max-width: 1200px; 
  margin: 0 auto; 
} */

/* 页面容器 */
.main-container {
  /* padding-top: 60px; */
  display: flex;
  flex-direction: column;
  flex: 1 1;
  padding-bottom: 60px;
}
.full-width-img {
  width: 100%;
  height: auto; /* 高度自动，避免变形 */
  display: block;
}

