/* ============================================================
   首页 v4 · 「贵」的最后一层
   ============================================================ */

body.h4 {
  --num: "Bahnschrift", "DIN Alternate", "Oswald", "Impact", "Arial Narrow", var(--mono);
  --gold-line: rgba(216, 178, 106, 0.18);
}

/* ---------- 1. 金属标题 ---------- */
.w-title-line {
  background-image:
    linear-gradient(178deg,
      #ffffff 0%,
      #f4f6f8 16%,
      #cfd7df 34%,
      #ffffff 45%,
      #e8edf2 51%,
      #b6c0ca 68%,
      #eef3f7 88%,
      #ffffff 100%);
  background-size: 240% 100%;
  background-position: 12% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wMetal 14s ease-in-out infinite;
}

.w-title-gold {
  background-image:
    linear-gradient(178deg,
      #fdf6e2 0%,
      #f3dcaa 14%,
      #d9b46c 30%,
      #fff7e0 44%,
      #eacd92 50%,
      #b9904a 68%,
      #e7c98c 86%,
      #fbf2da 100%);
  background-size: 240% 100%;
  background-position: 24% 50%;
  animation: wMetal 18s ease-in-out infinite reverse;
  filter: drop-shadow(0 14px 50px rgba(216, 178, 106, 0.22));
}

@keyframes wMetal {
  0%, 100% { background-position: 10% 50%; }
  50%      { background-position: 90% 50%; }
}

/* ---------- 2. 金色纪律：只留冠军 / 主行动 / 细线 ---------- */
.w-kicker { color: rgba(226, 232, 238, 0.46) !important; }

.w-trow-pts { color: #eef2f6 !important; }
.w-trow:nth-child(1) .w-trow-pts { color: var(--gold-2) !important; }

.w-pod-score b { color: #eef2f6; }
.w-pod-1 .w-pod-score b { color: var(--gold-2); }

.w-tier i { color: rgba(226, 232, 238, 0.5) !important; }
.w-tier[data-g="s"] i { color: var(--gold-2) !important; }

.w-feed li .w-grade,
.w-ticker-item .w-grade { border-color: currentColor; }

.w-sec { border-top: 1px solid var(--gold-line); }
.w-ticker { border-color: var(--gold-line); }

/* ---------- 3. 留白加大 ---------- */
.w-hero-in {
  padding-top: clamp(72px, 10vh, 140px);
  padding-bottom: clamp(72px, 10vh, 140px);
  gap: clamp(40px, 6vw, 110px);
}

.w-title { margin-bottom: 40px; }
.w-title-sub { margin-top: 24px; }
.w-lede { margin-bottom: 48px; line-height: 2.1; }
.w-hero-meta { margin-top: 60px; padding-top: 28px; }
.w-actions { margin-top: 6px; }

.w-sec { padding: clamp(76px, 11vh, 140px) 0; }
.w-sec-head { margin-bottom: clamp(36px, 5vh, 58px); }

/* ---------- 4. 材质：冠军卡与榜首卡加织物纹理 ---------- */
.w-throne,
.w-pod-1 {
  background-blend-mode: normal;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(216, 178, 106, 0.07), rgba(255, 255, 255, 0.012) 40%, rgba(255, 255, 255, 0)),
    rgba(10, 12, 16, 0.72);
}

.w-pod-1 {
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 3px),
    radial-gradient(420px 220px at 50% 0%, rgba(216, 178, 106, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

/* ---------- 5. 数字字体 ---------- */
.w-trow-pts,
.w-pod-score b,
.w-champ-score,
.w-hero-meta b,
.w-throne-foot b,
.w-tier em,
.w-tier i,
.w-grade,
.w-search input,
.w-ticker-item em {
  font-family: var(--num) !important;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

.w-trow-pts { font-size: 19px; }
.w-pod-score b { font-size: 46px; letter-spacing: 0; }
.w-pod-1 .w-pod-score b { font-size: 58px; }
.w-throne-foot b { font-size: 24px; }

/* ---------- 6. 稀缺感 ---------- */
.w-throne-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--gold-line);
  font: 600 9.5px/1.6 var(--mono);
  letter-spacing: 0.18em;
  color: rgba(226, 232, 238, 0.4);
  text-align: center;
  text-transform: uppercase;
}

/* ---------- 7. 微交互 ---------- */
.w-btn:active { transform: translateY(1px) !important; }

.w-pod { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.w-pod:hover { box-shadow: 0 46px 110px rgba(0, 0, 0, 0.55); }

.w-trow { transition: background 0.25s, opacity 0.5s, transform 0.5s; }

.w-tier { transition: background 0.3s; }
.w-tier:hover { background: rgba(255, 255, 255, 0.018); }

/* 标题字距随尺寸收紧 */
.w-title-a, .w-title-line { letter-spacing: -0.035em; }

@media (max-width: 860px) {
  .w-hero-in { padding-top: 52px; padding-bottom: 52px; gap: 32px; }
  .w-title { margin-bottom: 28px; }
  .w-lede { margin-bottom: 32px; }
  .w-hero-meta { margin-top: 38px; }
  .w-sec { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .w-title-line, .w-title-gold { animation: none !important; }
}
