/* ============================================================
   支持我们 · 赞助页扩展样式
   依赖 styles.css 的设计变量与基础层（顶栏 / 按钮 / 页脚 / reveal）
   ============================================================ */

/* ---------- Hero ---------- */
.sp-hero { padding: 82px 0 54px; }
.sp-hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; align-items: center; gap: 56px; }
.sp-hero h1 {
  margin: 22px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.1; letter-spacing: -0.035em; font-weight: 800;
}
.sp-hero h1 .grad {
  background: linear-gradient(100deg, #FFFFFF 10%, #F1DA8A 48%, #D4AF37 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-hero-sub { margin: 20px 0 0; max-width: 560px; color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.sp-hero-sub b { color: #D9E2F2; font-weight: 600; }
.sp-hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.sp-visual { display: flex; align-items: center; justify-content: center; }
.sp-ring { position: relative; width: min(360px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.sp-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: inset 0 0 60px rgba(212, 175, 55, 0.06);
}
.sp-ring::after {
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}
.sp-glow {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.20), transparent 70%);
  filter: blur(22px);
}
.sp-cup { position: relative; width: 46%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)); animation: float 7s ease-in-out infinite; }
.sp-cup svg { display: block; width: 100%; height: auto; }
.sp-spark { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px var(--gold); animation: pulse 3.6s ease-in-out infinite; }
.sp-spark.s1 { top: 12%; left: 22%; }
.sp-spark.s2 { top: 24%; right: 14%; animation-delay: 0.8s; }
.sp-spark.s3 { bottom: 16%; left: 16%; animation-delay: 1.6s; }
.sp-spark.s4 { bottom: 9%; right: 26%; animation-delay: 2.4s; }

/* ---------- 三条原则 ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle {
  padding: 24px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.principle::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}
.principle-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 15px;
  background: rgba(212, 175, 55, 0.10); border: 1px solid rgba(212, 175, 55, 0.22); color: var(--gold-2);
}
.principle-icon svg { width: 20px; height: 20px; }
.principle h3 { margin: 0 0 8px; font-size: 15.5px; }
.principle p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ---------- 渠道卡 ---------- */
/* 单渠道：卡片居中，不再按三列铺开 */
.channel-grid { display: grid; grid-template-columns: minmax(0, 560px); justify-content: center; gap: 16px; }
.channel {
  display: flex; flex-direction: column; padding: 24px 22px 22px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  position: relative; overflow: hidden;
}
.channel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--ch), transparent);
}
.channel-head { display: flex; align-items: center; gap: 13px; }
.ch-badge { width: 48px; flex: 0 0 auto; }
.ch-badge svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45)); }
.ch-id { min-width: 0; }
.ch-id h3 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }
.ch-id p { margin: 4px 0 0; font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.14em; }
.ch-status {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--amber);
}
.ch-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.ch-status.live { color: var(--green); }

.qr-slot {
  margin-top: 16px; aspect-ratio: 1; width: 100%; max-width: 210px; align-self: center;
  border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  display: grid; place-items: center; gap: 12px; text-align: center; padding: 18px;
}
.qr-slot svg { width: 44px; height: 44px; color: var(--muted-2); }
.qr-slot strong { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.qr-slot small { display: block; margin-top: 6px; font-size: 10.5px; color: var(--muted-2); line-height: 1.6; }
.qr-slot img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
/* 平台官方 widget 的页内嵌入位 */
.embed-slot {
  margin-top: 16px; width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.embed-slot iframe { display: block; width: 100%; height: 200px; border: 0; background: transparent; }
.ch-desc { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.ch-action { margin-top: auto; padding-top: 18px; }
.ch-action .btn { width: 100%; height: 44px; font-size: 13px; }

/* 操作路径提示：紧贴二维码，用最小面积的强调色把「扫码之后做什么」显性化 */
.ch-hint {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; padding: 8px 12px;
  border-radius: 10px; border: 1px solid rgba(241, 218, 138, 0.22);
  background: rgba(212, 175, 55, 0.06);
  color: #E8EDF7; font-size: 12px; line-height: 1.6;
}
.ch-hint svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--gold-2); margin-top: 2px; }

/* 合规说明归属整个渠道区，不在三张卡里重复三遍 */
.channel-note {
  margin: 16px 0 0; text-align: center;
  font-size: 11.5px; line-height: 1.7; color: var(--muted);
}

/* ---------- 资金去向 ---------- */
.usage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usage {
  padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
}
.usage-num { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.08em; }
.usage h3 { margin: 12px 0 8px; font-size: 15px; }
.usage p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-size: 14.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--gold); line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; padding: 18px 22px 20px; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* ---------- 合规说明 ---------- */
.sp-legal {
  padding: 28px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(212, 175, 55, 0.18); border-left: 3px solid var(--gold);
}
.sp-legal h3 { margin: 0 0 12px; font-size: 15.5px; color: var(--gold-2); }
.sp-legal ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sp-legal li { position: relative; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.sp-legal li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.75; }
.sp-legal b { color: #D9E2F2; font-weight: 600; }

.sp-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 11.5px; color: var(--muted-2); }
.sp-meta code { font-family: var(--mono); color: var(--gold-2); font-size: 11px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .sp-visual { order: -1; }
  .sp-ring { width: min(280px, 70vw); }
  .usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-grid { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 820px) {
  .sp-hero { padding-top: 52px; }
  .principles { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .usage-grid { grid-template-columns: 1fr; }
  .sp-legal { padding: 22px 20px; }
}

/* ---------- 当前页导航态 ---------- */
.nav a.is-current { color: var(--gold-2); font-weight: 600; }
.nav a.is-current:hover { color: var(--gold-2); }
