/* ==============================================
   左承1892 — 中国足球文化社区品牌
   Design System · 杭州晚霞版（2026-08-13）
   ============================================== */

/* --- CSS Variables --- */
:root {
  /* Core palette · 深暖灰底（晚霞后的暮色）· 2026-08-17 第二轮大幅提亮 3-4 色阶 */
  --bg-deep: #24201b;
  --bg-primary: #2d2822;
  --bg-card: #36302a;
  --bg-elevated: #443c34;
  --bg-hover: #52483e;

  /* Text */
  --text-primary: #f4ece2;
  --text-secondary: #d4c5b0; /* 2026-08-17 第二轮任务4：显著提亮（#cbb8a0 → #d4c5b0），新背景上清晰锐利 */
  --text-tertiary: #b8a690; /* 2026-08-17 第二轮任务4：显著提亮（#b8a58f → #b8a690） */
  --text-muted: #9a8a78; /* 2026-08-17 第二轮任务4：新增弱化层级，用于标注/时间戳 */
  --text-inverse: #24201b;

  /* Brand accents · 晚霞橙为主点缀，暖金为辅助 */
  --sunset: #f0673a; /* 2026-08-17 第二轮任务5：亮珊瑚橙（原 #e8623a，提亮明度+饱和度） */
  --sunset-hover: #f57a4a; /* 2026-08-17 第二轮任务5：新增 hover 亮橙色 */
  --sunset-light: #f2855f;
  --sunset-dim: #b84a26;
  --sunset-glow: rgba(240, 103, 58, 0.22); /* 随 --sunset 提亮同步（232,98,58 → 240,103,58） */
  --gold: #f4b05a; /* 2026-08-17 第二轮任务5：略提亮（原 #f2a65a） */
  --gold-light: #f6d9a8;
  --gold-dim: #c98a3e;
  --gold-glow: rgba(242, 166, 90, 0.18);

  /* Semantic */
  --live: #3ddc84;
  --live-glow: rgba(61, 220, 132, 0.25);
  --warn: #f5a623;

  /* Typography */
  --font-display: 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', system-ui, sans-serif;

  /* Spacing rhythm */
  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 4rem; /* 任务5：桌面区块横向留白加大（呼吸感），900px 以下有覆盖 */
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Sizing */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400; /* 任务7：正文统一 400，深色背景防发虚 */
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* 2026-08-17 第二轮任务4：深色背景下文字锐度 */
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  height: 64px;
  background: transparent;
  transition: background var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(36, 32, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1.2;
  transition: color var(--duration-fast) var(--ease-out),
              text-shadow var(--duration-fast) var(--ease-out);
}
.nav-logo:hover {
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(242, 166, 90, 0.35);
}
.nav-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-width: 0;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-out);
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  letter-spacing: 0.03em;
  transition: all var(--duration-fast) var(--ease-out);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--text-inverse);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(64px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  position: relative;
}

/* Subtle background gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(232, 98, 58, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(232, 98, 58, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 10px var(--live-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; /* 任务7：标题 600-700，深色下更清爽 */
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero-highlight {
  color: var(--gold);
  position: relative;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn.full { width: 100%; }

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ==============================================
   任务4：卡片层次感统一（2026-08-17）
   —— 统一边框 1px 0.06 + 常态阴影 0 4px 24px 0.3
   （个性卡片：id-card 金色身份卡 / pillar-card 强浮出 保留）
   ============================================== */
.feed-card, .pillar-card, .space-card, .stat-card, .tier, .eco-layer,
.feed-post, .side-card, .today-item, .pulse-block {
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: all var(--duration-base) var(--ease-out);
}
.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.stat-card.accent {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border-color: rgba(242, 166, 90, 0.25);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}
.stat-card.accent .stat-number { color: var(--gold); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Section Shared --- */
.section-head {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; /* 任务7：标题 600-700 */
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Community Activity Feed --- */
.feed {
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feed-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feed-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feed-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}
.feed-tag.live {
  background: rgba(34, 197, 94, 0.12);
  color: var(--live);
}

.feed-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.feed-card p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.55;
  flex: 1;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.feed-avatars {
  width: 72px;
  height: 28px;
  background: linear-gradient(90deg, rgba(242, 166, 90, 0.16), rgba(242, 166, 90, 0.05), rgba(242, 166, 90, 0.16));
  border-radius: 4px;
  opacity: 0.85;
}
.feed-avatars.small { width: 48px; }
.feed-avatars.tiny { width: 32px; }

.feed-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast);
}
.feed-link:hover { color: var(--gold-light); }

/* --- Three Pillars --- */
.pillars {
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
}
.pillar-card:hover {
  border-color: rgba(242, 166, 90, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}
.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700; /* 任务7：标题 600-700 */
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.pillar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--space-md);
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.pillar-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.pillar-features li {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  padding-left: var(--space-md);
  position: relative;
}
.pillar-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-dim);
}

