/* ============================================================
   万众帮官网 - 精品样式
   ============================================================ */

/* ===== 设计令牌 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #FF6B35;
  --primary-dark: #E85A2B;
  --primary-light: #FFF5F0;
  --primary-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
  --primary-gradient-soft: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);

  --secondary: #2B6CB0;
  --secondary-light: #EBF4FF;
  --accent: #07C160;
  --gold: #F6AD55;
  --purple: #9F7AEA;

  --text: #1A202C;
  --text-light: #4A5568;
  --text-lighter: #A0AEC0;
  --text-lightest: #CBD5E0;

  --bg: #F7FAFC;
  --bg-soft: #F0F4F8;
  --white: #fff;

  --border: #E2E8F0;
  --border-light: #EDF2F7;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 24px rgba(255,107,53,0.25);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --header-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { outline: none; font-family: inherit; }
ul, ol { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD5E0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A0AEC0; }

/* ===== 顶部导航 - 玻璃态 ===== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: all 0.3s ease;
}
.top-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,107,53,0.35);
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.05); }
.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 1px;
  background: linear-gradient(135deg, #1A202C 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-slogan {
  font-size: 12px;
  color: var(--text-lighter);
  padding-left: 12px;
  border-left: 1px solid var(--border);
  margin-left: 4px;
  white-space: nowrap;
}

/* 导航 */
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 10px 22px;
  border-radius: 10px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-link:hover::after, .nav-link.active::after { width: 20px; }
.nav-link.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

/* 右侧操作 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-login {
  padding: 9px 24px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-login:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-register {
  padding: 9px 24px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-primary);
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,0.4); }

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  background: var(--primary-light);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.user-chip:hover { background: var(--primary); }
.user-chip:hover span { color: #fff; }
.user-chip img {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.user-chip span { font-size: 14px; color: var(--primary); font-weight: 500; transition: color 0.25s; }

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 90;
}
.mobile-menu a {
  padding: 14px 24px;
  font-size: 15px;
  color: var(--text-light);
  transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }

/* ============================================================
   首页 Hero 轮播
   ============================================================ */
.hero-section { margin-top: 0; }
.hero-banner {
  position: relative;
  height: 460px;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  align-items: center;
}
.hero-slide .slide-content {
  padding-left: 90px;
  color: #fff;
  max-width: 520px;
  animation: slideUp 0.8s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide .slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,53,0.92);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 18px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero-slide .slide-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-slide .slide-desc {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-slide .slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 34px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}
.hero-slide .slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,0.5);
}

