/* ============================================
   德友圈俱乐部 - 深色商务风 CSS 设计系统
   Version: 1.0.0
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  /* 主色调 - 深蓝商务 */
  --primary: #1a6dff;
  --primary-dark: #0050d8;
  --primary-light: #4d8eff;
  --primary-bg: rgba(26, 109, 255, 0.08);

  /* 辅助色 */
  --gold: #f0b90b;
  --gold-dark: #d4a20a;
  --gold-light: #f5cb4a;
  --gold-bg: rgba(240, 185, 11, 0.08);

  --green: #00c896;
  --green-bg: rgba(0, 200, 150, 0.08);

  --red: #f6465d;
  --red-bg: rgba(246, 70, 93, 0.08);

  --cyan: #0dcaf0;
  --cyan-bg: rgba(13, 202, 240, 0.08);

  /* 背景色 - 深色 */
  --bg-base: #0b0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2035;
  --bg-card: #151d2e;
  --bg-card-hover: #1a2540;
  --bg-input: #0d1220;

  /* 文字色 */
  --text-primary: #e8ecf4;
  --text-secondary: #8b95a5;
  --text-tertiary: #5a6477;
  --text-muted: #3d4655;

  /* 边框 */
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-focus: var(--primary);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(26, 109, 255, 0.15);

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* 过渡 */
  --dur-fast: 0.15s;
  --dur-base: 0.3s;
  --dur-slow: 0.5s;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--dur-fast);
}
a:hover { color: var(--gold); }

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

ul, ol { list-style: none; }

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

/* ---- Top Bar ---- */
.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-tertiary);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--text-secondary); font-size: 13px; }
.top-bar a:hover { color: var(--gold); }
.top-bar-right { display: flex; gap: 20px; align-items: center; }
.top-bar-wechat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold) !important;
  font-weight: 600;
  cursor: pointer;
}

/* ---- Navigation ---- */
.nav {
  background: rgba(11, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--dur-base);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-logo img { border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.nav-link.active { color: var(--primary-light); background: var(--primary-bg); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--dur-base);
}
.nav-download:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-glow); }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}
.mobile-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 14, 23, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.mobile-menu a.active { color: var(--primary-light); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--bg-base) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26, 109, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 185, 11, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  border: 1px solid rgba(26, 109, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--dur-base);
  text-align: center;
  line-height: 1.4;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(26, 109, 255, 0.3);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 25px rgba(26, 109, 255, 0.4); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0b0e17;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}
.btn-gold:hover { color: #0b0e17; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---- Section ---- */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
}
.section-header.center p { margin: 0 auto; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--dur-base);
  height: 100%;
}
.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.club-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.club-card:hover {
  border-color: rgba(26, 109, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.club-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-tertiary);
}
.club-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.club-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.club-card-title:hover { color: var(--primary-light); }
.club-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.club-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.club-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---- Grid ---- */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---- Tags & Badges ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.tag-primary { background: var(--primary-bg); color: var(--primary-light); border-color: rgba(26, 109, 255, 0.2); }
.tag-gold { background: var(--gold-bg); color: var(--gold); border-color: rgba(240, 185, 11, 0.2); }
.tag-green { background: var(--green-bg); color: var(--green); border-color: rgba(0, 200, 150, 0.2); }

/* ---- Ranking Table ---- */
.ranking-table { width: 100%; border-collapse: collapse; }
.ranking-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.ranking-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.ranking-table tr:hover td { background: var(--bg-tertiary); }
.ranking-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
}
.ranking-num.top1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #0b0e17; }
.ranking-num.top2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #0b0e17; }
.ranking-num.top3 { background: linear-gradient(135deg, #cd7f32, #a0622e); color: #fff; }
.ranking-num.normal { background: var(--bg-tertiary); color: var(--text-tertiary); }

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--dur-fast);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  font-family: var(--font-sans);
}
.faq-icon {
  font-size: 20px;
  color: var(--primary-light);
  transition: transform var(--dur-base);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---- GEO Q&A Module ---- */
.geo-qa-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.geo-qa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color var(--dur-fast);
}
.geo-qa-item:hover { border-color: rgba(26, 109, 255, 0.3); }
.geo-qa-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.geo-qa-q::before { content: 'Q'; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.geo-qa-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 24px;
  border-left: 2px solid var(--border-light);
}

