/* 游戏福利活动弹窗 */
.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;
  /* 始终按视口等比缩放：30vw 控制宽度占比；60vh 保证在矮屏下高度不溢出。
     弹窗 aspect-ratio=1080/1575，故 width*1.458 即高度。当 height≈90vh 时 width≈62vh，取 60vh 留余量。 */
  width: min(30vw, 60vh);
}
.activity-popup-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 1575;
  background: url('../img/activity/wechat_v2/组 9715（合并）.png') center top / cover no-repeat;
  padding: 4% 7% 4%;
  box-sizing: border-box;
}
.activity-popup-close {
  position: absolute;
  top: 2%;
  right: 2.5%;
  width: 11%;
  cursor: pointer;
  z-index: 10;
}
.activity-popup-close:hover {
  opacity: 0.85;
}
.activity-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.activity-title-img {
  z-index: 1;
  width: 93%;
}
.activity-card-main {
  width: 118%;
  margin-top: -17%;
  margin-bottom: 1%;
}
.activity-cards-row {
  display: flex;
  justify-content: center;
  gap:12%;
  margin-bottom: 4%;
  width: 100%;
}
.activity-card-half {
  width: 33%;
}
.activity-btn {
  width: 46%;
  cursor: pointer;
  transition: transform 0.2s;
}
.activity-btn:hover {
  transform: scale(1.05);
}
.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;
  width: 14%;
  padding: 0.5%;
  box-shadow: 0 0 2vw rgba(255, 200, 50, 0.4), 0 0 4vw rgba(0, 0, 0, 0.5);
  text-align: center;
}
.qrcode-image {
  width: 100%;
  height: auto;
  display: block;
}
.qrcode-tip {
  font-size: 1vw;
  color: #333;
  font-weight: bold;
}
.qrcode-close {
  position: absolute;
  top: -0.7vw;
  right: -0.7vw;
  width: 1.4vw;
  height: 1.4vw;
  background: #9FF82A;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2vw;
  line-height: 1.4vw;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.qrcode-close:hover {
  background: #7cc61e;
}
