/* 宜棠脑动力训练 · 专属样式（基于全站 style.css） */
.brain-page { --neuro: #2f8f8a; --neuro-soft: #e4f3f1; --night: #1b1230; --night-2: #2a1a45; }

/* ---------- HERO ---------- */
.brain-hero { position: relative; min-height: 660px; overflow: hidden; background: radial-gradient(1200px 600px at 72% 28%, #342252 0%, var(--night) 55%, #140d24 100%); color: #fff; display: flex; align-items: center; padding: 92px 0 70px; }
#neuron-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.hero-veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(100deg, rgba(20,13,36,0.94) 0%, rgba(20,13,36,0.72) 42%, rgba(20,13,36,0.18) 78%); pointer-events: none; }
.brain-hero .hero-inner { position: relative; z-index: 3; }
.brain-hero .crumb { color: rgba(255,255,255,0.62); }
.brain-hero .crumb a { color: rgba(255,255,255,0.82); }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid rgba(127,224,214,0.4); border-radius: 999px; font-size: 12px; letter-spacing: 1.5px; color: #a7e8e1; background: rgba(47,143,138,0.12); margin-bottom: 24px; }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: #6fe0d4; box-shadow: 0 0 0 0 rgba(111,224,212,0.6); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(111,224,212,0.55); } 70% { box-shadow: 0 0 0 10px rgba(111,224,212,0); } 100% { box-shadow: 0 0 0 0 rgba(111,224,212,0); } }
.brain-hero h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.25; letter-spacing: 2px; margin-bottom: 22px; font-weight: 600; }
.brain-hero h1 em { font-style: normal; color: #7fe0d6; background: linear-gradient(90deg, #7fe0d6, #b9f0c6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.95; color: rgba(255,255,255,0.84); max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.brain-hero .btn { font-size: 15px; padding: 13px 30px; border-radius: 10px; }
.brain-hero .btn-primary { background: #c4384f; color: #fff; box-shadow: 0 8px 24px rgba(196,56,79,0.35); }
.brain-hero .btn-primary:hover { background: #d6485f; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 760px; margin-top: 58px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.16); }
.hstat b { display: block; font-size: 34px; color: #7fe0d6; font-weight: 600; line-height: 1.2; }
.hstat span { font-size: 13px; color: rgba(255,255,255,0.66); letter-spacing: 0.5px; }
.scroll-hint { position: absolute; left: 50%; bottom: 20px; z-index: 4; transform: translateX(-50%); width: 24px; height: 38px; border: 1px solid rgba(255,255,255,0.4); border-radius: 14px; display: flex; justify-content: center; }
.scroll-hint span { width: 3px; height: 8px; border-radius: 2px; background: rgba(255,255,255,0.8); margin-top: 7px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 一句话定位 ---------- */
.position-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 52px clamp(24px, 5vw, 64px); box-shadow: var(--shadow); }
.position-lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.9; color: var(--ink); max-width: 900px; margin-bottom: 40px; }
.position-lead strong { color: var(--brand); font-weight: 600; }
.position-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 1px solid var(--line); padding-top: 34px; }
.pnum { font-family: var(--font); font-size: 13px; color: var(--brand); letter-spacing: 2px; font-weight: 600; }
.pitem h3 { font-size: 20px; margin: 8px 0 10px; }
.pitem p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }

/* ---------- 大脑交互区 ---------- */
.brain-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; margin-top: 40px; }
.brain-stage { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.brain-stage-glow { position: absolute; width: 76%; height: 76%; border-radius: 50%; background: radial-gradient(circle, rgba(196,56,79,0.16), rgba(196,56,79,0) 70%); filter: blur(10px); }
.brain-svg { position: relative; width: 100%; max-width: 520px; height: auto; overflow: visible; }
.brain-outline { transition: filter 0.3s; }
.hotspot { cursor: pointer; outline: none; }
.hotspot .ring { fill: rgba(196,56,79,0.10); stroke: var(--brand); stroke-width: 1.4; transition: all 0.28s; transform-box: fill-box; transform-origin: center; }
.hotspot .core { fill: var(--brand); transition: all 0.28s; }
.hotspot text { font-size: 12px; fill: var(--ink-2); font-family: var(--font); transition: fill 0.28s; pointer-events: none; }
.hotspot:hover .ring, .hotspot:focus-visible .ring { transform: scale(1.15); fill: rgba(196,56,79,0.2); }
.hotspot.active .ring { fill: rgba(47,143,138,0.22); stroke: var(--neuro); stroke-width: 2.4; animation: hotPulse 1.7s infinite; transform-box: fill-box; transform-origin: center; }
.hotspot.active .core { fill: var(--neuro); r: 8; }
.hotspot.active text { fill: var(--neuro); font-weight: 600; }
@keyframes hotPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.22); opacity: 0.72; } }
.brain-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.radar-wrap { text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
#radar-canvas { width: 100%; max-width: 420px; height: auto; }
.radar-cap { font-size: 12px; color: var(--ink-3); letter-spacing: 1px; margin: -6px 0 12px; }
.dimension-detail { padding: 8px 0 18px; min-height: 214px; }
.dim-tag { font-size: 12px; color: var(--neuro); letter-spacing: 1.5px; font-weight: 600; }
.dimension-detail h3 { font-size: 26px; margin: 8px 0 10px; }
.dimension-detail p { color: var(--ink-2); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.dim-task { display: flex; align-items: baseline; gap: 12px; font-size: 14px; }
.dim-task span { color: var(--ink-3); flex: 0 0 auto; }
.dim-task strong { color: var(--brand); font-weight: 600; }
.dim-bars { display: flex; gap: 5px; margin-top: 16px; }
.dim-bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background 0.3s; }
.dim-bars i.on { background: var(--neuro); }
.dim-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.dim-tab { padding: 9px 4px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink-2); font-size: 13px; cursor: pointer; transition: all 0.2s; }
.dim-tab:hover { border-color: var(--brand); color: var(--brand); }
.dim-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 训练闭环 ---------- */
.loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; }
.loop-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.loop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(196,56,79,0.3); }
.loop-card::after { content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 90px; background: radial-gradient(circle at top right, rgba(196,56,79,0.1), transparent 70%); }
.loop-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.loop-card h3 { font-size: 21px; margin-bottom: 12px; }
.loop-card p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.loop-meta { display: inline-block; margin-top: 18px; font-size: 12px; color: var(--neuro); background: var(--neuro-soft); padding: 5px 12px; border-radius: 999px; }
.loop-note, .game-note { font-size: 12px; color: var(--ink-3); margin-top: 22px; }

