body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
}
.logo img {
  margin-top: 16px;
  width: 288px;
  height: auto;
}
.tagline {
  font-size: 18px;
  font-weight: bold;
  margin: 24px 0;
  min-height: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.swiper-container {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
}

.swiper-slide {
  width: 80vw !important;   /* 或用固定值如 260px */
  max-width: 280px;
  aspect-ratio: 13 / 18;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.button-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px; /* 上下排间距 */
  margin: 24px 0;
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px; /* 按钮之间的间距 */
  margin-bottom: 0px; /* 两排按钮间距 */
}
.red-button, .green-button {
  display: inline-block;
  padding: 10px 0;
  width: 120px;
  text-align: center;
  font-size: 14px;
  border-radius: 24px;
  transition: background-color 0.3s, transform 0.2s;
}
/*第一排 小红书主页按钮 */
.red-button {
  background-color: #FF2D55;   /* 小红书经典红色 */
  color: white;                /* 字体改为白色 */
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4);
}

.red-button:hover,
.red-button.auto-hover {
  background-color: #ffffff;   /* 白底 */
  color: #FF2D55;              /* 红字 */
  font-weight: bold;           /* 加粗 */
  font-size: 14.7px;           /* 比原来 14px 放大约 5% */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 45, 85, 0.25);  /* 更柔的红色阴影 */
}

/* 第一排中间 - 微信表情包按钮（绿棕斑马） */
.zebra-glass {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 94, 96, 0.28),
      rgba(0, 94, 96, 0.28) 10px,
      rgba(158, 86, 74, 0.28) 10px,
      rgba(158, 86, 74, 0.28) 20px
    ),
    rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 2px solid #07C160;
  color: #07C160;

  width: 120px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  border-radius: 24px;
  text-decoration: none;

  box-shadow: 0 0 6px rgba(7, 193, 96, 0.3);
  box-sizing: border-box;
  transition: all 0.3s ease;
}
.zebra-glass:hover,
.zebra-glass.auto-hover {
  background:
    repeating-linear-gradient(
      45deg,
      #005e60 0px,
      #005e60 10px,
      #9e564a 10px,
      #9e564a 20px
    ),
    rgba(255, 255, 255, 0.05);

  border: 1px solid #07C160;
  color: #07C160;

  box-shadow:
    0 0 8px rgba(7, 193, 96, 0.4),
    inset 0 0 2px rgba(7, 193, 96, 0.2);
  font-size: 14.7px;
  font-weight: bold;
  transform: translateY(-2px);
  text-decoration: none;
}
/* 第一排右边 - 微信公众号按钮（玻璃蓝描边） */
.glass {
  background-color: transparent; /* 保持背景透明 */
  border: 2px solid #07C160; /* 修改边框颜色 */
  color: #07C160; /* 修改文字颜色 */
  font-size: 14px; /* 保持字体大小 */
  font-weight: normal; /* 保持字体粗细 */
  text-align: center; /* 保持对齐方式 */
  text-decoration: none; /* 保持文字样式 */
  padding: 10px 0;
  width: 120px;
  border-radius: 24px;
  box-sizing: border-box;
  transition: all 0.3s ease; /* 保持过渡效果 */
}

.glass:hover,
.glass.auto-hover {
  background-color: #f7caca; /* Hover时背景色 */
  color: #07C160; /* Hover时文字色 */
  font-weight: bold;
  font-size: 14.7px;
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 202, 202, 0.35);
}

/* 第二排左 - 联系我们按钮（藤花紫条纹） */
.purple-striped-button {
  background-color: #B497BD; /* 藤花紫 */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 4px,
    transparent 4px,
    transparent 8px
  );
  color: white;
  text-decoration: none;
  padding: 10px 0;
  width: 120px;
  font-size: 14px;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(180, 151, 189, 0.4);
  transition: background-color 0.3s, transform 0.2s;
}

.purple-striped-button:hover,
.purple-striped-button.auto-hover {
  background-color: #ffffff;     /* 白色背景 */
  color: #B497BD;                /* 藤花紫文字 */
  font-weight: bold;
  font-size: 14.7px;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 151, 189, 0.35); /* 柔紫阴影 */
}
/* 第二排中间 - 微信表情包按钮（蓝青斑马） */
.zebra-blue-glass {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 103, 184, 0.28),
      rgba(0, 103, 184, 0.28) 10px,
      rgba(55, 184, 250, 0.28) 10px,
      rgba(55, 184, 250, 0.28) 20px
    ),
    rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 2px solid #07C160;
  color: #07C160;

  width: 120px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  border-radius: 24px;
  text-decoration: none;

  box-shadow: 0 0 6px rgba(7, 193, 96, 0.3);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.zebra-blue-glass:hover,
.zebra-blue-glass.auto-hover {
  background:
    repeating-linear-gradient(
      45deg,
      #0067b8 0px,
      #0067b8 10px,
      #37b8fa 10px,
      #37b8fa 20px
    ),
    rgba(255, 255, 255, 0.05);

  border: 1px solid #07C160;
  color: #07C160;

  box-shadow:
    0 0 8px rgba(7, 193, 96, 0.4),
    inset 0 0 2px rgba(7, 193, 96, 0.2);

  font-size: 14.7px;
  font-weight: bold;
  transform: translateY(-2px);
  text-decoration: none;
}
/* 第二排中间 - 微博主页按钮 */
.weibo-button {
  background-color: #f8d660;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.12) 0,
    rgba(255, 255, 255, 0.12) 4px,
    transparent 4px,
    transparent 8px
  );
  color: white;
  text-decoration: none;
  padding: 10px 0;
  width: 120px;
  font-size: 14px;           /* ✅ 保证 auto-hover 后能复原 */
  font-weight: normal;       /* ✅ 保证 auto-hover 后能复原 */
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(248, 214, 96, 0.4);
  transition: background-color 0.3s, transform 0.2s, font-size 0.2s, font-weight 0.2s;
}

