/* ============================================================
   云创空间官网 —— 科技感背景层
   每个 section 叠加：点阵底纹 + 角落金色辉光。
   克制、暖调、不喧宾夺主；内容始终在装饰之上；页脚(深色)不受影响。
   ============================================================ */

/* 让每个板块成为定位/裁剪容器，内容置于装饰之上 */
main > section { position: relative; overflow: hidden; }
main > section > .yc-container { position: relative; z-index: 2; }

/* ---------- 点阵底纹：极淡金点，顶部清晰、向下渐隐 ---------- */
main > section::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(133, 79, 11, 0.08) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 85% at 50% 0%, #000 0%, transparent 78%);
  opacity: .8;
}

/* 细网格线（叠加在点阵之上，进一步增强科技底纹，更淡） */
main > section > .yc-secthead,
main > section > .yc-container { position: relative; z-index: 2; }
.yc-hero::before {
  background-image:
    radial-gradient(rgba(133, 79, 11, 0.08) 1px, transparent 1.6px),
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 24px 24px, 96px 96px, 96px 96px;
}

/* ---------- 角落金色辉光：奇偶板块左右交替，营造节奏 ---------- */
main > section::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle,
    var(--gold-100) 0%, rgba(186, 117, 23, 0.10) 38%, transparent 70%);
  top: -180px; right: -150px;
}
main > section:nth-child(even)::after {
  right: auto; left: -150px; top: auto; bottom: -180px;
}

/* ---------- 首屏氛围更足一点 ---------- */
.yc-hero::after { width: 660px; height: 660px; top: -240px; right: -120px; }

/* ---------- paper 板块底色压深一点点，和白板块拉开层次 ---------- */
.yc-section--paper { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }

/* 暗主题/对比偏好下减弱底纹，避免干扰 */
@media (prefers-reduced-motion: reduce) {
  main > section::after { opacity: .8; }
}
