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

html, body {
  width: 100%;
  min-height: 100vh;
  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;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.poster-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.8rem 0.4rem;
  margin-top: 0.3rem;
}

/* ===== 主标题 ===== */
.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-qr-tips {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin-top: 0.25rem;
}

.poster-qr-tip {
  font-size: 0.34rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04rem;
  cursor: pointer;
}

.poster-qr-tips:active .poster-qr-tip {
  opacity: 0.7;
}

/* ===== 进入按钮 ===== */
.poster-enter-btn {
  width: 72%;
  align-self: center;
  line-height: 1rem;
  border-radius: 0.5rem;
  font-size: 0.34rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #ffffff;
  background: #2563eb;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  margin-bottom: 1.5rem;
}

.poster-enter-btn:active {
  opacity: 0.85;
  transform: scale(0.98);
}
