.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(2, 6, 23, 0.92); /* 1uu 深色 */
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);

  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #e5e7eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.head-right .item {
  flex: 1 1; /* 每个子元素平分空间 */
  text-align: right;
  height: 100%;
  display: flex;
  align-items: right;
  justify-content: right;
}

.logo {
  width: 40px;
  height: 40px;
  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;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.6);

  color: #22c55e;
  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);
}

: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 {
    --line-color: rgba(46, 191, 145, 0.25); /* 线条颜色与透明度 */
    --bg-color: #030a0f; /* 底色 */
  }

  /* 整体背景 */
  body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);

    /* 密集斜交叉线 */
    background-image:
      linear-gradient(45deg, var(--line-color) 2px, transparent 1px),
      linear-gradient(-45deg, var(--line-color) 2px, transparent 1px);
    background-size: 20px 20px;

    /* 让线条动起来 */
    animation: move-lines 40s linear infinite;
  }

  /* 动画效果 */
  @keyframes move-lines {
    0% {
      background-position:
        0 0,
        0 0;
    }
    50% {
      background-position:
        50px 50px,
        -50px -50px;
    }
    100% {
      background-position:
        0 0,
        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: 50px; */
  display: flex;
  flex-direction: column;
  flex: 1 1;
  padding-bottom: 60px;
}
.full-width-img {
  width: 100%;
  height: auto; /* 高度自动，避免变形 */
  display: block;
}

