/* ==========================================================================
   AGEMCN · 乐龄MCN（乐龄云旗下）上海中老年文娱平台
   视觉系统 V2：现代时尚 · 适老友好
   活力暖橙 + 渐变光效 + 毛玻璃 + 大留白精致卡片（参考乐龄点点风格）
   ========================================================================== */

:root {
  --c-primary: #FF5C33;
  --c-primary-2: #FF8A4C;
  --c-primary-soft: #FFF0E8;
  --c-gold: #FFB84D;
  --c-gold-2: #FFD98E;
  --c-gold-soft: #FFF6E6;
  --c-cream: #FFF9F5;
  --c-paper: #FFFFFF;
  --c-ink: #26201E;
  --c-body: #5F5550;
  --c-muted: #9A8D86;
  --c-green: #2E8B67;
  --c-dark: #241C18;
  --c-dark-2: #3A2A22;
  --grad-primary: linear-gradient(135deg, #FF5C33 0%, #FF8A4C 100%);
  --grad-gold: linear-gradient(135deg, #FFB84D 0%, #FFD98E 100%);
  --grad-ink: linear-gradient(150deg, #241C18, #3A2A22);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 8px 30px rgba(255, 92, 51, .08);
  --shadow-lg: 0 20px 55px rgba(255, 92, 51, .16);
  --border: 1px solid #FFEDE3;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 通用按钮（渐变胶囊） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 28px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { font-size: 19px; padding: 18px 38px; }
.btn-sm { font-size: 15px; padding: 11px 22px; }
.btn-xs { font-size: 14px; padding: 9px 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 24px rgba(255, 92, 51, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 92, 51, .42); }
.btn-ghost { background: #fff; color: var(--c-primary); border-color: #FFD8C7; }
.btn-ghost:hover { border-color: var(--c-primary); background: var(--c-primary-soft); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--c-primary); border-color: #FFD8C7; }
.btn-outline:hover { border-color: var(--c-primary); background: var(--c-primary-soft); }
.btn-gold { background: var(--grad-gold); color: #6B4300; box-shadow: 0 10px 24px rgba(255, 184, 77, .4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 184, 77, .5); }

/* ---------- 通用标签 ---------- */
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  line-height: 1.6;
}
.tag-open { background: #EAF7F0; color: var(--c-green); }
.tag-hot { background: #FFEDE8; color: var(--c-primary); }
.tag-soon { background: var(--c-gold-soft); color: #B0780A; }
.tag-done { background: #F1EEEC; color: var(--c-muted); }

/* ---------- 顶部导航（毛玻璃 + 胶囊菜单） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 245, .85);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 92, 51, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.2; }
.brand-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 4px 16px rgba(255, 92, 51, .18);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .5px;
  color: var(--c-ink);
}
.brand-accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub { font-size: 12px; color: var(--c-muted); letter-spacing: 1px; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-body);
  padding: 10px 16px;
  border-radius: 999px;
  transition: all .22s;
  position: relative;
}
.main-nav a:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.main-nav a.active { color: #fff; background: var(--grad-primary); box-shadow: 0 6px 16px rgba(255, 92, 51, .3); }
.main-nav .nav-join { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; border-radius: 2px; background: var(--c-ink); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 滚动公告（橙色渐变） ---------- */
.ticker { background: var(--grad-primary); color: #fff; }
.ticker-inner { display: flex; align-items: center; gap: 16px; height: 42px; overflow: hidden; }
.ticker-label {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, .22);
  padding: 5px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ticker-label .ticker-ic { width: 15px; height: 15px; }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-list { display: inline-flex; gap: 56px; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-list span { font-size: 14.5px; opacity: .96; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Hero（渐变光效 + 现代印章） ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(255, 184, 77, .22), transparent 60%),
    radial-gradient(900px 560px at -8% 112%, rgba(255, 92, 51, .14), transparent 55%),
    linear-gradient(180deg, #FFF4EC 0%, var(--c-cream) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding: 76px 0 116px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--c-primary);
  border: 1px solid #FFE0D2;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.badge svg { color: var(--c-gold); }
.hero h1 {
  margin: 28px 0 22px;
  font-size: clamp(46px, 5.8vw, 72px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
}
.hero h1 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { font-size: 19px; color: var(--c-body); max-width: 560px; margin-bottom: 32px; }
.hero-desc b { color: var(--c-primary); font-weight: 700; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats li {
  background: #fff;
  border: var(--border);
  border-radius: 18px;
  padding: 14px 24px;
  text-align: center;
  min-width: 112px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.hero-stats li:hover { transform: translateY(-3px); }
.hero-stats b { display: block; font-size: 27px; color: var(--c-primary); line-height: 1.2; font-weight: 800; }
.hero-stats span { font-size: 14px; color: var(--c-muted); }

/* Hero 插画（现代光晕主视觉） */
.hero-art { position: relative; height: 480px; }
.hero-logo-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3;
  animation: logoWrapFloat 6s ease-in-out infinite;
}
.hero-logo {
  width: 176px; height: 176px;
}
.hero-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(255, 92, 51, .35), 0 0 0 4px rgba(255, 255, 255, .8);
}
.hero-logo-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 6px;
  background: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #FFE0D2;
  box-shadow: var(--shadow);
}
@keyframes logoWrapFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}
.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; }
.ring-1 {
  width: 390px; height: 390px;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(255, 92, 51, .22);
  animation: spin 40s linear infinite;
}
.ring-2 {
  width: 480px; height: 480px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 184, 77, .4);
  animation: spin 60s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.bubble {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 24px;
  background: #fff;
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(255, 92, 51, .14);
  animation: bob 5s ease-in-out infinite;
}
.bubble .ic-svg { width: 36px; height: 36px; color: var(--bc); }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-13px) rotate(2deg); }
}
.b1 { top: 2%; left: 18%; animation-delay: 0s; }
.b2 { top: 12%; right: 4%; animation-delay: .6s; }
.b3 { bottom: 32%; left: 2%; animation-delay: 1.2s; }
.b4 { bottom: 2%; right: 14%; animation-delay: .3s; }
.b5 { top: 24%; left: -2%; animation-delay: .9s; }
.b6 { bottom: 32%; right: -2%; animation-delay: 1.5s; }
.chip {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(36, 28, 24, .12), 0 0 0 1px rgba(255, 92, 51, .1);
  z-index: 4;
  display: flex; align-items: center; gap: 8px;
}
.chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}
.chip-a { top: 36%; right: 4%; }
.chip-b { bottom: 14%; left: 6%; }
.chip-b::before { background: var(--c-gold); }

/* Hero 天际线 */
.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 110px;
  color: rgba(255, 92, 51, .13);
  pointer-events: none;
}

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, #FFF1E7 0%, #FFF8F3 100%); }
.section-dark {
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(255, 184, 77, .18), transparent 55%),
    radial-gradient(700px 380px at 100% 110%, rgba(255, 92, 51, .22), transparent 55%),
    var(--grad-ink);
  color: #F6EDE6;
}
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border: 1px solid #FFE0D2;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-dark .section-tag { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: var(--c-gold-2); }
.section-head h2 {
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 16px;
  letter-spacing: .5px;
}
.section-head h2 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-dark .section-head h2 .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { font-size: 18px; color: var(--c-body); }
.section-dark .section-head p { color: #DCCBC2; }
.sub-title {
  font-size: 30px;
  font-weight: 900;
  margin: 60px 0 30px;
  text-align: center;
}
.sub-title .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 滚动进场 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 文娱活动卡片 ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--c-paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.act-icon {
  height: 124px;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--c-primary-soft);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ic) 14%, #fff), color-mix(in srgb, var(--ic) 36%, #fff));
  position: relative;
}
.act-icon::after {
  content: "";
  position: absolute;
  right: 14px; top: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  filter: blur(6px);
}
.act-icon .ic-tile {
  width: 66px; height: 66px;
  border-radius: 20px;
  background: #fff;
  color: var(--ic);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(217, 54, 62, .3);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ic) 30%, transparent);
  transform: rotate(-3deg);
  transition: transform .25s ease;
  position: relative;
  z-index: 1;
}
.card:hover .act-icon .ic-tile { transform: rotate(0deg) scale(1.08); }
.act-icon .ic-svg { width: 34px; height: 34px; }
.act-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.act-body h3 { font-size: 18.5px; font-weight: 800; line-height: 1.45; margin-bottom: 8px; }
.act-meta { font-size: 14.5px; color: var(--c-muted); margin-bottom: 16px; }
.act-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- 文娱比赛 ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.tab-btn {
  background: #fff;
  border: 2px solid #FFE3D6;
  color: var(--c-body);
  font-size: 16px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 999px;
  transition: all .22s;
}
.tab-btn:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); }
.tab-btn.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(255, 92, 51, .32); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.comp-card {
  background: var(--c-paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.comp-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.comp-card.hidden { display: none; }
.comp-card.featured { grid-column: span 2; }
.comp-banner {
  height: 116px;
  background: var(--bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
.comp-banner .banner-ic { width: 24px; height: 24px; flex-shrink: 0; }
.comp-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 140px at 85% -20%, rgba(255, 255, 255, .3), transparent 60%);
}
.comp-badge {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0;
}
.comp-badge .banner-ic { width: 15px; height: 15px; }
.comp-count {
  position: absolute;
  bottom: 12px; right: 16px;
  z-index: 1;
  font-size: 13px;
  background: rgba(36, 28, 24, .35);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0;
  font-weight: 500;
}
.comp-count b { font-size: 17px; margin: 0 3px; font-weight: 800; }
.comp-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.comp-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.comp-meta { font-size: 14.5px; color: var(--c-muted); margin-bottom: 8px; }
.comp-desc { font-size: 15.5px; color: var(--c-body); margin-bottom: 18px; }
.comp-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.done-note { font-size: 15px; color: var(--c-muted); font-weight: 700; }

/* ---------- 文娱内容 ---------- */
.chips { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.chip-btn {
  background: #fff;
  border: 2px solid #FFE3D6;
  color: var(--c-body);
  font-size: 15.5px;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 999px;
  transition: all .22s;
}
.chip-btn:hover { border-color: var(--c-gold); color: #B0780A; transform: translateY(-2px); }
.chip-btn.active { background: var(--grad-gold); border-color: transparent; color: #6B4300; box-shadow: 0 8px 20px rgba(255, 184, 77, .35); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--c-paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card.hidden { display: none; }
.post-thumb {
  height: 152px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.post-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 120px at 90% -10%, rgba(255, 255, 255, .28), transparent 60%);
}
.post-thumb .ic-tile {
  width: 78px; height: 78px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  color: var(--ic);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 38px rgba(36, 28, 24, .18);
  transform: rotate(3deg);
  transition: transform .25s ease;
  position: relative;
  z-index: 1;
}
.post-card:hover .post-thumb .ic-tile { transform: rotate(0deg) scale(1.07); }
.post-thumb .ic-svg { width: 40px; height: 40px; }
.post-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.post-cat {
  font-size: 13px; font-weight: 800; color: var(--c-primary); letter-spacing: 1.5px; margin-bottom: 6px;
}
.post-body h3 { font-size: 18px; font-weight: 800; line-height: 1.45; margin-bottom: 8px; }
.post-body p { font-size: 15px; color: var(--c-body); margin-bottom: 14px; }
.post-foot {
  margin-top: auto;
  display: flex; gap: 18px;
  font-size: 13.5px;
  color: var(--c-muted);
  border-top: 1px dashed #F4E3D8;
  padding-top: 12px;
}

/* ---------- 乐龄MCN（玻璃拟态） ---------- */
.mcn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 60px; }
.mcn-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform .25s, background .25s, border-color .25s;
}
.mcn-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 184, 77, .4); }
.mcn-icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: var(--grad-gold);
  color: #6B4300;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(255, 184, 77, .35), inset 0 2px 6px rgba(255, 255, 255, .5);
  transition: transform .25s ease;
}
.mcn-card:hover .mcn-icon { transform: rotate(-6deg) scale(1.08); }
.mcn-icon .ic-svg { width: 36px; height: 36px; }
.mcn-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.mcn-card p { font-size: 15px; color: #DCCBC2; }
.mcn-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.mcn-stats li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 18px 36px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.mcn-stats b {
  display: block; font-size: 32px; font-weight: 900; line-height: 1.25;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mcn-stats span { font-size: 14.5px; color: #DCCBC2; }
.mcn-cta { text-align: center; }

/* ---------- 团长IP ---------- */
.leader-banner {
  background:
    radial-gradient(640px 280px at 92% 0%, rgba(255, 184, 77, .28), transparent 60%),
    var(--grad-primary);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 26px 70px rgba(255, 92, 51, .3);
  overflow: hidden;
  position: relative;
}
.leader-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.leader-num {
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--c-gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.leader-num small { display: block; font-size: 18px; font-weight: 700; letter-spacing: 8px; margin-top: 12px; -webkit-text-fill-color: #FFF3EA; }
.leader-rights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.leader-rights li { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.leader-rights .li-ic {
  width: 22px; height: 22px;
  color: #FFE9C4;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}
.leader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.leader-card {
  background: var(--c-paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: var(--c-primary-soft);
  background: linear-gradient(135deg, color-mix(in srgb, var(--lc) 16%, #fff), color-mix(in srgb, var(--lc) 40%, #fff));
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--lc), 0 12px 26px rgba(36, 28, 24, .14);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.leader-card:hover .leader-avatar { transform: scale(1.06) rotate(-4deg); }
.leader-avatar .ic-svg { width: 40px; height: 40px; color: var(--lc); }
.leader-card h4 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.leader-region { font-size: 14px; color: var(--c-muted); margin-bottom: 12px; }
.leader-desc { font-size: 15px; color: var(--c-body); margin-bottom: 16px; }
.leader-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.leader-tags span { font-size: 13px; font-weight: 700; background: var(--c-primary-soft); color: var(--c-primary); padding: 5px 14px; border-radius: 999px; }

/* ---------- 媒体矩阵 ---------- */
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.matrix-card {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.matrix-card:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: var(--shadow-lg); }
.matrix-logo {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--mc);
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--mc) 35%, transparent);
}
.matrix-card b { font-size: 17px; font-weight: 800; }
.matrix-card em { font-style: normal; font-size: 13.5px; color: var(--c-muted); }
.matrix-note { text-align: center; font-size: 17px; color: var(--c-body); margin-top: 40px; }
.matrix-note b { color: var(--c-primary); font-size: 21px; font-weight: 900; }

/* ---------- 加入我们 ---------- */
.join-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.join-info h2 { font-size: clamp(34px, 3.8vw, 46px); font-weight: 900; line-height: 1.3; margin: 16px 0 20px; }
.join-info h2 .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.join-info p { font-size: 17px; color: var(--c-body); margin-bottom: 30px; }
.join-contact li {
  font-size: 17px; color: var(--c-body); padding: 12px 0; border-bottom: 1px dashed #F0DDD0;
  display: flex; align-items: center; gap: 12px;
}
.join-contact li svg { width: 22px; height: 22px; color: var(--c-primary); flex-shrink: 0; }
.join-form {
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(255, 92, 51, .13);
  padding: 40px 38px;
}
.join-form h3 { font-size: 24px; font-weight: 900; margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 15px; font-weight: 700; color: var(--c-ink); margin-bottom: 8px; }
.form-row label i { color: var(--c-primary); font-style: normal; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16.5px;
  color: var(--c-ink);
  background: #FFF7F2;
  border: 2px solid #FFE8DC;
  border-radius: 14px;
  padding: 13px 18px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-row textarea { resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(255, 92, 51, .12); }
.form-row input.error { border-color: #E4483C; }
.form-note { font-size: 13px; color: var(--c-muted); margin-top: 14px; text-align: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--grad-ink); color: #CBB9AF; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 62px 0 46px;
}
.footer-logo { font-size: 27px; font-weight: 900; color: #fff; letter-spacing: .5px; }
.footer-brand p { font-size: 15px; line-height: 2; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; padding: 6px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--c-gold-2); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #9C867A; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-mask { position: absolute; inset: 0; background: rgba(36, 28, 24, .55); backdrop-filter: blur(6px); }
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 38px 34px;
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-size: 16px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--c-primary); color: #fff; transform: rotate(90deg); }
.modal-card h3 { font-size: 25px; font-weight: 900; margin-bottom: 6px; }
.modal-sub { font-size: 15px; color: var(--c-muted); margin-bottom: 26px; }
.modal-success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EAF7F0, #CDF0DF);
  color: var(--c-green);
  display: flex; align-items: center; justify-content: center;
  animation: pop .45s cubic-bezier(.34, 1.56, .64, 1);
}
.success-icon svg { width: 46px; height: 46px; }
@keyframes pop {
  from { transform: scale(.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-success h4 { font-size: 25px; font-weight: 900; margin-bottom: 10px; }
.modal-success p { font-size: 15.5px; color: var(--c-body); margin-bottom: 26px; }

/* ---------- 浮动按钮 ---------- */
.float-actions { position: fixed; right: 22px; bottom: 26px; z-index: 150; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(36, 28, 24, .26);
  transition: transform .2s;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.12); }
.fab-join { background: var(--grad-primary); color: #fff; animation: pulse 2.4s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(255, 92, 51, .4), 0 0 0 0 rgba(255, 92, 51, .45); }
  50% { box-shadow: 0 14px 34px rgba(255, 92, 51, .4), 0 0 0 16px rgba(255, 92, 51, 0); }
}
.fab-top { background: #fff; color: var(--c-primary); opacity: 0; pointer-events: none; transition: opacity .3s; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-card.featured { grid-column: span 2; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .mcn-grid { grid-template-columns: repeat(2, 1fr); }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 84px;
    background: rgba(255, 249, 245, .98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 5%;
    border-bottom: 1px solid rgba(255, 92, 51, .1);
    box-shadow: 0 26px 55px rgba(36, 28, 24, .2);
    transform: translateY(-130%);
    transition: transform .3s ease;
    display: flex;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 15px 20px; font-size: 18px; border-radius: 16px; }
  .main-nav a.active { box-shadow: none; }
  .main-nav .nav-join { display: block; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 84px; }
  .hero-art { height: 400px; order: -1; }
  .hero-logo-wrap { animation: none; }
  .hero-logo { width: 148px; height: 148px; }
  .hero-logo img { border-radius: 30px; }
  .b3 { bottom: 30%; }
  .hero h1 { font-size: 48px; }
  .leader-banner { grid-template-columns: 1fr; text-align: center; }
  .leader-rights { grid-template-columns: 1fr 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .join-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .activity-grid, .comp-grid, .post-grid, .mcn-grid, .matrix-grid { grid-template-columns: 1fr; }
  .comp-card.featured { grid-column: span 1; }
  .hero-art { height: 340px; }
  .hero-logo-wrap { animation: none; }
  .hero-logo { width: 134px; height: 134px; }
  .hero-logo img { border-radius: 26px; }
  .ring-1 { width: 280px; height: 280px; }
  .ring-2 { width: 350px; height: 350px; }
  .bubble { width: 62px; height: 62px; border-radius: 18px; }
  .bubble .ic-svg { width: 28px; height: 28px; }
  .chip { display: none; }
  .hero-stats li { min-width: 44%; }
  .leader-rights { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .join-form { padding: 30px 24px; }
  .ticker-list { animation-duration: 45s; }
}

/* 减少动态效果（无障碍偏好） */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