/* 轮播控制 */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.3);
  z-index: 10;
}
.hero-arrow:hover { background: rgba(255,255,255,0.35); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* ============================================================
   公告滚动条
   ============================================================ */
.notice-marquee {
  background: var(--white);
  margin-top: 24px;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.notice-marquee .notice-icon {
  background: var(--primary-gradient);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.notice-marquee .notice-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}
.notice-marquee .notice-track-inner {
  position: absolute;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.notice-marquee .notice-track-inner:hover { animation-play-state: paused; }
.notice-marquee .notice-item {
  display: inline-block;
  margin-right: 60px;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.notice-marquee .notice-item:hover { color: var(--primary); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   主体内容区
   ============================================================ */
.main-content { padding: 36px 0; }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
}

/* ===== 搜索栏 ===== */
.home-search-bar {
  background: var(--white);
  margin-top: 20px;
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.home-search-bar .search-icon {
  font-size: 18px;
  color: var(--text-lighter);
  flex-shrink: 0;
}
.home-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
}
.home-search-bar input::placeholder { color: var(--text-lighter); }
.home-search-bar .search-btn {
  padding: 8px 24px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.home-search-bar .search-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-primary); }

/* ===== 左栏：好人榜 / 公益墙（单框双标签） ===== */
.left-side-panels {
  display: block;
}
.rank-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
/* 子标签栏 */
.rank-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
}
.rank-tab {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.rank-tab:hover { color: var(--primary); }
.rank-tab.active { color: var(--primary); }
.rank-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.rank-panel .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
}
.rank-panel .panel-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank-panel .panel-title::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.rank-panel .panel-more {
  font-size: 12px;
  color: var(--text-lighter);
  cursor: pointer;
}
.rank-panel .panel-more:hover { color: var(--primary); }

.rank-list { padding: 4px 0; }
.rank-pane { display: none; animation: tabFadeIn 0.3s ease; }
.rank-pane.active { display: block; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid var(--border-light);
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: var(--primary-light); }
.rank-num {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--text-lighter);
}
.rank-item:nth-child(1) .rank-num { background: linear-gradient(135deg,#FFD700,#FFA500); color: #fff; }
.rank-item:nth-child(2) .rank-num { background: linear-gradient(135deg,#C0C0C0,#9CA3AF); color: #fff; }
.rank-item:nth-child(3) .rank-num { background: linear-gradient(135deg,#CD7F32,#B45309); color: #fff; }
.rank-info { flex: 1; min-width: 0; }
.rank-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.rank-item:hover .rank-name { color: var(--primary); }
.rank-desc {
  font-size: 12px;
  color: var(--text-lighter);
  margin-top: 2px;
}
.rank-point {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== 单框多标签内容区（右栏） ===== */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.panel:hover { box-shadow: var(--shadow-md); }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
}
.panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.panel-title .title-icon {
  font-size: 20px;
}
.panel-more {
  font-size: 13px;
  color: var(--text-lighter);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 2px;
}
.panel-more:hover { color: var(--primary); }
.panel-more:hover::after { transform: translateX(3px); }
.panel-more::after {
  content: '›';
  transition: transform 0.2s;
}

/* ===== 单框多标签内容区 ===== */
.content-tabs-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* Tab 标签栏 */
.tab-bar {
  display: flex;
  background: linear-gradient(180deg, #FAFBFC 0%, #fff 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 0 12px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-item {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent;
}
.tab-item:hover { color: var(--primary); }
.tab-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-item .tab-icon { font-size: 17px; }
.tab-item .tab-badge {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

/* Tab 内容区 */
.tab-content {
  display: none;
  animation: tabFadeIn 0.3s ease;
}
.tab-content.active { display: block; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 单框内的列表样式 */
.tab-pane-list { padding: 4px 0; }

/* ===== 左侧 - 公益动态（保留，用于单框内复用） ===== */
.dynamic-list { padding: 6px 0; }
.dynamic-item {
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.dynamic-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary-gradient);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}
.dynamic-item:last-child { border-bottom: none; }
.dynamic-item:hover { background: var(--primary-light); padding-left: 28px; }
.dynamic-item:hover::before { transform: scaleY(1); }

.dynamic-item .di-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.dynamic-item:hover .di-title { color: var(--primary); }
.dynamic-item .di-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-lighter);
}
.dynamic-item .di-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  margin-right: 6px;
}
.di-tag.home { background: #FED7AA; color: #DD6B20; }
.di-tag.help { background: #C6F6D5; color: #2F855A; }
.di-tag.recycle { background: #BEE3F8; color: #2B6CB0; }
.di-tag.craft { background: #E9D8FD; color: #6B46C1; }

/* ===== 右侧多列（已废弃，保留兼容） ===== */
.right-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 公告/新闻列表 */
.news-list { padding: 6px 0; }
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 24px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #FAFBFC; padding-left: 28px; }
.news-item .news-date {
  flex-shrink: 0;
  text-align: center;
  padding: 8px 10px;
  background: var(--primary-light);
  border-radius: 10px;
  min-width: 52px;
  transition: all 0.2s;
}
.news-item:hover .news-date { background: var(--primary); }
.news-item:hover .news-date .day,
.news-item:hover .news-date .month { color: #fff; }
.news-item .news-date .day {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  transition: color 0.2s;
}
.news-item .news-date .month {
  font-size: 11px;
  color: var(--text-lighter);
  margin-top: 3px;
  transition: color 0.2s;
}
.news-item .news-info { flex: 1; min-width: 0; }
.news-item .news-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-item:hover .news-title { color: var(--primary); }
.news-item .news-desc {
  font-size: 12px;
  color: var(--text-lighter);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 项目卡片 */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.project-card {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.25s ease;
}
.project-card:nth-child(odd) { border-right: 1px solid var(--border-light); }
.project-card:nth-last-child(-n+2) { border-bottom: none; }
.project-card:hover { background: #FAFBFC; }
.project-card .pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.project-card .pc-tag {
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}
.project-card .pc-status {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.project-card .pc-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.project-card .pc-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.project-card:hover .pc-title { color: var(--primary); }
.project-card .pc-progress {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.project-card .pc-progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 1s ease;
  position: relative;
}
.project-card .pc-progress-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
}
.project-card .pc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-lighter);
}
.project-card .pc-meta span:first-child { color: var(--primary); font-weight: 600; }

/* ============================================================
   数据统计通栏
   ============================================================ */
.stats-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 12px 40px rgba(255,107,53,0.3);
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.stat-item {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}
.stat-item .stat-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.stat-item .stat-label {
  font-size: 14px;
  opacity: 0.92;
  font-weight: 500;
}
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.2); }

/* ============================================================
   公益分类入口
   ============================================================ */
.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title-bar h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title-bar h2::before {
  content: '';
  width: 5px;
  height: 26px;
  background: var(--primary-gradient);
  border-radius: 3px;
}
.section-title-bar .section-sub {
  color: var(--text-lighter);
  font-size: 14px;
}

.category-entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.cat-entry {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.cat-entry::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.cat-entry:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.cat-entry:hover::before { transform: scaleX(1); }
.cat-entry .ce-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  background: var(--primary-gradient-soft);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transition: all 0.35s ease;
}
.cat-entry:hover .ce-icon {
  background: var(--primary-gradient);
  transform: scale(1.1) rotate(-5deg);
}
.cat-entry .ce-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.cat-entry:hover .ce-name { color: var(--primary); }
.cat-entry .ce-desc {
  font-size: 12px;
  color: var(--text-lighter);
}

/* ============================================================
   公益信息列表页
   ============================================================ */
.page-header {
  background: var(--primary-gradient);
  padding: 52px 0;
  margin-bottom: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}
.page-header p { opacity: 0.92; font-size: 15px; }

.filter-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-row select, .filter-row input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--bg);
  transition: all 0.2s;
}
.filter-row select:focus, .filter-row input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.sort-tabs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.sort-tab {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  font-weight: 500;
}
.sort-tab:hover { background: var(--primary-light); color: var(--primary); }
.sort-tab.active { background: var(--primary-gradient); color: #fff; box-shadow: var(--shadow-primary); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.info-card .ic-cover {
  height: 200px;
  background: linear-gradient(135deg, #FED7AA, #FFE8DC);
  overflow: hidden;
  position: relative;
}
.info-card .ic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.info-card:hover .ic-cover img { transform: scale(1.08); }
.info-card .ic-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.info-card:hover .ic-cover::after { opacity: 1; }
.info-card .ic-body { padding: 18px 20px; }
.info-card .ic-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.info-card:hover .ic-title { color: var(--primary); }
.info-card .ic-desc {
  font-size: 13px;
  color: var(--text-lighter);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  min-height: 38px;
  line-height: 1.6;
}
.info-card .ic-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-lighter);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.info-card .ic-meta .ic-location {
  display: flex;
  align-items: center;
  gap: 4px;
}
.info-card .ic-meta .ic-stats {
  display: flex;
  gap: 14px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-light);
  transition: all 0.2s;
  font-weight: 500;
}
.pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination button.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============================================================
   信息详情
   ============================================================ */
.detail-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}
.detail-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-lighter);
  font-size: 13px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 26px;
}
.detail-meta span { display: flex; align-items: center; gap: 4px; }
.detail-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.detail-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}
.detail-images img:hover { transform: scale(1.03); }
.detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 30px;
  white-space: pre-wrap;
}
.detail-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 26px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: 24px;
  background: var(--white);
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  font-weight: 500;
}
.action-btn:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.action-btn.active { color: var(--primary); background: var(--primary-light); border-color: var(--primary-light); }