/* ---- People Also Ask ---- */
.paa-section { margin-top: 48px; }
.paa-list { display: grid; gap: 10px; }
.paa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--dur-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.paa-item:hover { border-color: var(--primary); color: var(--text-primary); }
.paa-item::after { content: '›'; font-size: 18px; color: var(--text-tertiary); }
.paa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
  background: var(--bg-secondary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.paa-answer-inner { padding: 16px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb-sep { color: var(--text-muted); }

/* ---- Sidebar ---- */
.sidebar { position: sticky; top: 92px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ---- Tag Cloud ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tag { cursor: pointer; }
.tag-cloud .tag:hover { border-color: var(--primary); color: var(--primary-light); }

/* ---- Article ---- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: 4px; }
.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}
.article-body h2 { font-size: 1.5rem; margin: 40px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-body p { margin-bottom: 20px; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }
.article-body ul, .article-body ol { margin: 16px 0; padding-left: 24px; }
.article-body li { margin-bottom: 8px; color: var(--text-secondary); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

/* ---- Author Box ---- */
.author-box {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin: 40px 0;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.author-info h4 { font-size: 15px; margin-bottom: 4px; }
.author-info p { font-size: 13px; color: var(--text-tertiary); }

/* ---- Related Posts ---- */
.related-posts { margin-top: 60px; }
.related-post {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.related-post:last-child { border-bottom: none; }
.related-post-img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  flex-shrink: 0;
}
.related-post-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-post-title:hover { color: var(--primary-light); }
.related-post-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all var(--dur-fast);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-light); }
.pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 16px;
  line-height: 1.8;
}
.footer-geo {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 12px;
  line-height: 2;
}
.footer-geo a { color: var(--primary-light); }
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-tertiary);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Floating Contact (WeChat) ---- */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
}
.floating-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: all var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.floating-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-panel h4 {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-panel h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(0, 200, 150, 0); }
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.contact-row:first-of-type { border-top: none; }
.wechat-id-display {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.copy-btn {
  margin-left: auto;
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid rgba(240, 185, 11, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.copy-btn:hover { background: rgba(240, 185, 11, 0.2); }
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-base);
  color: #fff;
}
.floating-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.floating-btn svg { width: 24px; height: 24px; }

/* Minimized floating button */
.floating-contact.minimized .floating-panel { display: none; }
.floating-contact.minimized .floating-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  animation: pulse-btn 2s infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(240, 185, 11, 0); }
}
.minimize-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  line-height: 1;
}
.minimize-btn:hover { color: var(--text-primary); }

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all var(--dur-base);
  z-index: 9999;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Stats Bar ---- */
.stats-bar {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--text-tertiary); margin-top: 8px; }

/* ---- Search Box ---- */
.search-box {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.search-box:focus-within { border-color: var(--primary); }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  font-family: var(--font-sans);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
  background: var(--primary);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  overflow-x: auto;
}
.tab {
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
  border: none;
  background: none;
  font-family: var(--font-sans);
}
.tab:hover { color: var(--text-primary); }
.tab.active { background: var(--primary); color: #fff; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hot Search ---- */
.hot-search { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hot-search a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--dur-fast);
}
.hot-search a:hover { border-color: var(--primary); color: var(--primary-light); background: var(--primary-bg); }
.hot-search a::before { content: '#'; color: var(--gold); margin-right: 4px; }

/* ---- City Links ---- */
.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast);
}
.city-links a:hover { color: var(--primary-light); background: var(--primary-bg); }

/* ---- Notice Bar ---- */
.notice-bar {
  background: var(--gold-bg);
  border: 1px solid rgba(240, 185, 11, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-panel { width: 280px; right: -8px; }
  .stats-bar { gap: 20px; justify-content: center; }
  .stat-num { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.5rem; }
  .top-bar .container { flex-direction: column; gap: 4px; text-align: center; }
}
