/* ==========================================================================
   🎁 盲盒抽奖模块 专属 CSS (css/gacha.css)
   ========================================================================== */

.mystery-stage-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.mystery-prize-info {
  text-align: center;
  margin-bottom: 96px; /* 显著上移奖品卡片，拉开与盲盒顶部的距离 */
}

.prize-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.prize-remaining-badge {
  font-size: 15px;
  color: var(--text-muted);
}

.prize-remaining-badge strong {
  color: var(--accent-primary);
  font-size: 18px;
  font-weight: 700;
}

/* 3D 盲盒舞台元素 */
.blind-box-element {
  position: relative;
  width: 260px;
  height: 260px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.box-shadow-ground {
  width: 160px;
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  margin-top: 20px;
  filter: blur(4px);
  animation: floatY 6s ease-in-out infinite;
  animation-delay: -3s;
}

.box-click-hint {
  margin-top: 52px; /* 下移撕开提示文字，拉开与盲盒底部的距离 */
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
  padding: 8px 24px;
  border-radius: 20px;
  animation: livePulse 2s infinite;
  white-space: nowrap;
}

/* 抽卡控制台 */
.blind-box-controls {
  margin-top: 16px;
  z-index: 3;
}

.btn-trigger-primary {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 64px;
  border-radius: 32px;
  border: none;
  background: var(--accent-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-trigger-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(239, 68, 68, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