.comment-section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.comment-input-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.comment-input-box input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  transition: all 0.2s;
}
.comment-input-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,53,0.1); }

.btn {
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary-gradient); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,107,53,0.4); }
.btn-outline { background: var(--white); color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-block { width: 100%; }

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.comment-item .c-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  font-weight: 600;
}
.comment-item .c-body { flex: 1; }
.comment-item .c-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-item .c-content { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.comment-item .c-time { font-size: 12px; color: var(--text-lighter); }

/* ============================================================
   发布页
   ============================================================ */
.publish-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
}
.publish-wrap h2 {
  font-size: 24px;
  margin-bottom: 26px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--bg);
  transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  color: var(--text-lighter);
  transition: all 0.2s;
  background: var(--bg);
}
.upload-area:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.upload-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.upload-preview .up-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.upload-preview .up-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview .up-item .up-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-preview .up-item .up-remove:hover { background: var(--primary); transform: scale(1.1); }
.region-row { display: flex; gap: 10px; }
.region-row input { flex: 1; }

/* ============================================================
   登录/注册
   ============================================================ */
.auth-wrap {
  max-width: 440px;
  margin: 48px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}
.auth-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border-light);
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 14px;
  cursor: pointer;
  color: var(--text-lighter);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.auth-form .form-group { margin-bottom: 18px; }
