/* 游戏福利活动弹窗 */
.activity-popup-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}
.activity-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  max-height: 90vh;
  overflow-y: auto;
}
.activity-popup-inner {
  position: relative;
  width: clamp(500px, 35vw, 900px);
  background: url('../img/activity/wechat/福利背景.png') center top / cover no-repeat;
  border-radius: 0;
  padding: clamp(20px, 1.8vw, 40px) clamp(20px, 1.8vw, 40px) clamp(14px, 1.2vw, 28px);
  box-shadow: 0 0 30px rgba(255, 200, 50, 0.5), 0 0 80px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
.activity-popup-close {
  position: absolute;
  top: clamp(10px, 1vw, 22px);
  right: clamp(10px, 1vw, 22px);
  width: clamp(50px, 3.5vw, 85px);
  cursor: pointer;
  z-index: 10;
}
.activity-popup-close:hover {
  opacity: 0.85;
}
.activity-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.activity-section-top {
  /* margin-bottom: 30px; */
}
.activity-title-img {
  width: clamp(200px, 14vw, 360px);
  margin-bottom: clamp(8px, 0.7vw, 16px);
}
.activity-cards {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1vw, 22px);
  margin-bottom: clamp(8px, 0.7vw, 16px);
}
.activity-card {
  width: clamp(75px, 5.2vw, 135px);
}
.activity-card-single {
  width: clamp(95px, 6.8vw, 170px);
  margin-bottom: clamp(8px, 0.7vw, 16px);
  /* border-radius: 8px; */
  margin-left: 6px;
}
.activity-btn {
  width: clamp(100px, 7vw, 180px);
  cursor: pointer;
  transition: transform 0.2s;
}
.activity-btn:hover {
  transform: scale(1.05);
}
.activity-section-bottom {
  /* border-top: 1px solid rgba(255, 255, 255, 0.15); */
  padding-top: clamp(16px, 1.5vw, 34px);
}
.activity-popup::-webkit-scrollbar {
  width: 0;
}

/* 二维码弹窗 */
.qrcode-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10010;
}
.qrcode-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10011;
  background: #ffffff;
  padding: clamp(6px, 0.5vw, 12px);
  box-shadow: 0 0 30px rgba(255, 200, 50, 0.4), 0 0 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.qrcode-image {
  width: clamp(180px, 12vw, 360px);
  height: clamp(180px, 12vw, 360px);
  display: block;
}
.qrcode-tip {
  /* margin-top: clamp(5px, 0.4vw, 9px); */
  font-size: clamp(12px, 1vw, 20px);
  color: #333;
  font-weight: bold;
}
.qrcode-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #9FF82A;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.qrcode-close:hover {
  background: #7cc61e;
}