/* --- Identity System --- */
.identity {
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.id-showcase {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.id-card {
  perspective: 1200px;
}

.id-card-inner {
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  border: 1px solid rgba(242, 166, 90, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 166, 90, 0.08) inset;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.id-front {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.id-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.id-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.id-badge:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  background: rgba(242, 166, 90, 0.12);
  transform: translateY(-1px);
}

.id-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.id-body {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.id-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-glow), rgba(242, 166, 90, 0.08));
  border: 2px solid rgba(242, 166, 90, 0.3);
}

.id-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.id-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.id-join {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.id-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.id-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.id-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.id-stat strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
}
.id-stat span {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

.id-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ID Description */
.id-description h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.id-description > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

/* Tiers */
.id-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.tier {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 2px var(--space-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: all var(--duration-fast) var(--ease-out);
}
.tier:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.tier.featured {
  border-color: rgba(242, 166, 90, 0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232, 98, 58, 0.07) 100%);
}

.tier strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  grid-column: 1;
  grid-row: 1;
}

.tier > span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  grid-column: 1;
  grid-row: 2;
}

.tier p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

/* --- Ecosystem --- */
.ecosystem {
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.eco-layers {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 700px;
  margin: 0 auto;
}

.eco-layer {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
}
.eco-layer:hover {
  border-color: rgba(242, 166, 90, 0.2);
  background: var(--bg-elevated);
}

.eco-layer-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 180px;
}

.eco-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-dim);
}

.eco-layer-head h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.eco-now,
.eco-future {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.eco-now {
  background: rgba(34, 197, 94, 0.12);
  color: var(--live);
}
.eco-future {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warn);
}

.eco-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.eco-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* --- Physical Space --- */
.space {
  padding: var(--space-3xl) var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.space-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
}
.space-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.space-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.space-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA / Join --- */
.cta {
  padding: var(--space-3xl) var(--space-xl);
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(232, 98, 58, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; /* 任务7：标题 600-700 */
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.cta-content > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.cta-form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cta-form label span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.cta-form input,
.cta-form select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--duration-fast);
  outline: none;
}
.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--gold);
}

.cta-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236a6a74' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.footer-brand span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.footer-statement {
  text-align: right;
}
.footer-statement p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.footer-manifesto {
  color: var(--text-tertiary) !important;
  font-style: italic;
  margin-top: var(--space-xs);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}
