.header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;

  .tab-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;

    .tabs {
      display: flex;
      gap: 15px;

      .tab {
        font-size: 14px;
        color: #666;
        cursor: pointer;

        &.active {
          font-weight: bold;
          color: #3880ff;
          border-bottom: 2px solid #3880ff;
          padding-bottom: 4px;
        }
      }
    }

    .action-buttons {
      .action-btn {
        font-size: 18px;
        cursor: pointer;
      }
    }
  }
}

.content {
  padding: 16px;
  background-color: #f5f5f5;

  .banner-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;

    .banner-image img {
      width: 100%;
      display: block;
      border-radius: 10px;
    }

    .banner-dots {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;

      .banner-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.6);
        cursor: pointer;

        &.active {
          background-color: #3880ff;
        }
      }
    }
  }

  .section-title {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
    margin: 20px 0 10px;
    color: #333;

    .section-more {
      font-size: 14px;
      color: #3880ff;
      cursor: pointer;
      user-select: none;
    }
  }

  .category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;

    .category-item {
      flex: 1 0 20%;
      background: #fff;
      border-radius: 8px;
      padding: 12px;
      box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
      text-align: center;
      cursor: pointer;

      .category-icon {
        font-size: 28px;
        color: #3880ff;
        margin-bottom: 8px;
      }

      .category-name {
        font-size: 14px;
        color: #555;
      }
    }
  }

  .hot-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;

    .hot-item {
      flex: 0 0 140px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
      overflow: hidden;
      cursor: pointer;

      .hot-image img {
        width: 100%;
        height: 100px;
        object-fit: cover;
      }

      .hot-info {
        padding: 8px;

        .hot-name {
          font-size: 14px;
          color: #333;
          margin-bottom: 4px;
        }

        .hot-price {
          font-size: 13px;
          color: #f56c6c;
          font-weight: bold;
        }
      }
    }
  }

  .article-container {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 12px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);

    .article-header {
      display: flex;
      align-items: center;
      margin-bottom: 8px;

      .article-avatar {
        width: 28px;
        height: 28px;
        background: #ccc;
        border-radius: 50%;
        margin-right: 10px;
      }

      .article-author {
        font-weight: 600;
        color: #333;
        margin-right: 12px;
      }

      .article-time {
        font-size: 12px;
        color: #999;
      }
    }

    .article-title {
      font-size: 16px;
      font-weight: 600;
      color: #222;
      margin-bottom: 10px;
    }

    .article-image img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .article-footer {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: #999;

      .article-action {
        display: flex;
        align-items: center;

        i {
          font-size: 16px;
          color: #888;
          cursor: pointer;
          user-select: none;
        }

        span {
          margin-left: 4px;
          color: #666;
          user-select: none;
        }
      }
    }
  }
}