.weibo-button:hover,
.weibo-button.auto-hover {
  background-color: #ffffff;
  color: #f8d660;
  font-weight: bold;
  font-size: 14.7px;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 214, 96, 0.35);
}

/* -第三个微信表情包按钮（蓝粉斑马） */
.zebra-bluepink-glass {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(65, 94, 215, 0.28),    /* #415ed7 */
      rgba(65, 94, 215, 0.28) 10px,
      rgba(252, 172, 175, 0.28),  /* #fcacaf */
      rgba(252, 172, 175, 0.28) 20px
    ),
    rgba(255, 255, 255, 0.15);    /* ✅ 灰度背景让按钮更柔和 */

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 2px solid #07C160;
  color: #07C160;

  width: 120px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  border-radius: 24px;
  text-decoration: none;

  box-shadow: 0 0 6px rgba(7, 193, 96, 0.3);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.zebra-bluepink-glass:hover,
.zebra-bluepink-glass.auto-hover {
  background:
    repeating-linear-gradient(
      45deg,
      #415ed7 0px,
      #415ed7 10px,
      #fcacaf 10px,
      #fcacaf 20px
    ),
    rgba(255, 255, 255, 0.05);

  border: 1px solid #07C160;
  color: #07C160;

  box-shadow:
    0 0 8px rgba(7, 193, 96, 0.4),
    inset 0 0 2px rgba(7, 193, 96, 0.2);

  font-size: 14.7px;
  font-weight: bold;
  transform: translateY(-2px);
}
/* 小丑猫的动物城按钮（蓝+粉斑马纹） */
.joker-animalcity {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(27, 69, 114, 0.28),   /* 深蓝 #1b4572 粗纹 */
      rgba(27, 69, 114, 0.28) 12px,
      rgba(217, 113, 164, 0.28), /* 粉紫 #d971a4 细纹 */
      rgba(217, 113, 164, 0.28) 20px
    ),
    rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 2px solid #07C160;
  color: #07C160;

  width: 120px;
  height: 40px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  border-radius: 24px;
  text-decoration: none;

  box-shadow: 0 0 6px rgba(7, 193, 96, 0.3);
  box-sizing: border-box;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.joker-animalcity:hover,
.joker-animalcity.auto-hover {
  background:
    repeating-linear-gradient(
      45deg,
      #1b4572 0px,     /* 深蓝粗条 */
      #1b4572 12px,
      #d971a4 12px,    /* 粉紫细条 */
      #d971a4 20px
    ),
    rgba(255, 255, 255, 0.05);

  border: 1px solid #07C160;
  color: #07C160;

  box-shadow:
    0 0 8px rgba(7, 193, 96, 0.4),
    inset 0 0 2px rgba(7, 193, 96, 0.2);

  font-size: 14.7px;
  font-weight: bold;
  transform: translateY(-2px);
}

/* 与你共鸣按钮（蓝+青绿斜纹） */
.resonance-button {
  background: linear-gradient(45deg, #ff587d 0 50%, #66ccff 50% 100%); /* 修改背景条纹颜色 */
  color: white;
  font-size: 14px;
  font-weight: normal;
  width: 120px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* hover 或 auto-hover 时：字体变大 + 加粗 + 背景变白 */
.resonance-button:hover,
.resonance-button.auto-hover {
  background: white !important;
  color: #ffcaaf; /* hover时修改字体颜色 */
  font-size: 14.56px; /* 放大 4% */
  font-weight: bold;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

footer {
  font-size: 12px;
  color: #666;
  margin: 12px 0;
  line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #f0f0f0;
  }
  .swiper-slide {
    background: #1e1e1e;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  }
  .red-button {
    background-color: #ff4c6a;
  }
  .red-button:hover {
    background-color: #e03754;
  }
  footer {
    color: #aaa;
  }
}
.qr-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.qr-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.qr-box img {
  width: 200px;
  height: 200px;
}
.qr-box button {
  margin-top: 12px;
  padding: 6px 16px;
  background-color: #FF2D55;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.qr-box button:hover {
  background-color: #e02649;
}
#tagline::after {
  content: "|"; /* 显示光标符号 */
  animation: blink 1s step-start infinite;
  margin-left: 4px; /* 留出一点空隙 */
  font-weight: bold;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* ================= 页脚按钮色块布局（模块化） ================= */

.footer-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px auto;
}

/* 单个卡片容器 */
.footer-shortcut-card {
  background: #80c9fa; /* 雾蓝渐变 */
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ← 新增 */
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: fit-content;
  max-width: 160px;
  transition: all 0.3s ease;
}

.footer-shortcut-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

/* 卡片内统一按钮样式（继承你已有按钮类） */
.footer-button {
  width: 120px;
  height: 40px;
  display: flex;               /* 水平垂直居中 */
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
  padding: 0;                  /* 避免干扰 */
  line-height: normal;         /* 清除 line-height */
  font-size: 14px;             /* 如有需要 */
}

/* 预留用：暂时隐藏的色块容器（结构保留，代码可随时开启） */
.placeholder-card { display: none; }

.resonance-button:active { color: #ffcaaf; }
