/* 首页横幅 */
.banner {
  background: linear-gradient(135deg, #9cb99a 0%, #e6e7e6 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.banner-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
}

.banner-search button {
  padding: 14px 24px;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-search button:hover {
  background: #ff5252;
}

/* 数据概览 */
.overview {
  padding: 60px 0;
  background: #f8f9fa;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

.overview-item {
  text-align: center;
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.overview-item h3 {
  font-size: 32px;
  font-weight: 700;
  color: #202020;
  margin-bottom: 8px;
}

.overview-item p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* 最新数据区域 */
.latest-section {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.more-link {
  color: #ababab;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.more-link:hover {
  color: #764ba2;
}

/* 通用网格布局 */
.latest-grid,
.blogger-grid,
.video-grid,
.shop-grid,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* 商品卡片 */
.latest-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.latest-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.latest-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.latest-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.item-info {
  padding: 16px;
}

.item-info h4 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-price {
  font-size: 16px;
  font-weight: 600;
  color: #ff6b6b;
  margin-bottom: 4px;
}

.item-sales {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* 达人卡片 */
.blogger-item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.blogger-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.blogger-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

.blogger-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.blogger-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.blogger-info p {
  font-size: 12px;
  color: #666;
  margin: 4px 0;
}

/* 视频卡片 */
.video-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.video-info {
  padding: 16px;
}

.video-info h4 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-info p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* 小店卡片 */
.shop-item {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.shop-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.shop-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

.shop-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.shop-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.shop-info p {
  font-size: 12px;
  color: #666;
  margin: 4px 0;
}

/* 品牌卡片 */
.brand-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brand-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}

.brand-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

.brand-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.brand-info p {
  font-size: 12px;
  color: #666;
  margin: 4px 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .latest-grid,
  .blogger-grid,
  .video-grid,
  .shop-grid,
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 20px;
  }
  .mainbox1{ width: 100%;}
  
  .banner-content p {
    font-size: 12px;
  }
  
  .banner-search {
    flex-direction: column;
    gap: 16px;
  }
  
  .banner-search input,
  .banner-search button {
    width: 100%;
  }
  
  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .latest-grid,
  .blogger-grid,
  .video-grid,
  .shop-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 8px;
  }

  .banner{ padding: 20px 0;}
  .banner-content p{margin-bottom: 8px;}
  .overview{ padding:20px 15px;}
  .overview-item h3{font-size: 20px;}
  .overview-item p{font-size: 14px;}
  .latest-section{ margin-bottom: 20px; padding: 0 15px;}
  .latest-item img{ height: 170px;}
  .item-info{ padding: 8px;}
  .section-header h2{ font-size: 18px;}

}

@media (max-width: 480px) {
  .latest-grid,
  .blogger-grid,
  .video-grid,
  .shop-grid,
  .brand-grid {
    grid-template-columns: 1fr 1fr;
  }
}



