/* 通用样式 */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: #f7f9fb;
}

.notice {
  text-align: center;
  padding: 12px;
  background-color: #e0f7ff;
  border-bottom: 1px solid #b6e2f7;
  color: #007aff;
  font-weight: bold;
}

/* 顶部按钮区域 */
.nav {
  text-align: center;
  margin-top: 20px;
}
.nav button {
  background: linear-gradient(135deg, #007aff, #00c6ff);
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
  transition: all 0.3s ease;
  width: 160px;
}
.nav button:hover {
  background: linear-gradient(135deg, #005fbb, #00aaff);
  box-shadow: 0 6px 14px rgba(0, 122, 255, 0.5);
}

/* 中间二维码区域 */
.container {
  text-align: center;
  margin-top: 20px;
}
.qrcode-box {
  margin: 20px auto;
}
.qrcode-box img {
  width: 350px;
  height: 450px;
  object-fit: contain;
  border: 2px solid #4fc3f7;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
}
.wechat-info {
  margin-top: 10px;
  font-size: 16px;
}
.wechat-info button {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 14px;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.wechat-info button:hover {
  background-color: #005bbb;
}

/* 底部友情链接区域 */
.footer-links {
  text-align: center;
  margin: 30px auto;
  font-size: 14px;
  line-height: 2;
}
.footer-links .link-container a {
  text-decoration: none;
  color: #007aff;
  margin: 0 8px;
}
.footer-links .link-container a:hover {
  text-decoration: underline;
}

.copy-site-link-container button {
  padding: 4px 12px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #2e8b57;
  background-color: white;
  color: #2e8b57;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  vertical-align: middle;
}

.copy-site-link-container button:hover {
  background-color: #2e8b57;
  color: white;
}

.copy-tip {
  display: none;
  margin-left: 10px;
  color: #2e8b57;
  font-weight: bold;
  font-size: 14px;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}

.copy-tip.show {
  display: inline-block;
  opacity: 1;
}

/* 弹窗遮罩层 */
.popup-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 1000;
}

/* 弹窗主体 */
.popup-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 24px;
  width: 300px;
  display: none;
  z-index: 1001;
  text-align: center;
}

/* 弹窗文字 */
.popup-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

/* 弹窗按钮 */
.popup-button {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  margin-bottom: 10px;
}

.popup-button:hover {
  background-color: #005bbb;
}

/* 关闭按钮 */
.popup-close {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}
