/* ========== 表帝网 全站样式 ========== */
:root {
  --gold: #d4af37;
  --gold-dark: #b8962e;
  --dark: #111;
  --dark-2: #1c1c1c;
  --text: #222;
  --text-2: #666;
  --text-3: #999;
  --bg: #f5f5f5;
  --line: #eee;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 1200px; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.navbar {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}
.logo small { font-size: 12px; color: #999; margin-left: 8px; letter-spacing: 0; font-weight: 400; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { font-size: 15px; color: #ddd; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  background: none;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-xs { padding: 6px 14px; font-size: 12px; border-radius: 20px; }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; color: #fff; border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }

/* ---------- Banner ---------- */
.hero {
  background: linear-gradient(135deg, #151515 0%, #2c2c2c 50%, #1a1a1a 100%);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.hero-inner { display: flex; justify-content: space-between; align-items: center; }
.hero-text h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; }
.hero-sub { font-size: 18px; color: #bbb; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 16px; }
.hero-visual { position: relative; width: 340px; height: 340px; }
.watch-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
  border: 2px solid rgba(212,175,55,.4);
  border-radius: 50%;
}
.watch-ring-2 { width: 180px; height: 180px; border-color: rgba(212,175,55,.7); }
.watch-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--gold); border-radius: 50%;
}

/* ---------- 区块 ---------- */
.section { padding: 40px 0; }
.panel {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.panel-title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 18px; padding-left: 10px;
  border-left: 4px solid var(--gold);
}
.panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.more-link { font-size: 13px; color: var(--text-3); }
.more-link:hover { color: var(--gold); }

/* ---------- 数据 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border-radius: 8px; padding: 28px; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  border-top: 3px solid var(--gold);
}
.stat-number { font-size: 30px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.stat-label { color: var(--text-2); font-size: 14px; }

/* ---------- 布局 ---------- */
.content-grid { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }

/* 品牌列表 */
.brand-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.brand-list a { font-size: 14px; color: var(--text-2); }
.brand-list a:hover { color: var(--gold); }

/* 商家卡片 */
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.business-card {
  display: flex; gap: 16px; padding: 18px;
  border: 1px solid var(--line); border-radius: 8px;
  transition: all .3s ease;
}
.business-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.business-logo {
  width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
}
.business-info h4 { font-size: 16px; margin-bottom: 6px; }
.business-meta { font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.business-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.business-tags span {
  padding: 3px 10px; background: #f4f4f4; color: var(--text-2);
  border-radius: 20px; font-size: 12px;
}

/* 资讯列表 */
.news-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.news-list a:hover { color: var(--gold); }
.news-list .date { float: right; color: var(--text-3); font-size: 12px; }

/* 入驻区 */
.join-section { background: var(--dark); color: #fff; border-radius: 8px; padding: 40px; }
.join-inner { display: flex; justify-content: space-between; align-items: center; }
.join-inner h2 { font-size: 24px; margin-bottom: 8px; }
.join-inner p { color: #bbb; }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark); color: #bbb; margin-top: 40px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px; padding: 50px 0 30px;
}
.footer-about p { margin-top: 14px; font-size: 14px; }
.footer-links h4 { color: #fff; margin-bottom: 16px; font-size: 15px; }
.footer-links a, .footer-links p { display: block; font-size: 13px; margin-bottom: 10px; color: #bbb; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #222; padding: 20px 0; text-align: center;
  font-size: 13px; color: #777;
}

/* ---------- 页面标题条 ---------- */
.page-head {
  background: var(--dark-2); color: #fff; padding: 40px 0;
}
.page-head h1 { font-size: 28px; margin-bottom: 8px; }
.page-head p { color: #aaa; font-size: 14px; }

/* 筛选条 */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.filter-bar a {
  padding: 6px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; font-size: 13px; color: var(--text-2);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* 表单 */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--text-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 14px; font-family: inherit; background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* 详情页 */
.detail-cover {
  height: 280px; border-radius: 8px;
  background: linear-gradient(135deg, #1c1c1c, #3a3a3a);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 40px; font-weight: 700; margin-bottom: 24px;
}
.detail-meta { color: var(--text-3); font-size: 13px; margin-bottom: 16px; }
.detail-body p { margin-bottom: 14px; font-size: 15px; color: var(--text-2); }

/* 视频网格 */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.video-cover {
  height: 160px; background: linear-gradient(135deg, #222, #444);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-size: 26px;
}
.video-card .info { padding: 16px; }
.video-card h4 { font-size: 15px; margin-bottom: 6px; }
.video-card .meta { font-size: 12px; color: var(--text-3); }

/* 社区帖子 */
.post-item {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line);
}
.post-thumb {
  width: 100px; height: 76px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #ddd, #bbb);
}
.post-item h4 { font-size: 15px; margin-bottom: 6px; }
.post-item .meta { font-size: 12px; color: var(--text-3); }

/* ---------- 移动端 ---------- */
.mobile-header { display: none; }
.mobile-tabbar { display: none; }

@media (max-width: 990px) {
  .container { width: 100%; padding: 0 16px; }
  .nav-menu, .navbar .btn-outline { display: none; }

  .hero { padding: 40px 0; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { width: 180px; height: 180px; margin-top: 20px; }
  .watch-ring { width: 150px; height: 150px; }
  .watch-ring-2 { width: 100px; height: 100px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px; }
  .stat-number { font-size: 24px; }

  .content-grid, .business-grid, .video-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  /* 移动端头部 */
  .navbar { display: none; }
  .mobile-header {
    display: block; background: var(--dark); color: #fff;
    position: sticky; top: 0; z-index: 100;
  }
  .header-inner { padding: 14px 16px; }
  .mobile-header .logo { margin-bottom: 10px; }
  .search-box {
    display: flex; background: #fff; border-radius: 24px; overflow: hidden;
  }
  .search-box input {
    flex: 1; border: none; outline: none; padding: 10px 14px; font-size: 14px;
  }
  .search-btn {
    border: none; background: var(--gold); color: var(--dark);
    padding: 0 18px; font-size: 14px;
  }

  body { padding-bottom: 70px; }
  .mobile-tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line); height: 60px; z-index: 100;
  }
  .tab-item {
    flex: 1; display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--text-2);
  }
  .tab-item.active { color: var(--gold); font-weight: 700; }

  .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .quick-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-2);
  }
  .quick-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
  }

  .join-section { padding: 24px; }
  .join-inner { flex-direction: column; gap: 16px; text-align: center; }
}