.footer-bottom span {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 900px) {
  /* 任务5：900px 以下保持 3rem（4rem 在平板上偏宽）；600px 以下另有 1.5rem 覆盖 */
  :root {
    --space-xl: 3rem;
  }

  .hero {
    padding-top: calc(64px + var(--space-xl));
    padding-bottom: var(--space-xl);
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .id-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .id-card {
    max-width: 380px;
    margin: 0 auto;
  }

  .eco-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .space-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-statement {
    text-align: center;
  }

  .nav {
    padding: 0 var(--space-md);
    height: 64px;
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .nav-brand { flex: 0 0 auto; }
  .nav-links {
    order: 0;
    width: auto;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-md);
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 2px 2px;
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    flex: 0 0 auto;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .nav-cta { flex: 0 0 auto; padding: 0.42rem 0.9rem; white-space: nowrap; }
}

@media (max-width: 600px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .pillar-card,
  .space-card {
    padding: var(--space-lg);
  }

  .eco-layer {
    padding: var(--space-md) var(--space-lg);
  }
  .eco-layer-head {
    min-width: auto;
  }

  .tier {
    grid-template-columns: 1fr;
  }
  .tier p {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ===== 提交结果弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0; z-index: 2200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(36, 32, 27, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  width: min(380px, calc(100% - 48px));
  background: linear-gradient(160deg, rgba(37,35,31,0.98) 0%, rgba(23,23,21,0.98) 100%);
  border: 1px solid rgba(214,165,77,0.2);
  border-radius: 12px;
  padding: var(--space-xl);
  text-align: center;
  transform: translateY(16px) scale(0.96);
  transition: transform var(--duration-base) var(--ease-spring);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}
.modal-mask.show .modal { transform: translateY(0) scale(1); }
.modal-icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-md);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: var(--bg-deep);
  background: rgba(214,165,77,0.16);
  color: var(--gold-light);
  border: 1px solid rgba(214,165,77,0.26);
}
.modal-icon.error { background: #e24b4a; }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: var(--space-xs);
}
.modal-desc {
  font-size: 0.85rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: var(--space-lg);
}
.modal-btn {
  width: 100%; min-height: 46px;
  border: none; border-radius: 8px;
  background: var(--gold); color: var(--text-inverse);
  font-size: 0.9rem; font-weight: 800;
  cursor: pointer; transition: opacity var(--duration-fast);
}
.modal-btn:hover { opacity: 0.88; }
.modal-countdown {
  display: block; margin-top: var(--space-sm);
  font-size: 0.68rem; color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* ==============================================
   亮色主题（白天自动切换）
   identity.js 按北京时间（6:00–18:00）给 <html> 加 data-theme="light"
   ============================================== */
html[data-theme="light"] {
  /* Core palette → 亮色（背景微压增强对比） */
  --bg-deep: #f0f0ea;
  --bg-primary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f8f8f3;
  --bg-hover: #eaeae4;

  /* Text → 深色（比原版更深，保证浅底可读） */
  --text-primary: #1b1b20;
  --text-secondary: #45454e;
  --text-tertiary: #6f6f7a;
  --text-muted: #83838c; /* 亮色主题弱化层级（比 tertiary 浅一档） */
  --text-inverse: #ffffff;

  /* Brand accents：金色转深琥珀，白底对比达标 */
  --gold: #8f6a24;
  --gold-light: #a37b2e;
  --gold-dim: #75591f;
  --gold-glow: rgba(143, 106, 36, 0.16);
}

/* body 基础 */
html[data-theme="light"] body {
  background: var(--bg-deep);
  color: var(--text-primary);
  text-shadow: none; /* 浅色背景不需要投影，否则发灰模糊 */
}

/* 深色下"半透明白"的边框/背景 → 亮色下换半透明黑 */
html[data-theme="light"] .mode-bar,
html[data-theme="light"] .subpage-header,
html[data-theme="light"] .nav,
html[data-theme="light"] .feed-card,
html[data-theme="light"] .pillar-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .space-card,
html[data-theme="light"] .eco-layer,
html[data-theme="light"] .footer,
html[data-theme="light"] .id-card {
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .feed-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}
html[data-theme="light"] .btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .cta-form input,
html[data-theme="light"] .cta-form select {
  border-color: rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: var(--text-primary);
}
html[data-theme="light"] .feed-tag {
  background: rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}
html[data-theme="light"] .hero-community::before,
html[data-theme="light"] .cta::before {
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(184, 135, 46, 0.08) 0%, transparent 70%);
}

/* P76n4 鼠标光标恢复初始箭头 */
* { cursor: default !important; }

/* ==============================================
   杭州晚霞 · 动效体系（2026-08-13）
   ============================================== */

/* 1) 首屏入场：元素依次上浮浮现 */
@keyframes zcFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-community .hc-left > *,
.hero-community .hc-right > *,
.hero .hero-grid > * {
  animation: zcFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-community .hc-left > *:nth-child(1) { animation-delay: 0.08s; }
.hero-community .hc-left > *:nth-child(2) { animation-delay: 0.18s; }
.hero-community .hc-left > *:nth-child(3) { animation-delay: 0.28s; }
.hero-community .hc-left > *:nth-child(4) { animation-delay: 0.38s; }
.hero-community .hc-right > *:nth-child(1) { animation-delay: 0.3s; }
.hero-community .hc-right > *:nth-child(2) { animation-delay: 0.42s; }
.hero-community .hc-right > *:nth-child(3) { animation-delay: 0.54s; }
.hero-community .hc-right > *:nth-child(4) { animation-delay: 0.66s; }

/* 2) 滚动渐显：进入视口才浮现（由 script.js 观察 .zc-reveal） */
.zc-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.zc-reveal.zc-in {
  opacity: 1;
  transform: translateY(0);
}

/* 二级页没有统一加载首页滚动观察脚本，主内容必须默认可见 */
.pulse-layout.zc-reveal,
.identity-layout.zc-reveal,
.resident-layout.zc-reveal,
.space-layout.zc-reveal {
  opacity: 1;
  transform: none;
}

/* 3) 卡片微交互：悬浮上浮 + 晚霞描边 + 暖光 */
.feed-post, .side-card, .today-item, .pulse-block,
.pillar-card, .space-card, .stat-card, .tier, .eco-layer {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.feed-post:hover, .side-card:hover, .today-item:hover,
.pillar-card:hover, .space-card:hover, .stat-card:hover, .tier:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 166, 90, 0.5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(242, 166, 90, 0.12);
}
/* 数据数字随卡片 hover 亮度提升（数据高亮焦点） */
.today-item:hover .today-val {
  filter: brightness(1.22);
  text-shadow: 0 0 22px rgba(242, 166, 90, 0.3);
}

/* 4) 按钮光扫 */
.btn, .nav-cta, .mode-tab {
  position: relative;
  overflow: hidden;
}
.btn::after, .nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn:hover::after, .nav-cta:hover::after { left: 130%; }

/* 5) 链接悬停下划线渐显 */
.nav-links a, .sc-link, .footer a {
  position: relative;
}
.nav-links a::after, .sc-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover::after, .sc-link:hover::after { transform: scaleX(1); }

/* 6) 减小动效偏好：关闭动画 */
@media (prefers-reduced-motion: reduce) {
  .hero-community .hc-left > *,
  .hero-community .hc-right > *,
  .hero .hero-grid > *,
  .zc-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==============================================
   杭州晚霞 · 首屏氛围（2026-08-13）
   ============================================== */

/* 晚霞光晕：hero 顶部暖橙泛光（2026-08-17 第二轮任务2：不透明度减半 0.06/0.03→0.03/0.015） */
.hero-community::before {
  background:
    radial-gradient(ellipse 50% 40% at 50% -5%, rgba(232, 98, 58, 0.03) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 15%, rgba(242, 166, 90, 0.015) 0%, transparent 60%);
}

/* 透光叠加层：半透明白色光晕物理提亮，减少深色压迫感（2026-08-17 第二轮任务2） */
.hero-community::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 245, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* 漂浮光点：金色粒子缓慢上浮（纯 CSS，不影响性能） */
.zc-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.zc-particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(242, 166, 90, 0.5);
  animation: zcFloat linear infinite;
  opacity: 0;
}
@keyframes zcFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  12%  { opacity: 0.7; }
  85%  { opacity: 0.25; }
  100% { transform: translateY(-92vh) translateX(var(--drift, 12px)); opacity: 0; }
}
.zc-hero-content { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .zc-particle { display: none; }
}

/* ==============================================
   杭州晚霞 · SVG 线性图标与标题质感（2026-08-13）
   ============================================== */

/* SVG 图标：统一金色线条 */
.zc-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zc-ic svg {
  width: 1.15em;
  height: 1.15em;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.today-icon.zc-ic svg { width: 1.35rem; height: 1.35rem; stroke: var(--sunset); }
.side-title { display: inline-flex; align-items: center; gap: 7px; }

/* 大标题：晚霞金渐变 + 微光 */
.hero-highlight {
  background: linear-gradient(100deg, #f6d9a8 0%, #f2a65a 35%, #e8623a 75%, #f6d9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
}
.hero-community .hc-title { text-shadow: 0 0 40px rgba(232, 98, 58, 0.18); }

/* 板块标题：暖金小字 + 渐变线 */
.section-title {
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}
.section-kicker { color: var(--sunset); letter-spacing: 0.14em; font-weight: 700; }

/* ==============================================
   杭州晚霞 · 整体质感打磨（2026-08-13）
   ============================================== */

/* 1) 导航栏：滚动后加深毛玻璃 + 底部金色渐变线 */
.nav.is-scrolled {
  background: rgba(36, 32, 27, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05),
              0 1px 0 rgba(242, 166, 90, 0.12) inset;
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 98, 58, 0.35), rgba(242, 166, 90, 0.5), rgba(232, 98, 58, 0.35), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}
.nav.is-scrolled::after { opacity: 1; }

/* 2) 表单输入：聚焦晚霞光环 */
.cta-form input,
.cta-form select,
input, textarea {
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px rgba(232, 98, 58, 0.14), 0 4px 18px rgba(232, 98, 58, 0.1);
}

/* 3) 页脚：顶部金色渐变装饰线 */
.footer {
  border-top: none;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 98, 58, 0.3), rgba(242, 166, 90, 0.45), rgba(232, 98, 58, 0.3), transparent);
}

/* 4) 滚动条：晚霞金（Windows/桌面端生效） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c98a3e, #8a6d3b);
  border-radius: 999px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f2a65a, #e8623a); }

/* 5) 文本选中：晚霞金 */
::selection {
  background: rgba(232, 98, 58, 0.35);
  color: #fff;
}

/* 6) 顶部 mode-bar：晚霞橙渐变 */
.mode-bar {
  background: linear-gradient(180deg, rgba(232, 98, 58, 0.12), rgba(36, 32, 27, 0.6));
  border-bottom: 1px solid rgba(242, 166, 90, 0.12);
}

/* 7) 数字脉冲：晚霞金渐变数字（数据高亮焦点：数字金色渐变 + 底部焦点短线） */
.pulse-block .pb-value {
  background: linear-gradient(180deg, #f6d9a8, #f2a65a 60%, #e8623a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  padding-bottom: 0.35rem;
  transition: filter var(--duration-fast) var(--ease-out),
              text-shadow var(--duration-fast) var(--ease-out);
}
.pulse-block .pb-value::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
  transition: opacity var(--duration-fast) var(--ease-out),
              width var(--duration-fast) var(--ease-out);
}
.pulse-block:hover .pb-value {
  filter: brightness(1.22);
  text-shadow: 0 0 22px rgba(242, 166, 90, 0.35);
}
.pulse-block:hover .pb-value::after {
  opacity: 1;
  width: 40px;
}
/* 亮色主题：渐变数字换深琥珀（白底上浅金渐变不可读） */
html[data-theme="light"] .pulse-block .pb-value {
  background: linear-gradient(180deg, #a37b2e, #8f6a24 60%, #75591f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ==============================================
   杭州晚霞 · 手机端适配（2026-08-13）
   ============================================== */

/* 1) iPhone 刘海/底部横条安全区 */
.mode-bar {
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(40px + env(safe-area-inset-top, 0px));
}
#homePredFloat,
.homePredFloat {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.footer {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0px));
}

/* 2) 手机端按压反馈（替代 hover） */
@media (hover: none) {
  .feed-post:active, .side-card:active, .today-item:active,
  .pillar-card:active, .space-card:active, .stat-card:active, .tier:active {
    transform: scale(0.98);
    border-color: rgba(242, 166, 90, 0.6);
  }
  .btn:active, .nav-cta:active, .mode-tab:active {
    transform: scale(0.96);
  }
  .zc-reveal { transition-duration: 0.4s; }
}

/* 3) 手机端粒子减量 + 更柔和 */
@media (max-width: 600px) {
  .zc-particle { display: none; }
  .zc-particles::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232, 98, 58, 0.08), transparent 60%);
  }
}