.sms-row { display: flex; gap: 10px; }
.sms-row input { flex: 1; }
.sms-row button {
  padding: 12px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  white-space: nowrap;
  font-weight: 600;
  transition: all 0.2s;
}
.sms-row button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.sms-row button:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-tip {
  text-align: center;
  font-size: 13px;
  color: var(--text-lighter);
  margin-top: 20px;
}
.auth-tip a { color: var(--primary); }

/* ============================================================
   我的页面
   ============================================================ */
.my-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}
.my-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  border: 1px solid var(--border-light);
}
.my-profile {
  text-align: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}
.my-profile img {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
  background: var(--primary-gradient);
  border: 3px solid #fff;
  box-shadow: var(--shadow-primary);
}
.my-profile .mp-name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.my-profile .mp-no { font-size: 12px; color: var(--text-lighter); }
.my-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.my-menu-item:hover { background: var(--primary-light); color: var(--primary); }
.my-menu-item.active { background: var(--primary-gradient); color: #fff; box-shadow: var(--shadow-primary); }
.my-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 500px;
  border: 1px solid var(--border-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--primary-gradient-soft);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .sc-num { font-size: 30px; font-weight: 800; color: var(--primary); }
.stat-card .sc-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: all 0.2s;
}
.order-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.order-card .oc-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
  font-size: 13px;
}
.order-card .oc-status { color: var(--primary); font-weight: 600; }
.order-card .oc-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.order-card .oc-row img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.order-card .oc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.order-card .oc-total { font-size: 16px; font-weight: 700; color: var(--primary); }

/* ============================================================
   空状态 / 加载
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-lighter);
}
.empty-state .es-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { font-size: 15px; margin-bottom: 16px; }

.loading {
  text-align: center;
  padding: 50px;
  color: var(--text-lighter);
}
.loading::after {
  content: '';
  display: inline-block;
  width: 28px; height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 200;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(255,107,53,0.5); }

/* ============================================================
   图片预览
   ============================================================ */
.image-preview {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.image-preview.show { display: flex; }
.image-preview img { max-width: 92%; max-height: 92%; object-fit: contain; border-radius: 8px; }

/* ============================================================
   关于我们
   ============================================================ */
.about-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.about-hero {
  text-align: center;
  margin-bottom: 40px;
}
.about-hero h1 { font-size: 36px; margin-bottom: 12px; }
.about-hero p { color: var(--text-light); font-size: 16px; }
.about-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-section {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.about-section:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about-section h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
.about-section p { color: var(--text-light); line-height: 1.8; }

/* ============================================================
   底部
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #1A202C 0%, #0F1419 100%);
  color: #A0AEC0;
  margin-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-logo .logo-icon {
  width: 38px; height: 38px;
  font-size: 20px;
}
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tags span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 12px;
  color: #CBD5E0;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col p {
  display: block;
  font-size: 13px;
  line-height: 2.2;
  color: #A0AEC0;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #2D3748;
  font-size: 13px;
  color: #718096;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .category-entries { grid-template-columns: repeat(2, 1fr); }
  .stats-banner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-banner .stat-item:nth-child(odd) { border-left: none; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; padding: 0 16px; }
  .logo-slogan { display: none; }
  .logo-text { font-size: 20px; }
  .logo-icon { width: 38px; height: 38px; font-size: 20px; }
  .main-nav { display: none; }
  .btn-login, .btn-register { padding: 7px 16px; font-size: 13px; }
  .menu-toggle { display: block; }
  .mobile-menu.show { display: flex; }

  .hero-banner { height: 300px; border-radius: 0 0 24px 24px; }
  .hero-slide .slide-content { padding-left: 24px; max-width: 90%; }
  .hero-slide .slide-title { font-size: 26px; }
  .hero-slide .slide-desc { font-size: 13px; margin-bottom: 18px; }
  .hero-slide .slide-btn { padding: 10px 24px; font-size: 14px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 18px; }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }

  .tab-item { padding: 14px 16px; font-size: 14px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:nth-child(odd) { border-right: none; }
  .project-card { border-bottom: 1px solid var(--border-light) !important; }
  .project-card:last-child { border-bottom: none !important; }

  .info-grid { grid-template-columns: 1fr; }
  .my-wrap { grid-template-columns: 1fr; }
  .my-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-sections { grid-template-columns: 1fr; }
  .detail-wrap, .publish-wrap { padding: 20px; }
  .detail-title { font-size: 22px; }
  .detail-images { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 16px; }
  .auth-wrap { margin: 24px auto; padding: 28px 20px; }
  .stats-banner { padding: 28px 20px; }
  .stat-item .stat-num { font-size: 30px; }
  .stat-item + .stat-item { border-left: none; }
}
