.activity-11-box{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
}
.activity-11-content{
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 848px;
  background-image:url('/img/activity11/activity-11-2026.png');
  background-size: 100%;
  background-position: center 16%;
  /*兼容小图片情况  */
  /* background-size: 50% 50%; */
  background-repeat: no-repeat;
}
.activity-11-close{
  position: absolute;
  top: 18.5%;
  right: 4.5%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  background: url('/img/activity11/activity-11-2026-close.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.activity-11-btn{
  position: absolute;
  bottom: 16%;
  left: 51.5%;
  width: 0;
  height: 119px;
  transform: translate(-50%,-50%);
  background-image: url('/img/activity11-23/按钮.png');
  background-repeat: no-repeat;
  background-size: 88%;
  font-size: 0;
  color: #cb5200;
  line-height: 78px;
  text-align: center;
  cursor: pointer;
}
.activity-11-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  transition: .3s;
}

.activity-11-btn-block {
  position: absolute;
  bottom: 11%;
  left: 49%;
  /* 按900px主图容器中的265px换算，让按钮随主图宽度同步展开和收起 */
  width: 34%;
  height: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
  /* 保留居中位移，悬停时放大5% */
  transition: transform 0.3s ease;
  /* 未悬停时轻微呼吸：每2.4秒循环一次，最大放大5% */
  animation: activity-11-btn-breathe 2.4s ease-in-out infinite;
}

/* 独立按钮图按比例显示，避免拉伸文字及透明阴影 */
.activity-11-btn-block img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.activity-11-btn-block:hover {
  /* 悬停时停止呼吸，避免覆盖原有的放大和扫光效果 */
  animation: none;
  transform: translate(-50%, -50%) scale(1.05);
}

@keyframes activity-11-btn-breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* 扫光范围贴合图片中的按钮主体，避开四周透明阴影 */
.activity-11-btn-block::after {
  content: '';
  position: absolute;
  top: 11%;
  left: 6%;
  width: 88%;
  height: 66%;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 60%,
    transparent 100%
  );
  background-position: 10% 0;
  background-size: 200% 200%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0s;
}

/* 与首页优惠按钮保持相同的扫光方向、时长和缓动 */
.activity-11-btn-block:hover::after {
  opacity: 1;
  transition: none;
  animation: activity-11-btn-shine-sweep 1s ease-out forwards;
}

@keyframes activity-11-btn-shine-sweep {
  0% {
    background-position: 100% 100%;
  }
  100% {
    background-position: -200% -100%;
  }
}

.activity-11-small-box{
  display: none;
  position: fixed;
  bottom:52%;
  right: 0px;
  transform: translateY(-185px);
  width: 90px;
  height: 90px;
  /* background-image: url('/img/activity11/activity-11-small-2.png'); */
  /* background-size: 145%; */
  background-position: center;
  z-index: 110;
  background-repeat: no-repeat;
  cursor: pointer;
}

.activity-11-small-box-img{
  width: 100%;
  height: 100%;
  background-image: url('/img/activity11/activity-11-small-2.png');
  background-size: 100%;
  background-position: center;
  cursor: pointer;
  background-repeat: no-repeat;
}


@media screen and (max-width: 768px) {
  .activity-11-content{
    width: 376px !important;
    height: 424px;
    background-image:url('/img/activity11/activity-11-2026.png');
  }
  .activity-11-close{
    top: 7%;
    right: 0%;
    width: 26px;
    height: 26px;
  }
  .activity-11-btn{
    bottom: 20%;
    width: 123px;
    height: 50px;
    line-height: 39px;
    font-size: 0px;
    background-image: url('/img/activity11-23/按钮.png');
  }
  .activity-11-btn-block {
    position: absolute;
    bottom: 22%;
    left: 49.5%;
    width: 134px;
    height: auto;
    transform: translate(-50%, -50%);
    cursor: pointer;
  }
  /* 与首页一致：移动端不显示扫光，也不触发悬停放大 */
  .activity-11-btn-block::after {
    display: none;
  }
  .activity-11-btn-block:hover {
    transform: translate(-50%, -50%);
  }
  .activity-11-small-box{
    width: 75px;
    height: 75px;
    right: 4px;
    bottom: 76px;
    transform: translateY(0) !important;
  }
}

.tada-animate {
  animation-duration: .5s;
  animation-fill-mode: both;
  animation-name: tada;
}
@keyframes tada {
  from {
      transform: scale3d(1, 1, 1);
  }

  10%,
  20% {
      transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }

  30%,
  50%,
  70%,
  90% {
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%,
  60%,
  80% {
      transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  to {
      transform: scale3d(1, 1, 1);
  }
}