/* 4) 手机端 hero 更紧凑 */
@media (max-width: 600px) {
  .hero-community { min-height: auto; padding-top: calc(64px + var(--space-xl)); }
  .hc-title { letter-spacing: 0.02em; }
  .today-item { padding: var(--space-sm); }
}

/* ==============================================
   任务7 临时调试：新旧配色对比开关
   body.light-theme = 新配色（当前默认，无覆盖即新配色）
   body.dark-theme  = 旧配色（还原第一轮前暖黑底）
   确认新配色满意后，删除本节 + index.html 的按钮/JS/body 类
   ============================================== */
body.dark-theme {
  --bg-deep: #12100e;
  --bg-primary: #171411;
  --bg-card: #1e1a16;
  --bg-elevated: #26211b;
  --bg-hover: #2e2820;
  --text-secondary: #b3a48e;
  --text-tertiary: #8a7a66;
  --text-muted: #7a6a58;
  --text-inverse: #12100e;
  --sunset: #e8623a;
  --sunset-hover: #ef7647;
  --sunset-glow: rgba(232, 98, 58, 0.22);
  --gold: #f2a65a;
  --gold-glow: rgba(242, 166, 90, 0.18);
  text-shadow: none; /* 旧配色无文字投影 */
}

/* ==============================================
   视觉秩序收口 · 看台炭黑 + 身份金（2026-08-18）
   目标：减少装饰性金色和持续动效，让颜色承担信息层级。
   ============================================== */
