/* 游戏福利活动弹窗 */
.activity-popup-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
}
.activity-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100001;
  /* 移动端专属：竖屏用 80vw，横屏/矮屏下用 62vh 限制宽度以防高度溢出（高=宽*1.458）。 */
  width: min(80vw, 62vh);
}
.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: 100;
  pointer-events: auto;
}
.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-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4%;
  width: 100%;
}
.activity-btn {
  width: 40%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
  pointer-events: auto;
}
.activity-btn-right {
  width: 35%;
  position: relative;
  z-index: 100;
  -webkit-touch-callout: default;
  touch-callout: default;
}
.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: 100010;
}
.qrcode-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100011;
  background: #ffffff;
  padding: 1.5%;
  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: 55%;
  min-width: 180px;
  max-width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: auto;
  -webkit-touch-callout: default;
  touch-callout: default;
}
.qrcode-tip {
  font-size: 3.4vw;
  color: #333;
  font-weight: bold;
  margin-top: 6px;
}
.qrcode-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 28px;
  height: 28px;
  background: #9FF82A;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.qrcode-close:hover {
  background: #7cc61e;
}
