/*!
 * home-booth.css —— 首页「商家微信群二维码摊位」引导条（插在 hero 正下方）
 * ---------------------------------------------------------------------------
 * 配套 /assets/home-booth.js（独立覆盖层，不碰打包产物）。
 * 视觉迭代（用户逐轮反馈驱动）：
 *   v1 浅色卡 → 与上方白色公告条撞色，太平
 *   v2 深色卡 → 「不够明显」
 *   v3 品牌红渐变 → 「再明显一下，换个其他颜色」
 *   v4 **橙金渐变 + 缓慢流光**（当前）—— 比红更跳、又不跟站内红按钮撞色；
 *      图标/主按钮同步改橙，避免红配橙发脏。
 *
 * ⚠️ 约定
 *   · 用站内 .wrap 做对齐容器（max-width:1280px / padding:0 20px）
 *   · 不写 padding-bottom 之类的"整页净空"（底栏 96px 净空由主包管）
 *   · 窄屏两按钮等分一行，文字不换行（white-space:nowrap），靠 flex:1 均分
 */
/* ⚠️ 2026-09-24：宽度口径统一到站内 .wrap（max-width:1280 + padding:0 20px）。
   旧值是「无 max-width + 无内边距」= 全屏通铺 —— 在宽屏上橙金条会一路铺到屏幕边缘，
   而紧跟其下的公告条是缩进 20px 的卡片，左右边界对不上，看着就散。 */
.hb-booth-band {
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.hb-booth-band .hb-booth-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  /* ⚠️ 2026-09-24 第二轮：品牌红被反馈「还不够明显」→ 换**橙金渐变**（比红更跳、
     又不跟站内红按钮撞色），并加一道缓慢流光扫过（见 .hb-booth-card::after）。
     底色刻意用偏深的橙（orange-600/700 段）——白字在纯亮橙上对比太弱。 */
  background-image: radial-gradient(120% 165% at 92% -25%, rgba(255, 240, 200, 0.55) 0%, rgba(255, 240, 200, 0) 58%),
    linear-gradient(118deg, #f97316 0%, #ea580c 46%, #c2410c 100%);
  box-shadow: 0 26px 52px -26px rgba(214, 96, 12, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 流光：一条柔和的白光带缓慢扫过整条（纯装饰，不挡点击） */
.hb-booth-band .hb-booth-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-120%);
  animation: hbBoothShine 5.6s ease-in-out infinite;
}

@keyframes hbBoothShine {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}

/* 图标块：橙底上改用白瓷块 + 橙图标，对比最干净 */
.hb-booth-ico {
  width: 46px;
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #ea580c;
  background: #fff;
  box-shadow: 0 12px 24px -14px rgba(120, 50, 6, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hb-booth-ico svg {
  width: 24px;
  height: 24px;
}

.hb-booth-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.hb-booth-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
}

.hb-booth-chip {
  flex: none;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.hb-booth-sub {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hb-booth-acts {
  display: flex;
  flex: none;
  gap: 10px;
}

.hb-booth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    color 0.16s ease, border-color 0.16s ease;
}

.hb-booth-btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* 主按钮：橙底上反白（白底 + 橙字），对比最高、最能抓住视线 */
.hb-booth-btn.primary {
  color: #ea580c;
  background: #fff;
  box-shadow: 0 14px 26px -16px rgba(94, 40, 5, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hb-booth-btn.primary:hover {
  transform: translateY(-1px);
  color: #c2410c;
  box-shadow: 0 18px 32px -16px rgba(94, 40, 5, 1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hb-booth-btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.hb-booth-btn.ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

/* 窄屏：文字块独占一行，两个按钮等分一行 */
@media (max-width: 820px) {
  .hb-booth-band {
    margin-top: 14px;
  }

  .hb-booth-band .hb-booth-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .hb-booth-acts {
    flex: 1 1 100%;
  }

  .hb-booth-btn {
    flex: 1 1 0;
    padding: 0 10px;
  }
}

@media (max-width: 360px) {
  .hb-booth-ico {
    width: 40px;
    height: 40px;
  }

  .hb-booth-btn {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-booth-btn {
    transition: none;
  }

  .hb-booth-band .hb-booth-card::after {
    display: none;
  }
}
