/* Wadewow — Scene Picker
   首页 Hero 之后的"按场景选购"卡片组。
   目的：让首屏往下第一眼就有结构化入口，而不是只有轮播图。 */

.wd-scenes {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, var(--bg, #fdf8f3) 0%, var(--bg-soft, #faf5ed) 100%);
}

.wd-scenes__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.wd-scenes__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent, #B23E1F);
  background: var(--accent-soft, rgba(232, 112, 76, 0.08));
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.wd-scenes__title {
  font-family: var(--display, Georgia, serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink, #1a1510);
}

.wd-scenes__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--primary, #6BB3D9) 0%, var(--secondary, #8FD9B8) 50%, var(--accent, #E8704C) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wd-scenes__sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft, #4a4540);
  margin: 0;
}

/* --- 卡片网格 --- */
.wd-scenes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.wd-scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated, #fff);
  border: 1px solid var(--line, rgba(26, 21, 16, 0.06));
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(26, 21, 16, 0.06);
  transition: transform 0.3s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
              box-shadow 0.3s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
              border-color 0.3s ease;
}

.wd-scene-card:hover,
.wd-scene-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(26, 21, 16, 0.14);
  border-color: var(--line-strong, rgba(26, 21, 16, 0.14));
  outline: none;
}

.wd-scene-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(232, 112, 76, 0.4), 0 18px 44px rgba(26, 21, 16, 0.14);
}

.wd-scene-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft, #faf5ed);
}

.wd-scene-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.wd-scene-card:hover .wd-scene-card__img img,
.wd-scene-card:focus-visible .wd-scene-card__img img {
  transform: scale(1.045);
}

.wd-scene-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-accent, #B23E1F);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(26, 21, 16, 0.1);
}

.wd-scene-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wd-scene-card__title {
  font-family: var(--display, Georgia, serif);
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink, #1a1510);
}

.wd-scene-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft, #4a4540);
  margin: 0 0 16px;
  flex: 1;
}

.wd-scene-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-accent, #B23E1F);
}

.wd-scene-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.wd-scene-card:hover .wd-scene-card__cta svg,
.wd-scene-card:focus-visible .wd-scene-card__cta svg {
  transform: translateX(4px);
}

/* --- 底部兜底条：没找到场景的人 --- */
.wd-scenes__foot {
  margin-top: 40px;
  text-align: center;
}

.wd-scenes__foot p {
  font-size: 15px;
  color: var(--ink-soft, #4a4540);
  margin: 0 0 16px;
}

@media (max-width: 720px) {
  .wd-scenes { padding: 52px 0 60px; }
  .wd-scenes__head { margin-bottom: 32px; }
  .wd-scenes__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .wd-scene-card__body { padding: 16px 15px 18px; }
  .wd-scene-card__title { font-size: 17px; }
  .wd-scene-card__desc { font-size: 13px; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .wd-scene-card,
  .wd-scene-card__img img,
  .wd-scene-card__cta svg { transition: none; }
  .wd-scene-card:hover,
  .wd-scene-card:focus-visible { transform: none; }
  .wd-scene-card:hover .wd-scene-card__img img { transform: none; }
}