body.light-theme,
:root {
  --bg-deep: #171715;
  --bg-primary: #1d1c19;
  --bg-card: #25231f;
  --bg-elevated: #2e2a25;
  --bg-hover: #38332c;
  --text-primary: #f3eee5;
  --text-secondary: #cfc3b1;
  --text-tertiary: #9f9486;
  --text-muted: #7e7468;
  --text-inverse: #171715;
  --gold: #d6a54d;
  --gold-light: #ead19a;
  --gold-dim: #a77b32;
  --gold-glow: rgba(214, 165, 77, 0.13);
  --sunset: #d95f3a;
  --sunset-hover: #e5734d;
  --sunset-glow: rgba(217, 95, 58, 0.12);
  --home: #48bf7a;
  --away: #79a7d8;
  --ended: #7e7468;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --duration-base: 240ms;
  --duration-slow: 420ms;
}

body {
  text-shadow: none;
}

.nav.is-scrolled {
  background: rgba(23, 23, 21, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.045);
}

.nav-logo:hover {
  text-shadow: none;
}

.hero::before,
.brand-hero::before,
.zc-particles,
.zc-particles::after {
  opacity: 0.55;
}

.feed-post,
.side-card,
.stat-card,
.pillar-card,
.space-card,
.tier,
.city-proof-card {
  border-color: rgba(255,255,255,0.055);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.feed-post:hover,
.side-card:hover,
.stat-card:hover,
.pillar-card:hover,
.space-card:hover,
.tier:hover,
.city-proof-card:hover {
  transform: translateY(-1px);
  border-color: rgba(214,165,77,0.24);
  box-shadow: 0 10px 30px rgba(0,0,0,0.26);
}

.btn-primary,
.nav-cta,
.mode-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-inverse);
  box-shadow: none;
}

.btn-primary:hover,
.nav-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 18px rgba(214,165,77,0.14);
}

.pulse-block:hover .pb-value {
  filter: brightness(1.08);
  text-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-community .hc-left > *,
  .hero-community .hc-right > * {
    animation-duration: 0.48s;
  }
}
