/* ============================================
 * guide-common.css — 新手指引步骤公共样式
 * Step 3 ~ Step 9 共用，WelcomeGuide / SignInGuide 不适用
 * ============================================ */

/* ---- 卡片基础 ---- */
.guide-card {
  width: 440px;
  max-width: 90vw;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: cardFloat 0.5s ease-out;
}
.guide-card.wide {
  width: 500px;
}

@keyframes cardFloat {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---- 顶部插画区域 ---- */
.guide-illustration {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.guide-illustration.short {
  height: 130px;
}

.illus-center {
  font-size: 56px;
  z-index: 2;
}
.guide-illustration.short .illus-center {
  font-size: 52px;
}

.illus-bubble {
  position: absolute;
  font-size: 22px;
  animation: bubbleFloat 4s ease-in-out infinite;
}
.bubble-1 {
  top: 18px;
  left: 28px;
  animation-delay: 0s;
}
.bubble-2 {
  bottom: 18px;
  right: 28px;
  animation-delay: 2s;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- 内容区域 ---- */
.guide-body {
  padding: 24px 28px 16px;
}
.guide-body.compact {
  padding: 20px 28px 14px;
}

.guide-badge {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 12px;
}
.guide-badge.compact {
  margin-bottom: 10px;
}

.guide-title {
  font-size: 20px;
  font-weight: 700;
  color: #1d2129;
  margin: 0 0 8px;
}
.guide-title.small {
  font-size: 18px;
  margin: 0 0 6px;
}

.guide-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #86909c;
  margin: 0 0 16px;
}
.guide-desc.compact {
  line-height: 1.6;
  margin: 0 0 14px;
}

/* ---- 底部区域 ---- */
.guide-footer {
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-footer.compact {
  padding: 14px 28px 22px;
}
.guide-footer.spacious {
  padding: 16px 28px 28px;
}

/* ---- 主操作按钮 ---- */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-1px);
}

/* ---- 上一步按钮 ---- */
.btn-prev {
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #86909c;
  background: #f7f9fc;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-prev:hover {
  color: #4e5969;
  background: #eef1f6;
}
.btn-prev.full-width {
  width: 100%;
  margin-top: 10px;
}