/* ---------- 互动小测 ---------- */
.demo-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: linear-gradient(135deg, #1b1230, #2c1c4a); color: #fff; border-radius: 20px; padding: clamp(28px, 4vw, 48px); margin-top: 40px; }
.demo-badge { display: inline-block; font-size: 12px; letter-spacing: 1px; color: #7fe0d6; border: 1px solid rgba(127,224,214,0.4); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.demo-copy h3 { font-size: 25px; margin-bottom: 12px; }
.demo-copy p { color: rgba(255,255,255,0.76); font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.demo-result { font-size: 16px; color: #b9f0c6; min-height: 30px; margin-bottom: 18px; }
.demo-stage { display: flex; align-items: center; justify-content: center; }
.reaction-pad { width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); background: #3a2a58; color: rgba(255,255,255,0.7); font-size: 17px; cursor: pointer; transition: background 0.12s, transform 0.12s, box-shadow 0.2s; display: flex; align-items: center; justify-content: center; }
.reaction-pad:disabled { cursor: default; }
.reaction-pad.ready { background: #2f8f8a; border-color: #7fe0d6; box-shadow: 0 0 46px rgba(47,143,138,0.6); color: #fff; }
.reaction-pad.ready:active { transform: scale(0.96); }
.reaction-pad.wait { background: #7a3a52; border-color: #c4384f; }
.pad-label { text-align: center; line-height: 1.6; }

/* ---------- 训练任务卡片 ---------- */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.game-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: transform 0.2s, box-shadow 0.2s; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game-ico { flex: 0 0 48px; height: 48px; border-radius: 13px; background: var(--neuro-soft); color: var(--neuro); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.game-card h4 { font-size: 16px; margin-bottom: 6px; }
.game-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.game-tag { display: inline-block; margin-top: 9px; font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }

/* ---------- 原则 & 免责 ---------- */
.principle-grid { margin-top: 36px; }
.principle-card .card-icon { background: var(--neuro-soft); color: var(--neuro); }
.disclaimer { margin-top: 30px; padding: 16px 20px; background: var(--muted, #f7f4f2); border-left: 3px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--ink-3); line-height: 1.8; }
.brain-cta { background: linear-gradient(120deg, var(--brand) 0%, #d9677a 100%); }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .brain-layout { grid-template-columns: 1fr; }
  .brain-stage { min-height: 320px; }
  .position-grid, .loop-grid, .game-grid { grid-template-columns: 1fr 1fr; }
  .demo-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .brain-hero { min-height: 620px; padding-top: 70px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .hstat b { font-size: 28px; }
  .position-card { padding: 34px 22px; }
  .position-grid, .loop-grid, .game-grid { grid-template-columns: 1fr; }
  .brain-panel { padding: 16px; }
  .dim-tabs { grid-template-columns: repeat(4, 1fr); }
  .dim-tab { font-size: 12px; }
  .reaction-pad { width: 180px; height: 180px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot-pulse, .scroll-hint span, .hotspot.active .ring { animation: none; }
}

/* ---------- 俱乐部首页入口模块 ---------- */
.brain-entry { --neuro: #2f8f8a; padding-top: 8px; }
.brain-entry-card { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 30px; align-items: center; background: linear-gradient(120deg, #1b1230 0%, #2c1c4a 68%, #33325c 100%); border-radius: 22px; padding: clamp(30px, 4.5vw, 56px); color: #fff; overflow: hidden; position: relative; transition: transform 0.28s, box-shadow 0.28s; }
.brain-entry-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(43,26,74,0.28); }
.brain-entry-copy .eyebrow { color: #7fe0d6; }
.brain-entry-copy h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: 1px; margin-bottom: 14px; }
.brain-entry-copy p { font-size: 16px; line-height: 1.9; color: rgba(255,255,255,0.78); max-width: 620px; margin-bottom: 24px; }
.brain-entry-copy .btn { font-size: 14px; padding: 11px 24px; border-radius: 999px; display: inline-block; border: 1px solid rgba(127,224,214,0.65); color: #a7e8e1; }
.brain-entry-card:hover .btn { background: rgba(127,224,214,0.12); }
.brain-entry-visual { position: relative; height: 210px; }
.entry-orbit { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border: 1px solid rgba(127,224,214,0.28); border-radius: 50%; animation: orbitSpin 16s linear infinite; }
.entry-orbit::before, .entry-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #7fe0d6; box-shadow: 0 0 14px #7fe0d6; }
.entry-orbit::before { top: -4px; left: 50%; }
.entry-orbit::after { bottom: 12px; right: 12px; background: #e79bab; box-shadow: 0 0 14px #e79bab; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.entry-node { position: absolute; border-radius: 50%; background: rgba(127,224,214,0.85); }
.entry-node.n1 { width: 12px; height: 12px; left: 18%; top: 24%; box-shadow: 0 0 20px #7fe0d6; animation: nodeFloat 3.2s ease-in-out infinite; }
.entry-node.n2 { width: 8px; height: 8px; right: 16%; top: 18%; background: #e79bab; box-shadow: 0 0 16px #e79bab; animation: nodeFloat 4.1s ease-in-out infinite reverse; }
.entry-node.n3 { width: 10px; height: 10px; right: 26%; bottom: 16%; animation: nodeFloat 3.7s ease-in-out infinite; }
@keyframes nodeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 860px) { .brain-entry-card { grid-template-columns: 1fr; } .brain-entry-visual { height: 160px; } }
@media (prefers-reduced-motion: reduce) { .entry-orbit, .entry-node { animation: none; } }
