/* ============ 海报页样式 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: pan-x;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: url("/images/common/background.jpg") center center / cover no-repeat;
}

.poster-wrap {
  width: 100%;
  max-width: 550px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0.5rem;
  overflow: hidden;
}

.poster-content {
  width: min(92vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.32rem 0.4rem;
  margin-top: 0;
}

/* ===== 主标题 ===== */
.poster-main-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.12rem;
  text-align: center;
  line-height: 1.3;
}

/* ===== 副标题 ===== */
.poster-sub-title {
  font-size: 0.3rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06rem;
  text-align: center;
  line-height: 1.5;
}

/* ===== 二维码区域 ===== */
.poster-qr-frame {
  width: 4rem;
  height: 4rem;
  border-radius: 0.16rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-top: 0.3rem;
}

.poster-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  padding: 0.16rem;
}

.poster-qr-img.loaded {
  display: block;
}

.poster-qr-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.25);
  font-size: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.04rem;
}

/* ===== 进入按钮 ===== */
.poster-action-buttons {
  width: min(86vw, 340px);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  margin-top: 0.36rem;
  visibility: visible;
  opacity: 1;
}

.poster-enter-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 100%;
  min-height: 0.86rem;
  line-height: 1.2;
  padding: 0.18rem 0.28rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.22rem;
  font-size: 0.34rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  box-shadow: 0 0.12rem 0.32rem rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  margin-top: 0;
  margin-bottom: 0;
}

.poster-btn-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.22rem;
  font-weight: 800;
  letter-spacing: 0;
}

.poster-enter-btn:first-child {
  min-height: 0.94rem;
  font-size: 0.36rem;
  background: linear-gradient(135deg, #f0525f 0%, #c81f32 100%);
  box-shadow: 0 0.16rem 0.38rem rgba(200, 31, 50, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.poster-official-btn {
  background: linear-gradient(135deg, #3d8bfd 0%, #175fd6 100%);
  box-shadow: 0 0.12rem 0.3rem rgba(23, 95, 214, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.poster-app-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 0.12rem 0.3rem rgba(109, 40, 217, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.poster-enter-btn:hover { filter: brightness(1.06); }

.poster-enter-btn:active {
  opacity: 0.92;
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 0.06rem 0.18rem rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
